A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Powrprof

Parameter Information
- lpSystemPowerCapabilities
[out] Pointer to a SYSTEM_POWER_CAPABILITIES structure that receives the information.

Return Values
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.

Last update: 07 April 2006