IDebugDataSpaces::ReadPointersVirtual method

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

Count [in]

Specifies the number of pointers to read.

Offset [in]

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

Ptrs [out]

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

Return value

Return codeDescription
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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft