Edit

IMetaDataImport::GetInterfaceImplProps method (rometadataapi.h)

Gets a pointer to the metadata tokens for the implementer-implementee relationship between two types.

Syntax

HRESULT GetInterfaceImplProps(
  [in]  mdInterfaceImpl tkInterfaceImpl,
  [out] mdTypeDef       *ptkClass,
  [out] mdToken         *ptkIface
);

Parameters

[in] tkInterfaceImpl

The metadata token representing the interface implementation relationship.

[out] ptkClass

The metadata token representing the implementer: the class or interface that implements the interface ptkIface.

[out] ptkIface

The metadata token representing the implementee: the interface that is implemented by ptkClass.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The InterfaceImpl token represents a single mapping between an implementing type and an implemented interface, as stored in the InterfaceImpl table.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataImport