' ########################################################################################
' Microsoft Windows
' File: WpcEvent.inc
' Contents: Windows Parental Controls interfaces and events
' 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_wpcevent_PBI)
#DEFINE PBX_wpcevent_PBI
%WPCEVENT_INC = 1
#include once "evntprov.inc"
'//
'// Reasons
'//
' enum WPCFLAG_ISBLOCKED
%WPCFLAG_ISBLOCKED_NOTBLOCKED = &H00000000
%WPCFLAG_ISBLOCKED_IMBLOCKED = &H00000001
%WPCFLAG_ISBLOCKED_EMAILBLOCKED = &H00000002
%WPCFLAG_ISBLOCKED_MEDIAPLAYBACKBLOCKED = &H00000004
%WPCFLAG_ISBLOCKED_WEBBLOCKED = &H00000008
%WPCFLAG_ISBLOCKED_GAMESBLOCKED = &H00000010
%WPCFLAG_ISBLOCKED_CONTACTBLOCKED = &H00000020
%WPCFLAG_ISBLOCKED_FEATUREBLOCKED = &H00000040
%WPCFLAG_ISBLOCKED_DOWNLOADBLOCKED = &H00000080
%WPCFLAG_ISBLOCKED_RATINGBLOCKED = &H00000100
%WPCFLAG_ISBLOCKED_DESCRIPTORBLOCKED = &H00000200
%WPCFLAG_ISBLOCKED_EXPLICITBLOCK = &H00000400
%WPCFLAG_ISBLOCKED_BADPASS = &H00000800
%WPCFLAG_ISBLOCKED_MAXHOURS = &H00001000
%WPCFLAG_ISBLOCKED_SPECHOURS = &H00002000
%WPCFLAG_ISBLOCKED_SETTINGSCHANGEBLOCKED = &H00004000
%WPCFLAG_ISBLOCKED_ATTACHMENTBLOCKED = &H00008000
%WPCFLAG_ISBLOCKED_SENDERBLOCKED = &H00010000
%WPCFLAG_ISBLOCKED_RECEIVERBLOCKED = &H00020000
%WPCFLAG_ISBLOCKED_NOTEXPLICITLYALLOWED = &H00040000
%WPCFLAG_ISBLOCKED_NOTINLIST = &H00080000
%WPCFLAG_ISBLOCKED_CATEGORYBLOCKED = &H00100000
%WPCFLAG_ISBLOCKED_CATEGORYNOTINLIST = &H00200000
%WPCFLAG_ISBLOCKED_NOTKIDS = &H00400000
%WPCFLAG_ISBLOCKED_UNRATED = &H00800000
%WPCFLAG_ISBLOCKED_NOACCESS = &H01000000
%WPCFLAG_ISBLOCKED_INTERNALERROR = &HFFFFFFFF
' enum WPCFLAG_LOGOFF_TYPE
%WPCFLAG_LOGOFF_TYPE_LOGOUT = &H00000000
%WPCFLAG_LOGOFF_TYPE_RESTART = &H00000001
%WPCFLAG_LOGOFF_TYPE_SHUTDOWN = &H00000002
%WPCFLAG_LOGOFF_TYPE_FUS = &H00000004
%WPCFLAG_LOGOFF_TYPE_FORCEDFUS = &H00000008
' enum WPCFLAG_IM_LEAVE_FLAG
%WPCFLAG_IM_LEAVE_NORMAL = &H00000000
%WPCFLAG_IM_LEAVE_FORCED = &H00000001
%WPCFLAG_IM_LEAVE_CONVERSATION_END = &H00000002 ' // This marks the end of the entire conversation
'//Event Data Lengths
'//System
%ARRAY_SEP_CHAR = &H9
' enum WPC_ARGS_SETTINGSCHANGEEVENT
%WPC_ARGS_SETTINGSCHANGEEVENT_CLASS = 0
%WPC_ARGS_SETTINGSCHANGEEVENT_SETTING = 1
%WPC_ARGS_SETTINGSCHANGEEVENT_OWNER = 2
%WPC_ARGS_SETTINGSCHANGEEVENT_OLDVAL = 3
%WPC_ARGS_SETTINGSCHANGEEVENT_NEWVAL = 4
%WPC_ARGS_SETTINGSCHANGEEVENT_REASON = 5
%WPC_ARGS_SETTINGSCHANGEEVENT_OPTIONAL = 6
%WPC_ARGS_SETTINGSCHANGEEVENT_CARGS = 7
' enum WPC_ARGS_SAFERAPPBLOCKED
%WPC_ARGS_SAFERAPPBLOCKED_TIMESTAMP = 0
%WPC_ARGS_SAFERAPPBLOCKED_USERID = 1
%WPC_ARGS_SAFERAPPBLOCKED_PATH = 2
%WPC_ARGS_SAFERAPPBLOCKED_RULEID = 3
%WPC_ARGS_SAFERAPPBLOCKED_CARGS = 4
'//Email
' enum WPC_ARGS_EMAILRECEIEVEDEVENT
%WPC_ARGS_EMAILRECEIEVEDEVENT_SENDER = 0
%WPC_ARGS_EMAILRECEIEVEDEVENT_APPNAME = 1
%WPC_ARGS_EMAILRECEIEVEDEVENT_APPVERSION = 2
%WPC_ARGS_EMAILRECEIEVEDEVENT_SUBJECT = 3
%WPC_ARGS_EMAILRECEIEVEDEVENT_REASON = 4
%WPC_ARGS_EMAILRECEIEVEDEVENT_RECIPCOUNT = 5
%WPC_ARGS_EMAILRECEIEVEDEVENT_RECIPIENT = 6
%WPC_ARGS_EMAILRECEIEVEDEVENT_ATTACHCOUNT = 7
%WPC_ARGS_EMAILRECEIEVEDEVENT_ATTACHMENTNAME = 8
%WPC_ARGS_EMAILRECEIEVEDEVENT_RECEIVEDTIME = 9
%WPC_ARGS_EMAILRECEIEVEDEVENT_EMAILACCOUNT = 10
%WPC_ARGS_EMAILRECEIEVEDEVENT_CARGS = 11
' enum WPC_ARGS_EMAILSENTEVENT
%WPC_ARGS_EMAILSENTEVENT_SENDER = 0
%WPC_ARGS_EMAILSENTEVENT_APPNAME = 1
%WPC_ARGS_EMAILSENTEVENT_APPVERSION = 2
%WPC_ARGS_EMAILSENTEVENT_SUBJECT = 3
%WPC_ARGS_EMAILSENTEVENT_REASON = 4
%WPC_ARGS_EMAILSENTEVENT_RECIPCOUNT = 5
%WPC_ARGS_EMAILSENTEVENT_RECIPIENT = 6
%WPC_ARGS_EMAILSENTEVENT_ATTACHCOUNT = 7
%WPC_ARGS_EMAILSENTEVENT_ATTACHMENTNAME = 8
%WPC_ARGS_EMAILSENTEVENT_EMAILACCOUNT = 9
%WPC_ARGS_EMAILSENTEVENT_CARGS = 10
' enum WPC_ARGS_EMAILCONTACTEVENT
%WPC_ARGS_EMAILCONTACTEVENT_APPNAME = 0
%WPC_ARGS_EMAILCONTACTEVENT_APPVERSION = 1
%WPC_ARGS_EMAILCONTACTEVENT_OLDNAME = 2
%WPC_ARGS_EMAILCONTACTEVENT_OLDID = 3
%WPC_ARGS_EMAILCONTACTEVENT_NEWNAME = 4
%WPC_ARGS_EMAILCONTACTEVENT_NEWID = 5
%WPC_ARGS_EMAILCONTACTEVENT_REASON = 6
%WPC_ARGS_EMAILCONTACTEVENT_EMAILACCOUNT = 7
%WPC_ARGS_EMAILCONTACTEVENT_CARGS = 8
'//Media
' enum WPC_MEDIA_TYPE
%WPC_MEDIA_TYPE_OTHER = 0
%WPC_MEDIA_TYPE_DVD = 1
%WPC_MEDIA_TYPE_RECORDED_TV = 2
%WPC_MEDIA_TYPE_AUDIO_FILE = 3
%WPC_MEDIA_TYPE_CD_AUDIO = 4
%WPC_MEDIA_TYPE_VIDEO_FILE = 5
%WPC_MEDIA_TYPE_PICTURE_FILE = 6
%WPC_MEDIA_TYPE_MAX = 7
' enum WPC_MEDIA_EXPLICIT_TYPE
%WPC_MEDIA_EXPLICIT_FALSE = 0
%WPC_MEDIA_EXPLICIT_TRUE = 1
%WPC_MEDIA_EXPLICIT_UNKNOWN = 2
' enum WPC_ARGS_MEDIAPLAYBACKEVENT
%WPC_ARGS_MEDIAPLAYBACKEVENT_APPNAME = 0
%WPC_ARGS_MEDIAPLAYBACKEVENT_APPVERSION = 1
%WPC_ARGS_MEDIAPLAYBACKEVENT_MEDIATYPE = 2
%WPC_ARGS_MEDIAPLAYBACKEVENT_PATH = 3
%WPC_ARGS_MEDIAPLAYBACKEVENT_TITLE = 4
%WPC_ARGS_MEDIAPLAYBACKEVENT_PML = 5
%WPC_ARGS_MEDIAPLAYBACKEVENT_ALBUM = 6
%WPC_ARGS_MEDIAPLAYBACKEVENT_EXPLICIT = 7
%WPC_ARGS_MEDIAPLAYBACKEVENT_REASON = 8
%WPC_ARGS_MEDIAPLAYBACKEVENT_CARGS = 9
' enum WPC_ARGS_MEDIADOWNLOADEVENT
%WPC_ARGS_MEDIADOWNLOADEVENT_APPNAME = 0
%WPC_ARGS_MEDIADOWNLOADEVENT_APPVERSION = 1
%WPC_ARGS_MEDIADOWNLOADEVENT_MEDIATYPE = 2
%WPC_ARGS_MEDIADOWNLOADEVENT_PATH = 3
%WPC_ARGS_MEDIADOWNLOADEVENT_TITLE = 4
%WPC_ARGS_MEDIADOWNLOADEVENT_PML = 5
%WPC_ARGS_MEDIADOWNLOADEVENT_ALBUM = 6
%WPC_ARGS_MEDIADOWNLOADEVENT_EXPLICIT = 7
%WPC_ARGS_MEDIADOWNLOADEVENT_REASON = 8
%WPC_ARGS_MEDIADOWNLOADEVENT_CARGS = 9
'//IM
' enum WPC_ARGS_CONVERSATIONINITEVENT
%WPC_ARGS_CONVERSATIONINITEVENT_APPNAME = 0
%WPC_ARGS_CONVERSATIONINITEVENT_APPVERSION = 1
%WPC_ARGS_CONVERSATIONINITEVENT_ACCOUNTNAME = 2
%WPC_ARGS_CONVERSATIONINITEVENT_CONVID = 3
%WPC_ARGS_CONVERSATIONINITEVENT_REQUESTINGIP = 4
%WPC_ARGS_CONVERSATIONINITEVENT_SENDER = 5
%WPC_ARGS_CONVERSATIONINITEVENT_REASON = 6
%WPC_ARGS_CONVERSATIONINITEVENT_RECIPCOUNT = 7
%WPC_ARGS_CONVERSATIONINITEVENT_RECIPIENT = 8
%WPC_ARGS_CONVERSATIONINITEVENT_CARGS = 9
' enum WPC_ARGS_CONVERSATIONJOINEVENT
%WPC_ARGS_CONVERSATIONJOINEVENT_APPNAME = 0
%WPC_ARGS_CONVERSATIONJOINEVENT_APPVERSION = 1
%WPC_ARGS_CONVERSATIONJOINEVENT_ACCOUNTNAME = 2
%WPC_ARGS_CONVERSATIONJOINEVENT_CONVID = 3
%WPC_ARGS_CONVERSATIONJOINEVENT_JOININGIP = 4
%WPC_ARGS_CONVERSATIONJOINEVENT_JOININGUSER = 5
%WPC_ARGS_CONVERSATIONJOINEVENT_REASON = 6
%WPC_ARGS_CONVERSATIONJOINEVENT_MEMBERCOUNT = 7
%WPC_ARGS_CONVERSATIONJOINEVENT_MEMBER = 8
%WPC_ARGS_CONVERSATIONJOINEVENT_SENDER = 9
%WPC_ARGS_CONVERSATIONJOINEVENT_CARGS = 10
' enum WPC_ARGS_CONVERSATIONLEAVEEVENT
%WPC_ARGS_CONVERSATIONLEAVEEVENT_APPNAME = 0
%WPC_ARGS_CONVERSATIONLEAVEEVENT_APPVERSION = 1
%WPC_ARGS_CONVERSATIONLEAVEEVENT_ACCOUNTNAME = 2
%WPC_ARGS_CONVERSATIONLEAVEEVENT_CONVID = 3
%WPC_ARGS_CONVERSATIONLEAVEEVENT_LEAVINGIP = 4
%WPC_ARGS_CONVERSATIONLEAVEEVENT_LEAVINGUSER = 5
%WPC_ARGS_CONVERSATIONLEAVEEVENT_REASON = 6
%WPC_ARGS_CONVERSATIONLEAVEEVENT_MEMBERCOUNT = 7
%WPC_ARGS_CONVERSATIONLEAVEEVENT_MEMBER = 8
%WPC_ARGS_CONVERSATIONLEAVEEVENT_FLAGS = 9
%WPC_ARGS_CONVERSATIONLEAVEEVENT_CARGS = 10
' enum WPCFLAG_IM_FEATURE
%WPCFLAG_IM_FEATURE_NONE = &H00
%WPCFLAG_IM_FEATURE_VIDEO = &H01
%WPCFLAG_IM_FEATURE_AUDIO = &H02
%WPCFLAG_IM_FEATURE_GAME = &H04
%WPCFLAG_IM_FEATURE_SMS = &H08
%WPCFLAG_IM_FEATURE_FILESWAP = &H10
%WPCFLAG_IM_FEATURE_URLSWAP = &H20
%WPCFLAG_IM_FEATURE_SENDING = &H80000000 ' // Top bit means sending or receiving.
%WPCFLAG_IM_FEATURE_ALL = &HFFFFFFFF
' enum WPC_ARGS_IMFEATUREEVENT
%WPC_ARGS_IMFEATUREEVENT_APPNAME = 0
%WPC_ARGS_IMFEATUREEVENT_APPVERSION = 1
%WPC_ARGS_IMFEATUREEVENT_ACCOUNTNAME = 2
%WPC_ARGS_IMFEATUREEVENT_CONVID = 3
%WPC_ARGS_IMFEATUREEVENT_MEDIATYPE = 4
%WPC_ARGS_IMFEATUREEVENT_REASON = 5
%WPC_ARGS_IMFEATUREEVENT_RECIPCOUNT = 6
%WPC_ARGS_IMFEATUREEVENT_RECIPIENT = 7
%WPC_ARGS_IMFEATUREEVENT_SENDER = 8
%WPC_ARGS_IMFEATUREEVENT_SENDERIP = 9
%WPC_ARGS_IMFEATUREEVENT_DATA = 10
%WPC_ARGS_IMFEATUREEVENT_CARGS = 11
' enum WPC_ARGS_IMCONTACTEVENT
%WPC_ARGS_IMCONTACTEVENT_APPNAME = 0
%WPC_ARGS_IMCONTACTEVENT_APPVERSION = 1
%WPC_ARGS_IMCONTACTEVENT_ACCOUNTNAME = 2
%WPC_ARGS_IMCONTACTEVENT_OLDNAME = 3
%WPC_ARGS_IMCONTACTEVENT_OLDID = 4
%WPC_ARGS_IMCONTACTEVENT_NEWNAME = 5
%WPC_ARGS_IMCONTACTEVENT_NEWID = 6
%WPC_ARGS_IMCONTACTEVENT_REASON = 7
%WPC_ARGS_IMCONTACTEVENT_CARGS = 8
'//Games
' enum WPC_ARGS_GAMESTARTEVENT
%WPC_ARGS_GAMESTARTEVENT_APPID = 0
%WPC_ARGS_GAMESTARTEVENT_INSTANCEID = 1
%WPC_ARGS_GAMESTARTEVENT_APPVERSION = 2
%WPC_ARGS_GAMESTARTEVENT_PATH = 3
%WPC_ARGS_GAMESTARTEVENT_RATING = 4
%WPC_ARGS_GAMESTARTEVENT_RATINGSYSTEM = 5
%WPC_ARGS_GAMESTARTEVENT_REASON = 6
%WPC_ARGS_GAMESTARTEVENT_DESCCOUNT = 7
%WPC_ARGS_GAMESTARTEVENT_DESCRIPTOR = 8
%WPC_ARGS_GAMESTARTEVENT_PID = 9
%WPC_ARGS_GAMESTARTEVENT_CARGS = 10
'//Web
'// Don't change anything in this--IE7 relies on it!!
' enum WPC_ARGS_FILEDOWNLOADEVENT
%WPC_ARGS_FILEDOWNLOADEVENT_URL = 0
%WPC_ARGS_FILEDOWNLOADEVENT_APPNAME = 1
%WPC_ARGS_FILEDOWNLOADEVENT_VERSION = 2
%WPC_ARGS_FILEDOWNLOADEVENT_BLOCKED = 3
%WPC_ARGS_FILEDOWNLOADEVENT_PATH = 4
%WPC_ARGS_FILEDOWNLOADEVENT_CARGS = 5
' enum WPC_ARGS_URLVISITEVENT
%WPC_ARGS_URLVISITEVENT_URL = 0
%WPC_ARGS_URLVISITEVENT_APPNAME = 1
%WPC_ARGS_URLVISITEVENT_VERSION = 2
%WPC_ARGS_URLVISITEVENT_REASON = 3
%WPC_ARGS_URLVISITEVENT_RATINGSYSTEMID = 4
%WPC_ARGS_URLVISITEVENT_CATCOUNT = 5
%WPC_ARGS_URLVISITEVENT_CATEGORY = 6
%WPC_ARGS_URLVISITEVENT_CARGS = 7
' enum WPC_ARGS_CUSTOMEVENT
%WPC_ARGS_CUSTOMEVENT_PUBLISHER = 0
%WPC_ARGS_CUSTOMEVENT_APPNAME = 1
%WPC_ARGS_CUSTOMEVENT_APPVERSION = 2
%WPC_ARGS_CUSTOMEVENT_EVENT = 3
%WPC_ARGS_CUSTOMEVENT_VALUE1 = 4
%WPC_ARGS_CUSTOMEVENT_VALUE2 = 5
%WPC_ARGS_CUSTOMEVENT_VALUE3 = 6
%WPC_ARGS_CUSTOMEVENT_BLOCKED = 7
%WPC_ARGS_CUSTOMEVENT_REASON = 8
%WPC_ARGS_CUSTOMEVENT_CARGS = 9
' enum WPC_ARGS_WEBOVERRIDEEVENT
%WPC_ARGS_WEBOVERRIDEEVENT_USERID = 0
%WPC_ARGS_WEBOVERRIDEEVENT_URL = 1
%WPC_ARGS_WEBOVERRIDEEVENT_REASON = 2
%WPC_ARGS_WEBOVERRIDEEVENT_CARGS = 3
' enum WPC_ARGS_APPOVERRIDEEVENT
%WPC_ARGS_APPOVERRIDEEVENT_USERID = 0
%WPC_ARGS_APPOVERRIDEEVENT_PATH = 1
%WPC_ARGS_APPOVERRIDEEVENT_REASON = 2
%WPC_ARGS_APPOVERRIDEEVENT_CARGS = 3
'//
'// This is the list of settings that are written out to the log file as the setting id.
'//
' enum WPC_SETTINGS
%WPC_SETTINGS_WPC_EXTENSION_PATH = 0
%WPC_SETTINGS_WPC_EXTENSION_SILO = 1
%WPC_SETTINGS_WPC_EXTENSION_IMAGE_PATH = 2
%WPC_SETTINGS_WPC_EXTENSION_DISABLEDIMAGE_PATH = 3
%WPC_SETTINGS_WPC_EXTENSION_NAME = 4
%WPC_SETTINGS_WPC_EXTENSION_SUB_TITLE = 5
%WPC_SETTINGS_SYSTEM_CURRENT_RATING_SYSTEM = 6
%WPC_SETTINGS_SYSTEM_LAST_LOG_VIEW = 7
%WPC_SETTINGS_SYSTEM_LOG_VIEW_REMINDER_INTERVAL = 8
%WPC_SETTINGS_SYSTEM_HTTP_EXEMPTION_LIST = 9
%WPC_SETTINGS_SYSTEM_URL_EXEMPTION_LIST = 10
%WPC_SETTINGS_SYSTEM_FILTER_ID = 11
%WPC_SETTINGS_SYSTEM_FILTER_NAME = 12
%WPC_SETTINGS_SYSTEM_LOCALE = 13
%WPC_SETTINGS_ALLOW_BLOCK = 14
%WPC_SETTINGS_GAME_BLOCKED = 15
%WPC_SETTINGS_GAME_ALLOW_UNRATED = 16
%WPC_SETTINGS_GAME_MAX_ALLOWED = 17
%WPC_SETTINGS_GAME_DENIED_DESCRIPTORS = 18
%WPC_SETTINGS_USER_WPC_ENABLED = 19
%WPC_SETTINGS_USER_LOGGING_REQUIRED = 20
%WPC_SETTINGS_USER_HOURLY_RESTRICTIONS = 21
%WPC_SETTINGS_USER_OVERRRIDE_REQUESTS = 22
%WPC_SETTINGS_USER_LOGON_HOURS = 23
%WPC_SETTINGS_USER_APP_RESTRICTIONS = 24
%WPC_SETTINGS_WEB_FILTER_ON = 25
%WPC_SETTINGS_WEB_DOWNLOAD_BLOCKED = 26
%WPC_SETTINGS_WEB_FILTER_LEVEL = 27
%WPC_SETTINGS_WEB_BLOCKED_CATEGORY_LIST = 28
%WPC_SETTINGS_WEB_BLOCK_UNRATED = 29
%WPC_SETTINGS_WPC_ENABLED = 30
%WPC_SETTINGS_WPC_LOGGING_REQUIRED = 31
%WPC_SETTINGS_RATING_SYSTEM_PATH = 32
%WPC_SETTINGS_WPC_PROVIDER_CURRENT = 33
%WPC_SETTING_COUNT = 34
'//**********************************************************************`
'//* This is an include file generated by Message Compiler. *`
'//* *`
'//* Copyright (c) Microsoft Corporation. All Rights Reserved. *`
'//**********************************************************************`
'//+
'// Provider Microsoft-Windows-ParentalControls Event Count 17
'//+
'EXTERN_C __declspec(selectany) const GUID WPCPROV = {0x01090065, 0xb467, 0x4503, {0x9b, 0x28, 0x53, 0x37, 0x66, 0x76, 0x10, 0x87}};
$WPCPROV = GUID$("{01090065-b467-4503-9b28-533766761087}")
'//
'// Channel
'//
%WPCCHANNEL = &H10
'//
'// Opcodes
'//
%WPC_SETTINGS_LOCATE = &H14
%WPC_SETTINGS_MODIFY = &H15
%WPC_APP_LAUNCH = &H16
%WPC_SYSTEM = &H17
%WPC_WEB = &H18
'//
'// Tasks
'//
%WPCPROV_TASK_SettingChange = &H1
%WPCPROV_TASK_GameStart = &H2
%WPCPROV_TASK_UrlVisit = &H3
%WPCPROV_TASK_EmailReceived = &H4
%WPCPROV_TASK_EmailSent = &H5
%WPCPROV_TASK_MediaPlayback = &H6
%WPCPROV_TASK_IMInvitation = &H7
%WPCPROV_TASK_IMJoin = &H8
%WPCPROV_TASK_IMLeave = &H9
%WPCPROV_TASK_FileDownload = &Ha
%WPCPROV_TASK_IMFeature = &Hb
%WPCPROV_TASK_Custom = &Hd
%WPCPROV_TASK_EmailContact = &He
%WPCPROV_TASK_IMContact = &Hf
%WPCPROV_TASK_AppBlocked = &H10
%WPCPROV_TASK_AppOverride = &H11
%WPCPROV_TASK_WebOverride = &H12
'//
'// Keyword
'//
%WPCPROV_KEYWORD_WPC = &H10
%WPCPROV_KEYWORD_ThirdParty = &H20
'//
'// Event Descriptors
'//
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_SYS_SETTINGCHANGE = {0x1, 0x0, 0x10, 0x4, 0x15, 0x1, 0x8000000000000010};
MACRO WPCEVENT_SYS_SETTINGCHANGE = MKWRD$(&H1??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H15?) & MKWRD$(&H1??) & MKQ$(&H8000000000000010&&)
%WPCEVENT_SYS_SETTINGCHANGE_value = &H1
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_GAME_START = {0x2, 0x0, 0x10, 0x4, 0x16, 0x2, 0x8000000000000030};
MACRO WPCEVENT_GAME_START = MKWRD$(&H2??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H2??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_GAME_START_value = &H2
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_WEB_URLVISIT = {0x3, 0x0, 0x10, 0x4, 0x18, 0x3, 0x8000000000000010};
MACRO WPCEVENT_WEB_URLVISIT = MKWRD$(&H3??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H18?) & MKWRD$(&H3??) & MKQ$(&H8000000000000010&&)
%WPCEVENT_WEB_URLVISIT_value = &H3
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_EMAIL_RECEIVED = {0x4, 0x0, 0x10, 0x4, 0x16, 0x4, 0x8000000000000030};
MACRO WPCEVENT_EMAIL_RECEIVED = MKWRD$(&H4??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H4??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_EMAIL_RECEIVED_value = &H4
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_EMAIL_SENT = {0x5, 0x0, 0x10, 0x4, 0x16, 0x5, 0x8000000000000030};
MACRO WPCEVENT_EMAIL_SENT = MKWRD$(&H5??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H5??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_EMAIL_SENT_value = &H5
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_MEDIA_PLAYBACK = {0x6, 0x0, 0x10, 0x4, 0x16, 0x6, 0x8000000000000030};
MACRO WPCEVENT_MEDIA_PLAYBACK = MKWRD$(&H6??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H6??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_MEDIA_PLAYBACK_value = &H6
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_IM_INVITATION = {0x7, 0x0, 0x10, 0x4, 0x16, 0x7, 0x8000000000000030};
MACRO WPCEVENT_IM_INVITATION = MKWRD$(&H7??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H7??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_IM_INVITATION_value = &H7
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_IM_JOIN = {0x8, 0x0, 0x10, 0x4, 0x16, 0x8, 0x8000000000000030};
MACRO WPCEVENT_IM_JOIN = MKWRD$(&H8??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H8??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_IM_JOIN_value = &H8
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_IM_LEAVE = {0x9, 0x0, 0x10, 0x4, 0x16, 0x9, 0x8000000000000030};
MACRO WPCEVENT_IM_LEAVE = MKWRD$(&H9??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H9??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_IM_LEAVE_value = &H9
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_WEB_FILEDOWNLOAD = {0xa, 0x0, 0x10, 0x4, 0x18, 0xa, 0x8000000000000030};
MACRO WPCEVENT_WEB_FILEDOWNLOAD = MKWRD$(&Ha??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H18?) & MKWRD$(&Ha??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_WEB_FILEDOWNLOAD_value = &Ha
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_IM_FEATURE = {0xb, 0x0, 0x10, 0x4, 0x16, 0xb, 0x8000000000000030};
MACRO WPCEVENT_IM_FEATURE = MKWRD$(&Hb??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&Hb??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_IM_FEATURE_value = &Hb
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_CUSTOM = {0xd, 0x0, 0x10, 0x4, 0x17, 0xd, 0x8000000000000030};
MACRO WPCEVENT_CUSTOM = MKWRD$(&Hd??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H17?) & MKWRD$(&Hd??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_CUSTOM_value = &Hd
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_EMAIL_CONTACT = {0xe, 0x0, 0x10, 0x4, 0x16, 0xe, 0x8000000000000030};
MACRO WPCEVENT_EMAIL_CONTACT = MKWRD$(&He??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&He??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_EMAIL_CONTACT_value = &He
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_IM_CONTACT = {0xf, 0x0, 0x10, 0x4, 0x16, 0xf, 0x8000000000000030};
MACRO WPCEVENT_IM_CONTACT = MKWRD$(&Hf??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&Hf??) & MKQ$(&H8000000000000030&&)
%WPCEVENT_IM_CONTACT_value = &Hf
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_SYSTEM_APPBLOCKED = {0x10, 0x0, 0x10, 0x4, 0x16, 0x10, 0x8000000000000010};
MACRO WPCEVENT_SYSTEM_APPBLOCKED = MKWRD$(&H10??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H10??) & MKQ$(&H8000000000000010&&)
%WPCEVENT_SYSTEM_APPBLOCKED_value = &H10
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_APPOVERRIDE = {0x11, 0x0, 0x10, 0x4, 0x16, 0x11, 0x8000000000000010};
MACRO WPCEVENT_APPOVERRIDE = MKWRD$(&H11??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H11??) & MKQ$(&H8000000000000010&&)
%WPCEVENT_APPOVERRIDE_value = &H11
'EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR WPCEVENT_WEBOVERRIDE = {0x12, 0x0, 0x10, 0x4, 0x16, 0x12, 0x8000000000000010};
MACRO WPCEVENT_WEBOVERRIDE = MKWRD$(&H12??) & MKBYT$(&H0?) & MKBYT$(&H10?) & MKBYT$(&H4?) & MKBYT$(&H16?) & MKWRD$(&H12??) & MKQ$(&H8000000000000010&&)
%WPCEVENT_WEBOVERRIDE_value = &H12
%MSG_Keyword_WPC = &H10000005&
%MSG_Keyword_ThirdParty = &H10000006&
%MSG_Opcode_Locate = &H30000014&
%MSG_Opcode_Modify = &H30000015&
%MSG_Opcode_Launch = &H30000016&
%MSG_Opcode_System = &H30000017&
%MSG_Opcode_Web = &H30000018&
%MSG_Task_SettingChange = &H70000001&
%MSG_Task_GameStart = &H70000002&
%MSG_Task_UrlVisit = &H70000003&
%MSG_Task_EmailReceived = &H70000004&
%MSG_Task_EmailSent = &H70000005&
%MSG_Task_MediaPlayback = &H70000006&
%MSG_Task_IMInvitation = &H70000007&
%MSG_Task_IMJoin = &H70000008&
%MSG_Task_IMLeave = &H70000009&
%MSG_Task_FileDownload = &H7000000A&
%MSG_Task_IMFeature = &H7000000B&
%MSG_Task_Custom = &H7000000D&
%MSG_Task_EmailContact = &H7000000E&
%MSG_Task_IMContact = &H7000000F&
%MSG_Task_AppBlocked = &H70000010&
%MSG_Task_AppOverride = &H70000011&
%MSG_Task_WebOverride = &H70000012&
%MSG_Publisher_Name = &H90000001&
%MSG_Event_SettingChange = &HB0000001&
%MSG_Event_GameStart = &HB0000002&
%MSG_Event_UrlVisit = &HB0000003&
%MSG_Event_EmailReceived = &HB0000004&
%MSG_Event_EmailSent = &HB0000005&
%MSG_Event_MediaPlayback = &HB0000006&
%MSG_Event_IMInvitation = &HB0000007&
%MSG_Event_IMJoin = &HB0000008&
%MSG_Event_IMLeave = &HB0000009&
%MSG_Event_FileDownload = &HB000000A&
%MSG_Event_IMFeature = &HB000000B&
%MSG_Event_Custom = &HB000000D&
%MSG_Event_EmailContact = &HB000000E&
%MSG_Event_IMContact = &HB000000F&
%MSG_Event_AppBlocked = &HB0000010&
%MSG_Event_AppOverride = &HB0000011&
%MSG_Event_WebOverride = &HB0000012&