SystemIdleTimerReset throws exception in emulator

  • Thread starter Thread starter RobGSCL
  • Start date Start date
R

RobGSCL

I'm trying to keep an application alive by calling
SystemIdleTimerReset. In the emulator, I get an exception. Is this to
be expected in the emulator?
 
And what exception did you get? How did you declare it?

It sould be something like this:

[DllImport("coredll")]
private extern static void SystemIdleTimerReset();
 
Back
Top