ICorDebugDataTarget2::GetImageFromPointer Method

Returns the module base address and size from an address in that module.

Syntax

HRESULT GetImageFromPointer(
   [in] CORDB_ADDRESS addr,
   [out] CORDB_ADDRESS *pImageBase,
   [out] ULONG32 *pSize
);

Parameters

addr A CORDB_ADDRESS value that represents an address in a module.

pImageBase [out] A CORDB_ADDRESS value that represents the module's base address.

pSize A pointer to the module size.

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