// wdbgexts.h
ULONG WritePointer(
ULONG64 Address,
ULONG64 Pointer
);
View the official Windows Driver Kit DDI referenceNo description available.
The WritePointer function writes a pointer to the target.
AddressSpecifies the address to write the pointer to.
PointerSpecifies the value of the pointer. If the target uses 32-bit pointers, Pointer is a 32-bit value that has been sign-extended to 64-bits.
If the function succeeds, the return value is TRUE; otherwise, it is FALSE.
For a WdbgExts extension, include wdbgexts.h. For a DbgEng extension, include wdbgexts.h before dbgeng.h. See Writing DbgEng Extension Code for details.