1 // AJR notes: some of these are not used by the emm code
\r
3 // Cut this out as emmret.h
\r
6 * Module: All Modules
\r
7 * Author(s): Chris Somers
\r
12 #ifndef _EMM_RETURNS_DEF
\r
13 #define _EMM_RETURNS_DEF 1
\r
15 /* Module return values */
\r
22 #define PRN_COMPLETE 5
\r
23 #define PRN_PROGRESS 4
\r
24 #define INCOMPLETE 3
\r
35 /* Start of Recoverable error codes */
\r
37 #define NO_SPACE -1001
\r
38 #define NOTPOLLING -1002
\r
39 #define ALREADYDONE -1003
\r
40 #define NO_PRN_DEV -1004
\r
41 #define OUTF_PAPER -1005
\r
42 #define NO_VIDEO -1006
\r
43 #define TIMEOUT -1007
\r
44 #define FILENOPEN -1008
\r
45 #define ABORT_REQ -1009
\r
46 #define DEV_IOERR -1010
\r
49 #define RECOVERABLE -1999 /* all above errors are recoverable */
\r
51 /* Start of Threadfatal error codes */
\r
53 #define NOT_OPEN -2001
\r
54 #define NOT_ATTACHED -2002
\r
55 #define NO_CONNECTION -2003
\r
56 #define INSUFF_MEM -2004
\r
57 #define NR_TIMEOUT -2005
\r
60 #define THREADFATAL -2999 /* above errors force task to cancel */
\r
62 /* Start of Systemfatal error codes */
\r
64 #define BAD_TASKNUM -3001
\r
65 #define BAD_HANDLE -3002
\r
66 #define BAD_HARDWARE -3003
\r
67 #define INVALIDACTION -3004
\r
68 #define NOFREEITEMS -3005
\r
69 #define NO_MEMORY -3006
\r
70 #define NO_EMS -3007
\r
71 #define VALUE_OUTF_RANGE -3008
\r
72 #define BAD_MODE -3009
\r
73 #define NO_PALETTE -3010
\r
74 #define BAD_DISPPAGE -3011
\r
75 #define NO_TSR -3012
\r
76 #define BUFTOOSMALL -3013
\r
77 #define BAD_NAME -3014
\r
78 #define BAD_DISPHW -3015
\r
79 #define NO_FLOPPY -3016
\r
82 #define SYSTEMFATAL -3999 /* above errors are fatal to system */
\r