Source code of Windows XP (NT5)
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.

31 lines
472 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000
  6. //
  7. // File: exitcode.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "pch.h"
  11. #pragma hdrstop
  12. #include "exitcode.h"
  13. int g_iExitCode = CSCPIN_EXIT_NORMAL;
  14. void
  15. SetExitCode(int iCode)
  16. {
  17. g_iExitCode = iCode;
  18. }
  19. int
  20. GetExitCode(void)
  21. {
  22. return g_iExitCode;
  23. }