MI_ParameterSet_GetParameter function (mi.h)

Gets a method's parameter information based on a parameter name.

Syntax

MI_INLINE MI_Result MI_ParameterSet_GetParameter(
  [in]  const MI_ParameterSet *self,
  [in]  const MI_Char         *name,
  [out] MI_Type               *parameterType,
  [out] MI_Char               **referenceClass,
  [out] MI_QualifierSet       *qualifierSet,
  [out] MI_Uint32             *index
);

Parameters

[in] self

MI_ParameterSet structure.

[in] name

Name of the parameter to get.

[out] parameterType

Returned parameter type.

[out] referenceClass

Returned reference class.

[out] qualifierSet

Returned qualifier set of the parameter.

[out] index

Returned zero-based index of the parameter.

Return value

This function returns MI_INLINE MI_Result.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
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