ReadPtr - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

ULONG ReadPtr(
  ULONG64  Addr,
  PULONG64 pPointer
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdbgexts-readptr)

ReadPtr function

Description

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.

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.

Remarks

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

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