powrprof: Add PowerReadFriendlyName() stub.

Signed-off-by: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Dridi Boukelmoune 2019-08-06 23:22:54 +02:00 committed by Alexandre Julliard
parent f04e7d2650
commit 0fca739770
3 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
@ stdcall PowerGetActiveScheme(ptr ptr) powrprof.PowerGetActiveScheme
@ stub PowerReadACValue
@ stdcall PowerReadDCValue(ptr ptr ptr ptr ptr ptr ptr) powrprof.PowerReadDCValue
@ stdcall PowerReadFriendlyName(ptr ptr ptr ptr ptr ptr) powrprof.PowerReadFriendlyName
@ stdcall PowerSetActiveScheme(ptr ptr) powrprof.PowerSetActiveScheme
@ stub PowerSettingRegisterNotification
@ stub PowerSettingUnregisterNotification

View File

@ -315,6 +315,14 @@ DWORD WINAPI PowerReadDCValue(HKEY RootPowerKey, const GUID *Scheme, const GUID
return ERROR_CALL_NOT_IMPLEMENTED;
}
DWORD WINAPI PowerReadFriendlyName(HKEY RootPowerKey, const GUID *Scheme,
const GUID *SubGroup, const GUID *PowerSettings, UCHAR *Buffer,
DWORD *BufferSize)
{
FIXME("(%p,%s,%s,%s,%p,%p) stub!\n", RootPowerKey, debugstr_guid(Scheme), debugstr_guid(SubGroup), debugstr_guid(PowerSettings), Buffer, BufferSize);
return ERROR_CALL_NOT_IMPLEMENTED;
}
POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void)
{
FIXME("stub\n");

View File

@ -16,6 +16,7 @@
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerSetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall PowerReadFriendlyName (ptr ptr ptr ptr ptr ptr)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
@ stdcall ReadPwrScheme (long ptr)