Shinobiライブラリ - ペリフェラルデータ取得構造体

PDS_PERIPHERALINFO

ペリフェラル固有情報を格納する構造体

定義

typedef struct {
	Uint32 type;
	Uint32 reserved[3];
	Uint8 is_root;
	Uint8 area_code;
	Uint8 connector_dir[2];
	Sint8 product_name[32];
	Sint8 license[64];
	Uint16 stdby_pow;
	Uint16 max_pow;
} PDS_PERIPHERALINFO;

メンバ

typeペリフェラルのタイプ
reserved[3]予約
is_rootルートデバイスフラグ
area_codeエリアコード
connector_dir[2]拡張コネクタの向き
product_name[32]製品名
license[64]ライセンス文字列
stdby_powスタンバイ消費電流
max_pow最大消費電流

解説

ペリフェラルの固有情報を格納する構造体です。

参照

pdGetPeripheralInfo()

PDS_PERIPHERALINFO
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998