You could also P/Invoke SystemIdleTimerReset() periodically during the
process that should not be suspended. Obviously, it would be *very*
unfriendly to call this all the time from your program.
Paul T.
"Microsoft MVP ¸¨Õ»a(Jan Yeh) for Windows CE .NET"