Export (0) Print
Expand All
Expand Minimize

MI_PropertyDecl structure

Represents a class property (element) in a class's declaration.

Syntax


typedef struct _MI_PropertyDecl {
  MI_Uint32                      flags;
  MI_Uint32                      code;
  const MI_Char                  *name;
  MI_Qualifier MI_CONST MI_CONST *qualifiers;
  MI_Uint32                      numQualifiers;
  MI_Uint32                      type;
  const MI_Char                  *className;
  MI_Uint32                      subscript;
  MI_Uint32                      offset;
  const MI_Char                  *origin;
  const MI_Char                  *propagator;
  const void                     *value;
} MI_PropertyDecl;

Members

flags
flagsMeaning
MI_FLAG_PROPERTY
(1 << 2)

Indicates structure is a property.

MI_FLAG_KEY
(1 << 12)

Indicate structure is a key property.

 

code

Hash code: (name[0] << 16) | (name[len-1] << 8) | len

name

Name of this property.

qualifiers

Qualifier set for this property.

numQualifiers

Number of qualifiers.

type

Type of property.

className

Name of reference class or embedded instance class name.

subscript

If property is a fixed length array, then this value will hold the length of the array.

offset

Offset of this property field from the start of the MI_Instance.

origin

Ancestor class that first defined a property with this name.

propagator

Ancestor class that last defined a property with this name.

value

Default value of this property.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Show:
© 2014 Microsoft