ICLRDataTarget::GetImageBase Method

Gets the base memory address of the specified image.

Syntax

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 System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also