Maarten Lankhorst : powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.

Alexandre Julliard julliard at winehq.org
Mon Feb 1 08:56:05 CST 2010


Module: wine
Branch: master
Commit: 89d458a128a03962f5e9c36923216ce05febaad2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=89d458a128a03962f5e9c36923216ce05febaad2

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Jan 31 20:29:48 2010 +0100

powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.

---

 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..cb1d487 100644
--- a/dlls/powrprof/powrprof.spec
+++ b/dlls/powrprof/powrprof.spec
@@ -10,6 +10,8 @@
 @ stdcall IsPwrHibernateAllowed ()
 @ stdcall IsPwrShutdownAllowed ()
 @ stdcall IsPwrSuspendAllowed ()
+@ stdcall PowerGetActiveScheme (ptr ptr)
+@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
 @ stdcall ReadGlobalPwrPolicy (ptr)
 @ stdcall ReadProcessorPwrScheme (long ptr)
 @ stdcall ReadPwrScheme (long ptr)




More information about the wine-cvs mailing list