Freigeben über


ICLRMetadataLocator Interface

Used by the data access services layer to locate metadata of assemblies in a target process.

interface ICLRMetadataLocator : IUnknown
{
    HRESULT GetMetadata(
        [in]  LPCWSTR         imagePath,
        [in]  ULONG32         imageTimestamp,
        [in]  ULONG32         imageSize,
        [in]  GUID*           mvid,
        [in]  ULONG32         mdRva,
        [in]  ULONG32         flags,
        [in]  ULONG32         bufferSize,
        [out, size_is(bufferSize), length_is(*dataSize)]
                           BYTE*           buffer,
        [out] ULONG32*        dataSize);
};

Methods

Method Description

ICLRMetadataLocator::GetMetadata Method

Retrieves the metadata of an image from the target process.

Remarks

The API client (that is, the debugger) must implement this interface as appropriate for the particular target process. For example, the implementation for a live process would be different from that of a memory dump.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Other Resources

Debugging Interfaces