Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::EnumInterfaceImpls method

Enumerates MethodDef tokens representing interface implementations.

Syntax


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

Parameters

phEnum [in, out]

A pointer to the enumerator.

td [in]

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

rImpls [out]

The array used to store the MethodDef tokens.

cMax [in]

The maximum size of the rImpls array.

pcImpls [out, retval]

The actual number of tokens returned in rImpls.

Return value

HRESULTDescription
S_OKEnumInterfaceImpls returned successfully.
S_FALSEThere are no MethodDef tokens to enumerate. In this case, pcImpls is 0 (zero).

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft