How can I tell Windows XP to switch to standby mode programmatically with C/C++ native code?
Asked
Active
Viewed 1,153 times
2 Answers
4
A likely function in the Win32 API is SetSuspendState
:
SetSuspendState(TRUE, FALSE, FALSE);
From: http://msdn.microsoft.com/en-us/library/aa373201(VS.85).aspx

mattbasta
- 13,492
- 9
- 47
- 68
1

loentar
- 5,111
- 1
- 24
- 25
-
Seems this call has been superseded by SetSuspendState – Elemental Jul 21 '10 at 19:20