Share via


ICLRDataTarget::GetImageBase Method

Gets the base memory address of the specified image.

HRESULT GetImageBase (
    [in, string] LPCWSTR    imagePath,
    [out] CLRDATA_ADDRESS   *baseAddress
);

Parameters

  • imagePath
    [in] The file name of the image, including its path.

  • baseAddress
    [out] A pointer to a CLRDATA_ADDRESS that stores the base address of the image.

Remarks

The image file name may or may not have a path. If a path is specified, matching is done on the whole path; otherwise, matching is done only on the file name.

Requirements

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

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICLRDataTarget Interface