Win32 API 日本語リファレンス
ホームStorage.Imapi › PlatformId

PlatformId

列挙型
基底型i4

メンバー 4

名前10進16進説明
PlatformX8600x0Intel Pentium™ シリーズのチップセットです。このエントリは Windows オペレーティング システムを意味します。
PlatformPowerPC10x1Apple PowerPC ファミリです。
PlatformMac20x2Apple Macintosh ファミリです。
PlatformEFI2390xEFEFI ファミリです。

公式ドキュメント

ブート イメージがサポートするオペレーティング システムのアーキテクチャの値を定義します

解説(Remarks)

ここで定義されていない値が他に存在する可能性があります。この列挙型を使用する側は、この一覧が有効な値のすべてであると想定しないでください。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

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

typedef enum PlatformId : int {
    PlatformX86 = 0,
    PlatformPowerPC = 1,
    PlatformMac = 2,
    PlatformEFI = 239
} PlatformId;
public enum PlatformId : int
{
    PlatformX86 = 0,
    PlatformPowerPC = 1,
    PlatformMac = 2,
    PlatformEFI = 239,
}
Public Enum PlatformId As Integer
    PlatformX86 = 0
    PlatformPowerPC = 1
    PlatformMac = 2
    PlatformEFI = 239
End Enum
import enum

class PlatformId(enum.IntEnum):
    PlatformX86 = 0
    PlatformPowerPC = 1
    PlatformMac = 2
    PlatformEFI = 239
// PlatformId
pub const PlatformX86: i32 = 0;
pub const PlatformPowerPC: i32 = 1;
pub const PlatformMac: i32 = 2;
pub const PlatformEFI: i32 = 239;
// PlatformId
const (
	PlatformX86 int32 = 0
	PlatformPowerPC int32 = 1
	PlatformMac int32 = 2
	PlatformEFI int32 = 239
)
const
  PlatformX86 = 0;
  PlatformPowerPC = 1;
  PlatformMac = 2;
  PlatformEFI = 239;
// PlatformId
pub const PlatformX86: i32 = 0;
pub const PlatformPowerPC: i32 = 1;
pub const PlatformMac: i32 = 2;
pub const PlatformEFI: i32 = 239;
const
  PlatformX86* = 0
  PlatformPowerPC* = 1
  PlatformMac* = 2
  PlatformEFI* = 239
enum PlatformId : int {
    PlatformX86 = 0,
    PlatformPowerPC = 1,
    PlatformMac = 2,
    PlatformEFI = 239,
}
#define global PlatformX86     0x0
#define global PlatformPowerPC 0x1
#define global PlatformMac     0x2
#define global PlatformEFI     0xEF