|
|||
|
Yes, it's possible. You can write a c++ program to create a window, which returns BROADCAST_QUERY_DENY when it receives a WM_POWERBROADCAST message with wparam PBT_APMQUERYSUSPEND.
http://www.codeguru.com/cpp/w-p/syst...icle.php/c6907 |
|
|||
|
That code doesn't work. I can't get it to say off.
SWFKit, would this help with detecting standby? kirupaBlog - If it isn’t broken, take it apart and fix it! » Blog Archive » Invoking P/Invoke - Communicate with Win32 Get the monitor status : Visual C# General : Visual C# : MSDN Forums Mobility: Make Your WPF Apps Power-Aware Especially this one! Power Management in Windows XP Last edited by motionman95; 01-01-2009 at 01:47 AM. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|