MI_ObjectDecl structure (mi.h)

Contains properties common to the MI_ClassDecl and MI_PropertyDecl structures. It can be used to write functions that work on the common fields of these two types.

Syntax

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;

Members

flags

Flags.

code

Hash code.

name

Name of this feature.

qualifiers

Describes metadata for classes and properties.

numQualifiers

Length of qualifiers array.

properties

The properties of this object.

_MI_PropertyDecl

numProperties

The number of properties of this object.

size

Size of the structure.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

See also

MI_ClassDecl

MI_FeatureDecl

MI_PropertyDecl

MI_Qualifier