Export (0) Print
Expand All

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
    );

Method Description

IMetaDataDispenserEx::FindAssembly Method

This method is not implemented. If called, it returns E_NOTIMPL.

IMetaDataDispenserEx::FindAssemblyModule Method

This method is not implemented. If called, it returns E_NOTIMPL.

IMetaDataDispenserEx::GetCORSystemDirectory Method

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.

IMetaDataDispenserEx::GetOption Method

Gets the value of the specified option for the current metadata scope. The option controls how calls to the current metadata scope are handled.

IMetaDataDispenserEx::OpenScopeOnITypeInfo Method

This method is not implemented. If called, it returns E_NOTIMPL.

IMetaDataDispenserEx::SetOption Method

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.

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

Community Additions

ADD
Show:
© 2015 Microsoft