IMetaDataImport::EnumInterfaceImpls method (rometadataapi.h)

Enumerates MethodDef tokens representing interface implementations.

Syntax

HRESULT EnumInterfaceImpls(
  [in, out]     HCORENUM           *phEnum,
  [in]          mdTypeDef          td,
  [out]         mdInterfaceImpl [] rImpls,
  [in]          ULONG              cMax,
  [out, retval] ULONG              *pcImpls
);

Parameters

[in, out] phEnum

A pointer to the enumerator.

[in] td

The token of the TypeDef whose MethodDef tokens representing interface implementations are to be enumerated.

[out] rImpls

The array used to store the MethodDef tokens.

[in] cMax

The maximum size of the rImpls array.

[out, retval] pcImpls

The actual number of tokens returned in rImpls.

Return value

HRESULT Description
S_OK EnumInterfaceImpls returned successfully.
S_FALSE There are no MethodDef tokens to enumerate. In this case, pcImpls is 0 (zero).

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataImport