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.

92 lines
4.4 KiB

  1. ;/*
  2. ; * Microsoft Confidential
  3. ; * Copyright (C) Microsoft Corporation 1988 - 1991
  4. ; * All Rights Reserved.
  5. ; */
  6. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;AN000;
  7. ;; DOS - GRAPHICS Command
  8. ;;
  9. ;; ;AN000;
  10. ;; File Name: GRMSG.EQU ;AN000;
  11. ;; ---------- ;AN000;
  12. ;; ;AN000;
  13. ;; DOS GRAPHICS Command - Message number AN000;equates
  14. ;; ;AN000;
  15. ;; Description: ;AN000;
  16. ;; ------------ ;AN000;
  17. ;; This file contains the numbers assigned to the error messages ;AN000;
  18. ;; issued by GRAPHICS.COM ;AN000;
  19. ;; ;AN000;
  20. ;; These messages are defined in GRAPHICS.MSG ;AN000;
  21. ;; (The message skeleton file for GRAPHICS.COM) ;AN000;
  22. ;; ;AN000;
  23. ;; This file also contains equates for the error codes returned by ;AN000;
  24. ;; the DOS parser. ;AN000;
  25. ;; ;AN000;
  26. ;; Documentation Reference: ;AN000;
  27. ;; ------------------------ ;AN000;
  28. ;; ;AN000;
  29. ;; DOS 3.3 Message Retriever Interface Supplement. ;AN000;
  30. ;; ;AN000;
  31. ;; External Procedure References: ;AN000;
  32. ;; ------------------------------ ;AN000;
  33. ;; FROM FILE GRINST.ASM: ;AN000;
  34. ;; GRAPHICS_INSTALL - Main module for GRAPHICS install. ;AN000;
  35. ;; PARSE_PARMS - Parse the command line parameters. ;AN000;
  36. ;; FROM FILE GRLOAD.ASM AND GRLOAD2.ASM ;AN000;
  37. ;; All modules ;AN000;
  38. ;; ;AN000;
  39. ;; Change History: ;AN000;
  40. ;; --------------- ;AN000;
  41. ;; ;AN000;
  42. ;; ;AN000;
  43. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;AN000;
  44. ;AN000;
  45. ;-------------------------------------------------------------------------------;AN000;
  46. ; GRAPHICS MESSAGE NUMBERS ;AN000;
  47. ;-------------------------------------------------------------------------------;AN000;
  48. ;AN000;
  49. ; Class A messages: ;AN000;
  50. INCORRECT_DOS EQU 1 ; 'Incorrect DOS version' ;AN000;
  51. NO_MEMORY EQU 2 ; 'Insufficient memory' ;AN000;
  52. ;AN000;
  53. ; Class B messages: (Profile loading) ;AN000;
  54. PROFILE_NOT_FOUND EQU 9 ; 'Cannot find GRAPHICS profile' ;AN000;
  55. MISSING_STMT EQU 10 ; 'Required profile statement missing ;AN000;
  56. ; before line %1' ;AN000;
  57. INVALID_STMT EQU 11 ; 'Invalid profile statement on line %1' ;AN000;
  58. OUT_SEQ_STMT EQU 12 ; 'Profile statement out of sequence on line %1';AN000;
  59. FILE_ERRORS EQU 13 ; 'Error reading GRAPHICS profile' ;AN000;
  60. SYNTAX_ERRORS EQU 14 ; 'Syntax errors in GRAPHICS profile' ;AN000;
  61. INVALID_PB EQU 15 ; 'PRINTBOX id not in GRAPHICS profile' ;AN000;
  62. INVALID_PRT EQU 16 ; 'Printer type not in GRAPHICS profile' ;AN000;
  63. ;AN000;
  64. ; Class C messages: (Command line parsing) ;AN000;
  65. TOO_MANY_PARMS EQU 3 ; 'Too many parameters' ;AN000;
  66. VALUE_NOT_ALLOWED EQU 4 ; 'Parameter value not allowed' ;AN000;
  67. INVALID_PARM EQU 5 ; 'Invalid parameter %1' ;AN000;
  68. INVALID_COMBINATION EQU 6 ; 'Invalid parameter combination' ;AN000;
  69. DUPLICATE_PARM EQU 7 ; 'Duplicate parameters not allowed' ;AN000;
  70. FORMAT_NOT_CORRECT EQU 8 ; 'Parameter format not correct' ;AN000;
  71. INVALID_B_SWITCH EQU 17 ; '/B invalid with a Black and White printer' ;AN000;
  72. UNABLE_RELOAD EQU 18 ; 'Unable to reload with profile supplied' ;AN000;
  73. MSG_OPTIONS_FIRST equ 300 ; first options help msg nbr
  74. MSG_OPTIONS_LAST equ 307 ; and last
  75. ;AN000;
  76. ;AN000;
  77. ;AN000;
  78. ;-------------------------------------------------------------------------------;AN000;
  79. ; PARSER ERROR CODES AND OUR OWN PARSING ERROR CODES ;AN000;
  80. ; *** ;AN000;
  81. ;-------------------------------------------------------------------------------;AN000;
  82. ;AN000;
  83. RC_NO_ERROR EQU 0 ;AN000;
  84. RC_EOL EQU -1 ;AN000;
  85. RC_TOO_MANY EQU 1 ;AN000;
  86. RC_NOT_IN_SW EQU 3 ;AN000;
  87. RC_NOT_IN_VAL EQU 7 ;AN000;
  88. RC_NOT_IN_STR EQU 8 ;AN000;
  89. ;AN000;
  90. RC_INVLD_COMBINATION EQU 99 ;AN000;
  91. RC_DUPLICATE_PARMS EQU 100 ;AN000;
  92.