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



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.

Last update: 07 April 2006