0

There are a few ways to reset device programatically:

  1. SetSystemPowerState

  2. ExitWindowsEx

But how to catch device event and log some info for debug purpose (like calling process, etc)?

Solution here.

Community
  • 1
  • 1