By Microsoft.Win32.PowerModeChangedEventHandler my application can only
receive suspending event. But how can I prevent from suspending?
"Questa.NET" <qu****@zonnet.nl> дÈëÏûÏ¢ÐÂÎÅ:c0**********@reader11.wxs.nl...
Look @ Microsoft.Win32 namespace and you will find your anwser.
"Owen Woo" <wo*****@163.net> wrote in message
news:OE**************@tk2msftngp13.phx.gbl... How can I catch Windows WM_POWERBROADCAST in my C# application to
prevent the PC from hibernating?
Thanks!