So my Vista machine is set to turn off it's monitors after 10 minutes. (Note : machine is not suspended, or hibernated)
I have a .Net application running, that needs to "wake" the system at a specified time. As a human, you just move the mouse or press a key. How do I do this programatically?
I've tried : programatically setting the cursor; using "SendKeys"; and even pinvoking CreateWaitableTimer to unsuspend (even though it's not suspended) in the hope that that would trigger something.
Ideally code in c# would be great, but the correct Win API would suffice.
Many thanks in advance.