IMetaDataImport::GetInterfaceImplProps method (rometadataapi.h)

Gets a pointer to the metadata tokens for the Type that implements the specified method, and for the interface that declares that method.

Syntax

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

Parameters

[in] tkInterfaceImpl

The metadata token representing the method to return the class and interface tokens for.

[out] ptkClass

The metadata token representing the class that implements the method.

[out] ptkIface

The metadata token representing the interface that defines the implemented method.

Return value

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

Requirements

   
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataImport