okapi_get_mem_protect

Syntax

native okapi_get_mem_protect(ptr);

Usage

ptr
Address in memory

Description

Retrieves the memory protection of the location pointed to by the address.

Return

Protection value, see PAGE_* constants