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.

200 lines
7.3 KiB

  1. #define FILE_NOT_FOUND_RC -2
  2. #define PATH_NOT_FOUND_RC -3
  3. #define TOO_MANY_OPEN_FILES_RC -4
  4. #define ACCESS_DENIED_RC -5
  5. #define MEMORY_CONTROL_BLOCKS_RC -7
  6. #define INSUFFICIENT_MEMORY_RC -8
  7. #define INVALID_DRIVE_RC -15
  8. #define NO_MORE_FILES_RC -18
  9. #define DISK_IS_WRITE_PROTECTED_RC -19
  10. #define UNKNOWN_UNIT_RC -20
  11. #define DRIVE_NOT_READY_RC -21
  12. #define BAD_DEVICE_COMMAND_RC -22
  13. #define DATA_ERROR_RC -23
  14. #define BAD_REQUEST_STRUCTURE_LENGTH_RC -24
  15. #define SEEK_ERROR_RC -25
  16. #define UNKNOWN_MEDIA_TYPE_RC -26
  17. #define SECTOR_NOT_FOUND_RC -27
  18. #define PRINTER_OUT_OF_PAPER_RC -28
  19. #define WRITE_FAULT_RC -29
  20. #define READ_FAULT_RC -30
  21. #define GENERAL_FAILURE_RC -31
  22. #define ERROR_OPENING_FILE_RC -32
  23. #define ERROR_READING_FILE_RC -33
  24. #define ERROR_WRITING_FILE_RC -34
  25. #define ERROR_CLOSING_FILE_RC -35
  26. #define INSUFFICIENT_DISK_SPACE_RC -36
  27. #define PROGRAM_CAN_NOT_BE_RUN_IN_OS2_RC -37
  28. #define ERROR_CREATING_DIRECTORY_RC -38
  29. #define SESSION_PARENT_EXISTS_RC -39
  30. #define UNABLE_TO_OPEN_KDF_RC -500
  31. #define UNABLE_TO_READ_KDF_RC -502
  32. #define INCORECT_KDF_VERSION_RC -504
  33. #define ERROR_OPENING_KEYBOARD_RC -506
  34. #define UNABLE_TO_OPEN_TTY_DEV_RC -508
  35. #define SLICK_EDITOR_VERSION_RC -2000
  36. #define SPILL_FILE_TOO_LARGE_RC -2001
  37. #define ON_RC -2002
  38. #define OFF_RC -2003
  39. #define EXPECTING_IGNORE_OR_EXACT_RC -2004
  40. #define ERROR_IN_MARGIN_SETTINGS_RC -2005
  41. #define ERROR_IN_TAB_SETTINGS_RC -2006
  42. #define UNKNOWN_COMMAND_RC -2007
  43. #define MISSING_FILENAME_RC -2008
  44. #define TOO_MANY_FILES_RC -2009
  45. #define TOO_MANY_SELECTIONS_RC -2010
  46. #define LINES_TRUNCATED_RC -2011
  47. #define TEXT_ALREADY_SELECTED_RC -2012
  48. #define TEXT_NOT_SELECTED_RC -2013
  49. #define INVALID_SELECTION_TYPE_RC -2014
  50. #define SOURCE_DEST_CONFLICT_RC -2015
  51. #define NEW_FILE_RC -2016
  52. #define LINE_SELECTION_REQUIRED_RC -2017
  53. #define BLOCK_SELECTION_REQUIRED_RC -2018
  54. #define TOO_MANY_GROUPS_RC -2019
  55. #define MACRO_FILE_NOT_FOUND_RC -2020
  56. #define HIT_ANY_KEY_RC -2023
  57. #define BOTTOM_OF_FILE_RC -2024
  58. #define TOP_OF_FILE_RC -2025
  59. #define INVALID_POINT_RC -2026
  60. #define TYPE_ANY_KEY_RC -2027
  61. #define TOO_MANY_WINDOWS_RC -2028
  62. #define NOT_ENOUGH_MEMORY_RC -2029
  63. #define PRESS_ANY_KEY_TO_CONTINUE_RC -2030
  64. #define SPILL_FILE_IO_ERROR_RC -2031
  65. #define TYPE_NEW_DRIVE_LETTER_RC -2032
  66. #define NOTHING_TO_UNDO_RC -2033
  67. #define NOTHING_TO_REDO_RC -2034
  68. #define LINE_OR_BLOCK_SELECTION_REQUIRED_RC -2035
  69. #define INVALID_SELECTION_HANDLE_RC -2036
  70. #define SEARCHING_AND_REPLACING_RC -2037
  71. #define COMMAND_CANCELLED_RC -2038
  72. #define ERROR_CREATING_SEMAPHORE_RC -2039
  73. #define ERROR_CREATING_THREAD_RC -2040
  74. #define ERROR_CREATING_QUEUE_RC -2041
  75. #define PROCESS_ALREADY_RUNNING_RC -2042
  76. #define CANT_FIND_INIT_PROGRAM_RC -2043
  77. #define CMDLINE_TOO_LONG_RC -2044
  78. #define SERIAL_NUMBER_RC -2045
  79. #define FAILED_TO_BACKUP_FILE_RC -2101
  80. #define FAILED_TO_BACKUP_FILE_ACCESS_DENIED_RC -2105
  81. #define FAILED_TO_BACKUP_FILE_INSUFFICIENT_DISK_SPACE_RC -2111
  82. #define INVALID_REGULAR_EXPRESSION_RC -2500
  83. #define INCORRECT_VERSION_RC -3000
  84. #define NO_MAIN_ENTRY_POINT_RC -3001
  85. #define INTERPRETER_OUT_OF_MEMORY_RC -3002
  86. #define PROCEDURE_NOT_FOUND_RC -3003
  87. #define MODULE_ALREADY_LOADED_RC -3006
  88. #define CANT_REMOVE_MODULE_RC -3007
  89. #define NUMERIC_OVERFLOW_RC -3008
  90. #define INVALID_NUMBER_ARGUMENT_RC -3009
  91. #define RECURSION_TOO_DEEP_RC -3010
  92. #define INVALID_NUMBER_OF_PARAMETERS_RC -3011
  93. #define OUT_OF_STRING_SPACE_RC -3012
  94. #define EXPRESSION_STACK_OVERFLOW_RC -3013
  95. #define ILLEGAL_OPCODE_RC -3014
  96. #define INVALID_ARGUMENT_RC -3015
  97. #define LOOP_STACK_OVERFLOW_RC -3016
  98. #define DIVIDE_BY_ZERO_RC -3017
  99. #define INVALID_CALL_BY_REFERENCE_RC -3018
  100. #define PROCEDURE_NEEDS_MORE_ARGS_RC -3019
  101. #define BREAK_KEY_PRESSED_RC -3020
  102. #define CANT_WRITE_STATE_DURING_REL_RC -3021
  103. #define STRING_NOT_FOUND_RC -3022
  104. /* KBD_MACRO_TOO_LONG_RC = -3023 Can't get this any more. */
  105. #define COMMAND_NOT_FOUND_RC -3024
  106. #define FUNCTION_NOT_SUPPORTED_IN_DOS_RC -3027
  107. #define FUNCTION_NOT_SUPPORTED_IN_OS2_RC -3028
  108. #define INVALID_NAME_INDEX_RC -3029
  109. #define INVALID_OPTION_RC -3030
  110. #define SPELL_FILE_NOT_FOUND_RC -3501
  111. #define SPELL_ERROR_OPENING_MAIN_DICT_FILE_RC -3504
  112. #define SPELL_ERROR_OPENING_USER_DICT_FILE_RC -3507
  113. #define SPELL_NOT_ENOUGH_MEMORY_RC -3510
  114. #define SPELL_ERROR_READING_MAIN_INDEX_RC -3511
  115. #define SPELL_ERROR_OPENING_COMMON_DICT_RC -3514
  116. #define SPELL_COMMON_DICT_TOO_LARGE_RC -3517
  117. #define SPELL_ERROR_READING_COMMON_DICT_RC -3518
  118. #define SPELL_USER_DICT_TOO_LARGE_RC -3521
  119. #define SPELL_ERROR_READING_USER_DICT_RC -3524
  120. #define SPELL_ERROR_UPDATING_USER_DICT_FILE_RC -3527
  121. #define SPELL_ACCESS_DENIED_RC -3530
  122. #define SPELL_OUT_OF_DISK_SPACE_RC -3533
  123. #define SPELL_ERROR_READING_MAIN_DICT_RC -3536
  124. #define SPELL_WORD_NOT_FOUND_RC -3537
  125. #define SPELL_CAPITALIZATION_RC -3538
  126. #define SPELL_WORD_TOO_SMALL_RC -3539
  127. #define SPELL_WORD_TOO_LARGE_RC -3540
  128. #define SPELL_WORD_INVALID_RC -3541
  129. #define SPELL_REPLACE_WORD_RC -3542
  130. #define SPELL_HISTORY_TOO_LARGE_RC -3543
  131. #define SPELL_USER_DICT_NOT_LOADED_RC -3544
  132. #define SPELL_NO_MORE_WORDS_RC -3545
  133. #define SPELL_REPEATED_WORD_RC -3546
  134. #define CLEX_NOT_ENOUGH_MEMORY_RC -3547
  135. #define CLEX_TOO_MANY_MLCOMMENTS_DEFINED_RC -3548
  136. #define CLEX_IDENTIFIER_MLCOMMENTS_NOT_SUPPORTED_RC -3549
  137. #define CLEX_TOO_MANY_CFLINECOMMENTS_DEFINED_RC -3550
  138. #define CLEX_IDCHARS_MUST_BE_DEFINED_FIRST_RC -3551
  139. #define CLEX_INVALID_STYLE_RC -3552
  140. #define CLEX_INVALID_MLCOMMENT_RC -3553
  141. #define CLEX_INVALID_LINECOMMENT_RC -3554
  142. #define CLEX_INVALID_NAME_RC -3555
  143. #define CLEX_FILE_NOT_FOUND_RC -3556
  144. #define CLEX_ACCESS_DENIED_RC -3557
  145. #define CLEX_UNABLE_TO_OPEN_FILE_RC -3558
  146. #define BT_KEY_ALREADY_EXISTS_RC -3900
  147. #define BT_RECORD_NOT_FOUND_RC -3901
  148. #define BT_UNABLE_TO_RW_FILE_RC -3902
  149. #define BT_DATABASE_CORRUPT_RC -3903
  150. #define BT_RECORD_LENGTH_TOO_LARGE_RC -3904
  151. #define BT_INCORRECT_VERSION_RC -3905
  152. #define BT_INCORRECT_MAGIC_RC -3906
  153. #define BT_TOO_MANY_KEYS_RC -3907
  154. #define BT_FEATURE_NOT_FINISHED_RC -3908
  155. #define BT_FIELD_IS_FIXED_LENGTH_RC -3909
  156. #define BT_FIELD_IS_VARIABLE_LENGTH_RC -3910
  157. #define BT_BLOCK_FULL_RC -3911
  158. #define BT_UNABLE_TO_DELETE_RC -3912
  159. #define BT_INVALID_BLOCK_SIZE_RC -3913
  160. #define BT_MISSING_REQUIRED_FIELD_RC -3914
  161. #define BT_ERROR_UPDATING_INDEX_RC -3915
  162. #define BT_ERROR_CREATING_TABLE_RC -3916
  163. #define BT_ERROR_CREATING_INDEX_RC -3917
  164. #define BT_ERROR_OPENING_TABLE_RC -3918
  165. #define BT_ERROR_OPENING_INDEX_RC -3919
  166. #define BT_FEATURE_NOT_ALLOWED_RC -3920
  167. #define BT_TABLE_NOT_FOUND_RC -3921
  168. #define BT_KEY_NOT_FOUND_RC -3922
  169. #define BT_FIELD_NOT_FOUND_RC -3923
  170. #define BT_INDEX_NOT_FOUND_RC -3924
  171. #define BT_INTERNAL_ERROR_RC -3925
  172. #define BT_FIELD_NOT_SEARCHABLE_RC -3926
  173. #define BT_FIELD_ALREADY_EXISTS_RC -3927
  174. #define BT_INDEX_ALREADY_EXISTS_RC -3928
  175. #define BT_TABLE_ALREADY_EXISTS_RC -3929
  176. #define BT_FIELD_NAME_REQUIRED_RC -3930
  177. #define BT_INDEX_NAME_REQUIRED_RC -3931
  178. #define BT_TABLE_NAME_REQUIRED_RC -3932
  179. #define BT_DATABASE_NAME_REQUIRED_RC -3933
  180. #define BT_FIELD_INVALID_RC -3934
  181. #define BT_INVALID_DB_HANDLE_RC -3935
  182. #define BT_INVALID_TAG_TYPE_RC -3936
  183. #define BT_INVALID_TABLE_HANDLE_RC -3937
  184. #define BT_INVALID_INDEX_HANDLE_RC -3938
  185. #define BT_INVALID_SEEKPOS_RC -3939
  186. #define BT_DATABASE_IS_FOR_UNIX_RC -3940
  187. #define BT_DATABASE_IS_FOR_DOS_RC -3941
  188. #define BT_DATABASE_IS_READ_ONLY_RC -3942