表示 CIM 限定符宣告。
語法
typedef struct _MI_QualifierDecl {
MI_CONST MI_Char *name;
MI_Uint32 type;
MI_Uint32 scope;
MI_Uint32 flavor;
MI_Uint32 subscript;
MI_CONST void *value;
} MI_QualifierDecl;
成員
name
這個限定符的名稱。
type
這個限定符的類型。
scope
此限定符的範圍。
flavor
這個限定符的類別。 類別值可能包含這些位旗標的任何組合:
MI_FLAG_ENABLEOVERRIDE (0x00000080)
啟用覆寫。
MI_FLAG_DISABLEOVERRIDE (0x00000100)
停用覆寫。
MI_FLAG_RESTRICTED (0x00000200)
僅適用於其宣告所在的類別。
MI_FLAG_TOSUBCLASS (0x00000400)
允許繼承至任何子類別。
MI_FLAG_TRANSLATABLE (0x00000800)
允許字串當地語系化。
subscript
陣列下標。 如果這是具有固定長度的數位類型,下標值代表陣列長度。
value
特定型別之限定符值的指標。
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows 8 |
| 最低支援的伺服器 | Windows Server 2012 |
| 標頭 | mi.h |
| 可轉散發套件 | 在 Windows Server 2008 R2 上 Windows Management Framework 3.0 SP1、Windows 7 SP1 和 Windows Server 2008 SP2 |