4

I'm curious if there's a way (even if undocumented) to access SYSTEM_POWER_STATE_CONTEXT from a Windows local service written in C++ running in user-mode?

My goal is to distinguish between the system waking from sleep vs. hibernation, similar to what they describe here.

c00000fd
  • 20,994
  • 29
  • 177
  • 400

0 Answers0