N
nicolas.lelievre
Hi,
I would like to let always the screen on so I was trying using the
fonction : SystemIdleTimerReset but it's seems to not work on my
device.
I have tried to put SystemIdleTimerReset() everywhere into my code but
the screen is turning off either.
It's C# code.
This is how I import the DLL :
* My code sample :
[DllImport("coredll.dll")]
static extern void SystemIdleTimerReset();
Do you know if I'm doing something wrong or if I can find another way
to do it.
The other thing is that I don't want to touch to the registry keys.
Thank you for your help.
I would like to let always the screen on so I was trying using the
fonction : SystemIdleTimerReset but it's seems to not work on my
device.
I have tried to put SystemIdleTimerReset() everywhere into my code but
the screen is turning off either.
It's C# code.
This is how I import the DLL :
* My code sample :
[DllImport("coredll.dll")]
static extern void SystemIdleTimerReset();
Do you know if I'm doing something wrong or if I can find another way
to do it.
The other thing is that I don't want to touch to the registry keys.
Thank you for your help.