Debugging Tools for Windows

ReadPtr

The ReadPtr function reads a pointer from the target. ReadPointer should be used instead of this function as the return value of ReadPointer is more consistent with the rest of the WdbgExts API.

ULONG
ReadPtr(
    ULONG64  Addr,
    PULONG64  pPointer
    );

Parameters

Addr
Specifies the address of the pointer to read.
pPointer
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 FALSE; otherwise, it is TRUE.

Comments

This function is identical to ReadPointer, except the meaning of the return value is reversed.

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

ReadPointer

Build machine: CAPEBUILD