16 #if (PHNT_VERSION >= PHNT_VISTA)
37 #if (PHNT_VERSION >= PHNT_WIN7)
40 typedef struct _COUNTED_REASON_CONTEXT
49 USHORT ResourceReasonId;
55 } COUNTED_REASON_CONTEXT, *PCOUNTED_REASON_CONTEXT;
72 _In_ PVOID SystemContext
78 _In_ PVOID SystemContext,
79 _In_
LONG NumberProcessors,
80 _In_
volatile PLONG Number
126 _In_ POWER_INFORMATION_LEVEL InformationLevel,
127 _In_reads_bytes_opt_(InputBufferLength) PVOID InputBuffer,
128 _In_ ULONG InputBufferLength,
129 _Out_writes_bytes_opt_(OutputBufferLength) PVOID OutputBuffer,
130 _In_ ULONG OutputBufferLength
137 _In_ EXECUTION_STATE NewFlags,
138 _Out_ EXECUTION_STATE *PreviousFlags
145 _In_ LATENCY_TIME latency
152 _In_ POWER_ACTION SystemAction,
153 _In_ SYSTEM_POWER_STATE LightestSystemState,
155 _In_ BOOLEAN Asynchronous
162 _In_ POWER_ACTION SystemAction,
163 _In_ SYSTEM_POWER_STATE LightestSystemState,
172 _Out_ PDEVICE_POWER_STATE State