Debugging Tools for Windows

ReadPointer

The ReadPointer function reads a pointer from the target.

ULONG
ReadPointer(
    ULONG64  Address,
    PULONG64  Pointer
    );

Parameters

Address
Specifies the address of the pointer to read.
Pointer
Receives the value of the pointer. If the target uses 32-bit pointers, the pointer is sign-extended to 64 bits.

Return Value

If the function succeeds, the return value is TRUE; otherwise, it is FALSE.

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

See Also

WritePointer

Build machine: CAPEBUILD