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: See .NET Framework System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICLRDataTarget Interface