[python-win32] registering for power events
Ross Boylan
RossBoylan at stanfordalumni.org
Tue Dec 15 19:12:27 CET 2009
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++
interface; I don't see any COM interface.
I think this is new in Vista. Is there a way to do this from Python?
Thanks.
Ross Boylan
More information about the python-win32
mailing list