Signed-off-by: Dridi Boukelmoune dridi.boukelmoune@gmail.com --- .../api-ms-win-power-setting-l1-1-0.spec | 1 + dlls/powrprof/powrprof.c | 8 ++++++++ dlls/powrprof/powrprof.spec | 1 + 3 files changed, 10 insertions(+)
diff --git a/dlls/api-ms-win-power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec b/dlls/api-ms-win-power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec index 4aa924f61e..4355ca2ab7 100644 --- a/dlls/api-ms-win-power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec +++ b/dlls/api-ms-win-power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec @@ -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 ptr) powrprof.PowerReadFriendlyValue @ stdcall PowerSetActiveScheme(ptr ptr) powrprof.PowerSetActiveScheme @ stub PowerSettingRegisterNotification @ stub PowerSettingUnregisterNotification diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c index 92bab0397c..5f00c7b631 100644 --- a/dlls/powrprof/powrprof.c +++ b/dlls/powrprof/powrprof.c @@ -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"); diff --git a/dlls/powrprof/powrprof.spec b/dlls/powrprof/powrprof.spec index 169219ad1a..611e03de3b 100644 --- a/dlls/powrprof/powrprof.spec +++ b/dlls/powrprof/powrprof.spec @@ -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)