r5sdk/r5dev/launcher/prx.cpp

24 lines
625 B
C++
Raw Normal View History

#include <core/stdafx.h>
#include <core/init.h>
#include <launcher/prx.h>
//-----------------------------------------------------------------------------
// Purpose: shutdown and unload SDK
//-----------------------------------------------------------------------------
void h_exit_or_terminate_process(UINT uExitCode)
{
2022-08-29 14:31:05 +02:00
//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);
}