package org.xvolks.jnative.util.constants;
import org.xvolks.jnative.misc.basicStructures.HRESULT;
/**
* THis class contains most of the constants of winerror.h and some macro defined as functions
* @author Marc DENTY
*
*/
public class WinError {
public static final int ERROR_SUCCESS = 0;
public static final int NO_ERROR = 0;
public static final int ERROR_INVALID_FUNCTION = 1;
public static final int ERROR_FILE_NOT_FOUND = 2;
public static final int ERROR_PATH_NOT_FOUND = 3;
public static final int ERROR_TOO_MANY_OPEN_FILES = 4;
public static final int ERROR_ACCESS_DENIED = 5;
public static final int ERROR_INVALID_HANDLE = 6;
public static final int ERROR_ARENA_TRASHED = 7;
public static final int ERROR_NOT_ENOUGH_MEMORY = 8;
public static final int ERROR_INVALID_BLOCK = 9;
public static final int ERROR_BAD_ENVIRONMENT = 10;
public static final int ERROR_BAD_FORMAT = 11;
public static final int ERROR_INVALID_ACCESS = 12;
public static final int ERROR_INVALID_DATA = 13;
public static final int ERROR_OUTOFMEMORY = 14;
public static final int ERROR_INVALID_DRIVE = 15;
public static final int ERROR_CURRENT_DIRECTORY = 16;
public static final int ERROR_NOT_SAME_DEVICE = 17;
public static final int ERROR_NO_MORE_FILES = 18;
public static final int ERROR_WRITE_PROTECT = 19;
public static final int ERROR_BAD_UNIT = 20;
public static final int ERROR_NOT_READY = 21;
public static final int ERROR_BAD_COMMAND = 22;
public static final int ERROR_CRC = 23;
public static final int ERROR_BAD_LENGTH = 24;
public static final int ERROR_SEEK = 25;
public static final int ERROR_NOT_DOS_DISK = 26;
public static final int ERROR_SECTOR_NOT_FOUND = 27;
public static final int ERROR_OUT_OF_PAPER = 28;
public static final int ERROR_WRITE_FAULT = 29;
public static final int ERROR_READ_FAULT = 30;
public static final int ERROR_GEN_FAILURE = 31;
public static final int ERROR_SHARING_VIOLATION = 32;
public static final int ERROR_LOCK_VIOLATION = 33;
public static final int ERROR_WRONG_DISK = 34;
public static final int ERROR_SHARING_BUFFER_EXCEEDED = 36;
public static final int ERROR_HANDLE_EOF = 38;
public static final int ERROR_HANDLE_DISK_FULL = 39;
public static final int ERROR_NOT_SUPPORTED = 50;
public static final int ERROR_REM_NOT_LIST = 51;
public static final int ERROR_DUP_NAME = 52;
public static final int ERROR_BAD_NETPATH = 53;
public static final int ERROR_NETWORK_BUSY = 54;
public static final int ERROR_DEV_NOT_EXIST = 55;
public static final int ERROR_TOO_MANY_CMDS = 56;
public static final int ERROR_ADAP_HDW_ERR = 57;
public static final int ERROR_BAD_NET_RESP = 58;
public static final int ERROR_UNEXP_NET_ERR = 59;
public static final int ERROR_BAD_REM_ADAP = 60;
public static final int ERROR_PRINTQ_FULL = 61;
public static final int ERROR_NO_SPOOL_SPACE = 62;
public static final int ERROR_PRINT_CANCELLED = 63;
public static final int ERROR_NETNAME_DELETED = 64;
public static final int ERROR_NETWORK_ACCESS_DENIED = 65;
public static final int ERROR_BAD_DEV_TYPE = 66;
public static final int ERROR_BAD_NET_NAME = 67;
public static final int ERROR_TOO_MANY_NAMES = 68;
public static final int ERROR_TOO_MANY_SESS = 69;
public static final int ERROR_SHARING_PAUSED = 70;
public static final int ERROR_REQ_NOT_ACCEP = 71;
public static final int ERROR_REDIR_PAUSED = 72;
public static final int ERROR_FILE_EXISTS = 80;
public static final int ERROR_CANNOT_MAKE = 82;
public static final int ERROR_FAIL_I24 = 83;
public static final int ERROR_OUT_OF_STRUCTURES = 84;
public static final int ERROR_ALREADY_ASSIGNED = 85;
public static final int ERROR_INVALID_PASSWORD = 86;
public static final int ERROR_INVALID_PARAMETER = 87;
public static final int ERROR_NET_WRITE_FAULT = 88;
public static final int ERROR_NO_PROC_SLOTS = 89;
public static final int ERROR_TOO_MANY_SEMAPHORES = 100;
public static final int ERROR_EXCL_SEM_ALREADY_OWNED = 101;
public static final int ERROR_SEM_IS_SET = 102;
public static final int ERROR_TOO_MANY_SEM_REQUESTS = 103;
public static final int ERROR_INVALID_AT_INTERRUPT_TIME = 104;
public static final int ERROR_SEM_OWNER_DIED = 105;
public static final int ERROR_SEM_USER_LIMIT = 106;
public static final int ERROR_DISK_CHANGE = 107;
public static final int ERROR_DRIVE_LOCKED = 108;
public static final int ERROR_BROKEN_PIPE = 109;
public static final int ERROR_OPEN_FAILED = 110;
public static final int ERROR_BUFFER_OVERFLOW = 111;
public static final int ERROR_DISK_FULL = 112;
public static final int ERROR_NO_MORE_SEARCH_HANDLES = 113;
public static final int ERROR_INVALID_TARGET_HANDLE = 114;
public static final int ERROR_INVALID_CATEGORY = 117;
public static final int ERROR_INVALID_VERIFY_SWITCH = 118;
public static final int ERROR_BAD_DRIVER_LEVEL = 119;
public static final int ERROR_CALL_NOT_IMPLEMENTED = 120;
public static final int ERROR_SEM_TIMEOUT = 121;
public static final int ERROR_INSUFFICIENT_BUFFER = 122;
public static final int ERROR_INVALID_NAME = 123;
public static final int ERROR_INVALID_LEVEL = 124;
public static final int ERROR_NO_VOLUME_LABEL = 125;
public static final int ERROR_MOD_NOT_FOUND = 126;
public static final int ERROR_PROC_NOT_FOUND = 127;
public static final int ERROR_WAIT_NO_CHILDREN = 128;
public static final int ERROR_CHILD_NOT_COMPLETE = 129;
public static final int ERROR_DIRECT_ACCESS_HANDLE = 130;
public static final int ERROR_NEGATIVE_SEEK = 131;
public static final int ERROR_SEEK_ON_DEVICE = 132;
public static final int ERROR_IS_JOIN_TARGET = 133;
public static final int ERROR_IS_JOINED = 134;
public static final int ERROR_IS_SUBSTED = 135;
public static final int ERROR_NOT_JOINED = 136;
public static final int ERROR_NOT_SUBSTED = 137;
public static final int ERROR_JOIN_TO_JOIN = 138;
public static final int ERROR_SUBST_TO_SUBST = 139;
public static final int ERROR_JOIN_TO_SUBST = 140;
public static final int ERROR_SUBST_TO_JOIN = 141;
public static final int ERROR_BUSY_DRIVE = 142;
public static final int ERROR_SAME_DRIVE = 143;
public static final int ERROR_DIR_NOT_ROOT = 144;
public static final int ERROR_DIR_NOT_EMPTY = 145;
public static final int ERROR_IS_SUBST_PATH = 146;
public static final int ERROR_IS_JOIN_PATH = 147;
public static final int ERROR_PATH_BUSY = 148;
public static final int ERROR_IS_SUBST_TARGET = 149;
public static final int ERROR_SYSTEM_TRACE = 150;
public static final int ERROR_INVALID_EVENT_COUNT = 151;
public static final int ERROR_TOO_MANY_MUXWAITERS = 152;
public static final int ERROR_INVALID_LIST_FORMAT = 153;
public static final int ERROR_LABEL_TOO_LONG = 154;
public static final int ERROR_TOO_MANY_TCBS = 155;
public static final int ERROR_SIGNAL_REFUSED = 156;
public static final int ERROR_DISCARDED = 157;
public static final int ERROR_NOT_LOCKED = 158;
public static final int ERROR_BAD_THREADID_ADDR = 159;
public static final int ERROR_BAD_ARGUMENTS = 160;
public static final int ERROR_BAD_PATHNAME = 161;
public static final int ERROR_SIGNAL_PENDING = 162;
public static final int ERROR_MAX_THRDS_REACHED = 164;
public static final int ERROR_LOCK_FAILED = 167;
public static final int ERROR_BUSY = 170;
public static final int ERROR_CANCEL_VIOLATION = 173;
public static final int ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
public static final int ERROR_INVALID_SEGMENT_NUMBER = 180;
public static final int ERROR_INVALID_ORDINAL = 182;
public static final int ERROR_ALREADY_EXISTS = 183;
public static final int ERROR_INVALID_FLAG_NUMBER = 186;
public static final int ERROR_SEM_NOT_FOUND = 187;
public static final int ERROR_INVALID_STARTING_CODESEG = 188;
public static final int ERROR_INVALID_STACKSEG = 189;
public static final int ERROR_INVALID_MODULETYPE = 190;
public static final int ERRO