MI_ObjectDecl結構 (mi.h)

包含 MI_ClassDecl 和 MI_PropertyDecl 結構通用的屬性。 它可以用來撰寫可處理這兩種類型之一般欄位的函式。

語法

typedef struct _MI_ObjectDecl {
  MI_Uint32                 flags;
  MI_Uint32                 code;
  MI_CONST MI_Char          *name;
  MI_Qualifier MI_CONST I_CONST *     *Mqualifiers;
  MI_Uint32                 numQualifiers;
  _MI_PropertyDecl MI_CONST I_CONST * *Mproperties;
  struct                    _MI_PropertyDecl;
  MI_Uint32                 numProperties;
  MI_Uint32                 size;
} MI_ObjectDecl;

成員

flags

標誌。

code

雜湊碼。

name

此功能的名稱。

qualifiers

描述類別和屬性的中繼資料。

numQualifiers

限定詞陣列的長度。

properties

這個 物件的屬性。

_MI_PropertyDecl

numProperties

這個物件的屬性數目。

size

結構的大小。

需求

   
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
標頭 mi.h
可轉散發套件 windows Server 2008 R2 SP1、Windows 7 SP1 和 Windows Server 2008 SP2 上的 Windows Management Framework 3.0

另請參閱

MI_ClassDecl

MI_FeatureDecl

MI_PropertyDecl

MI_Qualifier