okapi_set_mem_protect

Синтаксис

native bool:okapi_set_mem_protect(ptr, prot);

Употреба

ptr
Address in memory
prot
Protection value, see see PAGE_* constants

Описание

Changes the memory protection of the location pointed to by the address

Връщаща стойност

true if the operation was successful, false otherwise