]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/H/BASEMID.H

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / H / BASEMID.H
1 /* SCCSID = @(#)basemid.h 8.26 87/05/21 */
2
3 #define MSG_RESPONSE_DATA 0 /* data for valid responses (Y N A R I) */
4 #define MSG_INVALID_FUNCTION 1 /* Invalid function */
5 #define MSG_FILE_NOT_FOUND 2 /* File not found */
6 #define MSG_PATH_NOT_FOUND 3 /* Path not found */
7 #define MSG_OUT_OF_HANDLES 4 /* Too many open files, no handles left */
8 #define MSG_ACCESS_DENIED 5 /* Access denied */
9 #define MSG_INVALID_HANDLE 6 /* Invalid handle */
10 #define MSG_MEMORY_BLOCKS_BAD 7 /* Memory control blocks destroyed */
11 #define MSG_NO_MEMORY 8 /* Insufficient memory */
12 #define MSG_INVALID_MEM_ADDR 9 /* Invalid memory block address */
13 #define MSG_INVALID_ENVIRON 10 /* Invalid environment */
14 #define MSG_INVALID_FORMAT 11 /* Invalid format */
15 #define MSG_INVALID_ACC_CODE 12 /* Invalid access code */
16 #define MSG_INVALID_DATA 13 /* Invalid data */
17 #define MSG_14 14 /* Reserved */
18 #define MSG_INVALID_DRIVE 15 /* Invalid drive */
19 #define MSG_ATT_RD_CURDIR 16 /* Attempt to remove current directory */
20 #define MSG_NOT_SAME_DEVICE 17 /* Not same device */
21 #define MSG_NO_MORE_FILES 18 /* No more files */
22 #define MSG_ATT_WRITE_PROT 19 /* Attempted write on protected disk */
23 #define MSG_UNKNOWN_UNIT 20 /* Unknown unit */
24 #define MSG_DRIVE_NOT_READY 21 /* Drive not ready */
25 #define MSG_UNKNOWN_COMMAND 22 /* Unknown command */
26 #define MSG_DATA_ERROR 23 /* Data error (CRC) */
27 #define MSG_BAD_REQ_STRUCTURE 24 /* Bad request structure length */
28 #define MSG_SEEK_ERROR 25 /* Seek error */
29 #define MSG_UNKNOWN_MEDIA 26 /* Unknown media type */
30 #define MSG_SECTOR_NOT_FOUND 27 /* Sector not found */
31 #define MSG_OUT_OF_PAPER 28 /* Printer out of paper */
32 #define MSG_WRITE_FAULT 29 /* Write fault */
33 #define MSG_READ_FAULT 30 /* Read fault */
34 #define MSG_GENERAL_FAILURE 31 /* General failure */
35 #define MSG_SHARING_VIOLATION 32 /* Sharing violation */
36 #define MSG_SHAR_VIOLAT_FIND 32 /* sharing violation find */
37 #define MSG_LOCK_VIOLATION 33 /* Lock violation */
38 #define MSG_INVALID_DISK_CHANGE 34 /* Invalid disk change */
39 #define MSG_35 35 /* FCB unavailable */
40 #define MSG_SHARING_BUFF_OFLOW 36 /* Sharing buffer overflow */
41 /* msg 37 - 49 reserved */
42 #define MSG_NET_REQ_NOT_SUPPORT 50 /* net request not supported */
43 #define MSG_NET_REMOTE_NOT_ONLINE 51 /* remote computer not online */
44 #define MSG_NET_DUP_FILENAME 52 /* duplicate filename on network */
45 #define MSG_NET_PATH_NOT_FOUND 53 /* network path not found */
46 #define MSG_NET_BUSY 54 /* network is busy */
47 #define MSG_NET_DEV_NOT_INSTALLED 55 /* device no longer installed */
48 #define MSG_NET_BIOS_LIMIT_REACHED 56 /* BIOS command limit exceeded */
49 #define MSG_NET_ADAPT_HRDW_ERROR 57 /* adapter hardware error */
50 #define MSG_NET_INCORRECT_RESPONSE 58 /* network response incorrect */
51 #define MSG_NET_UNEXPECT_ERROR 59 /* unexpected network error */
52 #define MSG_NET_REMOT_ADPT_INCOMP 60 /* remote adapter is incompatible */
53 #define MSG_NET_PRINT_Q_FULL 61 /* print queue is full */
54 #define MSG_NET_NO_SPACE_TO_PRINT_FL 62 /* not enough space to print file */
55 #define MSG_NET_PRINT_FILE_DELETED 63 /* print file was deleted */
56 #define MSG_NET_NAME_DELETED 64 /* network name was deleted */
57 #define MSG_NET_ACCESS_DENIED 65 /* network access denied */
58 #define MSG_NET_DEV_TYPE_INVALID 66 /* network device type invalid */
59 #define MSG_NET_NAME_NOT_FOUND 67 /* network name cannot be found */
60 #define MSG_NET_NAME_LIMIT_EXCEED 68 /* net name limit was exceeded */
61 #define MSG_NET_BIOS_LIMIT_EXCEED 69 /* BIOS session limit exceeded */
62 #define MSG_NET_TEMP_PAUSED 70 /* net is temporarily paused */
63 #define MSG_NET_REQUEST_DENIED 71 /* net request was denied */
64 #define MSG_NET_PRT_DSK_REDIR_PAUSE 72 /* print or disk redirection paused */
65 /* msg 73 - 79 reserved */
66 #define MSG_FILE_EXISTS 80
67 /* msg 81 reserved */
68 #define MSG_CANNOT_MAKE 82
69 #define MSG_NET_FAIL_INT_TWO_FOUR 83 /* fail on int 24 */
70 #define MSG_NET_TOO_MANY_REDIRECT 84 /* too many net redirections */
71 #define MSG_NET_DUP_REDIRECTION 85 /* duplicate redirection */
72 #define MSG_NET_INVALID_PASSWORD 86 /* invalid password */
73 #define MSG_NET_INCORR_PARAMETER 87 /* incorrect net parameter */
74 #define MSG_NET_DATA_FAULT 88 /* net data fault */
75 #define MSG_NO_PROC_SLOTS 89 /* no process slots */
76 #define MSG_DISK_CHANGE 107
77 #define MSG_DRIVE_LOCKED 108
78 #define MSG_ERROR_OPEN_FAILED 110 /* error open failed */
79 #define MSG_DISK_FULL 112
80 #define MSG_NO_SEARCH_HANDLES 113
81 #define MSG_ERR_INV_TAR_HANDLE 114 /* error invalid target handle */
82 #define MSG_BAD_DRIVER_LEVEL 119 /* bad driver level */
83 #define MSG_INVALID_NAME 123
84 #define MSG_NO_VOLUME_LABEL 125
85 /* */
86 #define MSG_JOIN_ON_DRIV_IS_TAR 133 /* directory on drive is target of a jo */
87 #define MSG_JOIN_DRIVE_IS 134 /* drive is joined */
88 #define MSG_SUB_DRIVE_IS 135 /* drive is substed */
89 #define MSG_DRIVE_IS_NOT_JOINED 136 /* drive is not joined */
90 #define MSG_DRIVE_NOT_SUBSTED 137 /* drive is not substituted - subst */
91 #define MSG_JOIN_CANNOT_JOIN_DRIVE 138 /* cannot join to a joined drive */
92 #define MSG_SUB_CANNOT_SUBST_DRIVE 139 /* cannot sub to sub drive */
93 #define MSG_JOIN_CANNOT_SUB_DRIVE 140 /* cannot join to a substed drive */
94 #define MSG_SUB_CANNOT_JOIN_DRIVE 141 /* cannot sub to a joined drive */
95 #define MSG_DRIVE_IS_BUSY 142 /* drive is busy - join */
96 #define MSG_JOIN_SUB_SAME_DRIVE 143 /* cannot join or subst a drive to dir */
97 #define MSG_DIRECT_IS_NOT_SUBDIR 144 /* directory is not subdirectory of root */
98 #define MSG_DIRECT_IS_NOT_EMPTY 145 /* directory is not empty -join */
99 #define MSG_PATH_USED_SUBST_JOIN 146 /* path used in subst, join - join sub */
100 /* 147 not used */
101 #define MSG_PATH_BUSY 148 /* path is busy - join */
102 #define MSG_SUB_ON_DRIVE_IS_JOIN 149 /* directory on drive is target of a st */
103 /* */
104 #define MSG_VOLUME_TOO_LONG 154
105 /* */
106 #define MSG_INVALID_ORDINAL 182 /* invalid ordinal */
107 #define MSG_INVALID_STARTING_CODESEG 188 /* invalid code seg */
108 /* */
109 #define MSG_INVALID_STACKSEG 189 /* invalid stack segment */
110 #define MSG_INVALID_MODULETYPE 190 /* invalid module type */
111 #define MSG_INVALID_EXE_SIGNATURE 191 /* Invalid signature */
112 #define MSG_EXE_MARKED_INVALID 192 /* Invalid exec file */
113 #define MSG_BAD_EXE_FORMAT 193 /* Bad or old exec file */
114 #define MSG_ITERATED_DATA_EXCEEDS_64K 194 /* iterated data exceeds 64k */
115 #define MSG_INVALID_MINALLOCSIZE 195 /* data segment has invalid size */
116 #define MSG_DYNLINK_FROM_INVALID_RING 196 /* invalid ring */
117 #define MSG_IOPL_NOT_ENABLED 197 /* IOPL not enabled */
118 #define MSG_INVALID_SEGDPL 198 /* Invalid privilege level */
119 #define MSG_AUTODATASEG_EXCEEDS_64K 199 /* Privilege level exceeds 64K */
120 /* 200 not used */
121 #define MSG_RELOC_CHAIN_XEEDS_SEGMENT 201 /* Ring must be movable */
122 #define MSG_INFLOOP_IN_RELOC_CHAIN 202 /* infinite loop */
123 #define MSG_ENVVAR_NOT_FOUND 203 /* environment variable not found */
124 #define MSG_SIGNAL_NOT_SENT 205 /* DOS signal not sent */
125 /* */
126 #define MSG_MR_CANT_FORMAT 317
127 #define MSG_MR_NOT_FOUND 318
128 #define MSG_MR_READ_ERROR 319
129 #define MSG_MR_IVCOUNT_ERROR 320 /*IvCount out of range */
130 #define MSG_MR_UN_PERFORM 321
131 /* */
132 #define MSG_DIS_ERROR 355
133 #define MSG_NO_COUNTRY_SYS 396
134 #define MSG_OPEN_COUNTRY_SYS 397
135 #define MSG_COUNTRY_NO_TYPE 401
136 /* 900 - 999 reserved for IBM Far East */
137 /* 1000 not used */
138 #define MSG_BAD_PARM1 1001 /* invalid parm */
139 #define MSG_BAD_PARM2 1002 /* invalid parm with specified input */
140 #define MSG_BAD_SYNTAX 1003 /* invalid syntax */
141 /* 1004 not used */
142 #define MSG_SWAP_INVALID_DRIVE 1470 /* Invalid drive %1 specified SWAPPATH */
143 #define MSG_SWAP_INVALID_PATH 1471 /* Invalid path %1 specified in SWAPPATH */
144 #define MSG_SWAP_CANNOT_CREATE 1472 /* Cannot create swap file %1 */
145 #define MSG_SWAP_DISABLED 1473 /* Segment swapping is disabled */
146 #define MSG_SWAP_CANT_INIT 1474 /* Cannot initialize swapper */
147 #define MSG_SWAP_NOT_READY 1500 /* diskette containing swap file not rdy */
148 #define MSG_SWAP_WRITE_PROTECT 1501 /* Diskette containing swap file wrpro */
149 #define MSG_SWAP_IN_ERROR 1502 /* I/O error on swap file */
150 #define MSG_SWAP_IO_ERROR 1502 /* I/O error on swap file */
151 #define MSG_SWAP_FILE_FULL 1503 /* Swap file is full */
152 #define MSG_SWAP_TABLE_FULL 1504 /* Swap control table full */
153 /* */
154 #define MSG_SYSINIT_INVAL_CMD 1195 /* Unrecognized command */
155 #define MSG_SYSINIT_INVAL_PARM 1196 /* Invalid parameter */
156 #define MSG_SYSINIT_MISSING_PARM 1197 /* Missing parameter */
157 /* 1198 - 1199 not used */
158 #define MSG_SYSINIT_DOS_FAIL 1200 /* Cannot create DOS mode */
159 /* 1201 - 1204 not used */
160 #define MSG_SYSINIT_DOS_MODIFIED 1205 /* DOS mode memory modified by DD */
161 #define MSG_SYSINIT_UFILE_NO_MEM 1206 /* Out of memory loading user program or DD */
162 /* 1207 not used */
163 #define MSG_SAD_INSERT_DUMP 1395 /* insert dump disk - rasmsg */
164 /* 1517 not used */
165 #define MSG_SYSINIT_SFILE_NOT_FND 1518 /* System file not found */
166 #define MSG_SYSINIT_SFILE_NO_MEM 1519 /* Out of memory loading system program or DD */
167 /* 1520 not used */
168 #define MSG_SYSINIT_TOO_MANY_PARMS 1521 /* Too many parms on line */
169 /* 1522 not used */
170 #define MSG_SYSINIT_MISSING_SYMB 1523 /* No equal or space */
171 /* 1708 - 1717 not used */
172 #define MSG_SYSINIT_UFILE_NOT_FND 1718 /* User file not found */
173 #define MSG_SYSINIT_UDRVR_INVAL 1719 /* User device driver invalid */
174 /* 1720 not used */
175 #define MSG_SYSINIT_BANNER 1721 /* Version banner message */
176 #define MSG_SYSINIT_CANT_LOAD_MOD 1722 /* Can't load module */
177 #define MSG_SYSINIT_EPT_MISSING 1723 /* Entry point missing */
178 #define MSG_SYSINIT_CANT_OPEN_CON 1724 /* Can't open con */
179 #define MSG_SYSINIT_WRONG_HANDLE 1725 /* wrong handle for standard input file */
180 #define MSG_SYSINIT_PRESS_ENTER 1726 /* Press enter to continue */
181 #define MSG_SYSINIT_CANT_GET_CACHE 1727 /* Can't allocate cache memory */
182 /* 1728 not used */
183 #define MSG_SYSINIT_VIO_CP 1729 /* VioSetCp failed */
184 #define MSG_SYSINIT_KBD_CP 1730 /* KbdSetCp failed */
185 /* 1731 - 1732 not used */
186 #define MSG_SYSINIT_SCFILE_INVAL 1733 /* System country file is bad */
187 /* 1734 not used */
188 #define MSG_SYSINIT_CP_ASSUME 1735 /* Assumed codepage */
189 /* 1736 not used */
190 #define MSG_SYSINIT_CP_FATAL 1737 /* Codepage switching disabled */
191 #define MSG_SYSINIT_NOT_INIT_NMI 1738 /* cannot initial NMI ALSO FOR MODE MGR */
192 #define MSG_ASYNC_INSTALL 1899 /* Com installed */
193 #define MSG_ASYNC_COM_DEVICE 1900 /* COM device driver */
194 /* 1901 - 1914 utilmid2 */
195 #define MSG_INTERNAL_ERROR 1915 /* Internal error in the Kernel */
196 #define MSG_USER_ERROR 1916 /* user error */
197 /* 1917 - 1918 not used */
198 #define MSG_SYSINIT_UEXEC_FAIL 1919 /* User program won't execute */
199 /* 1920 - 1924 not used */
200 #define MSG_SYSINIT_SEXEC_FAIL 1925 /* System program won't execute */
201 #define MSG_GEN_PROT_FAULT 1926 /* General protect fault trap d */
202 #define MSG_CHANGE_INT_VECTOR 1927 /* real mode changed interrupt vector */
203 #define MSG_NOMEM_FOR_RELOAD 1928 /* no storage to reload code or segment */
204 #define MSG_STACK_OVERFLOW 1929 /* argument stack low */
205 #define MSG_TRAP0 1930 /* divide error */
206 #define MSG_TRAP1 1931 /* single step trap */
207 #define MSG_TRAP2 1932 /* hardware memory error */
208 #define MSG_TRAP3 1933 /* breakpoint instruction */
209 #define MSG_TRAP4 1934 /* computation overflow */
210 #define MSG_TRAP5 1935 /* index out of range */
211 #define MSG_TRAP6 1936 /* incorrect instruction */
212 #define MSG_TRAP7 1937 /* cannot process instruction */
213 #define MSG_TRAP8 1938 /* double exception error */
214 #define MSG_TRAP9 1939 /* math coprocessor */
215 #define MSG_TRAPA 1940 /* task state segment */
216 #define MSG_TRAPB 1941 /* segment not in memory */
217 #define MSG_TRAPC 1942 /* memory beyond the stack segment */
218 #define MSG_TRAPD 1943 /* bad segment value */
219 #define MSG_NMI 1944 /* nonmaskable interrupt */
220 #define MSG_NMI_EXC1 1945 /* error with memory system board */
221 #define MSG_NM12_EXC2 1946 /* error memory cards */
222 #define MSG_NMI2_EXC3 1947 /* timeout on dma */
223 #define MSG_NMI2_EXC4 1948 /* timeout by watchdog timer */
224 /* 1949 not used */
225 #define MSG_NPXIEMSG 1950 /* incorrect operation */
226 #define MSG_NPXDEMSG 1951 /* denormalized operand */
227 #define MSG_NPXZEMSG 1952 /* zero divide */
228 #define MSG_NPXOEMSG 1953 /* overflow */
229 #define MSG_NPXUEMSG 1954 /* underflow */
230 #define MSG_NPXPEMSG 1955 /* precision */
231 #define MSG_NPXINSTEMSG 1956 /* error occurred at address */
232 #define MSG_SYSINIT_BOOT_ERROR 2025 /* boot error */
233 #define MSG_SYSINIT_BIO_NOT_FD 2026 /* COMMAND.COM not found */
234 #define MSG_SYSINIT_INSER_DK 2027 /* Insert diskette */
235 #define MSG_SYSINIT_DOS_NOT_FD 2028 /* IBMDOS.COM not found */
236 #define MSG_SYSINIT_DOS_NOT_VAL 2029 /* IBMDOS.COM not valid */
237 #define MSG_SYSINIT_MORE_MEM 2030 /* need more memory */
238 /* 2031 - 2056 utilmid3 */
239 /* 2057 - 2063 not used */
240 #define MSG_SYSINIT_DOS_NO_MEM 2064 /* Out of memory starting DOS mode */
241 #define MSG_SYSINIT_SYS_STOPPED 2065 /* System is stopped */
242 #define MSG_SYSINIT_DOS_STOPPED 2066 /* DOS mode not started */
243 #define MSG_SYSINIT_SDRVR_INVAL 2067 /* System device driver invalid */
244 #define MSG_SYSINIT_MSG_LOST 2068 /* Messages lost */
245 #define MSG_SYSINIT_UCFILE_INVAL 2069 /* User country file is bad */
246 #define MSG_DEMAND_LOAD_FAILED 2070 /* the demand load has failed */