Luke Benstead : ntdll: Add semi-stub implementation for SystemExecutionState query.
Alexandre Julliard
julliard at winehq.org
Wed Jul 22 09:35:49 CDT 2009
Module: wine
Branch: master
Commit: 8ed1f0547e8e2ae906fde0063cadcda1c89541c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ed1f0547e8e2ae906fde0063cadcda1c89541c0
Author: Luke Benstead <kazade at gmail.com>
Date: Tue Jul 14 17:02:59 2009 +0100
ntdll: Add semi-stub implementation for SystemExecutionState query.
---
dlls/ntdll/nt.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index c457028..c7d931c 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -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);
More information about the wine-cvs
mailing list