Module: wine Branch: master Commit: c189b5f9e2e5b146ca8ec25deba04a4aa2a2a52d URL: http://source.winehq.org/git/wine.git/?a=commit;h=c189b5f9e2e5b146ca8ec25deb... Author: Michael Hoffman <blackdragon1157(a)gmail.com> Date: Wed Apr 16 17:59:52 2008 -0400 powrprof: Implement IsPwrShutdownAllowed. --- dlls/powrprof/powrprof.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c index 58a7919..7d3b86e 100644 --- a/dlls/powrprof/powrprof.c +++ b/dlls/powrprof/powrprof.c @@ -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)