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

IsPwrHibernateAllowed

The IsPwrHibernateAllowed function determines whether the computer supports hibernation.

VB4-32,5,6
Declare Function IsPwrHibernateAllowed 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 hibernation (power state S4) and the file Hiberfil.sys is present on the system, 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/