[python-win32] registering for power events

2009-12-15 Thread Ross Boylan
I would like my application to get notice when the system sleeps, hibernates, or wakes up. http://msdn.microsoft.com/en-us/library/aa373196(VS.85).aspx points me to RegisterPowerSettingNotification, but I do not see this in the latest docs from ActiveState. MSDN only seems to provide a C++

Re: [python-win32] registering for power events

2009-12-15 Thread Tim Roberts
Ross Boylan wrote: I would like my application to get notice when the system sleeps, hibernates, or wakes up. http://msdn.microsoft.com/en-us/library/aa373196(VS.85).aspx points me to RegisterPowerSettingNotification, but I do not see this in the latest docs from ActiveState. MSDN only seems

Re: [python-win32] registering for power events

2009-12-15 Thread Tim Golden
Ross Boylan wrote: I would like my application to get notice when the system sleeps, hibernates, or wakes up. http://msdn.microsoft.com/en-us/library/aa373196(VS.85).aspx points me to RegisterPowerSettingNotification, but I do not see this in the latest docs from ActiveState. MSDN only seems to