powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.

This commit is contained in:
Maarten Lankhorst 2010-01-31 20:29:48 +01:00 committed by Alexandre Julliard
parent 737ed17f1b
commit 89d458a128
2 changed files with 14 additions and 0 deletions

View File

@ -297,6 +297,18 @@ BOOLEAN WINAPI WritePwrScheme(PUINT puiID, LPWSTR lpszName, LPWSTR lpszDescripti
return FALSE; 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) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
switch(fdwReason) { switch(fdwReason) {

View File

@ -10,6 +10,8 @@
@ stdcall IsPwrHibernateAllowed () @ stdcall IsPwrHibernateAllowed ()
@ stdcall IsPwrShutdownAllowed () @ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed () @ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall ReadGlobalPwrPolicy (ptr) @ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr) @ stdcall ReadProcessorPwrScheme (long ptr)
@ stdcall ReadPwrScheme (long ptr) @ stdcall ReadPwrScheme (long ptr)