表示 CIM 方法參數。
語法
typedef struct _MI_ParameterDecl {
MI_Uint32 flags;
MI_Uint32 code;
MI_CONST MI_Char *name;
MI_Qualifier MI_CONST I_CONST * *Mqualifiers;
MI_Uint32 numQualifiers;
MI_Uint32 type;
MI_CONST MI_Char *className;
MI_Uint32 subscript;
MI_Uint32 offset;
} MI_ParameterDecl;
成員
flags
flags
MI_FLAG_PROPERTY ( (1 << 2) )
表示結構是 屬性。
code
哈希碼: (name[0] << 16) | (name[len-1] << 8) | len
name
此參數的名稱。
qualifiers
此參數的限定符集。
numQualifiers
參數限定符的數目。
type
參數的類型。
className
參考類別或強型別內嵌實例的名稱。
subscript
如果參數是固定長度的數位類型,這個值會保留下標值。
offset
位移自實例的開頭,其中這個參數的值欄位將會存在。
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows 8 |
| 最低支援的伺服器 | Windows Server 2012 |
| 標頭 | mi.h |
| 可轉散發套件 | 在 Windows Server 2008 R2 上 Windows Management Framework 3.0 SP1、Windows 7 SP1 和 Windows Server 2008 SP2 |