Prevent that the system is idle

  • Thread starter Thread starter Timo Meier
  • Start date Start date
T

Timo Meier

Hi,
how can i prevent that the system is idle while my application is running?
Can i reset the idle timer?!?
 
I'm not aware of a .NET CF way to do this, though there may be one.

You can P/Invoke this function, though:

void WINAPI SystemIdleTimerReset(void);

Paul T.
 

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