IMetaDataDispenser Interface
Provides methods to create a new metadata scope, or open an existing one.
interface IMetaDataDispenser : IUnknown {
HRESULT DefineScope (
[in] REFCLSID rclsid,
[in] DWORD dwCreateFlags,
[in] REFIID riid,
[out] IUnknown **ppIUnk
);
HRESULT OpenScope (
[in] LPCWSTR szScope,
[in] DWORD dwOpenFlags,
[in] REFIID riid,
[out] IUnknown **ppIUnk
);
HRESULT OpenScopeOnMemory (
[in] LPCVOID pData,
[in] ULONG cbData,
[in] DWORD dwOpenFlags,
[in] REFIID riid,
[out] IUnknown **ppIUnk
);
};
Methods
Method | Description |
---|---|
Creates a new area in memory where you can create new metadata. |
|
Opens an existing, on-disk file and maps its metadata into memory. |
|
Opens an area of memory that contains existing metadata. That is, this method opens a specified area of memory in which the existing data is treated as metadata. |
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
IMetaDataDispenserEx Interface