' ########################################################################################
' Microsoft Windows
' File: wmsevent.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_wmsevent_PBI)
#DEFINE PBX_wmsevent_PBI
%EQUATE `WMSEVENT_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/COM/OAIdl.inc"
%EQUATE `WMS_EVENT_VERSION = 1
' WMS_EVENT_TYPE enum
%EQUATE `WMS_EVENT_UNKNOWN_EVENT = 0
%EQUATE `WMS_EVENT_CONNECT = 1
%EQUATE `WMS_EVENT_DISCONNECT = 2
%EQUATE `WMS_EVENT_BEGIN_USER_SESSION = 3
%EQUATE `WMS_EVENT_END_USER_SESSION = 4
%EQUATE `WMS_EVENT_LOGICAL_URL_TRANSFORM = 5
%EQUATE `WMS_EVENT_PHYSICAL_URL_TRANSFORM = 6
%EQUATE `WMS_EVENT_DESCRIBE = 7
%EQUATE `WMS_EVENT_OPEN = 8
%EQUATE `WMS_EVENT_SELECT_STREAMS = 9
%EQUATE `WMS_EVENT_INITIALIZE_PLAYLIST = 10
%EQUATE `WMS_EVENT_PLAY = 11
%EQUATE `WMS_EVENT_PAUSE = 12
%EQUATE `WMS_EVENT_STOP = 13
%EQUATE `WMS_EVENT_CLOSE = 14
%EQUATE `WMS_EVENT_SET_PARAMETER = 15
%EQUATE `WMS_EVENT_GET_PARAMETER = 16
%EQUATE `WMS_EVENT_VALIDATE_PUSH_DISTRIBUTION = 17
%EQUATE `WMS_EVENT_CREATE_DISTRIBUTION_DATA_PATH = 18
%EQUATE `WMS_EVENT_DESTROY_DISTRIBUTION_DATA_PATH = 19
%EQUATE `WMS_EVENT_LOG = 20
%EQUATE `WMS_EVENT_SERVER = 21
%EQUATE `WMS_EVENT_PUBLISHING_POINT = 22
%EQUATE `WMS_EVENT_LIMIT_CHANGE = 23
%EQUATE `WMS_EVENT_LIMIT_HIT = 24
%EQUATE `WMS_EVENT_PLUGIN = 25
%EQUATE `WMS_EVENT_PLAYLIST = 26
%EQUATE `WMS_EVENT_CACHE = 27
%EQUATE `WMS_EVENT_REMOTE_CACHE_OPEN = 28
%EQUATE `WMS_EVENT_REMOTE_CACHE_CLOSE = 29
%EQUATE `WMS_EVENT_REMOTE_CACHE_LOG = 30
%EQUATE `WMS_NUM_EVENTS = 31
' // Size = 12 bytes
TYPE WMS_EVENT DWORD
 Version AS LONG ' long
 Type AS LONG ' WMS_EVENT_TYPE
 hr AS LONG ' long
END TYPE
#ENDIF
