[PATCH] powrprof: Stub PowerSetActiveScheme
Andrew Eikum
aeikum at codeweavers.com
Thu May 12 14:21:47 CDT 2016
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
---
dlls/powrprof/powrprof.c | 6 ++++++
dlls/powrprof/powrprof.spec | 1 +
2 files changed, 7 insertions(+)
diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c
index 7327fdf..a1d1092 100644
--- a/dlls/powrprof/powrprof.c
+++ b/dlls/powrprof/powrprof.c
@@ -303,6 +303,12 @@ DWORD WINAPI PowerGetActiveScheme(HKEY UserRootPowerKey, GUID **polguid)
return ERROR_CALL_NOT_IMPLEMENTED;
}
+DWORD WINAPI PowerSetActiveScheme(HKEY UserRootPowerKey, GUID *polguid)
+{
+ FIXME("(%p,%s) stub!\n", UserRootPowerKey, wine_dbgstr_guid(polguid));
+ return ERROR_SUCCESS;
+}
+
DWORD WINAPI PowerReadDCValue(HKEY RootPowerKey, const GUID *Scheme, const GUID *SubGroup, const GUID *PowerSettings, PULONG Type, PUCHAR Buffer, DWORD *BufferSize)
{
FIXME("(%p,%s,%s,%s,%p,%p,%p) stub!\n", RootPowerKey, debugstr_guid(Scheme), debugstr_guid(SubGroup), debugstr_guid(PowerSettings), Type, Buffer, BufferSize);
diff --git a/dlls/powrprof/powrprof.spec b/dlls/powrprof/powrprof.spec
index cb1d487..f513f04 100644
--- a/dlls/powrprof/powrprof.spec
+++ b/dlls/powrprof/powrprof.spec
@@ -11,6 +11,7 @@
@ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerGetActiveScheme (ptr ptr)
+@ stdcall PowerSetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
--
2.8.2
More information about the wine-patches
mailing list