IMetaDataDispenser Interface
.NET Framework 3.0
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
);
};
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. |