ntdll: Add semi-stub implementation for SystemExecutionState query.
This commit is contained in:
parent
e5d621c081
commit
8ed1f0547e
|
@ -1328,6 +1328,15 @@ NTSTATUS WINAPI NtPowerInformation(
|
|||
PowerCaps->DefaultLowLatencyWake = PowerSystemUnspecified;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
case SystemExecutionState: {
|
||||
PULONG ExecutionState = lpOutputBuffer;
|
||||
FIXME("semi-stub: SystemExecutionState\n");
|
||||
if (lpInputBuffer != NULL)
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
/* FIXME: The actual state should be the value set by SetThreadExecutionState which is not currently implemented. */
|
||||
*ExecutionState = ES_USER_PRESENT;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
default:
|
||||
/* FIXME: Needed by .NET Framework */
|
||||
WARN("Unimplemented NtPowerInformation action: %d\n", InformationLevel);
|
||||
|
|
Loading…
Reference in New Issue