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.

109 lines
3.5 KiB

  1. /***
  2. *cmsgs.h - runtime errors
  3. *
  4. * Copyright (c) 1990-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * The file defines, in one place, all error message strings used within
  8. * the C run-time library.
  9. *
  10. * [Internal]
  11. *
  12. *Revision History:
  13. * 06-04-90 GJF Module created.
  14. * 08-08-90 GJF Added _RT_CONIO_TXT
  15. * 10-11-90 GJF Added _RT_ABORT_TXT, _RT_FLOAT_TXT, _RT_HEAP_TXT.
  16. * 09-08-91 GJF Added _RT_ONEXIT_TXT for Win32 (_WIN32_).
  17. * 09-18-91 GJF Fixed _RT_NONCONT_TXT and _RT_INVALDISP_TXT to
  18. * avoid conflict with RTE messages in 16-bit Windows
  19. * libs. Also, added math error messages.
  20. * 10-23-92 GJF Added _RT_PUREVIRT_TXT.
  21. * 02-23-93 SKS Update copyright to 1993
  22. * 12-15-94 XY merged with mac header
  23. * 02-14-95 CFW Clean up Mac merge.
  24. * 03-03-95 GJF Added _RT_STDIOINIT_TXT.
  25. * 03-29-95 CFW Add error message to internal headers.
  26. * 06-02-95 GJF Added _RT_LOWIOINIT_TXT.
  27. * 12-14-95 JWM Add "#pragma once".
  28. * 04-22-96 GJF Added _RT_HEAPINIT_TXT.
  29. * 02-24-97 GJF Replaced defined(_M_MPPC) || defined(_M_M68K) with
  30. * defined(_MAC).
  31. * 05-17-99 PML Remove all Macintosh support.
  32. *
  33. ****/
  34. #if _MSC_VER > 1000 /*IFSTRIP=IGN*/
  35. #pragma once
  36. #endif
  37. #ifndef _INC_CMSGS
  38. #define _INC_CMSGS
  39. #ifndef _CRTBLD
  40. /*
  41. * This is an internal C runtime header file. It is used when building
  42. * the C runtimes only. It is not to be used as a public header file.
  43. */
  44. #error ERROR: Use of C runtime library internal header file.
  45. #endif /* _CRTBLD */
  46. /*
  47. * runtime error and termination messages
  48. */
  49. #define EOL "\r\n"
  50. #define _RT_STACK_TXT "R6000" EOL "- stack overflow" EOL
  51. #define _RT_FLOAT_TXT "R6002" EOL "- floating point not loaded" EOL
  52. #define _RT_INTDIV_TXT "R6003" EOL "- integer divide by 0" EOL
  53. #define _RT_SPACEARG_TXT "R6008" EOL "- not enough space for arguments" EOL
  54. #define _RT_SPACEENV_TXT "R6009" EOL "- not enough space for environment" EOL
  55. #define _RT_ABORT_TXT "" EOL "This application has requested the Runtime to terminate it in an unusual way.\nPlease contact the application's support team for more information." EOL
  56. #define _RT_THREAD_TXT "R6016" EOL "- not enough space for thread data" EOL
  57. #define _RT_LOCK_TXT "R6017" EOL "- unexpected multithread lock error" EOL
  58. #define _RT_HEAP_TXT "R6018" EOL "- unexpected heap error" EOL
  59. #define _RT_OPENCON_TXT "R6019" EOL "- unable to open console device" EOL
  60. #define _RT_NONCONT_TXT "R6022" EOL "- non-continuable exception" EOL
  61. #define _RT_INVALDISP_TXT "R6023" EOL "- invalid exception disposition" EOL
  62. /*
  63. * _RT_ONEXIT_TXT is specific to Win32 and Dosx32 platforms
  64. */
  65. #define _RT_ONEXIT_TXT "R6024" EOL "- not enough space for _onexit/atexit table" EOL
  66. #define _RT_PUREVIRT_TXT "R6025" EOL "- pure virtual function call" EOL
  67. #define _RT_STDIOINIT_TXT "R6026" EOL "- not enough space for stdio initialization" EOL
  68. #define _RT_LOWIOINIT_TXT "R6027" EOL "- not enough space for lowio initialization" EOL
  69. #define _RT_HEAPINIT_TXT "R6028" EOL "- unable to initialize heap" EOL
  70. /*
  71. * _RT_DOMAIN_TXT, _RT_SING_TXT and _RT_TLOSS_TXT are used by the floating
  72. * point library.
  73. */
  74. #define _RT_DOMAIN_TXT "DOMAIN error" EOL
  75. #define _RT_SING_TXT "SING error" EOL
  76. #define _RT_TLOSS_TXT "TLOSS error" EOL
  77. #define _RT_CRNL_TXT EOL
  78. #define _RT_BANNER_TXT "runtime error "
  79. #endif /* _INC_CMSGS */