Thursday, August 22, 2013

Hook system power button in Windows

Hook system power button in Windows

Is it possible to hook the system power button under Windows XP & up, such
that my program would get the event before Windows initiates a
powerdown/sleep event (before PBT_APMQUERYSUSPEND gets sent out)?

No comments:

Post a Comment