2025-04-27 07:49:33 -04:00

22 lines
361 B
C

#define _KERNEL32_
#include "windows.h"
void
SxspCrtRaiseExit(
PCSTR pszCaller,
int crtError
);
VOID
WINAPI
ExitProcess(
IN UINT uExitCode
)
{
SxspCrtRaiseExit(__FUNCTION__, (int)uExitCode);
}
#if !defined(_M_IX86) && !defined(_X86_)
const extern FARPROC __imp_ExitProcess = (FARPROC)&ExitProcess;
#endif