Categories
Trump and FBI

windows – Is there winapi to add permissions to memory pages instead of …

I always use VirtualProtect to change memory pages permissions, but is there a way to just add, for example, PAGE_READWRITE to some page that I dont know what other permissions it has? Of course i can check it myself with VirtualQuery, but is there easier way to just add permissions? thanks