IWbemClassObject::GetQualifierSet method

The IWbemClassObject::GetQualifierSet method returns an interface pointer that allows read and write operations on the set of qualifiers for the entire class object, whether the object is an instance or a class definition. Any qualifiers added, deleted, or edited using the returned pointer apply to the entire instance or class definition.

Syntax


HRESULT GetQualifierSet(
  [out] IWbemQualifierSet **ppQualSet
);

Parameters

ppQualSet [out]

Receives the interface pointer that allows access to the qualifiers for the class object. The returned object has a positive reference count upon return from the call. The caller must call IWbemQualifierSet::Release when the object is no longer needed. This parameter cannot be NULL. On error, a new object is not returned and the pointer is left unmodified.

Return value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT. For general HRESULT values, see System Error Codes.

WBEM_E_OUT_OF_MEMORY

There was not enough memory to complete the call.

WBEM_S_NO_ERROR

The call succeeded.

WBEM_E_INVALID_PARAMETER

A null pointer was used in the parameter list.

WBEM_E_FAILED

There has been a general failure.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

WbemCli.h (include Wbemidl.h)

IDL

WbemCli.idl

Library

WbemUuid.lib

DLL

CIMWin32.dll;
Esscli.dll;
Fastprox.dll;
FrameDyn.dll;
FrameDynOS.dll;
Krnlprov.dll;
Ncprov.dll;
Wbemcore.dll;
Wbemess.dll;
Wmipiprt.dll

CLSID

CLSID_WbemClassObject is defined as 9A653086-174F-11d2-B5F9-00104B703EFD

IID

IID_IWbemClassObject is defined as dc12a681-737f-11cf-884d-00aa004b2e24

See also

IWbemClassObject
IWbemClassObject::GetPropertyQualifierSet
IWbemQualifierSet

 

 

Show: