/***************************************************************************\
*                                                                           *
*   WINERROR.H                                                              *
*                                                                           *
*   Some headers are used from the cygnus project                           *
*   Modified by:                                                            *
*    kiefer@isys.de                                                         *
*    rainer@mathematik.uni-bielefeld.de                                     *
*									    *
\***************************************************************************/

#if !defined (_WINERROR_H)
#define _WINERROR_H

#ifdef __cplusplus
extern "C" {
#endif

#define ERROR_INVALID_FUNCTION		1
#define ERROR_FILE_NOT_FOUND		2
#define ERROR_PATH_NOT_FOUND		3
#define ERROR_TOO_MANY_OPEN_FILES	4
#define ERROR_ACCESS_DENIED		5
#define ERROR_INVALID_HANDLE		6
#define ERROR_NOT_ENOUGH_MEMORY         8
#define ERROR_INVALID_DATA              13
#define ERROR_OUTOFMEMORY		14
#define ERROR_INVALID_DRIVE		15
#define ERROR_NOT_SAME_DEVICE		17
#define ERROR_NO_MORE_FILES		18
#define ERROR_WRITE_PROTECT		19
#define ERROR_BAD_UNIT			20
#define ERROR_SHARING_VIOLATION		32
#define ERROR_LOCK_VIOLATION		33
#define ERROR_SHARING_BUFFER_EXCEEDED	36
#define ERROR_HANDLE_EOF                38
#define ERROR_HANDLE_DISK_FULL		39
#define ERROR_NOT_SUPPORTED		50
#define ERROR_REM_NOT_LIST		51
#define ERROR_DUP_NAME			52
#define ERROR_BAD_NETPATH               53
#define ERROR_FILE_EXISTS               80
#define ERROR_CANNOT_MAKE		82
#define ERROR_INVALID_PARAMETER		87
#define ERROR_NO_PROC_SLOTS		89
#define ERROR_BROKEN_PIPE               109
#define ERROR_OPEN_FAILED               110
#define ERROR_NO_MORE_SEARCH_HANDLES	113
#define ERROR_CALL_NOT_IMPLEMENTED	120
#define ERROR_INVALID_NAME		123
#define ERROR_WAIT_NO_CHILDREN		128
#define ERROR_CHILD_NOT_COMPLETE	129
#define ERROR_DIR_NOT_EMPTY		145
#define ERROR_SIGNAL_REFUSED		156
#define ERROR_BAD_PATHNAME		161
#define ERROR_SIGNAL_PENDING		162
#define ERROR_MAX_THRDS_REACHED         164
#define ERROR_BUSY                      170
#define ERROR_ALREADY_EXISTS		183
#define ERROR_BAD_EXE_FORMAT		193
#define ERROR_NO_SIGNAL_SENT		205
#define ERROR_FILENAME_EXCED_RANGE	206
#define ERROR_META_EXPANSION_TOO_LONG	208
#define ERROR_INVALID_SIGNAL_NUMBER	209
#define ERROR_THREAD_1_INACTIVE		210
#define ERROR_BAD_PIPE			230
#define ERROR_PIPE_BUSY			231
#define ERROR_NO_DATA			232
#define ERROR_PIPE_NOT_CONNECTED	233
#define ERROR_MORE_DATA			234
#define ERROR_DIRECTORY			267
#define ERROR_NOT_OWNER                 288
#define ERROR_PIPE_CONNECTED		535
#define ERROR_PIPE_LISTENING		536
#define ERROR_OPERATION_ABORTED		995
#define ERROR_IO_INCOMPLETE             996
#define ERROR_IO_PENDING                997
#define ERROR_FILE_INVALID              1006
#define ERROR_NO_TOKEN			1008
#define ERROR_PROCESS_ABORTED		1067
#define ERROR_BAD_DEVICE                1200
#define ERROR_FILE_CORRUPT              1392
#define ERROR_BAD_USERNAME		2202
#define ERROR_NOT_CONNECTED		2250
#define ERROR_OPEN_FILES                2401
#define ERROR_ACTIVE_CONNECTIONS	2402
#define ERROR_DEVICE_IN_USE		2404

#ifdef __cplusplus
}
#endif

#endif /* !defined (_WINERROR_H) */
