PutMemPtr

Writes a pointer-sized value to a memory address.

Syntax: PutMemPtr Address , Value

Address
required LongPtr. The address to write to.
Value
required LongPtr. The pointer-sized value to store at Address.

The number of bytes written matches the host’s pointer width — four bytes in 32-bit builds, eight bytes in 64-bit builds. The bytes are written in the host’s native byte order. The address is written directly with no bounds or alignment check.

See Also