1 | #if !defined (VIO32_ERRS)
|
---|
2 | #define VIO32_ERRS
|
---|
3 |
|
---|
4 |
|
---|
5 | // all the actual errors are added to the os2 error causing it
|
---|
6 |
|
---|
7 | #define VIO32_GETAPPINFO 0x10010000
|
---|
8 | #define VIO32_CREATEQUEUE 0x10020000
|
---|
9 | #define VIO32_CREATEHEV 0x10030000
|
---|
10 | #define VIO32_CREATESHMUX 0x10040000
|
---|
11 | #define VIO32_OPENSHMUX 0x10050000
|
---|
12 | #define VIO32_REQUESTSHMUX 0x10060000
|
---|
13 | #define VIO32_ALLOCSHMEM 0x10070000
|
---|
14 | #define VIO32_GETSHMEM 0x10080000
|
---|
15 | #define VIO32_MONOPEN 0x10090000
|
---|
16 | #define VIO32_MONREG 0x100A0000
|
---|
17 | #define VIO32_SETEXCHANDLER 0x100B0000
|
---|
18 | #define VIO32_READQUEUE 0x100C0000
|
---|
19 | #define VIO32_WAITHEV 0x100D0000
|
---|
20 | #define VIO32_MOUOPEN 0x100E0000
|
---|
21 | #define VIO32_MOUDRAWPTR 0x100F0000
|
---|
22 | #define VIO32_MOUSETEVENTMASK 0x10100000
|
---|
23 | #define VIO32_WRITEQUEUE 0x10110000
|
---|
24 |
|
---|
25 | // standalone errors
|
---|
26 | #define VIO32_NOTOPENED 0x00010001
|
---|
27 | #define VIO32_SHMEMNOTALLOCATED 0x00020001
|
---|
28 | #define VIO32_INTERNALERROR 0x00030001
|
---|
29 | #define VIO32_ALREADYOPENED 0x00040001
|
---|
30 | #define VIO32_WRONGAPPTYPE 0x00050001
|
---|
31 | #define VIO32_INVALIDPARAM 0x00060001
|
---|
32 | #define VIO32_UNKNOWNEVENT 0x00070001
|
---|
33 | #define VIO32_NOTWINDOWED 0x00080001
|
---|
34 | #define VIO32_ALREADYINSTALLED 0x00090001
|
---|
35 | #define VIO32_TOOMANYAPPS 0x000A0001
|
---|
36 | #define VIO32_NOTINSTALLED 0x000B0001
|
---|
37 | #define VIO32_NOTFOUND 0x000C0001
|
---|
38 | #define VIO32_WRONGEVENTTYPE 0x000D0001
|
---|
39 | #define VIO32_QUEUEFULL 0x000E0001
|
---|
40 | #define VIO32_UNREGISTERED 0x000F0001
|
---|
41 |
|
---|
42 | #endif
|
---|