Expand Minimize

MI_ParameterDecl structure

Represents CIM method parameters.

Syntax


typedef struct _MI_ParameterDecl {
  MI_Uint32                     flags;
  MI_Uint32                     code;
  const MI_Char                 *name;
  MI_Qualifier MI_CONST* const* qualifiers;
  MI_Uint32                     numQualifiers;
  MI_Uint32                     type;
  const MI_Char                 *className;
  MI_Uint32                     subscript;
  MI_Uint32                     offset;
} MI_ParameterDecl;

Members

flags

flags

ValueMeaning
MI_FLAG_PROPERTY
(1 << 2)

Indicates structure is a property.

 

code

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

name

Name of this parameter.

qualifiers

Set of qualifiers for this parameter.

numQualifiers

Number of parameter qualifiers.

type

Type of parameter.

className

Name of reference class or strongly typed embedded instance.

subscript

If the parameter is an array type of a fixed length, this value holds the subscript value.

offset

Offset from the start of the instance of where the value field of this parameter will exist.

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