How to retrieve information about the system power capabilities in Windows

The sample code uses the API GetPwrCapabilities() with structure SYSTEM_POWER_CAPABILITIES to get the power related values on the machine. Once successful, the values are available in the structure variable of SYSTEM_POWER_CAPABILITIES and displayed.

C++ (30.6 KB)
328 times
Add to favorites
E-mail Twitter Digg Facebook