windows-nt/Source/XPSP1/NT/base/win32/fusion/dll/whistler/termproc.c
2020-09-26 16:20:57 +08:00

24 lines
397 B
C

#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