ICOMAdminCatalog::GetEventClassesForIID method (comadmin.h)

Retrieves a list of the event classes registered on the computer that implement a specified interface.

Syntax

HRESULT GetEventClassesForIID(
  [in]  BSTR      bstrIID,
  [out] SAFEARRAY **ppsaVarCLSIDs,
  [out] SAFEARRAY **ppsaVarProgIDs,
  [out] SAFEARRAY **ppsaVarDescriptions
);

Parameters

[in] bstrIID

A GUID representing the interface for which event classes should be found. If this parameter is NULL, the method retrieves all event classes registered on the computer.

[out] ppsaVarCLSIDs

An array of CLSIDs for the event classes implementing the interface specified in bstrIID.

[out] ppsaVarProgIDs

An array of ProgIDs for the event classes implementing the interface specified in bstrIID.

[out] ppsaVarDescriptions

An array of descriptions for the event classes implementing the interface specified in bstrIID.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comadmin.h

See also

ICOMAdminCatalog