[This is preliminary documentation and subject to change.]
The IWbemQualifierSet::Get method gets the specified named qualifier, if found.
HRESULT IWbemQualifierSet::Get(
[in] BSTR bstrName,
[in] LONG lFlags,
[out, OPTIONAL] VARIANT *pVal,
[out, OPTIONAL] LONG *plFlavor
);
It is the responsibility of the caller to call VariantClear on the pointer when the value is no longer required. If there is an error code, the VARIANT pointed to by pVal is not modified.
If this parameter is NULL, the parameter is ignored.
WBEM_E_INVALID_PARAMETER | One or more parameters were not found, were invalid, or the namespace could not be parsed. |
WBEM_E_NOT_FOUND | The specified qualifier did not exist. |
WBEM_NO_ERROR | Success. |