' ########################################################################################
' Microsoft Windows
' File: NSSCore.inc
' Contents: Microsoft Windows Media
' 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_nsscore_PBI)
#DEFINE PBX_nsscore_PBI
%EQUATE `NSSCORE_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/COM/OAIdl.inc"
#INCLUDE ONCE "Legacy/Media/wmscontext.inc"
$IID_IWMSClassObject = GUID$("{F54E23A4-1B1A-11D1-9E90-006097D2D7CF}")
' ########################################################################################
' Interface name = IWMSClassObject
' IID = {F54E23A4-1B1A-11D1-9E90-006097D2D7CF}
' Provides methods to allocate data structures commonly used by plug-ins.
' Inherited interface = IUnknown
' ########################################################################################
#IF NOT %DEF(%IWMSClassObject_INTERFACE_DEFINED)
 %IWMSClassObject_INTERFACE_DEFINED = 1
INTERFACE IWMSClassObject $IID_IWMSClassObject
 INHERIT IUnknown
 ' =====================================================================================
 METHOD CreateInstance ( ' VTable offset = 12
 BYREF riid AS GUID
 , BYREF ppunk AS IUnknown
 ) AS LONG
 ' =====================================================================================
 METHOD AllocIWMSPacket ( ' VTable offset = 16
 BYREF riid AS GUID
 , BYREF ppunk AS IUnknown
 ) AS LONG
 ' =====================================================================================
 METHOD AllocIWMSPacketList ( ' VTable offset = 20
 BYREF riid AS GUID
 , BYREF ppunk AS IUnknown
 ) AS LONG
 ' =====================================================================================
 METHOD AllocIWMSContext ( ' VTable offset = 24
 BYREF riid AS GUID
 , BYVAL ContextType AS LONG
 , BYVAL pRelatedContext AS IUnknown
 , BYREF ppunk AS IUnknown
 ) AS LONG
 ' =====================================================================================
 METHOD AllocIWMSCommandContext ( ' VTable offset = 28
 BYREF riid AS GUID
 , BYVAL pRelatedContext AS IUnknown
 , BYREF ppunk AS IUnknown
 ) AS LONG
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IWMSClassObject_INTERFACE_DEFINED__ */
#ENDIF
