MI_QualifierSet_GetQualifier function (mi.h)
Gets the qualifier information based on the given qualifier name.
Syntax
MI_INLINE MI_Result MI_QualifierSet_GetQualifier(
[in] const MI_QualifierSet *self,
const MI_Char *name,
[out] MI_Type *qualifierType,
[out] MI_Uint32 *qualifierFlags,
[out] MI_Value *qualifierValue,
[out] MI_Uint32 *index
);
Parameters
[in] self
MI_QualifierSet structure.
name
A null-terminated string that represents the name of the qualifier to get.
[out] qualifierType
Returned qualifier type.
[out] qualifierFlags
Returned qualifier flags that indicate the scope of a qualifier.
[out] qualifierValue
Returned qualifier value. This value has the lifetime of the qualifier set.
[out] index
Returned zero-based index of the qualifier.
Return value
A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.
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 |