From: Ziia Shi <mkrsym1@gmail.com> --- dlls/powrprof/powrprof.c | 6 ++++++ dlls/powrprof/powrprof.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/dlls/powrprof/powrprof.c b/dlls/powrprof/powrprof.c index 08cf344ccf3..505e07f6656 100644 --- a/dlls/powrprof/powrprof.c +++ b/dlls/powrprof/powrprof.c @@ -356,6 +356,12 @@ DWORD WINAPI PowerSettingUnregisterNotification(HPOWERNOTIFY handle) return ERROR_SUCCESS; } +DWORD WINAPI PowerReadACValueIndex(HKEY key, const GUID *scheme, const GUID *subgroup, const GUID *setting, DWORD *index) +{ + FIXME("(%p,%s,%s,%s,%p) stub!\n", key, debugstr_guid(scheme), debugstr_guid(subgroup), debugstr_guid(setting), index); + return ERROR_SUCCESS; +} + DWORD WINAPI PowerWriteACValueIndex(HKEY key, const GUID *scheme, const GUID *subgroup, const GUID *setting, DWORD index) { FIXME("(%p,%s,%s,%s,0x%08lx) stub!\n", key, debugstr_guid(scheme), debugstr_guid(subgroup), debugstr_guid(setting), index); diff --git a/dlls/powrprof/powrprof.spec b/dlls/powrprof/powrprof.spec index 29874b0a3bd..24c6d1d1976 100644 --- a/dlls/powrprof/powrprof.spec +++ b/dlls/powrprof/powrprof.spec @@ -22,6 +22,7 @@ @ stdcall PowerUnregisterSuspendResumeNotification(ptr) @ stdcall PowerSettingRegisterNotification(ptr long ptr ptr) @ stdcall PowerSettingUnregisterNotification(ptr) +@ stdcall PowerReadACValueIndex(ptr ptr ptr ptr ptr) @ stdcall PowerWriteACValueIndex(ptr ptr ptr ptr long) @ stdcall ReadGlobalPwrPolicy (ptr) @ stdcall ReadProcessorPwrScheme (long ptr) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11752