powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.
This commit is contained in:
parent
737ed17f1b
commit
89d458a128
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue