GetQualifierSet function

Retrieves the qualifier set for a class instance or a class definition.

Note

This API is for internal use only. It's not intended for use from developer code.

Syntax

HRESULT GetQualifierSet (
   [in] int                 vFunc,
   [in] IWbemClassObject*   ptr,
   [out] IWbemQualifierSet  **ppQualSet
);

Parameters

vFunc
[in] This parameter is unused.

ptr
[in] A pointer to an IWbemClassObject instance.

ppQualSet
[out] Receives the interface pointer that allows access to the qualifiers of the class object. ppQualSet cannot be null. If an error occurs, a new object is not returned, and the pointer is left unmodified.

Return value

The following values returned by this function are defined in the WbemCli.h header file, or you can define them as constants in your code:

Constant Value Description
WBEM_E_FAILED 0x80041001 There has been a general failure.
WBEM_E_NOT_FOUND 0x80041002 The specified method does not exist.
WBEM_E_OUT_OF_MEMORY 0x80041006 Not enough memory is available to complete the operation.
WBEM_E_INVALID_PARAMETER 0x80041008 A parameter is null.
WBEM_S_NO_ERROR 0 The function call was successful.

Remarks

This function wraps a call to the IWbemClassObject::GetQualifierSet method.

The IWbemQualifierSet pointer lets the caller add, edit, or delete these qualifiers. Such added, edited, or deleted qualifiers apply to the entire instance or class definition.

Requirements

Platforms: See System Requirements.

Header: WMINet_Utils.idl

.NET Framework Versions: Available since 4.7.2

See also