summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-06-02 22:21:54 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-06-02 22:21:54 +0000
commit38b524b3858c96cca78e32e80cb67509b38aab05 (patch)
tree31a12dd51cc46343ce4c9954e56df55a304c396d /winsup/w32api/include/winnt.h
parent3786526ea849a4b7daba6ca5609bf8c4445c894e (diff)
downloadcygnal-38b524b3858c96cca78e32e80cb67509b38aab05.tar.gz
cygnal-38b524b3858c96cca78e32e80cb67509b38aab05.tar.bz2
cygnal-38b524b3858c96cca78e32e80cb67509b38aab05.zip
* include/ddk/ntpoapi.h (POWER_INFORMATION_LEVEL): Remove.
* include/winnt.h (POWER_INFORMATION_LEVEL): Add. * include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER): Remove. * include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 4d91016ac..ea87f453c 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -2962,6 +2962,32 @@ typedef struct _SYSTEM_BATTERY_STATE {
ULONG DefaultAlert2;
} SYSTEM_BATTERY_STATE, *PSYSTEM_BATTERY_STATE;
+typedef enum _POWER_INFORMATION_LEVEL {
+ SystemPowerPolicyAc,
+ SystemPowerPolicyDc,
+ VerifySystemPolicyAc,
+ VerifySystemPolicyDc,
+ SystemPowerCapabilities,
+ SystemBatteryState,
+ SystemPowerStateHandler,
+ ProcessorStateHandler,
+ SystemPowerPolicyCurrent,
+ AdministratorPowerPolicy,
+ SystemReserveHiberFile,
+ ProcessorInformation,
+ SystemPowerInformation,
+ ProcessorStateHandler2,
+ LastWakeTime,
+ LastSleepTime,
+ SystemExecutionState,
+ SystemPowerStateNotifyHandler,
+ ProcessorPowerPolicyAc,
+ ProcessorPowerPolicyDc,
+ VerifyProcessorPowerPolicyAc,
+ VerifyProcessorPowerPolicyDc,
+ ProcessorPowerPolicyCurrent
+} POWER_INFORMATION_LEVEL;
+
#if 1 /* (WIN32_WINNT >= 0x0500) */
typedef struct _SYSTEM_POWER_INFORMATION {
ULONG MaxIdlenessAllowed;