AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

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.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/