Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <include.h>
|
||||
|
||||
bool win_api::virtual_protect(void* address, size_t size, u_long new_protect, u_long* old_protect)
|
||||
{
|
||||
return hvi::protect_virt_memory(
|
||||
get_current_process_id(), mem::addr(address).Base(),
|
||||
size, new_protect, old_protect
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user