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:
parent
d75f2fc3c7
commit
0ba95f333f
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue