Skip to content

Commit

Permalink
example update
Browse files Browse the repository at this point in the history
  • Loading branch information
Synestraa committed Feb 10, 2018
1 parent 4f8d27c commit 005a1ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Example/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ int main()
printf("Startup successful, Administrator [%s], Hardware Id [%ws]\n", (HcGlobal.IsElevated ? "TRUE" : "FALSE"), lpUniqueId);
}

LPVOID recreated = HcHookRecreateCode(HcModuleProcedureA(HcModuleLoadA("user32.dll"), "GetWindowThreadProcessId"), 10);

PEB peb;
if (!HcProcessGetPeb(NtCurrentProcess(), &peb))
{
Expand Down

0 comments on commit 005a1ec

Please sign in to comment.