GetMem4

Reads four bytes from a memory address into a Long variable.

Syntax: GetMem4 Address , retVal

Address
required LongPtr. The address to read from.
retVal
required Long. The variable to receive the value read from Address.

The bytes are interpreted in the host’s native byte order — little-endian on x86 and x64. The address is read directly with no bounds or alignment check.

See Also