IDebugDataSpaces4::ReadPointersVirtual method

The ReadPointersVirtual method is a convenience method for reading pointers from the target's virtual address space.

Syntax

HRESULT ReadPointersVirtual(
  ULONG    Count,
  ULONG64  Offset,
  PULONG64 Ptrs
);

Parameters

Count

Specifies the number of pointers to read.

Offset

Specifies the location in the target's virtual address space to start reading the pointers.

Ptrs

Specifies the array to store the pointers. The number of elements this array holds is Count.

Return Value

Return code Description
S_OK
All the pointers were read from the target's memory and stored in Ptrs.

This method can also return error values. See Return Values for more details.

Remarks

This method reads from the memory from the target's virtual address space. The memory is then treated as a list of pointers. Any 32-bit pointers are then sign-extended to 64-bit values.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

IDebugDataSpaces

IDebugDataSpaces2

IDebugDataSpaces3

IDebugDataSpaces4

ReadVirtual

WritePointersVirtual