' ########################################################################################
' Microsoft Windows
' File: wmsbasicplugin.inc
' Contents: Microsoft Windows Media Technologies
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_wmsbasicplugin_PBI)
#DEFINE PBX_wmsbasicplugin_PBI
%EQUATE `WMSBASICPLUGIN_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/Media/wmsnamedvalues.inc"
#INCLUDE ONCE "Legacy/System/nsscore.inc"
#INCLUDE ONCE "Legacy/Media/wmseventlog.inc"
$IID_IWMSBasicPlugin = GUID$("{66E6CE48-F8BB-4BCC-8FD6-42A9D5D32871}")
' ########################################################################################
' Interface name = IWMSBasicPlugin
' IID = {66E6CE48-F8BB-4BCC-8FD6-42A9D5D32871}
' Contains core plug-in methods that are implemented by all plug-ins.
' Inherited interface = IUnknown
' ########################################################################################
#IF NOT %DEF(%IWMSBasicPlugin_INTERFACE_DEFINED)
 %IWMSBasicPlugin_INTERFACE_DEFINED = 1
INTERFACE IWMSBasicPlugin $IID_IWMSBasicPlugin
 INHERIT IUnknown
 ' =====================================================================================
 METHOD InitializePlugin ( ' VTable offset = 12
 BYVAL pServerContext AS IWMSContext
 , BYVAL pNamedValues AS IWMSNamedValues
 , BYVAL pClassFactory AS IWMSClassObject
 ) AS LONG
 ' =====================================================================================
 METHOD OnHeartbeat ( ' VTable offset = 16
 ) AS LONG
 ' =====================================================================================
 METHOD GetCustomAdminInterface ( ' VTable offset = 20
 BYREF ppValue AS IDispatch
 ) AS LONG
 ' =====================================================================================
 METHOD ShutdownPlugin ( ' VTable offset = 24
 ) AS LONG
 ' =====================================================================================
 METHOD EnablePlugin ( ' VTable offset = 28
 BYREF plFlags AS LONG
 , BYREF plHeartbeatPeriod AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD DisablePlugin ( ' VTable offset = 32
 ) AS LONG
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IWMSBasicPlugin_INTERFACE_DEFINED__ */
#ENDIF
