CVSROOT: /cvs/src Module name: src Changes by: [EMAIL PROTECTED] 2008-01-29 21:18:49
Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winnt.h winuser.h winsup/w32api/lib: Makefile.in user32.def Added files: winsup/w32api/lib: power-uuid.c Log message: 2008-01-29 Brandon Sneed <[EMAIL PROTECTED]> * 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. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=src&r1=1.926&r2=1.927 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winnt.h.diff?cvsroot=src&r1=1.118&r2=1.119 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winuser.h.diff?cvsroot=src&r1=1.125&r2=1.126 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/lib/power-uuid.c.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/lib/Makefile.in.diff?cvsroot=src&r1=1.45&r2=1.46 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/lib/user32.def.diff?cvsroot=src&r1=1.30&r2=1.31