' ########################################################################################
' Microsoft Windows
' File: Wpc.inc
' Contents: This file defines the 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_wpc_PBI)
#DEFINE PBX_wpc_PBI
%EQUATE `WPC_INC = 1
#INCLUDE ONCE "Legacy/System/wpcapi.inc"
#INCLUDE ONCE "Legacy/System/wpcevent.inc"
'#ifndef E_FILE_NOT_FOUND
'#define E_FILE_NOT_FOUND MAKE_SCODE(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND)
'#endif
#IF NOT %DEF(%E_FILE_NOT_FOUND)
%EQUATE `E_FILE_NOT_FOUND = &H80070002&
#ENDIF
'#define FACILITY_WPC 0x999
'#define WPCERR(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_WPC, n)
%EQUATE `FACILITY_WPC = &H999
MACRO WPCERR(n) = MAKE_SCODE(%SEVERITY_ERROR, %FACILITY_WPC, n)
#ENDIF
