GetPwrCapabilities The GetPwrCapabilities function retrieves information about the system power capabilities.
VB4-32,5,6
Declare Function GetPwrCapabilities Lib "Powrprof" (lpSystemPowerCapabilities As SYSTEM_POWER_CAPABILITIES) As Long |
Operating Systems Supported |
Requires Windows 2000 or later; Requires Windows 98 or later |
- lpSystemPowerCapabilities
[out] Pointer to a SYSTEM_POWER_CAPABILITIES structure that receives the information. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|