How to catch power-management messages in my c# app?

  • Thread starter Thread starter Owen Woo
  • Start date Start date
O

Owen Woo

How can I catch Windows WM_POWERBROADCAST in my C# application to prevent
the PC from hibernating?
Thanks!
 
Look @ Microsoft.Win32 namespace and you will find your anwser.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top