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

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

Library
Powrprof

Return Values
If the computer supports the sleep states (S1, S2, and S3), the function returns TRUE. Otherwise, the function returns FALSE.

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/