powrprof: Implement IsPwrShutdownAllowed.

oldstable
Michael Hoffman 2008-04-16 17:59:52 -04:00 committed by Alexandre Julliard
parent 1cfaa91570
commit c189b5f9e2
1 changed files with 1 additions and 3 deletions

View File

@ -216,11 +216,9 @@ BOOLEAN WINAPI IsPwrHibernateAllowed(VOID)
BOOLEAN WINAPI IsPwrShutdownAllowed(VOID)
{
/* FIXME: See note #2 */
SYSTEM_POWER_CAPABILITIES PowerCaps;
FIXME("() stub!\n");
NtPowerInformation(SystemPowerCapabilities, NULL, 0, &PowerCaps, sizeof(PowerCaps));
return FALSE;
return PowerCaps.SystemS5;
}
BOOLEAN WINAPI IsPwrSuspendAllowed(VOID)