IMetaDataConverter Interface
Provides methods to map type libraries to their metadata signatures, and to convert from one to the other.
interface IMetaDataConverter : IUnknown {
HRESULT GetMetaDataFromTypeInfo (
[in] ITypeInfo *pITI,
[out] IMetaDataImport **ppMDI
);
HRESULT GetMetaDataFromTypeLib (
[in] ITypeLib *pITL,
[out] IMetaDataImport **ppMDI
);
HRESULT GetTypeLibFromMetaData (
[in] BSTR strModule,
[in] BSTR strTlbName,
[out] ITypeLib **ppITL
);
};
Methods
Method | Description |
---|---|
Gets a pointer to an IMetaDataImport Interface instance that represents the metadata signature for the type library referenced by the specified ITypeInfo instance. |
|
Gets a pointer to an IMetaDataImport instance that represents the metadata signature for the type library represented by the specified ITypeLib instance. |
|
Gets a pointer to an ITypeLib instance that represents the type library that has the specified module and library names. |
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