Programmatically prevent suspend? - Programmer

This is a discussion on Programmatically prevent suspend? - Programmer ; My application must prevent the system from suspending or hibernating, and it is
continuously talking to the hardware, and won't survive the real-time interruption (and
can't recover, because the hardware state it not perfectly restore).
Somebody please point me to ...

Programmatically prevent suspend?

My application must prevent the system from suspending or hibernating, and it is
continuously talking to the hardware, and won't survive the real-time interruption (and
can't recover, because the hardware state it not perfectly restore).

Somebody please point me to sample code for XP. The MSDN help is extensive - too
extensive; I'd like to avoid experimentation.

Thanks in advance.

--
#include
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up

Re: Programmatically prevent suspend?

On Thu, 31 Aug 2006 19:12:09 -0700, Kevin D. Quitt
wrote:
>My application must prevent the system from suspending or hibernating, and it is
>continuously talking to the hardware, and won't survive the real-time interruption (and
>can't recover, because the hardware state it not perfectly restore).
>
>Somebody please point me to sample code for XP. The MSDN help is extensive - too
>extensive; I'd like to avoid experimentation.
>
>Thanks in advance.