MI_ParameterDecl structure (mi.h)
Represents CIM method parameters.
Syntax
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;
Members
flags
flags
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
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 |