' ########################################################################################
' 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
%EQUATE `WPCEVENT_INC = 1
#INCLUDE ONCE "Legacy/System/evntprov.inc"
'//
'// Reasons
'//
' enum WPCFLAG_ISBLOCKED
%EQUATE `WPCFLAG_ISBLOCKED_NOTBLOCKED = &H00000000
%EQUATE `WPCFLAG_ISBLOCKED_IMBLOCKED = &H00000001
%EQUATE `WPCFLAG_ISBLOCKED_EMAILBLOCKED = &H00000002
%EQUATE `WPCFLAG_ISBLOCKED_MEDIAPLAYBACKBLOCKED = &H00000004
%EQUATE `WPCFLAG_ISBLOCKED_WEBBLOCKED = &H00000008
%EQUATE `WPCFLAG_ISBLOCKED_GAMESBLOCKED = &H00000010
%EQUATE `WPCFLAG_ISBLOCKED_CONTACTBLOCKED = &H00000020
%EQUATE `WPCFLAG_ISBLOCKED_FEATUREBLOCKED = &H00000040
%EQUATE `WPCFLAG_ISBLOCKED_DOWNLOADBLOCKED = &H00000080
%EQUATE `WPCFLAG_ISBLOCKED_RATINGBLOCKED = &H00000100
%EQUATE `WPCFLAG_ISBLOCKED_DESCRIPTORBLOCKED = &H00000200
%EQUATE `WPCFLAG_ISBLOCKED_EXPLICITBLOCK = &H00000400
%EQUATE `WPCFLAG_ISBLOCKED_BADPASS = &H00000800
%EQUATE `WPCFLAG_ISBLOCKED_MAXHOURS = &H00001000
%EQUATE `WPCFLAG_ISBLOCKED_SPECHOURS = &H00002000
%EQUATE `WPCFLAG_ISBLOCKED_SETTINGSCHANGEBLOCKED = &H00004000
%EQUATE `WPCFLAG_ISBLOCKED_ATTACHMENTBLOCKED = &H00008000
%EQUATE `WPCFLAG_ISBLOCKED_SENDERBLOCKED = &H00010000
%EQUATE `WPCFLAG_ISBLOCKED_RECEIVERBLOCKED = &H00020000
%EQUATE `WPCFLAG_ISBLOCKED_NOTEXPLICITLYALLOWED = &H00040000
%EQUATE `WPCFLAG_ISBLOCKED_NOTINLIST = &H00080000
%EQUATE `WPCFLAG_ISBLOCKED_CATEGORYBLOCKED = &H00100000
%EQUATE `WPCFLAG_ISBLOCKED_CATEGORYNOTINLIST = &H00200000
%EQUATE `WPCFLAG_ISBLOCKED_NOTKIDS = &H00400000
%EQUATE `WPCFLAG_ISBLOCKED_UNRATED = &H00800000
%EQUATE `WPCFLAG_ISBLOCKED_NOACCESS = &H01000000
%EQUATE `WPCFLAG_ISBLOCKED_INTERNALERROR = &HFFFFFFFF
' enum WPCFLAG_LOGOFF_TYPE
%EQUATE `WPCFLAG_LOGOFF_TYPE_LOGOUT = &H00000000
%EQUATE `WPCFLAG_LOGOFF_TYPE_RESTART = &H00000001
%EQUATE `WPCFLAG_LOGOFF_TYPE_SHUTDOWN = &H00000002
%EQUATE `WPCFLAG_LOGOFF_TYPE_FUS = &H00000004
%EQUATE `WPCFLAG_LOGOFF_TYPE_FORCEDFUS = &H00000008
' enum WPCFLAG_IM_LEAVE_FLAG
%EQUATE `WPCFLAG_IM_LEAVE_NORMAL = &H00000000
%EQUATE `WPCFLAG_IM_LEAVE_FORCED = &H00000001
%EQUATE `WPCFLAG_IM_LEAVE_CONVERSATION_END = &H00000002 ' // This marks the end of the entire conversation
'//Event Data Lengths
'//System
%EQUATE `ARRAY_SEP_CHAR = &H9
' enum WPC_ARGS_SETTINGSCHANGEEVENT
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_CLASS = 0
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_SETTING = 1
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_OWNER = 2
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_OLDVAL = 3
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_NEWVAL = 4
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_REASON = 5
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_OPTIONAL = 6
%EQUATE `WPC_ARGS_SETTINGSCHANGEEVENT_CARGS = 7
' enum WPC_ARGS_SAFERAPPBLOCKED
%EQUATE `WPC_ARGS_SAFERAPPBLOCKED_TIMESTAMP = 0
%EQUATE `WPC_ARGS_SAFERAPPBLOCKED_USERID = 1
%EQUATE `WPC_ARGS_SAFERAPPBLOCKED_PATH = 2
%EQUATE `WPC_ARGS_SAFERAPPBLOCKED_RULEID = 3
%EQUATE `WPC_ARGS_SAFERAPPBLOCKED_CARGS = 4
'//Email
' enum WPC_ARGS_EMAILRECEIEVEDEVENT
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_SENDER = 0
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_APPNAME = 1
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_APPVERSION = 2
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_SUBJECT = 3
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_REASON = 4
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_RECIPCOUNT = 5
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_RECIPIENT = 6
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_ATTACHCOUNT = 7
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_ATTACHMENTNAME = 8
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_RECEIVEDTIME = 9
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_EMAILACCOUNT = 10
%EQUATE `WPC_ARGS_EMAILRECEIEVEDEVENT_CARGS = 11
' enum WPC_ARGS_EMAILSENTEVENT
%EQUATE `WPC_ARGS_EMAILSENTEVENT_SENDER = 0
%EQUATE `WPC_ARGS_EMAILSENTEVENT_APPNAME = 1
%EQUATE `WPC_ARGS_EMAILSENTEVENT_APPVERSION = 2
%EQUATE `WPC_ARGS_EMAILSENTEVENT_SUBJECT = 3
%EQUATE `WPC_ARGS_EMAILSENTEVENT_REASON = 4
%EQUATE `WPC_ARGS_EMAILSENTEVENT_RECIPCOUNT = 5
%EQUATE `WPC_ARGS_EMAILSENTEVENT_RECIPIENT = 6
%EQUATE `WPC_ARGS_EMAILSENTEVENT_ATTACHCOUNT = 7
%EQUATE `WPC_ARGS_EMAILSENTEVENT_ATTACHMENTNAME = 8
%EQUATE `WPC_ARGS_EMAILSENTEVENT_EMAILACCOUNT = 9
%EQUATE `WPC_ARGS_EMAILSENTEVENT_CARGS = 10
' enum WPC_ARGS_EMAILCONTACTEVENT
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_OLDNAME = 2
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_OLDID = 3
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_NEWNAME = 4
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_NEWID = 5
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_REASON = 6
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_EMAILACCOUNT = 7
%EQUATE `WPC_ARGS_EMAILCONTACTEVENT_CARGS = 8
'//Media
' enum WPC_MEDIA_TYPE
%EQUATE `WPC_MEDIA_TYPE_OTHER = 0
%EQUATE `WPC_MEDIA_TYPE_DVD = 1
%EQUATE `WPC_MEDIA_TYPE_RECORDED_TV = 2
%EQUATE `WPC_MEDIA_TYPE_AUDIO_FILE = 3
%EQUATE `WPC_MEDIA_TYPE_CD_AUDIO = 4
%EQUATE `WPC_MEDIA_TYPE_VIDEO_FILE = 5
%EQUATE `WPC_MEDIA_TYPE_PICTURE_FILE = 6
%EQUATE `WPC_MEDIA_TYPE_MAX = 7
' enum WPC_MEDIA_EXPLICIT_TYPE
%EQUATE `WPC_MEDIA_EXPLICIT_FALSE = 0
%EQUATE `WPC_MEDIA_EXPLICIT_TRUE = 1
%EQUATE `WPC_MEDIA_EXPLICIT_UNKNOWN = 2
' enum WPC_ARGS_MEDIAPLAYBACKEVENT
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_MEDIATYPE = 2
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_PATH = 3
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_TITLE = 4
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_PML = 5
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_ALBUM = 6
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_EXPLICIT = 7
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_REASON = 8
%EQUATE `WPC_ARGS_MEDIAPLAYBACKEVENT_CARGS = 9
' enum WPC_ARGS_MEDIADOWNLOADEVENT
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_MEDIATYPE = 2
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_PATH = 3
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_TITLE = 4
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_PML = 5
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_ALBUM = 6
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_EXPLICIT = 7
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_REASON = 8
%EQUATE `WPC_ARGS_MEDIADOWNLOADEVENT_CARGS = 9
'//IM
' enum WPC_ARGS_CONVERSATIONINITEVENT
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_ACCOUNTNAME = 2
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_CONVID = 3
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_REQUESTINGIP = 4
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_SENDER = 5
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_REASON = 6
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_RECIPCOUNT = 7
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_RECIPIENT = 8
%EQUATE `WPC_ARGS_CONVERSATIONINITEVENT_CARGS = 9
' enum WPC_ARGS_CONVERSATIONJOINEVENT
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_ACCOUNTNAME = 2
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_CONVID = 3
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_JOININGIP = 4
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_JOININGUSER = 5
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_REASON = 6
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_MEMBERCOUNT = 7
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_MEMBER = 8
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_SENDER = 9
%EQUATE `WPC_ARGS_CONVERSATIONJOINEVENT_CARGS = 10
' enum WPC_ARGS_CONVERSATIONLEAVEEVENT
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_ACCOUNTNAME = 2
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_CONVID = 3
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_LEAVINGIP = 4
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_LEAVINGUSER = 5
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_REASON = 6
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_MEMBERCOUNT = 7
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_MEMBER = 8
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_FLAGS = 9
%EQUATE `WPC_ARGS_CONVERSATIONLEAVEEVENT_CARGS = 10
' enum WPCFLAG_IM_FEATURE
%EQUATE `WPCFLAG_IM_FEATURE_NONE = &H00
%EQUATE `WPCFLAG_IM_FEATURE_VIDEO = &H01
%EQUATE `WPCFLAG_IM_FEATURE_AUDIO = &H02
%EQUATE `WPCFLAG_IM_FEATURE_GAME = &H04
%EQUATE `WPCFLAG_IM_FEATURE_SMS = &H08
%EQUATE `WPCFLAG_IM_FEATURE_FILESWAP = &H10
%EQUATE `WPCFLAG_IM_FEATURE_URLSWAP = &H20
%EQUATE `WPCFLAG_IM_FEATURE_SENDING = &H80000000 ' // Top bit means sending or receiving.
%EQUATE `WPCFLAG_IM_FEATURE_ALL = &HFFFFFFFF
' enum WPC_ARGS_IMFEATUREEVENT
%EQUATE `WPC_ARGS_IMFEATUREEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_IMFEATUREEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_IMFEATUREEVENT_ACCOUNTNAME = 2
%EQUATE `WPC_ARGS_IMFEATUREEVENT_CONVID = 3
%EQUATE `WPC_ARGS_IMFEATUREEVENT_MEDIATYPE = 4
%EQUATE `WPC_ARGS_IMFEATUREEVENT_REASON = 5
%EQUATE `WPC_ARGS_IMFEATUREEVENT_RECIPCOUNT = 6
%EQUATE `WPC_ARGS_IMFEATUREEVENT_RECIPIENT = 7
%EQUATE `WPC_ARGS_IMFEATUREEVENT_SENDER = 8
%EQUATE `WPC_ARGS_IMFEATUREEVENT_SENDERIP = 9
%EQUATE `WPC_ARGS_IMFEATUREEVENT_DATA = 10
%EQUATE `WPC_ARGS_IMFEATUREEVENT_CARGS = 11
' enum WPC_ARGS_IMCONTACTEVENT
%EQUATE `WPC_ARGS_IMCONTACTEVENT_APPNAME = 0
%EQUATE `WPC_ARGS_IMCONTACTEVENT_APPVERSION = 1
%EQUATE `WPC_ARGS_IMCONTACTEVENT_ACCOUNTNAME = 2
%EQUATE `WPC_ARGS_IMCONTACTEVENT_OLDNAME = 3
%EQUATE `WPC_ARGS_IMCONTACTEVENT_OLDID = 4
%EQUATE `WPC_ARGS_IMCONTACTEVENT_NEWNAME = 5
%EQUATE `WPC_ARGS_IMCONTACTEVENT_NEWID = 6
%EQUATE `WPC_ARGS_IMCONTACTEVENT_REASON = 7
%EQUATE `WPC_ARGS_IMCONTACTEVENT_CARGS = 8
'//Games
' enum WPC_ARGS_GAMESTARTEVENT
%EQUATE `WPC_ARGS_GAMESTARTEVENT_APPID = 0
%EQUATE `WPC_ARGS_GAMESTARTEVENT_INSTANCEID = 1
%EQUATE `WPC_ARGS_GAMESTARTEVENT_APPVERSION = 2
%EQUATE `WPC_ARGS_GAMESTARTEVENT_PATH = 3
%EQUATE `WPC_ARGS_GAMESTARTEVENT_RATING = 4
%EQUATE `WPC_ARGS_GAMESTARTEVENT_RATINGSYSTEM = 5
%EQUATE `WPC_ARGS_GAMESTARTEVENT_REASON = 6
%EQUATE `WPC_ARGS_GAMESTARTEVENT_DESCCOUNT = 7
%EQUATE `WPC_ARGS_GAMESTARTEVENT_DESCRIPTOR = 8
%EQUATE `WPC_ARGS_GAMESTARTEVENT_PID = 9
%EQUATE `WPC_ARGS_GAMESTARTEVENT_CARGS = 10
'//Web
'// Don't change anything in this--IE7 relies on it!!
' enum WPC_ARGS_FILEDOWNLOADEVENT
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_URL = 0
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_APPNAME = 1
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_VERSION = 2
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_BLOCKED = 3
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_PATH = 4
%EQUATE `WPC_ARGS_FILEDOWNLOADEVENT_CARGS = 5
' enum WPC_ARGS_URLVISITEVENT
%EQUATE `WPC_ARGS_URLVISITEVENT_URL = 0
%EQUATE `WPC_ARGS_URLVISITEVENT_APPNAME = 1
%EQUATE `WPC_ARGS_URLVISITEVENT_VERSION = 2
%EQUATE `WPC_ARGS_URLVISITEVENT_REASON = 3
%EQUATE `WPC_ARGS_URLVISITEVENT_RATINGSYSTEMID = 4
%EQUATE `WPC_ARGS_URLVISITEVENT_CATCOUNT = 5
%EQUATE `WPC_ARGS_URLVISITEVENT_CATEGORY = 6
%EQUATE `WPC_ARGS_URLVISITEVENT_CARGS = 7
' enum WPC_ARGS_CUSTOMEVENT
%EQUATE `WPC_ARGS_CUSTOMEVENT_PUBLISHER = 0
%EQUATE `WPC_ARGS_CUSTOMEVENT_APPNAME = 1
%EQUATE `WPC_ARGS_CUSTOMEVENT_APPVERSION = 2
%EQUATE `WPC_ARGS_CUSTOMEVENT_EVENT = 3
%EQUATE `WPC_ARGS_CUSTOMEVENT_VALUE1 = 4
%EQUATE `WPC_ARGS_CUSTOMEVENT_VALUE2 = 5
%EQUATE `WPC_ARGS_CUSTOMEVENT_VALUE3 = 6
%EQUATE `WPC_ARGS_CUSTOMEVENT_BLOCKED = 7
%EQUATE `WPC_ARGS_CUSTOMEVENT_REASON = 8
%EQUATE `WPC_ARGS_CUSTOMEVENT_CARGS = 9
' enum WPC_ARGS_WEBOVERRIDEEVENT
%EQUATE `WPC_ARGS_WEBOVERRIDEEVENT_USERID = 0
%EQUATE `WPC_ARGS_WEBOVERRIDEEVENT_URL = 1
%EQUATE `WPC_ARGS_WEBOVERRIDEEVENT_REASON = 2
%EQUATE `WPC_ARGS_WEBOVERRIDEEVENT_CARGS = 3
' enum WPC_ARGS_APPOVERRIDEEVENT
%EQUATE `WPC_ARGS_APPOVERRIDEEVENT_USERID = 0
%EQUATE `WPC_ARGS_APPOVERRIDEEVENT_PATH = 1
%EQUATE `WPC_ARGS_APPOVERRIDEEVENT_REASON = 2
%EQUATE `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
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_PATH = 0
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_SILO = 1
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_IMAGE_PATH = 2
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_DISABLEDIMAGE_PATH = 3
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_NAME = 4
%EQUATE `WPC_SETTINGS_WPC_EXTENSION_SUB_TITLE = 5
%EQUATE `WPC_SETTINGS_SYSTEM_CURRENT_RATING_SYSTEM = 6
%EQUATE `WPC_SETTINGS_SYSTEM_LAST_LOG_VIEW = 7
%EQUATE `WPC_SETTINGS_SYSTEM_LOG_VIEW_REMINDER_INTERVAL = 8
%EQUATE `WPC_SETTINGS_SYSTEM_HTTP_EXEMPTION_LIST = 9
%EQUATE `WPC_SETTINGS_SYSTEM_URL_EXEMPTION_LIST = 10
%EQUATE `WPC_SETTINGS_SYSTEM_FILTER_ID = 11
%EQUATE `WPC_SETTINGS_SYSTEM_FILTER_NAME = 12
%EQUATE `WPC_SETTINGS_SYSTEM_LOCALE = 13
%EQUATE `WPC_SETTINGS_ALLOW_BLOCK = 14
%EQUATE `WPC_SETTINGS_GAME_BLOCKED = 15
%EQUATE `WPC_SETTINGS_GAME_ALLOW_UNRATED = 16
%EQUATE `WPC_SETTINGS_GAME_MAX_ALLOWED = 17
%EQUATE `WPC_SETTINGS_GAME_DENIED_DESCRIPTORS = 18
%EQUATE `WPC_SETTINGS_USER_WPC_ENABLED = 19
%EQUATE `WPC_SETTINGS_USER_LOGGING_REQUIRED = 20
%EQUATE `WPC_SETTINGS_USER_HOURLY_RESTRICTIONS = 21
%EQUATE `WPC_SETTINGS_USER_OVERRRIDE_REQUESTS = 22
%EQUATE `WPC_SETTINGS_USER_LOGON_HOURS = 23
%EQUATE `WPC_SETTINGS_USER_APP_RESTRICTIONS = 24
%EQUATE `WPC_SETTINGS_WEB_FILTER_ON = 25
%EQUATE `WPC_SETTINGS_WEB_DOWNLOAD_BLOCKED = 26
%EQUATE `WPC_SETTINGS_WEB_FILTER_LEVEL = 27
%EQUATE `WPC_SETTINGS_WEB_BLOCKED_CATEGORY_LIST = 28
%EQUATE `WPC_SETTINGS_WEB_BLOCK_UNRATED = 29
%EQUATE `WPC_SETTINGS_WPC_ENABLED = 30
%EQUATE `WPC_SETTINGS_WPC_LOGGING_REQUIRED = 31
%EQUATE `WPC_SETTINGS_RATING_SYSTEM_PATH = 32
%EQUATE `WPC_SETTINGS_WPC_PROVIDER_CURRENT = 33
%EQUATE `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
'//
%EQUATE `WPCCHANNEL = &H10
'//
'// Opcodes
'//
%EQUATE `WPC_SETTINGS_LOCATE = &H14
%EQUATE `WPC_SETTINGS_MODIFY = &H15
%EQUATE `WPC_APP_LAUNCH = &H16
%EQUATE `WPC_SYSTEM = &H17
%EQUATE `WPC_WEB = &H18
'//
'// Tasks
'//
%EQUATE `WPCPROV_TASK_SettingChange = &H1
%EQUATE `WPCPROV_TASK_GameStart = &H2
%EQUATE `WPCPROV_TASK_UrlVisit = &H3
%EQUATE `WPCPROV_TASK_EmailReceived = &H4
%EQUATE `WPCPROV_TASK_EmailSent = &H5
%EQUATE `WPCPROV_TASK_MediaPlayback = &H6
%EQUATE `WPCPROV_TASK_IMInvitation = &H7
%EQUATE `WPCPROV_TASK_IMJoin = &H8
%EQUATE `WPCPROV_TASK_IMLeave = &H9
%EQUATE `WPCPROV_TASK_FileDownload = &Ha
%EQUATE `WPCPROV_TASK_IMFeature = &Hb
%EQUATE `WPCPROV_TASK_Custom = &Hd
%EQUATE `WPCPROV_TASK_EmailContact = &He
%EQUATE `WPCPROV_TASK_IMContact = &Hf
%EQUATE `WPCPROV_TASK_AppBlocked = &H10
%EQUATE `WPCPROV_TASK_AppOverride = &H11
%EQUATE `WPCPROV_TASK_WebOverride = &H12
'//
'// Keyword
'//
%EQUATE `WPCPROV_KEYWORD_WPC = &H10
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `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&&)
%EQUATE `WPCEVENT_WEBOVERRIDE_value = &H12
%EQUATE `MSG_Keyword_WPC = &H10000005&
%EQUATE `MSG_Keyword_ThirdParty = &H10000006&
%EQUATE `MSG_Opcode_Locate = &H30000014&
%EQUATE `MSG_Opcode_Modify = &H30000015&
%EQUATE `MSG_Opcode_Launch = &H30000016&
%EQUATE `MSG_Opcode_System = &H30000017&
%EQUATE `MSG_Opcode_Web = &H30000018&
%EQUATE `MSG_Task_SettingChange = &H70000001&
%EQUATE `MSG_Task_GameStart = &H70000002&
%EQUATE `MSG_Task_UrlVisit = &H70000003&
%EQUATE `MSG_Task_EmailReceived = &H70000004&
%EQUATE `MSG_Task_EmailSent = &H70000005&
%EQUATE `MSG_Task_MediaPlayback = &H70000006&
%EQUATE `MSG_Task_IMInvitation = &H70000007&
%EQUATE `MSG_Task_IMJoin = &H70000008&
%EQUATE `MSG_Task_IMLeave = &H70000009&
%EQUATE `MSG_Task_FileDownload = &H7000000A&
%EQUATE `MSG_Task_IMFeature = &H7000000B&
%EQUATE `MSG_Task_Custom = &H7000000D&
%EQUATE `MSG_Task_EmailContact = &H7000000E&
%EQUATE `MSG_Task_IMContact = &H7000000F&
%EQUATE `MSG_Task_AppBlocked = &H70000010&
%EQUATE `MSG_Task_AppOverride = &H70000011&
%EQUATE `MSG_Task_WebOverride = &H70000012&
%EQUATE `MSG_Publisher_Name = &H90000001&
%EQUATE `MSG_Event_SettingChange = &HB0000001&
%EQUATE `MSG_Event_GameStart = &HB0000002&
%EQUATE `MSG_Event_UrlVisit = &HB0000003&
%EQUATE `MSG_Event_EmailReceived = &HB0000004&
%EQUATE `MSG_Event_EmailSent = &HB0000005&
%EQUATE `MSG_Event_MediaPlayback = &HB0000006&
%EQUATE `MSG_Event_IMInvitation = &HB0000007&
%EQUATE `MSG_Event_IMJoin = &HB0000008&
%EQUATE `MSG_Event_IMLeave = &HB0000009&
%EQUATE `MSG_Event_FileDownload = &HB000000A&
%EQUATE `MSG_Event_IMFeature = &HB000000B&
%EQUATE `MSG_Event_Custom = &HB000000D&
%EQUATE `MSG_Event_EmailContact = &HB000000E&
%EQUATE `MSG_Event_IMContact = &HB000000F&
%EQUATE `MSG_Event_AppBlocked = &HB0000010&
%EQUATE `MSG_Event_AppOverride = &HB0000011&
%EQUATE `MSG_Event_WebOverride = &HB0000012&
#ENDIF
