POWER_PLATFORM_ROLE enumeration (winnt.h)
Indicates the OEM's preferred power management profile. These values are read from the Preferred_PM_Profile field of the Fixed ACPI Description Table (FADT). These values are returned by the PowerDeterminePlatformRole or PowerDeterminePlatformRoleEx function.
Syntax
typedef enum _POWER_PLATFORM_ROLE {
PlatformRoleUnspecified = 0,
PlatformRoleDesktop,
PlatformRoleMobile,
PlatformRoleWorkstation,
PlatformRoleEnterpriseServer,
PlatformRoleSOHOServer,
PlatformRoleAppliancePC,
PlatformRolePerformanceServer,
PlatformRoleSlate,
PlatformRoleMaximum
} POWER_PLATFORM_ROLE, *PPOWER_PLATFORM_ROLE;
Constants
PlatformRoleUnspecifiedValue: 0 The OEM did not specify a specific role. |
PlatformRoleDesktopThe OEM specified a desktop role. |
PlatformRoleMobileThe OEM specified a mobile role (for example, a laptop). |
PlatformRoleWorkstationThe OEM specified a workstation role. |
PlatformRoleEnterpriseServerThe OEM specified an enterprise server role. |
PlatformRoleSOHOServerThe OEM specified a single office/home office (SOHO) server role. |
PlatformRoleAppliancePCThe OEM specified an appliance PC role. |
PlatformRolePerformanceServerThe OEM specified a performance server role. |
PlatformRoleSlateThe OEM specified a tablet form factor role. Windows 7, Windows Server 2008 R2, Windows Vista or Windows Server 2008: In version 1 of this enumeration, this value is equivalent to PlatformRoleMaximum. This value is supported in version 2 of this enumeration starting with Windows 8 and Windows Server 2012. |
PlatformRoleMaximumValues equal to or greater than this value indicate an out of range value. |
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | winnt.h (include Windows.h) |