IMetaDataDispenserEx Interface
Extends the IMetaDataDispenser Interface interface to provide the capability to control how the metadata APIs operate on the current metadata scope.
interface IMetaDataDispenser : IUnknown {
HRESULT FindAssembly(
LPCWSTR szAppBase,
LPCWSTR szPrivateBin,
LPCWSTR szGlobalBin,
LPCWSTR szAssemblyName,
LPCWSTR szName,
ULONG cchName,
ULONG *pcName
);
HRESULT FindAssemblyModule (
LPCWSTR szAppBase,
LPCWSTR szPrivateBin,
LPCWSTR szGlobalBin,
LPCWSTR szAssemblyName,
LPCWSTR szModuleName,
LPCWSTR szName,
ULONG cchName,
ULONG *pcName
);
HRESULT GetCORSystemDirectory (
LPWSTR szBuffer,
DWORD cchBuffer,
DWORD* pchBuffer
);
HRESULT GetOption (
REFGUID optionId,
const VARIANT *pvalue
);
HRESULT OpenScopeOnITypeInfo (
ITypeInfo *pITI,
DWORD dwOpenFlags,
REFIID riid,
IUnknown **ppIUnk
);
HRESULT SetOption (
REFGUID optionId,
const VARIANT *pvalue
);
Methods
Method |
Description |
---|---|
This method is not implemented. If called, it returns E_NOTIMPL. |
|
This method is not implemented. If called, it returns E_NOTIMPL. |
|
Gets the directory that holds the current common language runtime (CLR). This method is supported only for use by out-of-process debuggers. If called from another component, it will return E_NOTIMPL. |
|
Gets the value of the specified option for the current metadata scope. The option controls how calls to the current metadata scope are handled. |
|
This method is not implemented. If called, it returns E_NOTIMPL. |
|
Sets the specified option to a given value for the current metadata scope. The option controls how calls to the current metadata scope are handled. |
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