#include #include #include //----------------------------------------------------------------------------- // Purpose: shutdown and unload SDK //----------------------------------------------------------------------------- void h_exit_or_terminate_process(UINT uExitCode) { //SDK_Shutdown(); HANDLE h = GetCurrentProcess(); TerminateProcess(h, uExitCode); } void VPRX::Attach() const { //DetourAttach(&v_exit_or_terminate_process, &h_exit_or_terminate_process); } void VPRX::Detach() const { //DetourDetach(&v_exit_or_terminate_process, &h_exit_or_terminate_process); }