2008-01-29 Brandon Sneed <nivenh@sourceware.org>
* include/winnt.h (SYSTEM_POWER_CONDITION): typedef. * include/winuser.h (PBT_POWERSETTINGCHANGE, DEVICE_NOTIFY_WINDOW_HANDLE, DEVICE_NOTIFY_SERVICE_HANDLE): define. * include/winuser.h (LPCGUID, HPOWERNOTIFY, POWERBROADCAST_SETTING): typedefs. * include/winuser.h (GUID_POWERSCHEME_PERSONALITY, GUID_MIN_POWER_SAVINGS, GUID_MAX_POWER_SAVINGS, GUID_TYPICAL_POWER_SAVINGS, GUID_ACDC_POWER_SOURCE, GUID_BATTERY_PERCENTAGE_REMAINING, GUID_IDLE_BACKGROUND_TASK, GUID_SYSTEM_AWAYMODE, GUID_MONITOR_POWER_ON): added externs for GUIDs. * include/winuser.h (RegisterPowerSettingNotification, UnregisterPowerSettingNotification): Add prototypes. * lib/user32.def: Added imports for the above prototypes. * lib/Makefile.in: Added build support for power-uuid.c. * lib/power-uuid.c: New file containing power GUID definitions.
This commit is contained in:
@ -484,6 +484,7 @@ RegisterClipboardFormatA@4
|
||||
RegisterClipboardFormatW@4
|
||||
RegisterDeviceNotificationA@12
|
||||
RegisterDeviceNotificationW@12
|
||||
RegisterPowerSettingNotification@12
|
||||
RegisterHotKey@16
|
||||
RegisterRawInputDevices@12
|
||||
RegisterWindowMessageA@4
|
||||
@ -613,6 +614,7 @@ UnpackDDElParam@16
|
||||
UnregisterClassA@8
|
||||
UnregisterClassW@8
|
||||
UnregisterDeviceNotification@4
|
||||
UnregisterPowerSettingNotification@4
|
||||
UnregisterHotKey@8
|
||||
UpdateLayeredWindow@36
|
||||
UpdateWindow@4
|
||||
|
Reference in New Issue
Block a user