ICorDebugDataTarget2::GetImageLocation Method

Returns the path of a module from the module's base address.

Syntax

HRESULT GetImageLocation(    [in] CORDB_ADDRESS baseAddress,  
    [in] ULONG32 cchName,  
    [out] ULONG32 *pcchName,  
    [out, size_is(cchName), length_is(*pcchName)] WCHAR szName[]  
);  

Parameters

baseAddress
[in] A CORDB_ADDRESS value that represents the module's base address.

cchName
[in] The number of characters in the buffer that is to receive the module path.

pcchName
[out] A pointer to the number of characters written to the szName buffer.

szName
[out] The path of the module.

Remarks

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also