ReadPtr function (wdbgexts.h)
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
);
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.
If the function succeeds, the return value is FALSE; otherwise, it is TRUE.
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).
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdbgexts.h (include Wdbgexts.h, Dbgeng.h) |