10 lines
251 B
C++
10 lines
251 B
C++
#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
|
|
);
|
|
}
|