Leaked source code of windows server 2003
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.

21 lines
361 B

  1. #define _KERNEL32_
  2. #include "windows.h"
  3. void
  4. SxspCrtRaiseExit(
  5. PCSTR pszCaller,
  6. int crtError
  7. );
  8. VOID
  9. WINAPI
  10. ExitProcess(
  11. IN UINT uExitCode
  12. )
  13. {
  14. SxspCrtRaiseExit(__FUNCTION__, (int)uExitCode);
  15. }
  16. #if !defined(_M_IX86) && !defined(_X86_)
  17. const extern FARPROC __imp_ExitProcess = (FARPROC)&ExitProcess;
  18. #endif