[PATCH 32/33] powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue
Maarten Lankhorst
m.b.lankhorst at gmail.com
Sun Jan 31 13:29:48 CST 2010
---
dlls/powrprof/powrprof.c | 12 ++++++++++++
dlls/powrprof/powrprof.spec | 2 ++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c
index 507b380..a589728 100644
--- a/dlls/powrprof/powrprof.c
+++ b/dlls/powrprof/powrprof.c
@@ -297,6 +297,18 @@ BOOLEAN WINAPI WritePwrScheme(PUINT puiID, LPWSTR lpszName, LPWSTR lpszDescripti
return FALSE;
}
+DWORD WINAPI PowerGetActiveScheme(HKEY UserRootPowerKey, GUID **polguid)
+{
+ FIXME("(%p,%p) stub!\n", UserRootPowerKey, polguid);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+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);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason) {
diff --git a/dlls/powrprof/powrprof.spec b/dlls/powrprof/powrprof.spec
index b2c6402..b7a14d8 100644
--- a/dlls/powrprof/powrprof.spec
+++ b/dlls/powrprof/powrprof.spec
@@ -18,3 +18,5 @@
@ stdcall WriteGlobalPwrPolicy (ptr)
@ stdcall WriteProcessorPwrScheme (long ptr)
@ stdcall WritePwrScheme (ptr str str ptr)
+@ stdcall PowerGetActiveScheme (ptr ptr)
+@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
--
1.6.5
--------------040409040902090808040905--
More information about the wine-patches
mailing list