Help File:FreezeMem

From Cheat Engine
Revision as of 00:51, 30 July 2021 by LeFiXER (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FreezeMem[edit]

This function will freeze the memory of a specific location.

Function Definition

int FreezeMem(ULONG address, int size);
address
Address to freeze.
size
Size in bytes of the address to freeze.

Returns the ID of the frozen location so you can later unfreeze it.

Warning
If the process changes the freeze will still be active. It is recommended in this case, to hook OpenProcess to watch for changes and unfreeze when a new process is selected.