Commit 8ed1f054 authored by Luke Benstead's avatar Luke Benstead Committed by Alexandre Julliard

ntdll: Add semi-stub implementation for SystemExecutionState query.

parent e5d621c0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment