Help File:FreezeMem

From Cheat Engine
Revision as of 00:48, 30 July 2021 by LeFiXER (talk | contribs) (Created page with "==FreezeMem== This function will freeze the memory of a specific address. '''Function Definition''' ''int FreezeMem(ULONG address, int size);'' ;'''address''' :Address to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FreezeMem

This function will freeze the memory of a specific address.

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 address 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.