powrprof: Add PowerDeterminePlatformRoleEx() stub.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-10-22 11:51:20 +03:00 committed by Alexandre Julliard
parent d75f2fc3c7
commit 0ba95f333f
3 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
@ stdcall CallNtPowerInformation(long ptr long ptr long) powrprof.CallNtPowerInformation
@ stdcall GetPwrCapabilities(ptr) powrprof.GetPwrCapabilities
@ stub PowerDeterminePlatformRoleEx
@ stdcall PowerDeterminePlatformRoleEx(long) powrprof.PowerDeterminePlatformRoleEx
@ stub PowerRegisterSuspendResumeNotification
@ stub PowerUnregisterSuspendResumeNotification

View File

@ -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)
{

View File

@ -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)