1 extern int WIN32_LastError;
3 /* ERROR_UNKNOWN is a placeholder for error conditions which haven't
4 * been tested yet so we're not exactly sure what will be returned.
5 * All instances of ERROR_UNKNOWN should be tested under Win95/NT
8 #define ERROR_UNKNOWN 99999
10 #define ERROR_FILE_NOT_FOUND 2
11 #define ERROR_TOO_MANY_OPEN_FILES 4
12 #define ERROR_ACCESS_DENIED 5
13 #define ERROR_INVALID_HANDLE 6
14 #define ERROR_BAD_FORMAT 11
15 #define ERROR_OUTOFMEMORY 14
16 #define ERROR_FILE_EXISTS 80
17 #define ERROR_INVALID_PARAMETER 87
18 #define ERROR_BROKEN_PIPE 109
19 #define ERROR_DISK_FULL 112
20 #define ERROR_CALL_NOT_IMPLEMENTED 120
21 #define ERROR_SEEK_ON_DEVICE 132
22 #define ERROR_DIR_NOT_EMPTY 145
23 #define ERROR_BUSY 170
24 #define ERROR_FILENAME_EXCED_RANGE 206
25 #define ERROR_IO_DEVICE 1117
26 #define ERROR_POSSIBLE_DEADLOCK 1131
27 #define ERROR_BAD_DEVICE 1200