IDebugHostMemory2 interface (dbgmodel.h)

The memory access interface to the underlying debugger.

This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.

Inheritance

IDebugHostMemory2 inherits from IDebugHostMemory.

Methods

The IDebugHostMemory2 interface has these methods.

 
IDebugHostMemory2::AddRef

The IDebugHostMemory2::AddRef method increments the reference count for an interface on an object.
IDebugHostMemory2::GetDisplayStringForLocation

For a given location within the address space of the target as defined by context and location, convert the location to a displayable string (according to whatever format the host chooses).
IDebugHostMemory2::LinearizeLocation

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.
IDebugHostMemory2::QueryInterface

The IDebugHostMemory2::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostMemory2::ReadBytes

The IDebugHostMemory2::ReadBytes method reads a number of bytes from the address space of the target for a given context and location.
IDebugHostMemory2::ReadPointers

The IDebugHostMemory2::ReadPointers method reads a number of pointers from the address space of the target for a given context and location.
IDebugHostMemory2::Release

The IDebugHostMemory2::Release method decrements the reference count for an interface on an object.
IDebugHostMemory2::WriteBytes

The IDebugHostMemory2::WriteBytes method writes a number of bytes to the address space of the target for a given context and location.
IDebugHostMemory2::WritePointers

Takes a number of pointers as held in unsigned 64-bit values, truncates them to the native pointer size of the target,and writes them into the address space of the target as defined by the inpassed context and location.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview