mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.
This commit is contained in:
parent
737ed17f1b
commit
89d458a128
2 changed files with 14 additions and 0 deletions
|
@ -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 a new issue