KnVmProtect()

This function is declared in the coresrv/vmm/vmm_api.h file.

Retcode KnVmProtect(void *addr, rtl_size_t size, int newFlags);

Modifies the protection attributes of reserved or committed memory pages.

Parameters:

If the protection attributes are successfully changed, the function returns rcOk.

Permissible combinations of memory protection attributes:

Page top