Release 960331
[wine.git] / include / winerror.h
blobcdca7ea1c7ffd10572d80bb3ea9f7cd311582bfc
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
6 * and replaced.
7 */
8 #define ERROR_UNKNOWN 99999
10 #define ERROR_SUCCESS 0
11 #define ERROR_FILE_NOT_FOUND 2
12 #define ERROR_TOO_MANY_OPEN_FILES 4
13 #define ERROR_ACCESS_DENIED 5
14 #define ERROR_INVALID_HANDLE 6
15 #define ERROR_BAD_FORMAT 11
16 #define ERROR_OUTOFMEMORY 14
17 #define ERROR_FILE_EXISTS 80
18 #define ERROR_INVALID_PARAMETER 87
19 #define ERROR_BROKEN_PIPE 109
20 #define ERROR_DISK_FULL 112
21 #define ERROR_CALL_NOT_IMPLEMENTED 120
22 #define ERROR_SEEK_ON_DEVICE 132
23 #define ERROR_DIR_NOT_EMPTY 145
24 #define ERROR_BUSY 170
25 #define ERROR_FILENAME_EXCED_RANGE 206
26 #define ERROR_MORE_DATA 234
27 #define ERROR_NO_MORE_ITEMS 259
28 #define ERROR_IO_DEVICE 1117
29 #define ERROR_POSSIBLE_DEADLOCK 1131
30 #define ERROR_BAD_DEVICE 1200