Win32 API 日本語リファレンス
ホームSystem.Power › POWER_PLATFORM_ROLE

POWER_PLATFORM_ROLE

列挙型
基底型i4

メンバー 10

名前10進16進
PlatformRoleUnspecified00x0
PlatformRoleDesktop10x1
PlatformRoleMobile20x2
PlatformRoleWorkstation30x3
PlatformRoleEnterpriseServer40x4
PlatformRoleSOHOServer50x5
PlatformRoleAppliancePC60x6
PlatformRolePerformanceServer70x7
PlatformRoleSlate80x8
PlatformRoleMaximum90x9

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum POWER_PLATFORM_ROLE : int {
    PlatformRoleUnspecified = 0,
    PlatformRoleDesktop = 1,
    PlatformRoleMobile = 2,
    PlatformRoleWorkstation = 3,
    PlatformRoleEnterpriseServer = 4,
    PlatformRoleSOHOServer = 5,
    PlatformRoleAppliancePC = 6,
    PlatformRolePerformanceServer = 7,
    PlatformRoleSlate = 8,
    PlatformRoleMaximum = 9
} POWER_PLATFORM_ROLE;
public enum POWER_PLATFORM_ROLE : int
{
    PlatformRoleUnspecified = 0,
    PlatformRoleDesktop = 1,
    PlatformRoleMobile = 2,
    PlatformRoleWorkstation = 3,
    PlatformRoleEnterpriseServer = 4,
    PlatformRoleSOHOServer = 5,
    PlatformRoleAppliancePC = 6,
    PlatformRolePerformanceServer = 7,
    PlatformRoleSlate = 8,
    PlatformRoleMaximum = 9,
}
Public Enum POWER_PLATFORM_ROLE As Integer
    PlatformRoleUnspecified = 0
    PlatformRoleDesktop = 1
    PlatformRoleMobile = 2
    PlatformRoleWorkstation = 3
    PlatformRoleEnterpriseServer = 4
    PlatformRoleSOHOServer = 5
    PlatformRoleAppliancePC = 6
    PlatformRolePerformanceServer = 7
    PlatformRoleSlate = 8
    PlatformRoleMaximum = 9
End Enum
import enum

class POWER_PLATFORM_ROLE(enum.IntEnum):
    PlatformRoleUnspecified = 0
    PlatformRoleDesktop = 1
    PlatformRoleMobile = 2
    PlatformRoleWorkstation = 3
    PlatformRoleEnterpriseServer = 4
    PlatformRoleSOHOServer = 5
    PlatformRoleAppliancePC = 6
    PlatformRolePerformanceServer = 7
    PlatformRoleSlate = 8
    PlatformRoleMaximum = 9
// POWER_PLATFORM_ROLE
pub const PlatformRoleUnspecified: i32 = 0;
pub const PlatformRoleDesktop: i32 = 1;
pub const PlatformRoleMobile: i32 = 2;
pub const PlatformRoleWorkstation: i32 = 3;
pub const PlatformRoleEnterpriseServer: i32 = 4;
pub const PlatformRoleSOHOServer: i32 = 5;
pub const PlatformRoleAppliancePC: i32 = 6;
pub const PlatformRolePerformanceServer: i32 = 7;
pub const PlatformRoleSlate: i32 = 8;
pub const PlatformRoleMaximum: i32 = 9;
// POWER_PLATFORM_ROLE
const (
	PlatformRoleUnspecified int32 = 0
	PlatformRoleDesktop int32 = 1
	PlatformRoleMobile int32 = 2
	PlatformRoleWorkstation int32 = 3
	PlatformRoleEnterpriseServer int32 = 4
	PlatformRoleSOHOServer int32 = 5
	PlatformRoleAppliancePC int32 = 6
	PlatformRolePerformanceServer int32 = 7
	PlatformRoleSlate int32 = 8
	PlatformRoleMaximum int32 = 9
)
const
  PlatformRoleUnspecified = 0;
  PlatformRoleDesktop = 1;
  PlatformRoleMobile = 2;
  PlatformRoleWorkstation = 3;
  PlatformRoleEnterpriseServer = 4;
  PlatformRoleSOHOServer = 5;
  PlatformRoleAppliancePC = 6;
  PlatformRolePerformanceServer = 7;
  PlatformRoleSlate = 8;
  PlatformRoleMaximum = 9;
// POWER_PLATFORM_ROLE
pub const PlatformRoleUnspecified: i32 = 0;
pub const PlatformRoleDesktop: i32 = 1;
pub const PlatformRoleMobile: i32 = 2;
pub const PlatformRoleWorkstation: i32 = 3;
pub const PlatformRoleEnterpriseServer: i32 = 4;
pub const PlatformRoleSOHOServer: i32 = 5;
pub const PlatformRoleAppliancePC: i32 = 6;
pub const PlatformRolePerformanceServer: i32 = 7;
pub const PlatformRoleSlate: i32 = 8;
pub const PlatformRoleMaximum: i32 = 9;
const
  PlatformRoleUnspecified* = 0
  PlatformRoleDesktop* = 1
  PlatformRoleMobile* = 2
  PlatformRoleWorkstation* = 3
  PlatformRoleEnterpriseServer* = 4
  PlatformRoleSOHOServer* = 5
  PlatformRoleAppliancePC* = 6
  PlatformRolePerformanceServer* = 7
  PlatformRoleSlate* = 8
  PlatformRoleMaximum* = 9
enum POWER_PLATFORM_ROLE : int {
    PlatformRoleUnspecified = 0,
    PlatformRoleDesktop = 1,
    PlatformRoleMobile = 2,
    PlatformRoleWorkstation = 3,
    PlatformRoleEnterpriseServer = 4,
    PlatformRoleSOHOServer = 5,
    PlatformRoleAppliancePC = 6,
    PlatformRolePerformanceServer = 7,
    PlatformRoleSlate = 8,
    PlatformRoleMaximum = 9,
}
#define global PlatformRoleUnspecified       0x0
#define global PlatformRoleDesktop           0x1
#define global PlatformRoleMobile            0x2
#define global PlatformRoleWorkstation       0x3
#define global PlatformRoleEnterpriseServer  0x4
#define global PlatformRoleSOHOServer        0x5
#define global PlatformRoleAppliancePC       0x6
#define global PlatformRolePerformanceServer 0x7
#define global PlatformRoleSlate             0x8
#define global PlatformRoleMaximum           0x9