You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
420 B
23 lines
420 B
#define _KERNEL32_
|
|
#include "windows.h"
|
|
|
|
void
|
|
SxspCrtRaiseExit(
|
|
PCSTR pszCaller,
|
|
int crtError
|
|
);
|
|
|
|
BOOL
|
|
WINAPI
|
|
TerminateProcess(
|
|
IN HANDLE hProcess,
|
|
IN UINT uExitCode
|
|
)
|
|
{
|
|
SxspCrtRaiseExit(__FUNCTION__, (int)uExitCode);
|
|
return FALSE;
|
|
}
|
|
|
|
#if !defined(_M_IX86) && !defined(_X86_)
|
|
const extern FARPROC __imp_TerminateProcess = (FARPROC)&TerminateProcess;
|
|
#endif
|