mirror of
https://github.com/reactos/wine.git
synced 2025-02-14 17:49:51 +00:00
powrprof: Implement IsPwrSuspendAllowed.
This commit is contained in:
parent
be59368dd1
commit
1cfaa91570
@ -225,11 +225,9 @@ BOOLEAN WINAPI IsPwrShutdownAllowed(VOID)
|
||||
|
||||
BOOLEAN WINAPI IsPwrSuspendAllowed(VOID)
|
||||
{
|
||||
/* FIXME: See note #2 */
|
||||
SYSTEM_POWER_CAPABILITIES PowerCaps;
|
||||
FIXME("() stub!\n");
|
||||
NtPowerInformation(SystemPowerCapabilities, NULL, 0, &PowerCaps, sizeof(PowerCaps));
|
||||
return FALSE;
|
||||
return PowerCaps.SystemS1 && PowerCaps.SystemS2 && PowerCaps.SystemS3;
|
||||
}
|
||||
|
||||
BOOLEAN WINAPI ReadGlobalPwrPolicy(PGLOBAL_POWER_POLICY pGlobalPowerPolicy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user