Partager via


IMetaDataConverter::GetMetaDataFromTypeLib Method

Gets an interface pointer to an IMetaDataImport Interface instance that represents the metadata signature of the type library represented by the specified ITypeLib instance.

HRESULT GetMetaDataFromTypeLib (
    [in]  ITypeLib        *pITL, 
    [out] IMetaDataImport **ppMDI
);

Parameters

Parameter Description

pITL

[in] Pointer to an ITypeLib object that represents the type library.

ppMDI

[out] Pointer to a location that receives the address of the IMetaDataImport Interface instance that represents the metadata signature.

Requirements

Platform: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataEmit Interface
IMetaDataImport Interface