15#define _PO_DEBUG_ 0x00
20#define PO_STATE_DEBUG 0x01
26#ifdef NEW_DEBUG_SYSTEM_IMPLEMENTED
27#define POTRACE DbgPrintEx
29#define POTRACE(x, ...) \
30 if (x & PopTraceLevel) DbgPrint(__VA_ARGS__)
33#define POTRACE(x, fmt, ...) DPRINT(fmt, ##__VA_ARGS__)
enum _DEVICE_POWER_STATE DEVICE_POWER_STATE
enum _SYSTEM_POWER_STATE SYSTEM_POWER_STATE
VOID NTAPI PoInitializeDeviceObject(IN OUT PDEVOBJ_EXTENSION DeviceObjectExtension)
struct _PO_DEVICE_NOTIFY_ORDER * PPO_DEVICE_NOTIFY_ORDER
struct _POP_SHUTDOWN_BUG_CHECK POP_SHUTDOWN_BUG_CHECK
LIST_ENTRY PopVolumeDevices
struct _POP_DEVICE_POWER_IRP POP_DEVICE_POWER_IRP
VOID NTAPI PopInitShutdownList(VOID)
enum _POP_DEVICE_IDLE_TYPE * PPOP_DEVICE_IDLE_TYPE
struct _POP_SHUTDOWN_BUG_CHECK * PPOP_SHUTDOWN_BUG_CHECK
struct _PO_MEMORY_RANGE_ARRAY_RANGE PO_MEMORY_RANGE_ARRAY_RANGE
VOID NTAPI PopReadShutdownPolicy(VOID)
struct _DEVICE_OBJECT_POWER_EXTENSION DEVICE_OBJECT_POWER_EXTENSION
struct _POP_HIBER_CONTEXT POP_HIBER_CONTEXT
VOID NTAPI PoVolumeDevice(IN PDEVICE_OBJECT DeviceObject)
BOOLEAN NTAPI PoInitSystem(IN ULONG BootPhase)
struct _PO_MEMORY_RANGE_ARRAY PO_MEMORY_RANGE_ARRAY
struct _POWER_CHANNEL_SUMMARY POWER_CHANNEL_SUMMARY
@ PolicyInitiatePowerActionAPI
@ PolicyDeviceSystemButton
@ PolicyDeviceThermalZone
struct _POP_POWER_ACTION POP_POWER_ACTION
NTSTATUS NTAPI PopAddRemoveSysCapsCallback(IN PVOID NotificationStructure, IN PVOID Context)
struct _POP_POWER_ACTION * PPOP_POWER_ACTION
struct _PO_MEMORY_IMAGE PO_MEMORY_IMAGE
struct _POP_DEVICE_SYS_STATE POP_DEVICE_SYS_STATE
struct _PO_HIBER_PERF PO_HIBER_PERF
VOID NTAPI PopCleanupPowerState(IN PPOWER_STATE PowerState)
struct _DEVICE_OBJECT_POWER_EXTENSION * PDEVICE_OBJECT_POWER_EXTENSION
struct _PO_HIBER_PERF * PPO_HIBER_PERF
enum _POP_POLICY_DEVICE_TYPE POP_POLICY_DEVICE_TYPE
enum _POP_DEVICE_IDLE_TYPE POP_DEVICE_IDLE_TYPE
struct _PO_DEVICE_NOTIFY_ORDER PO_DEVICE_NOTIFY_ORDER
SYSTEM_POWER_CAPABILITIES PopCapabilities
struct _POP_DEVICE_POWER_IRP * PPOP_DEVICE_POWER_IRP
struct _POWER_CHANNEL_SUMMARY * PPOWER_CHANNEL_SUMMARY
KSPIN_LOCK PopDopeGlobalLock
struct _POP_HIBER_CONTEXT * PPOP_HIBER_CONTEXT
struct _PO_MEMORY_RANGE_ARRAY_LINK PO_MEMORY_RANGE_ARRAY_LINK
NTSTATUS NTAPI PopSetSystemPowerState(SYSTEM_POWER_STATE PowerState, POWER_ACTION PowerAction)
struct _PO_NOTIFY_ORDER_LEVEL * PPO_NOTIFY_ORDER_LEVEL
VOID NTAPI PopFlushVolumes(IN BOOLEAN ShuttingDown)
struct _POP_DEVICE_SYS_STATE * PPOP_DEVICE_SYS_STATE
struct _PO_MEMORY_RANGE_ARRAY * PPO_MEMORY_RANGE_ARRAY
VOID NTAPI PoNotifySystemTimeSet(VOID)
struct _POP_SHUTDOWN_WAIT_ENTRY POP_SHUTDOWN_WAIT_ENTRY
struct _PO_NOTIFY_ORDER_LEVEL PO_NOTIFY_ORDER_LEVEL
struct _PO_MEMORY_IMAGE * PPO_MEMORY_IMAGE
struct _POP_SHUTDOWN_WAIT_ENTRY * PPOP_SHUTDOWN_WAIT_ENTRY
KGUARDED_MUTEX PopVolumeLock
VOID NTAPI PoInitializePrcb(IN PKPRCB Prcb)
VOID NTAPI PoRemoveVolumeDevice(IN PDEVICE_OBJECT DeviceObject)
PDEVICE_NODE PopSystemPowerDeviceNode
POP_POWER_ACTION PopAction
VOID NTAPI PopGracefulShutdown(IN PVOID Context)
ULONG ConservationIdleTime
LIST_ENTRY NotifyTargetList
LIST_ENTRY NotifySourceList
POWER_CHANNEL_SUMMARY PowerChannelSummary
ULONG PerformanceIdleTime
PDEVICE_OBJECT DeviceObject
POP_DEVICE_POWER_IRP PowerIrpState[20]
PDEVICE_OBJECT FailedDevice
POP_DEVICE_POWER_IRP Head
BOOLEAN IgnoreNotImplemented
SYSTEM_POWER_STATE SystemState
PO_DEVICE_NOTIFY_ORDER Order
LIST_ENTRY PresentIrpQueue
PKPROCESSOR_STATE WakeState
PHYSICAL_ADDRESS HiberPte
BOOLEAN ReserveLoaderMemory
PPO_MEMORY_IMAGE MemoryImage
PVOID CompressionWorkspace
BOOLEAN ReserveFreeMemory
PUCHAR CompressedWriteBuffer
PLIST_ENTRY NextCloneRange
PPO_MEMORY_RANGE_ARRAY TableHead
SYSTEM_POWER_STATE NextSystemState
PPOP_SHUTDOWN_BUG_CHECK ShutdownBugCode
PPOP_DEVICE_SYS_STATE DevState
SYSTEM_POWER_STATE SystemState
SYSTEM_POWER_STATE LightestState
PPOP_HIBER_CONTEXT HiberContext
struct _POP_SHUTDOWN_WAIT_ENTRY * NextEntry
PDEVICE_OBJECT * WarmEjectPdoPointer
PO_NOTIFY_ORDER_LEVEL OrderLevel[8]
PFN_NUMBER FirstTablePage
PHYSICAL_ADDRESS HiberPte
struct _PO_MEMORY_RANGE_ARRAY * Next
PO_MEMORY_RANGE_ARRAY_RANGE Range
PO_MEMORY_RANGE_ARRAY_LINK Link
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
_In_ PVOID NotificationStructure