IDebugDataSpaces4::ReadPointersVirtual method (dbgeng.h)

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

Syntax

HRESULT ReadPointersVirtual(
  [in]  ULONG    Count,
  [in]  ULONG64  Offset,
  [out] PULONG64 Ptrs
);

Parameters

[in] Count

Specifies the number of pointers to read.

[in] Offset

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

[out] 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

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

See also

IDebugDataSpaces

IDebugDataSpaces2

IDebugDataSpaces3

IDebugDataSpaces4

ReadVirtual

WritePointersVirtual