Help File:FreezeMem

From Cheat Engine
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.