2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/include/po.h
5 * PURPOSE: Internal header for the Power Manager
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
12 // Define this if you want debugging support
14 #define _PO_DEBUG_ 0x00
17 // These define the Debug Masks Supported
19 #define PO_STATE_DEBUG 0x01
22 // Debug/Tracing support
25 #ifdef NEW_DEBUG_SYSTEM_IMPLEMENTED // enable when Debug Filters are implemented
26 #define POTRACE DbgPrintEx
28 #define POTRACE(x, ...) \
29 if (x & PopTraceLevel) DbgPrint(__VA_ARGS__)
32 #define POTRACE(x, ...) DPRINT(__VA_ARGS__)
36 // Initialization routines
51 // Power State routines
55 PopSetSystemPowerState(
56 SYSTEM_POWER_STATE PowerState
62 IN PPOWER_STATE PowerState
67 PopAddRemoveSysCapsCallback(
68 IN PVOID NotificationStructure
,
77 PoNotifySystemTimeSet(
82 // Global data inside the Power Manager
84 extern PDEVICE_NODE PopSystemPowerDeviceNode
;