[PATCH] powrprof: Add PowerDeterminePlatformRoleEx() stub.
Nikolay Sivov
nsivov at codeweavers.com
Mon Oct 22 03:51:20 CDT 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.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 1597d96f58..d870fe2ebd 100644
--- a/dlls/powrprof/powrprof.c
+++ b/dlls/powrprof/powrprof.c
@@ -321,6 +321,12 @@ POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void)
return PlatformRoleDesktop;
}
+POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRoleEx(ULONG version)
+{
+ FIXME("%u stub.\n", version);
+ return PlatformRoleDesktop;
+}
+
DWORD WINAPI PowerEnumerate(HKEY key, const GUID *scheme, const GUID *subgroup, POWER_DATA_ACCESSOR flags,
ULONG index, UCHAR *buffer, DWORD *buffer_size)
{
diff --git a/dlls/powrprof/powrprof.spec b/dlls/powrprof/powrprof.spec
index a9e337a0e4..169219ad1a 100644
--- a/dlls/powrprof/powrprof.spec
+++ b/dlls/powrprof/powrprof.spec
@@ -11,6 +11,7 @@
@ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerDeterminePlatformRole ()
+@ stdcall PowerDeterminePlatformRoleEx(long)
@ stdcall PowerEnumerate(long ptr ptr long long ptr ptr)
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerSetActiveScheme (ptr ptr)
--
2.19.1
More information about the wine-devel
mailing list