Commit c98ec64a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

powrprof: Added PowerDeterminePlatformRole() stub.

parent 2ecbdb85
......@@ -315,6 +315,12 @@ DWORD WINAPI PowerReadDCValue(HKEY RootPowerKey, const GUID *Scheme, const GUID
return ERROR_CALL_NOT_IMPLEMENTED;
}
POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void)
{
FIXME("stub\n");
return PlatformRoleDesktop;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason) {
......
......@@ -10,6 +10,7 @@
@ stdcall IsPwrHibernateAllowed ()
@ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerDeterminePlatformRole ()
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerSetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
......
......@@ -137,6 +137,9 @@ BOOLEAN WINAPI WriteGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
BOOLEAN WINAPI WriteProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY);
BOOLEAN WINAPI WritePwrScheme(PUINT, LPWSTR, LPWSTR, PPOWER_POLICY);
/* Power scheme */
POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void);
#ifdef __cplusplus
}
#endif
......
......@@ -4947,6 +4947,19 @@ typedef enum _POWER_ACTION {
} POWER_ACTION,
*PPOWER_ACTION;
typedef enum _POWER_PLATFORM_ROLE {
PlatformRoleUnspecified,
PlatformRoleDesktop,
PlatformRoleMobile,
PlatformRoleWorkstation,
PlatformRoleEnterpriseServer,
PlatformRoleSOHOServer,
PlatformRoleAppliancePC,
PlatformRolePerformanceServer,
PlatformRoleSlate,
PlatformRoleMaximum
} POWER_PLATFORM_ROLE, *PPOWER_PLATFORM_ROLE;
typedef enum _SYSTEM_POWER_STATE {
PowerSystemUnspecified = 0,
PowerSystemWorking = 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment