Edit

Share via


IDebugHostMemory3::LinearizeLocation method (dbgmodel.h)

Takes a ___location which may represent something other than a virtual memory address and attempts to linearize the ___location into a virtual memory address within the given context. This operation may fail if the ___location cannot be represented by a virtual address (e.g.: it's a register).

Syntax

HRESULT LinearizeLocation(
  IDebugHostContext *context,
  Location          ___location,
  Location          *pLinearizedLocation
);

Parameters

context

The host context in which the ___location is valid. This represents, for example, the address space in which the ___location exists.

___location

The ___location to linearize into a virtual memory address.

pLinearizedLocation

A new ___location representing a virtual memory address will be returned here. If the ___location cannot be linearized into a virtual memory address (e.g.: the ___location represents an enregistered value), this method will fail.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostMemory3 interface