IsPwrSuspendAllowed The IsPwrSuspendAllowed function determines whether the computer supports the sleep states.
VB4-32,5,6
Declare Function IsPwrSuspendAllowed Lib "Powrprof.dll" () As Long |
Operating Systems Supported |
Requires Windows 2000 or later; Requires Windows 98 or later |
If the computer supports the sleep states (S1, S2, and S3), the function returns TRUE. Otherwise, the function returns FALSE. |
|