align
This commit is contained in:
parent
be79bb8c8b
commit
dc93ff735f
18 changed files with 127 additions and 31 deletions
|
@ -24,6 +24,7 @@ static PROC hook_func(PROC *org_func, PROC new_func)
|
|||
{
|
||||
*org_func = new_func;
|
||||
VirtualProtect(org_func, sizeof(PROC), old_protect, &old_protect);
|
||||
|
||||
return org;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue