Jump to content

CP Error Codes: Difference between revisions

From EDM2
Ak120 (talk | contribs)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{IBM-Reprint}}
{{CPGuide}}
The following shows the numerical value of an error, its symbolic name, and a brief description of the error.
The following shows the numerical value of an error, its symbolic name, and a brief description of the error.


==0 to 99==
==0 to 99==
0 NO_ERROR
{| class="wikitable"
:No error occurred.
! Code !! Name !! Description
1 ERROR_INVALID_FUNCTION
|-
:Function number is not valid.
| 0 || NO_ERROR || No error occurred.
2 ERROR_FILE_NOT_FOUND
|-
:File not found.
| 1 || ERROR_INVALID_FUNCTION || Function number is not valid.
3 ERROR_PATH_NOT_FOUND
|-
:Path not found.
| 2 || ERROR_FILE_NOT_FOUND || File not found.
4 ERROR_TOO_MANY_OPEN_FILES
|-
:Too many open files (no handles left).
| 3 || ERROR_PATH_NOT_FOUND || Path not found.
5 ERROR_ACCESS_DENIED
|-
:Access denied.
| 4 || ERROR_TOO_MANY_OPEN_FILES || Too many open files (no handles left).
6 ERROR_INVALID_HANDLE
|-
:Handle is not valid.
| 5 || ERROR_ACCESS_DENIED || Access denied.
7 ERROR_ARENA_TRASHED
|-
:Memory control blocks destroyed.
| 6 || ERROR_INVALID_HANDLE || Handle is not valid.
8 ERROR_NOT_ENOUGH_MEMORY
|-
:Insufficient memory.
| 7 || ERROR_ARENA_TRASHED || Memory control blocks destroyed.
9 ERROR_INVALID_BLOCK
|-
:Memory-block address is not valid.
| 8 || ERROR_NOT_ENOUGH_MEMORY || Insufficient memory.
 
|-
10 ERROR_BAD_ENVIRONMENT
| 9 || ERROR_INVALID_BLOCK || Memory-block address is not valid.
:Environment is not valid.
|-
11 ERROR_BAD_FORMAT
| 10 || ERROR_BAD_ENVIRONMENT || Environment is not valid.
:Format is not valid.
|-
12 ERROR_INVALID_ACCESS
| 11 || ERROR_BAD_FORMAT || Format is not valid.
:Access code is not valid.
|-
13 ERROR_INVALID_DATA
| 12 || ERROR_INVALID_ACCESS || Access code is not valid.
:Data is not valid.
|-
14 Reserved.
| 13 || ERROR_INVALID_DATA || Data is not valid.
 
|-
15 ERROR_INVALID_DRIVE
| 14 || Reserved ||
:Drive is not valid.
|-
16 ERROR_CURRENT_DIRECTORY
| 15 || ERROR_INVALID_DRIVE || Drive is not valid.
:Attempting to remove current directory.
|-
17 ERROR_NOT_SAME_DEVICE
| 16 || ERROR_CURRENT_DIRECTORY || Attempting to remove current directory.
:Not same device.
|-
18 ERROR_NO_MORE_FILES
| 17 || ERROR_NOT_SAME_DEVICE || Not same device.
:No more files.
|-
19 ERROR_WRITE_PROTECT
| 18 || ERROR_NO_MORE_FILES || No more files.
:Attempt to write on write-protected diskette.
|-
 
| 19 || ERROR_WRITE_PROTECT || Attempt to write on write-protected diskette.
20 ERROR_BAD_UNIT
|-
:Unknown unit.
| 20 || ERROR_BAD_UNIT || Unknown unit.
21 ERROR_NOT_READY
|-
:Drive not ready.
| 21 || ERROR_NOT_READY || Drive not ready.
22 ERROR_BAD_COMMAND
|-
:Unknown command.
| 22 || ERROR_BAD_COMMAND || Unknown command.
23 ERROR_CRC
|-
:Data error - cyclic redundancy check.
| 23 || ERROR_CRC || Data error - cyclic redundancy check.
24 ERROR_BAD_LENGTH
|-
:Request structure length is not valid.
| 24 || ERROR_BAD_LENGTH || Request structure length is not valid.
25 ERROR_SEEK
|-
:Seek error.
| 25 || ERROR_SEEK || Seek error.
26 ERROR_NOT_DOS_DISK
|-
:Unknown media type.
| 26 || ERROR_NOT_DOS_DISK || Unknown media type.
27 ERROR_SECTOR_NOT_FOUND
|-
:Sector not found.
| 27 || ERROR_SECTOR_NOT_FOUND || Sector not found.
28 ERROR_OUT_OF_PAPER
|-
:Printer is out of paper.
| 28 || ERROR_OUT_OF_PAPER || Printer is out of paper.
29 ERROR_WRITE FAULT
|-
:Write fault.
| 29 || ERROR_WRITE FAULT || Write fault.
 
|-
30 ERROR_READ_FAULT
| 30 || ERROR_READ_FAULT || Read fault.
:Read fault.
|-
31 ERROR_GEN_FAILURE
| 31 || ERROR_GEN_FAILURE || General failure.<br />For DosGetShrSeg and DosGetNamedSharedMem, indicates that a segment's maximum reference count of 65535 has been exceeded.
:General failure.For DosGetShrSeg and DosGetNamedSharedMem, indicates that a segment's maximum reference count of 65535 has been exceeded.
|-
32 ERROR_SHARING_VIOLATION
| 32 || ERROR_SHARING_VIOLATION || Sharing violation.
:Sharing violation.
|-
33 ERROR_LOCK_VIOLATION
| 33 || ERROR_LOCK_VIOLATION || Lock violation.
:Lock violation.
|-
34 ERROR_WRONG_DISK
| 34 || ERROR_WRONG_DISK || Disk change is not valid.
:Disk change is not valid.
|-
35 ERROR_FCB_UNAVAILABLE
| 35 || ERROR_FCB_UNAVAILABLE || FCB unavailable.
:FCB unavailable.
|-
36 ERROR_SHARING_BUFFER_EXCEEDED
| 36 || ERROR_SHARING_BUFFER_EXCEEDED || Sharing buffer overflow.
:Sharing buffer overflow.
|-
37 ERROR_CODE_PAGE_MISMATCHED
| 37 || ERROR_CODE_PAGE_MISMATCHED || Code page does not match.
:Code page does not match.
|-
38 ERROR_HANDLE_EOF
| 38 || ERROR_HANDLE_EOF || End of file reached.
:End of file reached.
|-
39 ERROR_HANDLE_DISK_FULL
| 39 || ERROR_HANDLE_DISK_FULL || Disk is full.
:Disk is full.
|-
 
| 40 || Reserved ||
40-49 Reserved.
|-
   
| 41 || Reserved ||
50 ERROR_NOT_SUPPORTED
|-
:Network request not supported.
| 42 || Reserved ||
51 ERROR_REM_NOT_LIST
|-
:Remote network node is not online.
| 43 || Reserved ||
52 ERROR_DUP_NAME
|-
:Duplicate file name in network.
| 44 || Reserved ||
53 ERROR_BAD_NETPATH
|-
:Network path not found.
| 45 || Reserved ||
54 ERROR_NETWORK_BUSY
|-
:Network is busy.
| 46 || Reserved ||
55 ERROR_DEV_NOT_EXIST
|-
:Device is not installed in network.
| 47 || Reserved ||
56 ERROR_TOO_MANY_CMDS
|-
:Network command limit reached.
| 48 || Reserved ||
57 ERROR_ADAP_HDW_ERR
|-
:Network adapter hardware error.
| 49 || Reserved ||
58 ERROR_BAD_NET_RESP
|-
:Incorrect response in network.
| 50 || ERROR_NOT_SUPPORTED || Network request not supported.
59 ERROR_UNEXP_NET_ERR
|-
:Unexpected error in network.
| 51 || ERROR_REM_NOT_LIST || Remote network node is not online.
 
|-
60 ERROR_BAD_REM_ADAP
| 52 || ERROR_DUP_NAME || Duplicate file name in network.
:Remote network adapter error.
|-
61 ERROR_PRINTQ_FULL
| 53 || ERROR_BAD_NETPATH || Network path not found.
:Network printer queue is full.
|-
62 ERROR_NO_SPOOL_SPACE
| 54 || ERROR_NETWORK_BUSY || Network is busy.
:No space in print spool file.
|-
63 ERROR_PRINT_CANCELLED
| 55 || ERROR_DEV_NOT_EXIST || Device is not installed in network.
:Print spool file deleted.
|-
64 ERROR_NETNAME_DELETED
| 56 || ERROR_TOO_MANY_CMDS || Network command limit reached.
:Network name deleted.
|-
65 ERROR_NETWORK_ACCESS_DENIED
| 57 || ERROR_ADAP_HDW_ERR || Network adapter hardware error.
:Access to network denied.
|-
66 ERROR_BAD_DEV_TYPE
| 58 || ERROR_BAD_NET_RESP || Incorrect response in network.
:Device type for network is not valid.
|-
67 ERROR_BAD_NET_NAME
| 59 || ERROR_UNEXP_NET_ERR || Unexpected error in network.
:Networkn ame not found.
|-
68 ERROR_TOO_MANY_NAMES
| 60 || ERROR_BAD_REM_ADAP || Remote network adapter error.
:Network name limit exceeded.
|-
69 ERROR_TOO_MANY_SESS
| 61 || ERROR_PRINTQ_FULL || Network printer queue is full.
:Network session limit exceeded.
|-
 
| 62 || ERROR_NO_SPOOL_SPACE || No space in print spool file.
70 ERROR_SHARING_PAUSED
|-
:Temporary pause in network.
| 63 || ERROR_PRINT_CANCELLED || Print spool file deleted.
71 ERROR_REQ_NOT_ACCEP
|-
:Network request denied.
| 64 || ERROR_NETNAME_DELETED || Network name deleted.
72 ERROR_REDIR_PAUSED
|-
:Pause in network print disk redirection.
| 65 || ERROR_NETWORK_ACCESS_DENIED || Access to network denied.
73 ERROR_SBCS_ATT_WRITE_PROT
|-
:Attempted write on protected disk.
| 66 || ERROR_BAD_DEV_TYPE || Device type for network is not valid.
74 ERROR_SBCS_GENERAL_FAILURE
|-
:General failure,single-byte character set.
| 67 || ERROR_BAD_NET_NAME || Network name not found.
75 ERROR_XGA_OUT_MEMORY
|-
:XGA is out of memory.
| 68 || ERROR_TOO_MANY_NAMES || Network name limit exceeded.
76 - 79 Reserved.
|-
   
| 69 || ERROR_TOO_MANY_SESS || Network session limit exceeded.
80 ERROR_FILE_EXISTS
|-
:Fileexists.
| 70 || ERROR_SHARING_PAUSED || Temporary pause in network.
81 ERROR_DUP_FCB
|-
:Reserved.
| 71 || ERROR_REQ_NOT_ACCEP || Network request denied.
82 ERROR_CANNOT_MAKE
|-
:Cannot make directory entry.
| 72 || ERROR_REDIR_PAUSED || Pause in network print disk redirection.
83 ERROR_FAIL_I24
|-
:Failure on INT24.
| 73 || ERROR_SBCS_ATT_WRITE_PROT || Attempted write on protected disk.
84 ERROR_OUT_OF_STRUCTURES
|-
:Too many redirections.
| 74 || ERROR_SBCS_GENERAL_FAILURE || General failure, single-byte character set.
85 ERROR_ALREADY_ASSIGNED
|-
:Duplicatere direction.
| 75 || ERROR_XGA_OUT_MEMORY || XGA is out of memory.
86 ERROR_INVALID_PASSWORD
|-
:Password is not valid.
| 76 || Reserved ||
87 ERROR_INVALID_PARAMETER
|-
:Parameter is not valid.
| 77 || Reserved ||
88 ERROR_NET_WRITE_FAULT
|-
:Network device fault.
| 78 || Reserved ||
89 ERROR_NO_PROC_SLOTS
|-
:No process slots available.
| 79 || Reserved ||
 
|-
90 ERROR_NOT_FROZEN
| 80 || ERROR_FILE_EXISTS || File exists.
:System error.
|-
90 ERROR_SYS_COMP_NOT_LOADED
| 81 || ERROR_DUP_FCB || Reserved.
:System error.
|-
91 ERR_TSTOVFL
| 82 || ERROR_CANNOT_MAKE || Cannot make directory entry.
:Timer service table overflow.
|-
92 ERR_TSTDUP
| 83 || ERROR_FAIL_I24 || Failure on INT24.
:Timer service table duplicate.
|-
93 ERROR_NO_ITEMS
| 84 || ERROR_OUT_OF_STRUCTURES || Too many redirections.
:No items to work on.
|-
95 ERROR_INTERRUPT
| 85 || ERROR_ALREADY_ASSIGNED || Duplicate redirection.
:Interrupted system call.
|-
99 ERROR_DEVICE_IN_USE
| 86 || ERROR_INVALID_PASSWORD || Password is not valid.
:Device in use.
|-
| 87 || ERROR_INVALID_PARAMETER || Parameter is not valid.
|-
| 88 || ERROR_NET_WRITE_FAULT || Network device fault.
|-
| 89 || ERROR_NO_PROC_SLOTS || No process slots available.
|-
| 90 || ERROR_NOT_FROZEN || System error.
|-
| 90 || ERROR_SYS_COMP_NOT_LOADED || System error.
|-
| 91 || ERR_TSTOVFL || Timer service table overflow.
|-
| 92 || ERR_TSTDUP || Timer service table duplicate.
|-
| 93 || ERROR_NO_ITEMS || No items to work on.
|-
| 95 || ERROR_INTERRUPT || Interrupted system call.
|-
| 99 || ERROR_DEVICE_IN_USE || Device in use.
|}


==100 to 199==
==100 to 199==
100 ERROR_TOO_MANY_SEMAPHORES
{| class="wikitable"
:User/system open semaphore limit reached.  
! Code !! Name !! Description
101 ERROR_EXCL_SEM_ALREADY_OWNED
|-
:Exclusive semaphore already owned.  
| 100 || ERROR_TOO_MANY_SEMAPHORES || User/system open semaphore limit reached.
102 ERROR_SEM_IS_SET
|-
:DosCloseSem found semaphore set.  
| 101 || ERROR_EXCL_SEM_ALREADY_OWNED || Exclusive semaphore already owned.
103 ERROR_TOO_MANY_SEM_REQUESTS
|-
:Too many exclusive semaphore requests.  
| 102 || ERROR_SEM_IS_SET || DosCloseSem found semaphore set.
104 ERROR_INVALID_AT_INTERRUPT_TIME
|-
:Operation at interrupt time is not valid.  
| 103 || ERROR_TOO_MANY_SEM_REQUESTS || Too many exclusive semaphore requests.
105 ERROR_SEM_OWNER_DIED
|-
:Previous semaphore owner ended without freeing semaphore.  
| 104 || ERROR_INVALID_AT_INTERRUPT_TIME || Operation at interrupt time is not valid.
106 ERROR_SEM_USER_LIMIT
|-
:Semaphore limit exceeded.  
| 105 || ERROR_SEM_OWNER_DIED || Previous semaphore owner ended without freeing semaphore.
107 ERROR_DISK_CHANGE
|-
:Insert drive B disk into drive A.  
| 106 || ERROR_SEM_USER_LIMIT || Semaphore limit exceeded.
108 ERROR_DRIVE_LOCKED
|-
:Drive locked by another process.  
| 107 || ERROR_DISK_CHANGE || Insert drive B disk into drive A.
109 ERROR_BROKEN_PIPE
|-
:Write on pipe with no reader.  
| 108 || ERROR_DRIVE_LOCKED || Drive locked by another process.
 
|-
110 ERROR_OPEN_FAILED
| 109 || ERROR_BROKEN_PIPE || Write on pipe with no reader.
:Open/create failed due to explicit fail command.  
|-
111 ERROR_BUFFER_OVERFLOW
| 110 || ERROR_OPEN_FAILED || Open/create failed due to explicit fail command.
:Buffer passed to system call too small to hold return data.  
|-
112 ERROR_DISK_FULL
| 111 || ERROR_BUFFER_OVERFLOW || Buffer passed to system call too small to hold return data.
:Not enough space on the disk.  
|-
113 ERROR_NO_MORE_SEARCH_HANDLES
| 112 || ERROR_DISK_FULL || Not enough space on the disk.
:Cannot allocate another search structure and handle.  
|-
114 ERROR_INVALID_TARGET_HANDLE
| 113 || ERROR_NO_MORE_SEARCH_HANDLES || Cannot allocate another search structure and handle.
:Target handle in DosDupHandle is not valid.  
|-
115 ERROR_PROTECTION_VIOLATION
| 114 || ERROR_INVALID_TARGET_HANDLE || Target handle in DosDupHandle is not valid.
:User virtual address is not valid.  
|-
116 ERROR_VIOKBD_REQUEST
| 115 || ERROR_PROTECTION_VIOLATION || User virtual address is not valid.
:Error on display write or keyboard read.  
|-
117 ERROR_INVALID_CATEGORY
| 116 || ERROR_VIOKBD_REQUEST || Error on display write or keyboard read.
:Category for DevIOCtl not defined.  
|-
118 ERROR_INVALID_VERIFY_SWITCH
| 117 || ERROR_INVALID_CATEGORY || Category for DevIOCtl not defined.
:Value passed for verify flag is not valid.  
|-
119 ERROR_BAD_DRIVER_LEVEL
| 118 || ERROR_INVALID_VERIFY_SWITCH || Value passed for verify flag is not valid.
:Level four driver not found.  
|-
 
| 119 || ERROR_BAD_DRIVER_LEVEL || Level four driver not found.
120 ERROR_CALL_NOT_IMPLEMENTED
|-
:Function called is not valid.  
| 120 || ERROR_CALL_NOT_IMPLEMENTED || Function called is not valid.
121 ERROR_SEM_TIMEOUT
|-
:Time-out occurred from semaphore API function.  
| 121 || ERROR_SEM_TIMEOUT || Time-out occurred from semaphore API function.
122 ERROR_INSUFFICIENT_BUFFER
|-
:Data buffer too small.  
| 122 || ERROR_INSUFFICIENT_BUFFER || Data buffer too small.
123 ERROR_INVALID_NAME
|-
:Illegal character or file-system name is not valid.  
| 123 || ERROR_INVALID_NAME || Illegal character or file-system name is not valid.
124 ERROR_INVALID_LEVEL
|-
:Level for information retrieval or setting is not valid.  
| 124 || ERROR_INVALID_LEVEL || Level for information retrieval or setting is not valid.
125 ERROR_NO_VOLUME_LABEL
|-
:No volume label found with DosQueryFSInfo function.  
| 125 || ERROR_NO_VOLUME_LABEL || No volume label found with DosQueryFSInfo function.
126 ERROR_MOD_NOT_FOUND
|-
:Module handle not found with DosQueryProcAddr(), DosQueryModAddr().  
| 126 || ERROR_MOD_NOT_FOUND || Module handle not found with DosQueryProcAddr(), DosQueryModAddr().
127 ERROR_PROC_NOT_FOUND
|-
:Procedure address not found with DosQueryProcAddr().  
| 127 || ERROR_PROC_NOT_FOUND || Procedure address not found with DosQueryProcAddr().
128 ERROR_WAIT_NO_CHILDREN
|-
:DosWaitChild finds no children.  
| 128 || ERROR_WAIT_NO_CHILDREN || DosWaitChild finds no children.
129 ERROR_CHILD_NOT_COMPLETE
|-
:DosWaitChild children not ended.  
| 129 || ERROR_CHILD_NOT_COMPLETE || DosWaitChild children not ended.
 
|-
130 ERROR_DIRECT_ACCESS_HANDLE
| 130 || ERROR_DIRECT_ACCESS_HANDLE || Handle operation is not valid for direct disk-access handles.
:Handle operation is not valid for direct disk-access handles.  
|-
131 ERROR_NEGATIVE_SEEK
| 131 || ERROR_NEGATIVE_SEEK || Attempting seek to negative offset.
:Attempting seek to negative offset.  
|-
132 ERROR_SEEK_ON_DEVICE
| 132 || ERROR_SEEK_ON_DEVICE || Application trying to seek on device or pipe.
:Application trying to seek on device or pipe.  
|-
133 ERROR_IS_JOIN_TARGET
| 133 || ERROR_IS_JOIN_TARGET || Drive has previously joined drives.
:Drive has previously joined drives.  
|-
134 ERROR_IS_JOINED
| 134 || ERROR_IS_JOINED || Drive is already joined.
:Drive is already joined.  
|-
135 ERROR_IS_SUBSTED
| 135 || ERROR_IS_SUBSTED || Drive is already substituted.
:Drive is already substituted.  
|-
136 ERROR_NOT_JOINED
| 136 || ERROR_NOT_JOINED || Cannot delete drive that is not joined.
:Cannot delete drive that is not joined.  
|-
137 ERROR_NOT_SUBSTED
| 137 || ERROR_NOT_SUBSTED || Cannot delete drive that is not substituted.
:Cannot delete drive that is not substituted.  
|-
138 ERROR_JOIN_TO_JOIN
| 138 || ERROR_JOIN_TO_JOIN || Cannot join to a joined drive.
:Cannot join to a joined drive.  
|-
139 ERROR_SUBST_TO_SUBST
| 139 || ERROR_SUBST_TO_SUBST || Cannot substitute to a substituted drive.
:Cannot substitute to a substituted drive.  
|-
 
| 140 || ERROR_JOIN_TO_SUBST || Cannot join to a substituted drive.
140 ERROR_JOIN_TO_SUBST
|-
:Cannot join to a substituted drive.  
| 141 || ERROR_SUBST_TO_JOIN || Cannot substitute to a joined drive.
141 ERROR_SUBST_TO_JOIN
|-
:Cannot substitute to a joined drive.  
| 142 || ERROR_BUSY_DRIVE || Specified drive is busy.
142 ERROR_BUSY_DRIVE
|-
:Specified drive is busy.  
| 143 || ERROR_SAME_DRIVE || Cannot join or substitute a drive to a directory on the same drive.
143 ERROR_SAME_DRIVE
|-
:Cannot join or substitute a drive to a directory on the same drive.  
| 144 || ERROR_DIR_NOT_ROOT || Directory must be a subdirectory of the root.
144 ERROR_DIR_NOT_ROOT
|-
:Directory must be a subdirectory of the root.  
| 145 || ERROR_DIR_NOT_EMPTY || Directory must be empty to use join command.
145 ERROR_DIR_NOT_EMPTY
|-
:Directory must be empty to use join command.  
| 146 || ERROR_IS_SUBST_PATH || Path specified is being used in a substitute.
146 ERROR_IS_SUBST_PATH
|-
:Path specified is being used in a substitute.  
| 147 || ERROR_IS_JOIN_PATH || Path specified is being used in a join.
147 ERROR_IS_JOIN_PATH
|-
:Path specified is being used in a join.  
| 148 || ERROR_PATH_BUSY || Path specified is being used by another process.
148 ERROR_PATH_BUSY
|-
:Path specified is being used by another process.  
| 149 || ERROR_IS_SUBST_TARGET || Cannot join or substitute a drive that has a directory that is the target of a previous substitute.
149 ERROR_IS_SUBST_TARGET
|-
:Cannot join or substitute a drive that has a directory that is the target of a previous substitute.  
| 150 || ERROR_SYSTEM_TRACE || System trace error.
 
|-
150 ERROR_SYSTEM_TRACE
| 151 || ERROR_INVALID_EVENT_COUNT || DosWaitMuxWaitSem errors.
:System trace error.  
|-
151 ERROR_INVALID_EVENT_COUNT
| 152 || ERROR_TOO_MANY_MUXWAITERS || System limit of 100 entries reached.
:DosWaitMuxWaitSem errors.  
|-
152 ERROR_TOO_MANY_MUXWAITERS
| 153 || ERROR_INVALID_LIST_FORMAT || List format is not valid.
:System limit of 100 entries reached.  
|-
153 ERROR_INVALID_LIST_FORMAT
| 154 || ERROR_LABEL_TOO_LONG || Volume label too big.
:List format is not valid.  
|-
154 ERROR_LABEL_TOO_LONG
| 155 || ERROR_TOO_MANY_TCBS || Cannot create another TCB.
:Volume label too big.  
|-
155 ERROR_TOO_MANY_TCBS
| 156 || ERROR_SIGNAL_REFUSED || Signal refused.
:Cannot create another TCB.  
|-
156 ERROR_SIGNAL_REFUSED
| 157 || ERROR_DISCARDED || Segment is discarded.
:Signal refused.  
|-
157 ERROR_DISCARDED
| 158 || ERROR_NOT_LOCKED || Segment is not locked.
:Segment is discarded.  
|-
158 ERROR_NOT_LOCKED
| 159 || ERROR_BAD_THREADID_ADDR || Thread-identity address is not valid.
:Segment is not locked.  
|-
159 ERROR_BAD_THREADID_ADDR
| 160 || ERROR_BAD_ARGUMENTS || Environment pointer is not valid.
:Thread-identity address is not valid.  
|-
 
| 161 || ERROR_BAD_PATHNAME || Path name is not valid.
160 ERROR_BAD_ARGUMENTS
|-
:Environment pointer is not valid.  
| 162 || ERROR_SIGNAL_PENDING || Signal already pending.
161 ERROR_BAD_PATHNAME
|-
:Path name is not valid.  
| 163 || ERROR_UNCERTAIN_MEDIA || Error with INT 24 mapping.
162 ERROR_SIGNAL_PENDING
|-
:Signal already pending.  
| 164 || ERROR_MAX_THRDS_REACHED || No more process slots.
163 ERROR_UNCERTAIN_MEDIA
|-
:Error with INT 24 mapping.  
| 165 || ERROR_MONITORS_NOT_SUPPORTED || Error with INT 24 mapping.
164 ERROR_MAX_THRDS_REACHED
|-
:No more process slots.  
| 166 || ERROR_UNC_DRIVER_NOT_INSTALLED || Default redirection return code.
165 ERROR_MONITORS_NOT_SUPPORTED
|-
:Error with INT 24 mapping.  
| 167 || ERROR_LOCK_FAILED || Locking failed.
166 ERROR_UNC_DRIVER_NOT_INSTALLED
|-
:Default redirection return code.  
| 168 || ERROR_SWAPIO_FAILED || Swap I/O failed.
167 ERROR_LOCK_FAILED
|-
:Locking failed.  
| 169 || ERROR_SWAPIN_FAILED || Swap in failed.
168 ERROR_SWAPIO_FAILED
|-
:Swap I/O failed.  
| 170 || ERROR_BUSY || Segment is busy.
169 ERROR_SWAPIN_FAILED
|-
:Swap in failed.  
| 171 || Reserved ||
 
|-
170 ERROR_BUSY
| 172 || Reserved ||
:Segment is busy.  
|-
171-172 Reserved.
| 173 || ERROR_CANCEL_VIOLATION || A lock request is not outstanding for the specified file range, or the range length is zero.
 
|-
173 ERROR_CANCEL_VIOLATION
| 174 || ERROR_ATOMIC_LOCK_NOT_SUPPORTED || The file-system driver (FSD) does not support atomic lock operations. Versions of OS/2 prior to version 2.00 do not support atomic lock operations.
:A lock request is not outstanding for the specified file range, or the range length is zero.  
|-
174 ERROR_ATOMIC_LOCK_NOT_SUPPORTED
| 175 || ERROR_READ_LOCKS_NOT_SUPPORTED || The file system driver (FSD) does not support shared read locks.
:The file-system driver (FSD) does not support atomic lock operations. Versions of OS/2 prior to version 2.00 do not support atomic lock operations.  
|-
175 ERROR_READ_LOCKS_NOT_SUPPORTED
| 176 || Reserved ||
:The file system driver (FSD) does not support shared read locks.  
|-
176-179 Reserved.
| 177 || Reserved ||
 
|-
180 ERROR_INVALID_SEGMENT_NUMBER
| 178 || Reserved ||
:Segment number is not valid.  
|-
181 ERROR_INVALID_CALLGATE
| 179 || Reserved ||
:Call gate is not valid.
|-
182 ERROR_INVALID_ORDINAL
| 180 || ERROR_INVALID_SEGMENT_NUMBER || Segment number is not valid.
:Ordinal is not valid.
|-
183 ERROR_ALREADY_EXISTS
| 181 || ERROR_INVALID_CALLGATE || Call gate is not valid.
:Shared segment already exists.
|-
184 ERROR_NO_CHILD_PROCESS
| 182 || ERROR_INVALID_ORDINAL || Ordinal is not valid.
:No child process to wait for.
|-
185 ERROR_CHILD_ALIVE_NOWAIT
| 183 || ERROR_ALREADY_EXISTS || Shared segment already exists.
:No Wait specified and child alive.
|-
186 ERROR_INVALID_FLAG_NUMBER
| 184 || ERROR_NO_CHILD_PROCESS || No child process to wait for.
:Flag number is not valid.
|-
187 ERROR_SEM_NOT_FOUND
| 185 || ERROR_CHILD_ALIVE_NOWAIT || No Wait specified and child alive.
:Semaphore does not exist.
|-
188 ERROR_INVALID_STARTING_CODESEG
| 186 || ERROR_INVALID_FLAG_NUMBER || Flag number is not valid.
:Starting code segment is not valid, incorrect END ( label ) directive.
|-
189 ERROR_INVALID_STACKSEG
| 187 || ERROR_SEM_NOT_FOUND || Semaphore does not exist.
:Stack segment is not valid.
|-
 
| 188 || ERROR_INVALID_STARTING_CODESEG || Starting code segment is not valid, incorrect END ( label ) directive.
190 ERROR_INVALID_MODULETYPE
|-
:Module type is not valid - dynamic-link library file cannot be used as an application. Application cannot be used as a dynamic-link library.
| 189 || ERROR_INVALID_STACKSEG || Stack segment is not valid.
191 ERROR_INVALID_EXE_SIGNATURE
|-
:EXE signature is not valid - file is a DOS mode program or an improper program.
| 190 || ERROR_INVALID_MODULETYPE || Module type is not valid - dynamic-link library file cannot be used as an application. Application cannot be used as a dynamic-link library.
192 ERROR_EXE_MARKED_INVALID
|-
:EXE marked is not valid - link detected errors when the application was created.
| 191 || ERROR_INVALID_EXE_SIGNATURE || EXE signature is not valid - file is a DOS mode program or an improper program.
193 ERROR_BAD_EXE_FORMAT
|-
:EXE format not valid - file is a DOS mode program or an improper program.
| 192 || ERROR_EXE_MARKED_INVALID || EXE marked is not valid - link detected errors when the application was created.
194 ERROR_ITERATED_DATA_EXCEEDS_64k
|-
:Iterated data exceeds 64KB - there is more than 64KB of data in one of the segments of the file.
| 193 || ERROR_BAD_EXE_FORMAT || EXE format not valid - file is a DOS mode program or an improper program.
195 ERROR_INVALID_MINALLOCSIZE
|-
:Minimum allocation size is not valid - the size is specified to be less than the size of the segment data in the file.
| 194 || ERROR_ITERATED_DATA_EXCEEDS_64k || Iterated data exceeds 64KB - there is more than 64KB of data in one of the segments of the file.
196 ERROR_DYNLINK_FROM_INVALID_RING
|-
:Dynamic link from privilege level is not valid - privilege level 2 routine cannot link to dynamic-link libraries.
| 195 || ERROR_INVALID_MINALLOCSIZE || Minimum allocation size is not valid - the size is specified to be less than the size of the segment data in the file.
197 ERROR_IOPL_NOT_ENABLED
|-
:IOPL not enabled - IOPL set to NO in CONFIG.SYS.
| 196 || ERROR_DYNLINK_FROM_INVALID_RING || Dynamic link from privilege level is not valid - privilege level 2 routine cannot link to dynamic-link libraries.
198 ERROR_INVALID_SEGDPL
|-
:Segment descriptor privilege level is not valid - can only have privilege levels of 2 and 3.
| 197 || ERROR_IOPL_NOT_ENABLED || IOPL set to NO in CONFIG.SYS.
199 ERROR_AUTODATASEG_EXCEEDS_64k
|-
:Automatic data segment exceeds 64KB.
| 198 || ERROR_INVALID_SEGDPL || Segment descriptor privilege level is not valid - can only have privilege levels of 2 and 3.
|-
| 199 || ERROR_AUTODATASEG_EXCEEDS_64k || Automatic data segment exceeds 64KB.
|}


==200 to 299==
==200 to 299==
200 ERROR_RING2SEG_MUST_BE_MOVABLE
{| class="wikitable"
:Privilege level 2 segment must be movable.  
! Code !! Name !! Description
201 ERROR_RELOC_CHAIN_XEEDS_SEGLIM
|-
:Relocation chain exceeds segment limit.
| 200 || ERROR_RING2SEG_MUST_BE_MOVABLE || Privilege level 2 segment must be movable.
202 ERROR_INFLOOP_IN_RELOC_CHAIN
|-
:Infinite loop in relocation chain segment.
| 201 || ERROR_RELOC_CHAIN_XEEDS_SEGLIM || Relocation chain exceeds segment limit.
203 ERROR_ENVVAR_NOT_FOUND
|-
:Environment variable not found.
| 202 || ERROR_INFLOOP_IN_RELOC_CHAIN || Infinite loop in relocation chain segment.
204 ERROR_NOT_CURRENT_CTRY
|-
:Not current country.
| 203 || ERROR_ENVVAR_NOT_FOUND || Environment variable not found.
205 ERROR_NO_SIGNAL_SENT
|-
:No signal sent - no process in the command subtree has a signal handler.
| 204 || ERROR_NOT_CURRENT_CTRY || Not current country.
206 ERROR_FILENAME_EXCED_RANGE
|-
:File name or extension is greater than 8.3 characters.
| 205 || ERROR_NO_SIGNAL_SENT || No signal sent - no process in the command subtree has a signal handler.
207 ERROR_RING2_STACK_IN_USE
|-
:Privilege level 2 stack is in use.
| 206 || ERROR_FILENAME_EXCED_RANGE || File name or extension is greater than 8.3 characters.
208 ERROR_META_EXPANSION_TOO_LONG
|-
:Meta (global) expansion is too long.
| 207 || ERROR_RING2_STACK_IN_USE || Privilege level 2 stack is in use.
209 ERROR_INVALID_SIGNAL_NUMBER
|-
:Signal number is not valid.
| 208 || ERROR_META_EXPANSION_TOO_LONG || Meta (global) expansion is too long.
 
|-
210 ERROR_THREAD_1_INACTIVE
| 209 || ERROR_INVALID_SIGNAL_NUMBER || Signal number is not valid.
:Inactive thread.
|-
211 ERROR_INFO_NOT_AVAIL
| 210 || ERROR_THREAD_1_INACTIVE || Inactive thread.
:File system information is not available for this file.
|-
212 ERROR_LOCKED
| 211 || ERROR_INFO_NOT_AVAIL || File system information is not available for this file.
:Locked error.
|-
213 ERROR_BAD_DYNALINK
| 212 || ERROR_LOCKED || Locked error.
:Attempted to execute a non-family API in DOS mode.
|-
214 ERROR_TOO_MANY_MODULES
| 213 || ERROR_BAD_DYNALINK || Attempted to execute a non-family API in DOS mode.
:Too many modules.
|-
215 ERROR_NESTING_NOT_ALLOWED
| 214 || ERROR_TOO_MANY_MODULES || Too many modules.
:Nesting is not allowed.
|-
216 ERROR_CANNOT_SHRINK
| 215 || ERROR_NESTING_NOT_ALLOWED || Nesting is not allowed.
:System error.
|-
217 ERROR_ZOMBIE_PROCESS
| 216 || ERROR_CANNOT_SHRINK || System error.
:Zombie process.
|-
218 ERROR_STACK_IN_HIGH_MEMORY
| 217 || ERROR_ZOMBIE_PROCESS || Zombie process.
:Stack is in high memory.
|-
219 ERROR_INVALID_EXITROUTINE_RING
| 218 || ERROR_STACK_IN_HIGH_MEMORY || Stack is in high memory.
:Exit routine ring is not valid.
|-
 
| 219 || ERROR_INVALID_EXITROUTINE_RING || Exit routine ring is not valid.
220 ERROR_GETBUF_FAILED
|-
:Get buffer failed.
| 220 || ERROR_GETBUF_FAILED || Get buffer failed.
221 ERROR_FLUSHBUF_FAILED
|-
:Flush buffer failed.
| 221 || ERROR_FLUSHBUF_FAILED || Flush buffer failed.
222 ERROR_TRANSFER_TOO_LONG
|-
:Transfer is too long.
| 222 || ERROR_TRANSFER_TOO_LONG || Transfer is too long.
223 ERROR_FORCENOSWAP_FAILED
|-
:System error.
| 223 || ERROR_FORCENOSWAP_FAILED || System error.
224 ERROR_SMG_NO_TARGET_WINDOW
|-
:The application window was created without the FCF_TASKLIST style, or the application window not yet been created or has already been destroyed.
| 224 || ERROR_SMG_NO_TARGET_WINDOW || The application window was created without the FCF_TASKLIST style, or the application window not yet been created or has already been destroyed.
228 ERROR_NO_CHILDREN
|-
:No child process.
| 228 || ERROR_NO_CHILDREN || No child process.
229 ERROR_INVALID_SCREEN_GROUP
|-
:Session is not valid.
| 229 || ERROR_INVALID_SCREEN_GROUP || Session is not valid.
 
|-
230 ERROR_BAD_PIPE
| 230 || ERROR_BAD_PIPE || The pipe is non-existent pipe or the operation is not valid.
:The pipe is non-existent pipe or the operation is not valid.
|-
231 ERROR_PIPE_BUSY
| 231 || ERROR_PIPE_BUSY || Pipe is busy.
:Pipe is busy.
|-
232 ERROR_NO_DATA
| 232 || ERROR_NO_DATA || No data available on non-blocking read.
:No data available on non-blocking read.
|-
233 ERROR_PIPE_NOT_CONNECTED
| 233 || ERROR_PIPE_NOT_CONNECTED || Pipe was disconnected by server.
:Pipe was disconnected by server.
|-
234 ERROR_MORE_DATA
| 234 || ERROR_MORE_DATA || More data is available.
:More data is available.
|-
240 ERROR_VC_DISCONNECTED
| 240 || ERROR_VC_DISCONNECTED || Session was dropped due to errors.
:Session was dropped due to errors.
|-
 
| 250 || ERROR_CIRCULARITY_REQUESTED || Renaming a directory that would cause a circularity problem.
250 ERROR_CIRCULARITY_REQUESTED
|-
:Renaming a directory that would cause a circularity problem.
| 251 || ERROR_DIRECTORY_IN_CDS || Renaming a directory that is in use.
251 ERROR_DIRECTORY_IN_CDS
|-
:Renaming a directory that is in use.
| 252 || ERROR_INVALID_FSD_NAME || Trying to access an FSD that is not valid.
252 ERROR_INVALID_FSD_NAME
|-
:Trying to access an FSD that is not valid.
| 253 || ERROR_INVALID_PATH || Pseudo device is not valid.
253 ERROR_INVALID_PATH
|-
:Pseudo device is not valid.
| 254 || ERROR_INVALID_EA_NAME || Character in name or cbName is not valid.
254 ERROR_INVALID_EA_NAME
|-
:Character in name or cbName is not valid.
| 255 || ERROR_EA_LIST_INCONSISTENT || List does not match its size, or there are EAs that are not valid in the list.
255 ERROR_EA_LIST_INCONSISTENT
|-
:List does not match its size, or there are EAs that are not valid in the list.
| 256 || ERROR_EA_LIST_TOO_LONG || FEAList is longer than 64K-1 bytes.
256 ERROR_EA_LIST_TOO_LONG
|-
:FEAList is longer than 64K-1 bytes.
| 257 || ERROR_NO_META_MATCH || String does not match expression.
257 ERROR_NO_META_MATCH
|-
:String does not match expression.
| 258 || ERROR_FINDNOTIFY_TIMEOUT || System error.
258 ERROR_FINDNOTIFY_TIMEOUT
|-
:System error.
| 259 || ERROR_NO_MORE_ITEMS || DosQueryFSAttach ordinal query.
259 ERROR_NO_MORE_ITEMS
|-
:DosQueryFSAttach ordinal query.
| 260 || ERROR_SEARCH_STRUC_REUSED || DOS mode findfirst/next search structure reused.
 
|-
260 ERROR_SEARCH_STRUC_REUSED
| 261 || ERROR_CHAR_NOT_FOUND || Character not found.
:DOS mode findfirst/next search structure reused.
|-
261 ERROR_CHAR_NOT_FOUND
| 262 || ERROR_TOO_MUCH_STACK || Stack request exceeds system limit.
:Character not found.
|-
262 ERROR_TOO_MUCH_STACK
| 263 || ERROR_INVALID_ATTR || Attribute is not valid.
:Stack request exceeds system limit.
|-
263 ERROR_INVALID_ATTR
| 264 || ERROR_INVALID_STARTING_RING || Starting ring is not valid.
:Attribute is not valid.
|-
264 ERROR_INVALID_STARTING_RING
| 265 || ERROR_INVALID_DLL_INIT_RING || DLL INIT ring is not valid.
:Starting ring is not valid.
|-
265 ERROR_INVALID_DLL_INIT_RING
| 266 || ERROR_CANNOT_COPY || Cannot copy.
:DLL INIT ring is not valid.
|-
266 ERROR_CANNOT_COPY
| 267 || ERROR_DIRECTORY || Used by DOSCOPY in doscall1.
:Cannot copy.
|-
267 ERROR_DIRECTORY
| 268 || ERROR_OPLOCKED_FILE || Oplocked file.
:Used by DOSCOPY in doscall1.
|-
268 ERROR_OPLOCKED_FILE
| 269 || ERROR_OPLOCK_THREAD_EXISTS || Oplock thread exists.
:Oplocked file.
|-
269 ERROR_OPLOCK_THREAD_EXISTS
| 270 || ERROR_VOLUME_CHANGED || Volume changed.
:Oplock thread exists.
|-
 
| 271 || ERROR_FINDNOTIFY_HANDLE_IN_USE || Handle in use.
270 ERROR_VOLUME_CHANGED
|-
:Volume changed.
| 272 || ERROR_FINDNOTIFY_HANDLE_CLOSED || Handle closed.
271 ERROR_FINDNOTIFY_HANDLE_IN_USE
|-
:Handle in use.
| 273 || ERROR_NOTIFY_OBJECT_REMOVED || Object removed.
272 ERROR_FINDNOTIFY_HANDLE_CLOSED
|-
:Handle closed.
| 274 || ERROR_ALREADY_SHUTDOWN || System is already shut down.
273 ERROR_NOTIFY_OBJECT_REMOVED
|-
:Object removed.
| 275 || ERROR_EAS_DIDNT_FIT || Buffer is not big enough to hold the EAs.
274 ERROR_ALREADY_SHUTDOWN
|-
:System is already shut down.
| 276 || ERROR_EA_FILE_CORRUPT || EA file has been damaged.
275 ERROR_EAS_DIDNT_FIT
|-
:Buffer is not big enough to hold the EAs.
| 277 || ERROR_EA_TABLE_FULL || EA table is full.
276 ERROR_EA_FILE_CORRUPT
|-
:EA file has been damaged.
| 278 || ERROR_INVALID_EA_HANDLE || EA handle is not valid.
277 ERROR_EA_TABLE_FULL
|-
:EA table is full.
| 279 || ERROR_NO_CLUSTER || No cluster.
278 ERROR_INVALID_EA_HANDLE
|-
:EA handle is not valid.
| 280 || ERROR_CREATE_EA_FILE || Cannot create the EA file.
279 ERROR_NO_CLUSTER
|-
:No cluster.
| 281 || ERROR_CANNOT_OPEN_EA_FILE || Cannot open the EA file.
 
|-
280 ERROR_CREATE_EA_FILE
| 282 || ERROR_EAS_NOT_SUPPORTED || Destination file system does not support EAs.
:Cannot create the EA file.
|-
281 ERROR_CANNOT_OPEN_EA_FILE
| 283 || ERROR_NEED_EAS_FOUND || Destination file system does not support EAs, and the source file's EAs contain a need EA.
:Cannot open the EA file.
|-
282 ERROR_EAS_NOT_SUPPORTED
| 284 || ERROR_DUPLICATE_HANDLE || The handle already exists.
:Destination file system does not support EAs.
|-
283 ERROR_NEED_EAS_FOUND
| 285 || ERROR_DUPLICATE_NAME || The name already exists.
:Destination file system does not support EAs, and the source file's EAs contain a need EA.
|-
284 ERROR_DUPLICATE_HANDLE
| 286 || ERROR_EMPTY_MUXWAIT || The list of semaphores in a muxwait semaphore is empty.
:The handle already exists.
|-
285 ERROR_DUPLICATE_NAME
| 287 || ERROR_MUTEX_OWNED || The calling thread owns one or more of the mutex semaphores in the list.
:The name already exists.
|-
286 ERROR_EMPTY_MUXWAIT
| 288 || ERROR_NOT_OWNER || Caller does not own the semaphore.
:The list of semaphores in a muxwait semaphore is empty.
|-
287 ERROR_MUTEX_OWNED
| 289 || ERROR_PARAM_TOO_SMALL || Parameter is not large enough to contain all of the semaphore records in the muxwait semaphore.
:The calling thread owns one or more of the mutex semaphores in the list.
|-
288 ERROR_NOT_OWNER
| 290 || ERROR_TOO_MANY_HANDLES || Limit reached for number of handles.
:Caller does not own the semaphore.
|-
289 ERROR_PARAM_TOO_SMALL
| 291 || ERROR_TOO_MANY_OPENS || There are too many files or semaphores open.
:Parameter is not large enough to contain all of the semaphore records in the muxwait semaphore.
|-
 
| 292 || ERROR_WRONG_TYPE || Attempted to create wrong type of semaphore.
290 ERROR_TOO_MANY_HANDLES
|-
:Limit reached for number of handles.
| 293 || ERROR_UNUSED_CODE || Code is not used.
291 ERROR_TOO_MANY_OPENS
|-
:There are too many files or semaphores open.
| 294 || ERROR_THREAD_NOT_TERMINATED || Thread has not ended.
292 ERROR_WRONG_TYPE
|-
:Attempted to create wrong type of semaphore.
| 295 || ERROR_INIT_ROUTINE_FAILED || Initialization routine failed.
293 ERROR_UNUSED_CODE
|-
:Code is not used.
| 296 || ERROR_MODULE_IN_USE || Module is in use.
294 ERROR_THREAD_NOT_TERMINATED
|-
:Thread has not ended.
| 297 || ERROR_NOT_ENOUGH_WATCHPOINTS || There are not enough watchpoints.
295 ERROR_INIT_ROUTINE_FAILED
|-
:Initialization routine failed.
| 298 || ERROR_TOO_MANY_POSTS || Post count limit was reached for an event semaphore.
296 ERROR_MODULE_IN_USE
|-
:Module is in use.
| 299 || ERROR_ALREADY_POSTED || Event semaphore is already posted.
297 ERROR_NOT_ENOUGH_WATCHPOINTS
|}
:There are not enough watchpoints.
298 ERROR_TOO_MANY_POSTS
:Post count limit was reached for an event semaphore.
299 ERROR_ALREADY_POSTED
:Event semaphore is already posted.


==300 to 399==
==300 to 399==
300 ERROR_ALREADY_RESET
{| class="wikitable"
:Event semaphore is already reset.
! Code !! Name !! Description
301 ERROR_SEM_BUSY
|-
:Semaphore is busy.
| 300 || ERROR_ALREADY_RESET || Event semaphore is already reset.
302
|-
:Reserved
| 301 || ERROR_SEM_BUSY || Semaphore is busy.
303 ERROR_INVALID_PROCID
|-
:Process identity is not valid.
| 302 || Reserved ||
304 ERROR_INVALID_PDELTA
|-
:Priority delta is not valid.
| 303 || ERROR_INVALID_PROCID || Process identity is not valid.
305 ERROR_NOT_DESCENDANT
|-
:Not descendant.
| 304 || ERROR_INVALID_PDELTA || Priority delta is not valid.
306 ERROR_NOT_SESSION_MANAGER
|-
:Requestor not session manager.
| 305 || ERROR_NOT_DESCENDANT || Not descendant.
307 ERROR_INVALID_PCLASS
|-
:P class is not valid.
| 306 || ERROR_NOT_SESSION_MANAGER || Requestor not session manager.
308 ERROR_INVALID_SCOPE
|-
:Scope is not valid.
| 307 || ERROR_INVALID_PCLASS || P class is not valid.
309 ERROR_INVALID_THREADID
|-
:Thread identity is not valid.
| 308 || ERROR_INVALID_SCOPE || Scope is not valid.
 
|-
310 ERROR_DOSSUB_SHRINK
| 309 || ERROR_INVALID_THREADID || Thread identity is not valid.
:Cannot shrink segment - DosSubSetMem.
|-
311 ERROR_DOSSUB_NOMEM
| 310 || ERROR_DOSSUB_SHRINK || Cannot shrink segment - DosSubSetMem.
:No memory to satisfy request - DosSubAllocMem.
|-
312 ERROR_DOSSUB_OVERLAP
| 311 || ERROR_DOSSUB_NOMEM || No memory to satisfy request - DosSubAllocMem.
:Overlap of the specified block with a block of allocated memory - DosSubFreeMem.
|-
313 ERROR_DOSSUB_BADSIZE
| 312 || ERROR_DOSSUB_OVERLAP || Overlap of the specified block with a block of allocated memory - DosSubFreeMem.
:Size parameter is not valid - DosSubAllocMem or DosSubFreeMem.
|-
314 ERROR_DOSSUB_BADFLAG
| 313 || ERROR_DOSSUB_BADSIZE || Size parameter is not valid - DosSubAllocMem or DosSubFreeMem.
:Flag parameter is not valid - DosSubSetMem.
|-
315 ERROR_DOSSUB_BADSELECTOR
| 314 || ERROR_DOSSUB_BADFLAG || Flag parameter is not valid - DosSubSetMem.
:Segment selector is not valid.
|-
316 ERROR_MR_MSG_TOO_LONG
| 315 || ERROR_DOSSUB_BADSELECTOR || Segment selector is not valid.
:Message too long for buffer.
|-
317 ERROR_MR_MID_NOT_FOUND
| 316 || ERROR_MR_MSG_TOO_LONG || Message too long for buffer.
:Message identity number not found.
|-
318 ERROR_MR_UN_ACC_MSGF
| 317 || ERROR_MR_MID_NOT_FOUND || Message identity number not found.
:Unable to access message file.
|-
319 ERROR_MR_INV_MSGF_FORMAT
| 318 || ERROR_MR_UN_ACC_MSGF || Unable to access message file.
:Message file format is not valid.
|-
 
| 319 || ERROR_MR_INV_MSGF_FORMAT || Message file format is not valid.
320 ERROR_MR_INV_IVCOUNT
|-
:Insertion variable count is not valid.
| 320 || ERROR_MR_INV_IVCOUNT || Insertion variable count is not valid.
321 ERROR_MR_UN_PERFORM
|-
:Unable to perform function.
| 321 || ERROR_MR_UN_PERFORM || Unable to perform function.
322 ERROR_TS_WAKEUP
|-
:Unable to wake up.
| 322 || ERROR_TS_WAKEUP || Unable to wake up.
323 ERROR_TS_SEMHANDLE
|-
:System semaphore is not valid.
| 323 || ERROR_TS_SEMHANDLE || System semaphore is not valid.
324 ERROR_TS_NOTIMER
|-
:No timers available.
| 324 || ERROR_TS_NOTIMER || No timers available.
326 ERROR_TS_HANDLE
|-
:Timer handle is not valid.
| 326 || ERROR_TS_HANDLE || Timer handle is not valid.
327 ERROR_TS_DATETIME
|-
:Date or time is not valid.
| 327 || ERROR_TS_DATETIME || Date or time is not valid.
328 ERROR_SYS_INTERNAL
|-
:Internal system error.
| 328 || ERROR_SYS_INTERNAL || Internal system error.
329 ERROR_QUE_CURRENT_NAME
|-
:Current queue name does not exist.
| 329 || ERROR_QUE_CURRENT_NAME || Current queue name does not exist.
 
|-
330 ERROR_QUE_PROC_NOT_OWNED
| 330 || ERROR_QUE_PROC_NOT_OWNED || Current process does not own queue.
:Current process does not own queue.
|-
331 ERROR_QUE_PROC_OWNED
| 331 || ERROR_QUE_PROC_OWNED || Current process owns queue.
:Current process owns queue.
|-
332 ERROR_QUE_DUPLICATE
| 332 || ERROR_QUE_DUPLICATE || Duplicate queue name.
:Duplicate queue name.
|-
333 ERROR_QUE_ELEMENT_NOT_EXIST
| 333 || ERROR_QUE_ELEMENT_NOT_EXIST || Queue element does not exist.
:Queue element does not exist.
|-
334 ERROR_QUE_NO_MEMORY
| 334 || ERROR_QUE_NO_MEMORY || Inadequate queue memory.<br />For DosOpenQueue, DosCreateQueue, and DosWriteQueue, the following applies:<br />These calls use a system-wide pool of memory. Every DosOpenQueue and DosCreateQueue uses up 34 bytes of memory, which is freed on close. Every DosWriteQueue uses 24 bytes of memory, which is freed on read. If too many elements are written to queues, further opens, creates, reads, or writes fail with this error code.
:Inadequate queue memory.
|-
:For DosOpenQueue, DosCreateQueue, and DosWriteQueue, the following applies: These calls use a system-wide pool of memory.Every DosOpenQueue and DosCreateQueue uses up 34 bytes of memory, which is freed on close.Every DosWriteQueue uses 24 bytes of memory, which is freed on read.If too many elements are written to queues, further opens, creates, reads, or writes fail with this error code.
| 335 || ERROR_QUE_INVALID_NAME || Queue name is not valid.
335 ERROR_QUE_INVALID_NAME
|-
:Queue name is not valid.
| 336 || ERROR_QUE_INVALID_PRIORITY || Queue priority parameter is not valid.
336 ERROR_QUE_INVALID_PRIORITY
|-
:Queue priority parameter is not valid.
| 337 || ERROR_QUE_INVALID_HANDLE || Queue handle is not valid.
337 ERROR_QUE_INVALID_HANDLE
|-
:Queue handle is not valid.
| 338 || ERROR_QUE_LINK_NOT_FOUND || Queue link not found.
338 ERROR_QUE_LINK_NOT_FOUND
|-
:Queue link not found.
| 339 || ERROR_QUE_MEMORY_ERROR || Queue memory error.
339 ERROR_QUE_MEMORY_ERROR
|-
:Queue memory error.
| 340 || ERROR_QUE_PREV_AT_END || Previous queue element was at end of queue.
 
|-
340 ERROR_QUE_PREV_AT_END
| 341 || ERROR_QUE_PROC_NO_ACCESS || Process does not have access to queues.
:Previous queue element was at end of queue.
|-
341 ERROR_QUE_PROC_NO_ACCESS
| 342 || ERROR_QUE_EMPTY || Queue is empty.
:Process does not have access to queues.
|-
342 ERROR_QUE_EMPTY
| 343 || ERROR_QUE_NAME_NOT_EXIST || Queue name does not exist.
:Queue is empty.
|-
343 ERROR_QUE_NAME_NOT_EXIST
| 344 || ERROR_QUE_NOT_INITIALIZED || Queues not initialized.
:Queue name does not exist.
|-
344 ERROR_QUE_NOT_INITIALIZED
| 345 || ERROR_QUE_UNABLE_TO_ACCESS || Unable to access queues.
:Queues not initialized.
|-
345 ERROR_QUE_UNABLE_TO_ACCESS
| 346 || ERROR_QUE_UNABLE_TO_ADD || Unable to add new queue.
:Unable to access queues.
|-
346 ERROR_QUE_UNABLE_TO_ADD
| 347 || ERROR_QUE_UNABLE_TO_INIT || Unable to initialize queues.
:Unable to add new queue.
|-
347 ERROR_QUE_UNABLE_TO_INIT
| 349 || ERROR_VIO_INVALID_MASK || Function replace is not valid.
:Unable to initialize queues.
|-
349 ERROR_VIO_INVALID_MASK
| 350 || ERROR_VIO_PTR || Pointer to parameter is not valid.
:Function replaced is not valid.
|-
 
| 351 || ERROR_VIO_APTR || Pointer to attribute is not valid.
350 ERROR_VIO_PTR
|-
:Pointer to parameter is not valid.
| 352 || ERROR_VIO_RPTR || Pointer to row is not valid.
351 ERROR_VIO_APTR
|-
:Pointer to attribute is not valid.
| 353 || ERROR_VIO_CPTR || Pointer to column is not valid.
352 ERROR_VIO_RPTR
|-
:Pointer to row is not valid.
| 354 || ERROR_VIO_LPTR || Pointer to length is not valid.
353 ERROR_VIO_CPTR
|-
:Pointer to column is not valid.
| 355 || ERROR_VIO_MODE || Unsupported screen mode.
354 ERROR_VIO_LPTR
|-
:Pointer to length is not valid.
| 356 || ERROR_VIO_WIDTH || Cursor width value is not valid.
355 ERROR_VIO_MODE
|-
:Unsupported screenmode.
| 357 || ERROR_VIO_ATTR || Cursor attribute value is not valid.
356 ERROR_VIO_WIDTH
|-
:Cursor width value is not valid.
| 358 || ERROR_VIO_ROW || Row value is not valid.
357 ERROR_VIO_ATTR
|-
:Cursor attribute value is not valid.
| 359 || ERROR_VIO_COL || Column value is not valid.
358 ERROR_VIO_ROW
|-
:Row value is not valid.
| 360 || ERROR_VIO_TOPROW || Top Row value is not valid.
359 ERROR_VIO_COL
|-
:Column value is not valid.
| 361 || ERROR_VIO_BOTROW || Bot Row value is not valid.
 
|-
360 ERROR_VIO_TOPROW
| 362 || ERROR_VIO_RIGHTCOL || Right column value is not valid.
:TopRow value is not valid.
|-
361 ERROR_VIO_BOTROW
| 363 || ERROR_VIO_LEFTCOL || Left column value is not valid.
:BotRow value is not valid.
|-
362 ERROR_VIO_RIGHTCOL
| 364 || ERROR_SCS_CALL || Call issued by other than session manager.
:Right column value is not valid.
|-
363 ERROR_VIO_LEFTCOL
| 365 || ERROR_SCS_VALUE || Value is not for save or restore.
:Left column value is not valid.
|-
364 ERROR_SCS_CALL
| 366 || ERROR_VIO_WAIT_FLAG || Wait flag setting is not valid.
:Call is sued by other than session manager.
|-
365 ERROR_SCS_VALUE
| 367 || ERROR_VIO_UNLOCK || Screen not previously locked.
:Value is not for save or restore.
|-
366 ERROR_VIO_WAIT_FLAG
| 368 || ERROR_SGS_NOT_SESSION_MGR || Caller not session manager.
:Wait flag setting is not valid.
|-
367 ERROR_VIO_UNLOCK
| 369 || ERROR_SMG_INVALID_SGID || Session identity is not valid.
:Screen not previously locked.
|-
368 ERROR_SGS_NOT_SESSION_MGR
| 369 || ERROR_SMG_INVALID_SESSION_ID || Session ID is not valid.
:Caller not session manager.
|-
369 ERROR_SMG_INVALID_SGID
| 370 || ERROR_SMG_NOSG || No sessions available.
:Session identity is not valid.
|-
369 ERROR_SMG_INVALID_SESSION_ID
| 370 || ERROR_SMG_NO_SESSIONS || No sessions available.
:SessionID is not valid.
|-
 
| 371 || ERROR_SMG_GRP_NOT_FOUND || Session not found.
370 ERROR_SMG_NOSG
|-
:No sessions available.
| 371 || ERROR_SMG_SESSION_NOT_FOUND || Session not found.
370 ERROR_SMG_NO_SESSIONS
|-
:No sessions available.
| 372 || ERROR_SMG_SET_TITLE || Title sent by shell or parent cannot be changed.
371 ERROR_SMG_GRP_NOT_FOUND
|-
:Session not found.
| 373 || ERROR_KBD_PARAMETER || Parameter to keyboard is not valid.
371 ERROR_SMG_SESSION_NOT_FOUND
|-
:Session not found.
| 374 || ERROR_KBD_NO_DEVICE || No device.
372 ERROR_SMG_SET_TITLE
|-
:Title sent by shell or parent cannot be changed.
| 375 || ERROR_KBD_INVALID_IOWAIT || I/O wait specified is not valid.
373 ERROR_KBD_PARAMETER
|-
:Parameter to keyboard is not valid.
| 376 || ERROR_KBD_INVALID_LENGTH || Length for keyboard is not valid.
374 ERROR_KBD_NO_DEVICE
|-
:No device.
| 377 || ERROR_KBD_INVALID_ECHO_MASK || Echo mode mask is not valid.
375 ERROR_KBD_INVALID_IOWAIT
|-
:I/O wait specified is not valid.
| 378 || ERROR_KBD_INVALID_INPUT_MASK || Input mode mask is not valid.
376 ERROR_KBD_INVALID_LENGTH
|-
:Length for keyboard is not valid.
| 379 || ERROR_MON_INVALID_PARMS || One or more parameters to DosMon is not valid.
377 ERROR_KBD_INVALID_ECHO_MASK
|-
:Echo mode mask is not valid.
| 380 || ERROR_MON_INVALID_DEVNAME || Device name string is not valid.
378 ERROR_KBD_INVALID_INPUT_MASK
|-
:Input mode mask is not valid.
| 381 || ERROR_MON_INVALID_HANDLE || Device handle is not valid.
379 ERROR_MON_INVALID_PARMS
|-
:One or more parameters to DosMon is not valid.
| 382 || ERROR_MON_BUFFER_TOO_SMALL || Buffer too small.
 
|-
380 ERROR_MON_INVALID_DEVNAME
| 383 || ERROR_MON_BUFFER_EMPTY || Buffer is empty.
:Device name string is not valid.
|-
381 ERROR_MON_INVALID_HANDLE
| 384 || ERROR_MON_DATA_TOO_LARGE || Data record is too large.
:Device handle is not valid.
|-
382 ERROR_MON_BUFFER_TOO_SMALL
| 385 || ERROR_MOUSE_NO_DEVICE || Mouse device closed; the device handle is not valid.
:Buffer too small.
|-
383 ERROR_MON_BUFFER_EMPTY
| 386 || ERROR_MOUSE_INV_HANDLE || Mouse device closed; the device handle is not valid.
:Buffer is empty.
|-
384 ERROR_MON_DATA_TOO_LARGE
| 387 || ERROR_MOUSE_INV_PARMS || Parameters for display mode are not valid.
:Data record is too large.
|-
385 ERROR_MOUSE_NO_DEVICE
| 388 || ERROR_MOUSE_CANT_RESET || Function assigned and cannot be reset.
:Mouse device closed; the device handle is not valid.
|-
386 ERROR_MOUSE_INV_HANDLE
| 389 || ERROR_MOUSE_DISPLAY_PARMS || Parameters for display mode are not valid.
:Mouse device closed; the device handle is not valid.
|-
387 ERROR_MOUSE_INV_PARMS
| 390 || ERROR_MOUSE_INV_MODULE || Module not valid.
:Parameters for display mode are not valid.
|-
388 ERROR_MOUSE_CANT_RESET
| 391 || ERROR_MOUSE_INV_ENTRY_PT || Entry point not valid.
:Function assigned and cannot be reset.
|-
389 ERROR_MOUSE_DISPLAY_PARMS
| 392 || ERROR_MOUSE_INV_MASK || Function mask is not valid.
:Parameters for display mode are not valid.
|-
 
| 393 || NO_ERROR_MOUSE_NO_DATA || No valid data.
390 ERROR_MOUSE_INV_MODULE
|-
:Module not valid.
| 394 || NO_ERROR_MOUSE_PTR_DRAWN || Pointer drawn.
391 ERROR_MOUSE_INV_ENTRY_PT
|-
:Entry point not valid.
| 395 || ERROR_INVALID_FREQUENCY || Frequency for beep is not valid.
392 ERROR_MOUSE_INV_MASK
|-
:Function mask is not valid.
| 396 || ERROR_NLS_NO_COUNTRY_FILE || Cannot find COUNTRY.SYS file.
393 NO_ERROR_MOUSE_NO_DATA
|-
:No valid data.
| 397 || ERROR_NLS_OPEN_FAILED || Cannot open COUNTRY.SYS file.
394 NO_ERROR_MOUSE_PTR_DRAWN
|-
:Pointer drawn.
| 398 || ERROR_NLS_NO_CTRY_CODE || Country code not found.
395 ERROR_INVALID_FREQUENCY
|-
:Frequency for beep is not valid.
| 398 || ERROR_NO_COUNTRY_OR_CODEPAGE || Country code not found.
396 ERROR_NLS_NO_COUNTRY_FILE
|-
:Cannot find COUNTRY.SYS file.
| 399 || ERROR_NLS_TABLE_TRUNCATED || Table returned information truncated, buffer is too small.
397 ERROR_NLS_OPEN_FAILED
|}
:Cannot open COUNTRY.SYS file.
398 ERROR_NLS_NO_CTRY_CODE
:Country code not found.
398 ERROR_NO_COUNTRY_OR_CODEPAGE
:Country code not found.
399 ERROR_NLS_TABLE_TRUNCATED
:Table returned information truncated, buffer is too small.


==400 to 499==
==400 to 499==
400 ERROR_NLS_BAD_TYPE
{| class="wikitable"
:Selected type does not exist.
! Code !! Name !! Description
401 ERROR_NLS_TYPE_NOT_FOUND
|-
:Selected type is not in file.
| 400 || ERROR_NLS_BAD_TYPE || Selected type does not exist.
402 ERROR_VIO_SMG_ONLY
|-
:Valid from session manager only.
| 401 || ERROR_NLS_TYPE_NOT_FOUND || Selected type is not in file.
403 ERROR_VIO_INVALID_ASCIIZ
|-
:ASCIIZ length is not valid.
| 402 || ERROR_VIO_SMG_ONLY || Valid from session manager only.
404 ERROR_VIO_DEREGISTER
|-
:VioDeRegister not allowed.
| 403 || ERROR_VIO_INVALID_ASCIIZ || ASCIIZ length is not valid.
405 ERROR_VIO_NO_POPUP
|-
:Pop-up window not allocated.
| 404 || ERROR_VIO_DEREGISTER || VioDeRegister not allowed.
406 ERROR_VIO_EXISTING_POPUP
|-
:Pop-up window on screen (NoWait).
| 405 || ERROR_VIO_NO_POPUP || Pop-up window not allocated.
407 ERROR_KBD_SMG_ONLY
|-
:Valid from session manager only.
| 406 || ERROR_VIO_EXISTING_POPUP || Pop-up window on screen (NoWait).
408 ERROR_KBD_INVALID_ASCIIZ
|-
:ASCIIZ length is not valid.
| 407 || ERROR_KBD_SMG_ONLY || Valid from session manager only.
409 ERROR_KBD_INVALID_MASK
|-
:Replacement mask is not valid.
| 408 || ERROR_KBD_INVALID_ASCIIZ || ASCIIZ length is not valid.
 
|-
410 ERROR_KBD_REGISTER
| 409 || ERROR_KBD_INVALID_MASK || Replacement mask is not valid.
:KbdRegister not allowed.
|-
411 ERROR_KBD_DEREGISTER
| 410 || ERROR_KBD_REGISTER || KbdRegister not allowed.
:KbdDeRegister not allowed.
|-
412 ERROR_MOUSE_SMG_ONLY
| 411 || ERROR_KBD_DEREGISTER || KbdDeRegister not allowed.
:Valid from session manager only.
|-
413 ERROR_MOUSE_INVALID_ASCIIZ
| 412 || ERROR_MOUSE_SMG_ONLY || Valid from session manager only.
:ASCIIZ length is not valid.
|-
414 ERROR_MOUSE_INVALID_MASK
| 413 || ERROR_MOUSE_INVALID_ASCIIZ || ASCIIZ length is not valid.
:Replacement mask is not valid.
|-
415 ERROR_MOUSE_REGISTER
| 414 || ERROR_MOUSE_INVALID_MASK || Replacement mask is not valid.
:Mouse register not allowed.
|-
416 ERROR_MOUSE_DEREGISTER
| 415 || ERROR_MOUSE_REGISTER || Mouse register not allowed.
:Mouse deregister not allowed.
|-
417 ERROR_SMG_BAD_ACTION
| 416 || ERROR_MOUSE_DEREGISTER || Mouse deregister not allowed.
:Action specified is not valid.
|-
418 ERROR_SMG_INVALID_CALL
| 417 || ERROR_SMG_BAD_ACTION || Action specified is not valid.
:INIT called more than once, or the session identity is not valid.
|-
419 ERROR_SCS_SG_NOTFOUND
| 418 || ERROR_SMG_INVALID_CALL || INIT called more than once, or the session identity is not valid.
:New session number.
|-
 
| 419 || ERROR_SCS_SG_NOTFOUND || New session number.
420 ERROR_SCS_NOT_SHELL
|-
:Caller is not shell.
| 420 || ERROR_SCS_NOT_SHELL || Caller is not shell.
421 ERROR_VIO_INVALID_PARMS
|-
:Parameters passed are not valid.
| 421 || ERROR_VIO_INVALID_PARMS || Parameters passed are not valid.
422 ERROR_VIO_FUNCTION_OWNED
|-
:Save/restore already owned.
| 422 || ERROR_VIO_FUNCTION_OWNED || Save/restore already owned.
423 ERROR_VIO_RETURN
|-
:Non-destruct return (undo).
| 423 || ERROR_VIO_RETURN || Non-destruct return (undo).
424 ERROR_SCS_INVALID_FUNCTION
|-
:Caller function is not valid.
| 424 || ERROR_SCS_INVALID_FUNCTION || Caller function is not valid.
425 ERROR_SCS_NOT_SESSION_MGR
|-
:Caller not session manager.
| 425 || ERROR_SCS_NOT_SESSION_MGR || Caller not session manager.
426 ERROR_VIO_REGISTER
|-
:Vio register not allowed.
| 426 || ERROR_VIO_REGISTER || Vio register not allowed.
427 ERROR_VIO_NO_MODE_THREAD
|-
:No mode restore thread in SG.
| 427 || ERROR_VIO_NO_MODE_THREAD || No mode restore thread in SG.
428 ERROR_VIO_NO_SAVE_RESTORE_THD
|-
:No save/restore thread in SG.
| 428 || ERROR_VIO_NO_SAVE_RESTORE_THD || No save/restore thread in SG.
429 ERROR_VIO_IN_BG
|-
:Function in background is not valid.
| 429 || ERROR_VIO_IN_BG || Function in background is not valid.
 
|-
430 ERROR_VIO_ILLEGAL_DURING_POPUP
| 430 || ERROR_VIO_ILLEGAL_DURING_POPUP || Function not allowed during pop-up window.
:Function not allowed during pop-up window.
|-
431 ERROR_SMG_NOT_BASESHELL
| 431 || ERROR_SMG_NOT_BASESHELL || Caller is not the base shell.
:Caller is not the base shell.
|-
432 ERROR_SMG_BAD_STATUSREQ
| 432 || ERROR_SMG_BAD_STATUSREQ || Status requested is not valid.
:Status requested is not valid.
|-
433 ERROR_QUE_INVALID_WAIT
| 433 || ERROR_QUE_INVALID_WAIT || NoWait parameter out of bounds.
:NoWait parameter out of bounds.
|-
434 ERROR_VIO_LOCK
| 434 || ERROR_VIO_LOCK || Error returned from Scroll Lock.
:Error returned from Scroll Lock.
|-
435 ERROR_MOUSE_INVALID_IOWAIT
| 435 || ERROR_MOUSE_INVALID_IOWAIT || Parameters for IOWait are not valid.
:Parameters for IOWait are not valid.
|-
436 ERROR_VIO_INVALID_HANDLE
| 436 || ERROR_VIO_INVALID_HANDLE || VIO handle is not valid.
:VIO handle is not valid.
|-
437 ERROR_VIO_ILLEGAL_DURING_LOCK
| 437 || ERROR_VIO_ILLEGAL_DURING_LOCK || Function not allowed during screen lock.
:Function not allowed during screen lock.
|-
438 ERROR_VIO_INVALID_LENGTH
| 438 || ERROR_VIO_INVALID_LENGTH || VIO length is not valid.
:VIO length is not valid.
|-
439 ERROR_KBD_INVALID_HANDLE
| 439 || ERROR_KBD_INVALID_HANDLE || KBD handle is not valid.
:KBD handle is not valid.
|-
 
| 440 || ERROR_KBD_NO_MORE_HANDLE || Ran out of handles.
440 ERROR_KBD_NO_MORE_HANDLE
|-
:Ran out of handles.
| 441 || ERROR_KBD_CANNOT_CREATE_KCB || Unable to create kcb.
441 ERROR_KBD_CANNOT_CREATE_KCB
|-
:Unable to create kcb.
| 442 || ERROR_KBD_CODEPAGE_LOAD_INCOMPL || Unsuccessful code-page load.
442 ERROR_KBD_CODEPAGE_LOAD_INCOMPL
|-
:Unsuccessful code-page load.
| 443 || ERROR_KBD_INVALID_CODEPAGE_ID || Code page identity is not valid.
443 ERROR_KBD_INVALID_CODEPAGE_ID
|-
:Code page identity is not valid.
| 444 || ERROR_KBD_NO_CODEPAGE_SUPPORT || No code page support.
444 ERROR_KBD_NO_CODEPAGE_SUPPORT
|-
:No code page support.
| 445 || ERROR_KBD_FOCUS_REQUIRED || Keyboard focus required.
445 ERROR_KBD_FOCUS_REQUIRED
|-
:Keyboard focus required.
| 446 || ERROR_KBD_FOCUS_ALREADY_ACTIVE || Calling thread has an outstanding focus.
446 ERROR_KBD_FOCUS_ALREADY_ACTIVE
|-
:Calling thread has an outstanding focus.
| 447 || ERROR_KBD_KEYBOARD_BUSY || Keyboard is busy.
447 ERROR_KBD_KEYBOARD_BUSY
|-
:Keyboard is busy.
| 448 || ERROR_KBD_INVALID_CODEPAGE || Code page is not valid.
448 ERROR_KBD_INVALID_CODEPAGE
|-
:Code page is not valid.
| 449 || ERROR_KBD_UNABLE_TO_FOCUS || Focus attempt failed.
449 ERROR_KBD_UNABLE_TO_FOCUS
|-
:Focus attempt failed.
| 450 || ERROR_SMG_SESSION_NON_SELECT || Session is not selectable.
 
|-
450 ERROR_SMG_SESSION_NON_SELECT
| 451 || ERROR_SMG_SESSION_NOT_FOREGRND || Parent / child session is not foreground.
:Session is not selectable.
|-
451 ERROR_SMG_SESSION_NOT_FOREGRND
| 452 || ERROR_SMG_SESSION_NOT_PARENT || Not parent of requested child.
:Parent/child session is not foreground.
|-
452 ERROR_SMG_SESSION_NOT_PARENT
| 453 || ERROR_SMG_INVALID_START_MODE || Session start mode is not valid.
:Not parent of requested child.
|-
453 ERROR_SMG_INVALID_START_MODE
| 454 || ERROR_SMG_INVALID_RELATED_OPT || Session start related option is not valid.
:Sessionstartmodeisnotvalid.
|-
454 ERROR_SMG_INVALID_RELATED_OPT
| 455 || ERROR_SMG_INVALID_BOND_OPTION || Session bond option is not valid.
:Sessionstartrelatedoptionisnotvalid.
|-
455 ERROR_SMG_INVALID_BOND_OPTION
| 456 || ERROR_SMG_INVALID_SELECT_OPT || Session select option is not valid.
:Sessionbondoptionisnotvalid.
|-
456 ERROR_SMG_INVALID_SELECT_OPT
| 457 || ERROR_SMG_START_IN_BACKGROUND || Session started in background.
:Sessionselectoptionisnotvalid.
|-
457 ERROR_SMG_START_IN_BACKGROUND
| 458 || ERROR_SMG_INVALID_STOP_OPTION || Session stop option is not valid.
:Sessionstartedinbackground.
|-
458 ERROR_SMG_INVALID_STOP_OPTION
| 459 || ERROR_SMG_BAD_RESERVE || Reserved parameters are not zero.
:Sessionstopoptionisnotvalid.
|-
459 ERROR_SMG_BAD_RESERVE
| 460 || ERROR_SMG_PROCESS_NOT_PARENT || Session parent process already exists.
:Reservedparametersarenotzero.
|-
 
| 461 || ERROR_SMG_INVALID_DATA_LENGTH || Data length is not valid.
460 ERROR_SMG_PROCESS_NOT_PARENT
|-
:Sessionparentprocessalreadyexists.
| 462 || ERROR_SMG_NOT_BOUND || Parent is not bound.
461 ERROR_SMG_INVALID_DATA_LENGTH
|-
:Datalengthisnotvalid.
| 463 || ERROR_SMG_RETRY_SUB_ALLOC || Retry request block allocation.
462 ERROR_SMG_NOT_BOUND
|-
:Parentisnotbound.
| 464 || ERROR_KBD_DETACHED || This call is not allowed for a detached PID.
463 ERROR_SMG_RETRY_SUB_ALLOC
|-
:Retryrequestblockallocation.
| 465 || ERROR_VIO_DETACHED || This call is not allowed for a detached PID.
464 ERROR_KBD_DETACHED
|-
:ThiscallisnotallowedforadetachedPID.
| 466 || ERROR_MOU_DETACHED || This call is not allowed for a detached PID.
465 ERROR_VIO_DETACHED
|-
:ThiscallisnotallowedforadetachedPID.
| 467 || ERROR_VIO_FONT || No font is available to support the mode.
466 ERROR_MOU_DETACHED
|-
:ThiscallisnotallowedforadetachedPID.
| 468 || ERROR_VIO_USER_FONT || User font is active.
467 ERROR_VIO_FONT
|-
:Nofontisavailabletosupportthemode.
| 469 || ERROR_VIO_BAD_CP || Codepage specified is not valid.
468 ERROR_VIO_USER_FONT
|-
:Userfontisactive.
| 470 || ERROR_VIO_NO_CP || System displays do not support codepage.
469 ERROR_VIO_BAD_CP
|-
:Codepage specified is not valid.
| 471 || ERROR_VIO_NA_CP || Current display does not support codepage.
 
|-
470 ERROR_VIO_NO_CP
| 472 || ERROR_INVALID_CODE_PAGE || Codepage is not valid.
:System displays do not support codepage.
|-
471 ERROR_VIO_NA_CP
| 473 || ERROR_CPLIST_TOO_SMALL || Codepage list is too small.
:Current display does not support codepage.
|-
472 ERROR_INVALID_CODE_PAGE
| 474 || ERROR_CP_NOT_MOVED || Codepage was not moved.
:Codepage is not valid.
|-
473 ERROR_CPLIST_TOO_SMALL
| 475 || ERROR_MODE_SWITCH_INIT || Mode switch initialization error.
:Codepage list is too small.
|-
474 ERROR_CP_NOT_MOVED
| 476 || ERROR_CODE_PAGE_NOT_FOUND || Codepage was not found.
:Codepage was not moved.
|-
475 ERROR_MODE_SWITCH_INIT
| 477 || ERROR_UNEXPECTED_SLOT_RETURNED || Internal error.
:Mode switch initialization error.
|-
476 ERROR_CODE_PAGE_NOT_FOUND
| 478 || ERROR_SMG_INVALID_TRACE_OPTION || Start session trace indicator is not valid.
:Codepage was not found.
|-
477 ERROR_UNEXPECTED_SLOT_RETURNED
| 479 || ERROR_VIO_INTERNAL_RESOURCE || VIO internal resource error.
:Internal error.
|-
478 ERROR_SMG_INVALID_TRACE_OPTION
| 480 || ERROR_VIO_SHELL_INIT || VIO shell initialization error.
:Start session trace indicator is not valid.
|-
479 ERROR_VIO_INTERNAL_RESOURCE
| 481 || ERROR_SMG_NO_HARD_ERRORS || No session manager hard errors.
:VIO internal resource error.
|-
 
| 482 || ERROR_CP_SWITCH_INCOMPLETE || DosSetProcessCp is unable to set a KBD or VIO codepage.
480 ERROR_VIO_SHELL_INIT
|-
:VIO shell initialization error.
| 483 || ERROR_VIO_TRANSPARENT_POPUP || Error during VIO pop-up window.
481 ERROR_SMG_NO_HARD_ERRORS
|-
:No session manager hard errors.
| 484 || ERROR_CRITSEC_OVERFLOW || Critical section overflow.
482 ERROR_CP_SWITCH_INCOMPLETE
|-
:DosSetProcessCpisunabletosetaKBDorVIOcodepage.
| 485 || ERROR_CRITSEC_UNDERFLOW || Critical section underflow.
483 ERROR_VIO_TRANSPARENT_POPUP
|-
:ErrorduringVIOpop - upwindow.
| 486 || ERROR_VIO_BAD_RESERVE || Reserved parameter is not zero.
484 ERROR_CRITSEC_OVERFLOW
|-
:Criticalsectionoverflow.
| 487 || ERROR_INVALID_ADDRESS || Physical address is not valid.
485 ERROR_CRITSEC_UNDERFLOW
|-
:Critical section underflow.
| 488 || ERROR_ZERO_SELECTORS_REQUESTED || At least one selector must be requested.
486 ERROR_VIO_BAD_RESERVE
|-
:Reserved parameter is not zero.
| 489 || ERROR_NOT_ENOUGH_SELECTORS_AVA || Not enough GDT selectors to satisfy request.
487 ERROR_INVALID_ADDRESS
|-
:Physical address is not valid.
| 490 || ERROR_INVALID_SELECTOR || GDT selector is not valid.
488 ERROR_ZERO_SELECTORS_REQUESTED
|-
:At least one selector must be requested.
| 491 || ERROR_SMG_INVALID_PROGRAM_TYPE || Program type is not valid.
489 ERROR_NOT_ENOUGH_SELECTORS_AVA
|-
:Not enough GDT selectors to satisfy request.
| 492 || ERROR_SMG_INVALID_PGM_CONTROL || Program control is not valid.
 
|-
490 ERROR_INVALID_SELECTOR
| 493 || ERROR_SMG_INVALID_INHERIT_OPT || Inherit option is not valid.
:GDT selector is not valid.
|-
491 ERROR_SMG_INVALID_PROGRAM_TYPE
| 494 || ERROR_VIO_EXTENDED_SG ||
:Program type is not valid.
|-
492 ERROR_SMG_INVALID_PGM_CONTROL
| 495 || ERROR_VIO_NOT_PRES_MGR_SG ||
:Program control is not valid.
|-
493 ERROR_SMG_INVALID_INHERIT_OPT
| 496 || ERROR_VIO_SHIELD_OWNED ||
:Inherit option is not valid.
|-
494 ERROR_VIO_EXTENDED_SG
| 497 || ERROR_VIO_NO_MORE_HANDLES ||
:
|-
495 ERROR_VIO_NOT_PRES_MGR_SG
| 498 || ERROR_VIO_SEE_ERROR_LOG ||
:
|-
496 ERROR_VIO_SHIELD_OWNED
| 499 || ERROR_VIO_ASSOCIATED_DC ||
:
|}
497 ERROR_VIO_NO_MORE_HANDLES
:
498 ERROR_VIO_SEE_ERROR_LOG
:
499 ERROR_VIO_ASSOCIATED_DC


==500 to 599==
==500 to 599==
:500 ERROR_KBD_NO_CONSOLE
{| class="wikitable"
:501 ERROR_MOUSE_NO_CONSOLE
! Code !! Name !! Description
:502 ERROR_MOUSE_INVALID_HANDLE
|-
:503 ERROR_SMG_INVALID_DEBUG_PARMS
| 500 || ERROR_KBD_NO_CONSOLE ||
:504 ERROR_KBD_EXTENDED_SG
|-
:505 ERROR_MOU_EXTENDED_SG
| 501 || ERROR_MOUSE_NO_CONSOLE ||
:506 ERROR_SMG_INVALID_ICON_FILE
|-
:507 ERROR_TRC_PID_NON_EXISTENT
| 502 || ERROR_MOUSE_INVALID_HANDLE ||
:508 ERROR_TRC_COUNT_ACTIVE
|-
:509 ERROR_TRC_SUSPENDED_BY_COUNT
| 503 || ERROR_SMG_INVALID_DEBUG_PARMS ||
 
|-
:510 ERROR_TRC_COUNT_INACTIVE
| 504 || ERROR_KBD_EXTENDED_SG ||
:511 ERROR_TRC_COUNT_REACHED
|-
:512 ERROR_NO_MC_TRACE
| 505 || ERROR_MOU_EXTENDED_SG ||
:513 ERROR_MC_TRACE
|-
:514 ERROR_TRC_COUNT_ZERO
| 506 || ERROR_SMG_INVALID_ICON_FILE ||
:515 ERROR_SMG_TOO_MANY_DDS
|-
:516 ERROR_SMG_INVALID_NOTIFICATION
| 507 || ERROR_TRC_PID_NON_EXISTENT ||
:517 ERROR_LF_INVALID_FUNCTION
|-
:518 ERROR_LF_NOT_AVAIL
| 508 || ERROR_TRC_COUNT_ACTIVE ||
:519 ERROR_LF_SUSPENDED
|-
 
| 509 || ERROR_TRC_SUSPENDED_BY_COUNT ||
:520 ERROR_LF_BUF_TOO_SMALL
|-
:521 ERROR_LF_BUFFER_CORRUPTED
| 510 || ERROR_TRC_COUNT_INACTIVE ||
:521 ERROR_LF_BUFFER_FULL
|-
:522 ERROR_LF_INVALID_DAEMON
| 511 || ERROR_TRC_COUNT_REACHED ||
:522 ERROR_LF_INVALID_RECORD
|-
:523 ERROR_LF_INVALID_TEMPL
| 512 || ERROR_NO_MC_TRACE ||
:523 ERROR_LF_INVALID_SERVICE
|-
:524 ERROR_LF_GENERAL_FAILURE
| 513 || ERROR_MC_TRACE ||
:525 ERROR_LF_INVALID_ID
|-
:526 ERROR_LF_INVALID_HANDLE
| 514 || ERROR_TRC_COUNT_ZERO ||
:527 ERROR_LF_NO_ID_AVAIL
|-
:528 ERROR_LF_TEMPLATE_AREA_FULL
| 515 || ERROR_SMG_TOO_MANY_DDS ||
:529 ERROR_LF_ID_IN_USE
|-
 
| 516 || ERROR_SMG_INVALID_NOTIFICATION ||
:530 ERROR_MOU_NOT_INITIALIZED
|-
:531 ERROR_MOUINITREAL_DONE
| 517 || ERROR_LF_INVALID_FUNCTION ||
:532 ERROR_DOSSUB_CORRUPTED
|-
:533 ERROR_MOUSE_CALLER_NOT_SUBSYS
| 518 || ERROR_LF_NOT_AVAIL ||
:534 ERROR_ARITHMETIC_OVERFLOW
|-
:535 ERROR_TMR_NO_DEVICE
| 519 || ERROR_LF_SUSPENDED ||
:536 ERROR_TMR_INVALID_TIME
|-
:537 ERROR_PVW_INVALID_ENTITY
| 520 || ERROR_LF_BUF_TOO_SMALL ||
:538 ERROR_PVW_INVALID_ENTITY_TYPE
|-
:539 ERROR_PVW_INVALID_SPEC
| 521 || ERROR_LF_BUFFER_CORRUPTED ||
 
|-
:540 ERROR_PVW_INVALID_RANGE_TYPE
| 521 || ERROR_LF_BUFFER_FULL ||
:541 ERROR_PVW_INVALID_COUNTER_BLK
|-
:542 ERROR_PVW_INVALID_TEXT_BLK
| 522 || ERROR_LF_INVALID_DAEMON ||
:543 ERROR_PRF_NOT_INITIALIZED
|-
:544 ERROR_PRF_ALREADY_INITIALIZED
| 522 || ERROR_LF_INVALID_RECORD ||
:545 ERROR_PRF_NOT_STARTED
|-
:546 ERROR_PRF_ALREADY_STARTED
| 523 || ERROR_LF_INVALID_TEMPL ||
:547 ERROR_PRF_TIMER_OUT_OF_RANGE
|-
:548 ERROR_PRF_TIMER_RESET
| 523 || ERROR_LF_INVALID_SERVICE ||
:549-599 Reserved.
|-
| 524 || ERROR_LF_GENERAL_FAILURE ||
|-
| 525 || ERROR_LF_INVALID_ID ||
|-
| 526 || ERROR_LF_INVALID_HANDLE ||
|-
| 527 || ERROR_LF_NO_ID_AVAIL ||
|-
| 528 || ERROR_LF_TEMPLATE_AREA_FULL ||
|-
| 529 || ERROR_LF_ID_IN_USE ||
|-
| 530 || ERROR_MOU_NOT_INITIALIZED ||
|-
| 531 || ERROR_MOUINITREAL_DONE ||
|-
| 532 || ERROR_DOSSUB_CORRUPTED ||
|-
| 533 || ERROR_MOUSE_CALLER_NOT_SUBSYS ||
|-
| 534 || ERROR_ARITHMETIC_OVERFLOW ||
|-
| 535 || ERROR_TMR_NO_DEVICE ||
|-
| 536 || ERROR_TMR_INVALID_TIME ||
|-
| 537 || ERROR_PVW_INVALID_ENTITY ||
|-
| 538 || ERROR_PVW_INVALID_ENTITY_TYPE ||
|-
| 539 || ERROR_PVW_INVALID_SPEC ||
|-
| 540 || ERROR_PVW_INVALID_RANGE_TYPE ||
|-
| 541 || ERROR_PVW_INVALID_COUNTER_BLK ||
|-
| 542 || ERROR_PVW_INVALID_TEXT_BLK ||
|-
| 543 || ERROR_PRF_NOT_INITIALIZED ||
|-
| 544 || ERROR_PRF_ALREADY_INITIALIZED ||
|-
| 545 || ERROR_PRF_NOT_STARTED ||
|-
| 546 || ERROR_PRF_ALREADY_STARTED ||
|-
| 547 || ERROR_PRF_TIMER_OUT_OF_RANGE ||
|-
| 548 || ERROR_PRF_TIMER_RESET ||
|-
| 549 || Reserved ||
|-
| 550 || Reserved ||
|-
| 551 || Reserved ||
|-
| 552 || Reserved ||
|-
| 553 || Reserved ||
|-
| 554 || Reserved ||
|-
| 555 || Reserved ||
|-
| 556 || Reserved ||
|-
| 557 || Reserved ||
|-
| 558 || Reserved ||
|-
| 559 || Reserved ||
|-
| 560 || Reserved ||
|-
| 561 || Reserved ||
|-
| 562 || Reserved ||
|-
| 563 || Reserved ||
|-
| 564 || Reserved ||
|-
| 565 || Reserved ||
|-
| 566 || Reserved ||
|-
| 567 || Reserved ||
|-
| 568 || Reserved ||
|-
| 569 || Reserved ||
|-
| 570 || Reserved ||
|-
| 571 || Reserved ||
|-
| 572 || Reserved ||
|-
| 573 || Reserved ||
|-
| 574 || Reserved ||
|-
| 575 || Reserved ||
|-
| 576 || Reserved ||
|-
| 577 || Reserved ||
|-
| 578 || Reserved ||
|-
| 579 || Reserved ||
|-
| 580 || Reserved ||
|-
| 581 || Reserved ||
|-
| 582 || Reserved ||
|-
| 583 || Reserved ||
|-
| 584 || Reserved ||
|-
| 585 || Reserved ||
|-
| 586 || Reserved ||
|-
| 587 || Reserved ||
|-
| 588 || Reserved ||
|-
| 589 || Reserved ||
|-
| 590 || Reserved ||
|-
| 591 || Reserved ||
|-
| 592 || Reserved ||
|-
| 593 || Reserved ||
|-
| 594 || Reserved ||
|-
| 595 || Reserved ||
|-
| 596 || Reserved ||
|-
| 597 || Reserved ||
|-
| 598 || Reserved ||
|-
| 599 || Reserved ||
|}


==600 to 699==
==600 to 1999==
:600-638 Reserved.
:600-638 Reserved.
:639 ERROR_VDD_LOCK_USEAGE_DENIED
:639 ERROR_VDD_LOCK_USEAGE_DENIED
Line 1,062: Line 1,222:
:693 MSG_HPFS_DISK_ERROR_WARN
:693 MSG_HPFS_DISK_ERROR_WARN


==700 to xxx==
{| class="wikitable"
:730 ERROR_MON_BAD_BUFFER
! Code !! Name !! Description
:731 ERROR_MODULE_CORRUPTED
|-
:732-1476 Reserved.
| 600-638 || Reserved ||
:1477 ERROR_SM_OUTOF_SWAPFILE
|-
:1478-1999 Reserved.
| 639 || ERROR_VDD_LOCK_USEAGE_DENIED ||
|-
| 640 || ERROR_TIMEOUT ||
|-
| 641 || ERROR_VDM_DOWN ||
|-
| 642 || ERROR_VDM_LIMIT ||
|-
| 643 || ERROR_VDD_NOT_FOUND ||
|-
| 644 || ERROR_INVALID_CALLER ||
|-
| 645 || ERROR_PID_MISMATCH ||
|-
| 646 || ERROR_INVALID_VDD_HANDLE ||
|-
| 647 || ERROR_VLPT_NO_SPOOLER ||
|-
| 648 || ERROR_VCOM_DEVICE_BUSY ||
|-
| 649 || ERROR_VLPT_DEVICE_BUSY ||
|-
| 650 || ERROR_NESTING_TOO_DEEP ||
|-
| 651 || ERROR_VDD_MISSING ||
|-
| 691 || ERROR_IMP_INVALID_PARM ||
|-
| 692 || ERROR_IMP_INVALID_LENGTH ||
|-
| 693 || MSG_HPFS_DISK_ERROR_WARN ||
|-
| 730 || ERROR_MON_BAD_BUFFER ||
|-
| 731 || ERROR_MODULE_CORRUPTED ||
|-
| 732-1476 || Reserved ||
|-
| 1477 || ERROR_SM_OUTOF_SWAPFILE ||
|-
| 1478-1999 || Reserved ||
|}
 
==2000 to 59999==
{| class="wikitable"
! Code !! Name !! Description
|-
| 2000-2054 || Reserved ||
|-
| 2055 || ERROR_LF_TIMEOUT ||
|-
| 2057 || ERROR_LF_SUSPEND_SUCCESS ||
|-
| 2058 || ERROR_LF_RESUME_SUCCESS ||
|-
| 2059 || ERROR_LF_REDIRECT_SUCCESS ||
|-
| 2060 || ERROR_LF_REDIRECT_FAILURE ||
|-
| 32768 || ERROR_SWAPPER_NOT_ACTIVE ||
|-
| 32769 || ERROR_INVALID_SWAPID ||
|-
| 32770 || ERROR_IOERR_SWAP_FILE ||
|-
| 32771 || ERROR_SWAP_TABLE_FULL ||
|-
| 32772 || ERROR_SWAP_FILE_FULL ||
|-
| 32773 || ERROR_CANT_INIT_SWAPPER ||
|-
| 32774 || ERROR_SWAPPER_ALREADY_INIT ||
|-
| 32775 || ERROR_PMM_INSUFFICIENT_MEMORY ||
|-
| 32776 || ERROR_PMM_INVALID_FLAGS ||
|-
| 32777 || ERROR_PMM_INVALID_ADDRESS ||
|-
| 32778 || ERROR_PMM_LOCK_FAILED ||
|-
| 32779 || ERROR_PMM_UNLOCK_FAILED ||
|-
| 32780 || ERROR_PMM_MOVE_INCOMPLETE ||
|-
| 32781 || ERROR_UCOM_DRIVE_RENAMED ||
|-
| 32782 || ERROR_UCOM_FILENAME_TRUNCATED ||
|-
| 32783 || ERROR_UCOM_BUFFER_LENGTH ||
|-
| 32784 || ERROR_MON_CHAIN_HANDLE ||
|-
| 32785 || ERROR_MON_NOT_REGISTERED ||
|-
| 32786 || ERROR_SMG_ALREADY_TOP ||
|-
| 32787 || ERROR_PMM_ARENA_MODIFIED ||
|-
| 32788 || ERROR_SMG_PRINTER_OPEN ||
|-
| 32789 || ERROR_PMM_SET_FLAGS_FAILED ||
|-
| 32790 || ERROR_INVALID_DOS_DD ||
|-
| 32791 || ERROR_BLOCKED ||
|-
| 32792 || ERROR_NOBLOCK ||
|-
| 32793 || ERROR_INSTANCE_SHARED ||
|-
| 32794 || ERROR_NO_OBJECT ||
|-
| 32795 || ERROR_PARTIAL_ATTACH ||
|-
| 32796 || ERROR_INCACHE ||
|-
| 32797 || ERROR_SWAP_IO_PROBLEMS ||
|-
| 32798 || ERROR_CROSSES_OBJECT_BOUNDARY ||
|-
| 32799 || ERROR_LONGLOCK ||
|-
| 32800 || ERROR_SHORTLOCK ||
|-
| 32801 || ERROR_UVIRTLOCK ||
|-
| 32802 || ERROR_ALIASLOCK ||
|-
| 32803 || ERROR_ALIAS ||
|-
| 32804 || ERROR_NO_MORE_HANDLES ||
|-
| 32805 || ERROR_SCAN_TERMINATED ||
|-
| 32806 || ERROR_TERMINATOR_NOT_FOUND ||
|-
| 32807 || ERROR_NOT_DIRECT_CHILD ||
|-
| 32808 || ERROR_DELAY_FREE ||
|-
| 32809 || ERROR_GUARDPAGE ||
|-
| 32900 || ERROR_SWAPERROR ||
|-
| 32901 || ERROR_LDRERROR ||
|-
| 32902 || ERROR_NOMEMORY ||
|-
| 32903 || ERROR_NOACCESS ||
|-
| 32904 || ERROR_NO_DLL_TERM ||
|-
| 32905-59999 || Reserved ||
|}
 
==60000 to 65079==
{| class="wikitable"
! Code !! Name !! Description
|-
| 60000-65025 || Reserved ||
|-
| 65026 || ERROR_CPSIO_CODE_PAGE_INVALID ||
|-
| 65027 || ERROR_CPSIO_NO_SPOOLER ||
|-
| 65028 || ERROR_CPSIO_FONT_ID_INVALID ||
|-
| 65029-65032 || Reserved ||
|-
| 65033 || ERROR_CPSIO_INTERNAL_ERROR ||
|-
| 65034 || ERROR_CPSIO_INVALID_PTR_NAME ||
|-
| 65035-65036 || Reserved ||
|-
| 65037 || ERROR_CPSIO_NOT_ACTIVE ||
|-
| 65038 || Reserved ||
|-
| 65039 || ERROR_CPSIO_PID_FULL ||
|-
| 65040 || ERROR_CPSIO_PID_NOT_FOUND ||
|-
| 65041-65042 || Reserved ||
|-
| 65043 || ERROR_CPSIO_READ_CTL_SEQ ||
|-
| 65044 || Reserved ||
|-
| 65045 || ERROR_CPSIO_READ_FNT_DEF ||
|-
| 65046 || Reserved ||
|-
| 65047 || ERROR_CPSIO_WRITE_ERROR ||
|-
| 65048 || ERROR_CPSIO_WRITE_FULL_ERROR ||
|-
| 65049 || ERROR_CPSIO_WRITE_HANDLE_BAD ||
|-
| 65050-65073 || Reserved ||
|-
| 65074 || ERROR_CPSIO_SWIT_LOAD ||
|-
| 65075-65076 || Reserved ||
|-
| 65077 || ERROR_CPSIO_INV_COMMAND ||
|-
| 65078 || ERROR_CPSIO_NO_FONT_SWIT ||
|-
| 65079 || ERROR_ENTRY_IS_CALLGATE ||
|}
 


[[Category:The OS/2 API Project]]
[[Category:The OS/2 API Project]]
[[Category:CPGuide]]

Latest revision as of 18:06, 19 May 2025

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

Control Program Programming Guide and Reference
  1. Introduction to the Control Program
  2. Control Program Functions
  3. Keyboard Functions
  4. Mouse Functions
  5. Video Functions
  6. Data Types
  7. Errors
  8. Debugging
  9. Kernel Debugger Communications Protocol
  10. Device I/O
  11. Dynamic Linking
  12. Error Management
  13. Exception Management
  14. Extended Attributes
  15. File Management
  16. File Names
  17. File Systems
  18. Generic IOCtl Commands
  19. Memory Management
  20. Message Management
  21. National Language Support
  22. Pipes
  23. Program Execution Control
  24. Queues
  25. Semaphores
  26. Timers
  27. Notices
  28. Glossary

The following shows the numerical value of an error, its symbolic name, and a brief description of the error.

0 to 99

Code Name Description
0 NO_ERROR No error occurred.
1 ERROR_INVALID_FUNCTION Function number is not valid.
2 ERROR_FILE_NOT_FOUND File not found.
3 ERROR_PATH_NOT_FOUND Path not found.
4 ERROR_TOO_MANY_OPEN_FILES Too many open files (no handles left).
5 ERROR_ACCESS_DENIED Access denied.
6 ERROR_INVALID_HANDLE Handle is not valid.
7 ERROR_ARENA_TRASHED Memory control blocks destroyed.
8 ERROR_NOT_ENOUGH_MEMORY Insufficient memory.
9 ERROR_INVALID_BLOCK Memory-block address is not valid.
10 ERROR_BAD_ENVIRONMENT Environment is not valid.
11 ERROR_BAD_FORMAT Format is not valid.
12 ERROR_INVALID_ACCESS Access code is not valid.
13 ERROR_INVALID_DATA Data is not valid.
14 Reserved
15 ERROR_INVALID_DRIVE Drive is not valid.
16 ERROR_CURRENT_DIRECTORY Attempting to remove current directory.
17 ERROR_NOT_SAME_DEVICE Not same device.
18 ERROR_NO_MORE_FILES No more files.
19 ERROR_WRITE_PROTECT Attempt to write on write-protected diskette.
20 ERROR_BAD_UNIT Unknown unit.
21 ERROR_NOT_READY Drive not ready.
22 ERROR_BAD_COMMAND Unknown command.
23 ERROR_CRC Data error - cyclic redundancy check.
24 ERROR_BAD_LENGTH Request structure length is not valid.
25 ERROR_SEEK Seek error.
26 ERROR_NOT_DOS_DISK Unknown media type.
27 ERROR_SECTOR_NOT_FOUND Sector not found.
28 ERROR_OUT_OF_PAPER Printer is out of paper.
29 ERROR_WRITE FAULT Write fault.
30 ERROR_READ_FAULT Read fault.
31 ERROR_GEN_FAILURE General failure.
For DosGetShrSeg and DosGetNamedSharedMem, indicates that a segment's maximum reference count of 65535 has been exceeded.
32 ERROR_SHARING_VIOLATION Sharing violation.
33 ERROR_LOCK_VIOLATION Lock violation.
34 ERROR_WRONG_DISK Disk change is not valid.
35 ERROR_FCB_UNAVAILABLE FCB unavailable.
36 ERROR_SHARING_BUFFER_EXCEEDED Sharing buffer overflow.
37 ERROR_CODE_PAGE_MISMATCHED Code page does not match.
38 ERROR_HANDLE_EOF End of file reached.
39 ERROR_HANDLE_DISK_FULL Disk is full.
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Reserved
46 Reserved
47 Reserved
48 Reserved
49 Reserved
50 ERROR_NOT_SUPPORTED Network request not supported.
51 ERROR_REM_NOT_LIST Remote network node is not online.
52 ERROR_DUP_NAME Duplicate file name in network.
53 ERROR_BAD_NETPATH Network path not found.
54 ERROR_NETWORK_BUSY Network is busy.
55 ERROR_DEV_NOT_EXIST Device is not installed in network.
56 ERROR_TOO_MANY_CMDS Network command limit reached.
57 ERROR_ADAP_HDW_ERR Network adapter hardware error.
58 ERROR_BAD_NET_RESP Incorrect response in network.
59 ERROR_UNEXP_NET_ERR Unexpected error in network.
60 ERROR_BAD_REM_ADAP Remote network adapter error.
61 ERROR_PRINTQ_FULL Network printer queue is full.
62 ERROR_NO_SPOOL_SPACE No space in print spool file.
63 ERROR_PRINT_CANCELLED Print spool file deleted.
64 ERROR_NETNAME_DELETED Network name deleted.
65 ERROR_NETWORK_ACCESS_DENIED Access to network denied.
66 ERROR_BAD_DEV_TYPE Device type for network is not valid.
67 ERROR_BAD_NET_NAME Network name not found.
68 ERROR_TOO_MANY_NAMES Network name limit exceeded.
69 ERROR_TOO_MANY_SESS Network session limit exceeded.
70 ERROR_SHARING_PAUSED Temporary pause in network.
71 ERROR_REQ_NOT_ACCEP Network request denied.
72 ERROR_REDIR_PAUSED Pause in network print disk redirection.
73 ERROR_SBCS_ATT_WRITE_PROT Attempted write on protected disk.
74 ERROR_SBCS_GENERAL_FAILURE General failure, single-byte character set.
75 ERROR_XGA_OUT_MEMORY XGA is out of memory.
76 Reserved
77 Reserved
78 Reserved
79 Reserved
80 ERROR_FILE_EXISTS File exists.
81 ERROR_DUP_FCB Reserved.
82 ERROR_CANNOT_MAKE Cannot make directory entry.
83 ERROR_FAIL_I24 Failure on INT24.
84 ERROR_OUT_OF_STRUCTURES Too many redirections.
85 ERROR_ALREADY_ASSIGNED Duplicate redirection.
86 ERROR_INVALID_PASSWORD Password is not valid.
87 ERROR_INVALID_PARAMETER Parameter is not valid.
88 ERROR_NET_WRITE_FAULT Network device fault.
89 ERROR_NO_PROC_SLOTS No process slots available.
90 ERROR_NOT_FROZEN System error.
90 ERROR_SYS_COMP_NOT_LOADED System error.
91 ERR_TSTOVFL Timer service table overflow.
92 ERR_TSTDUP Timer service table duplicate.
93 ERROR_NO_ITEMS No items to work on.
95 ERROR_INTERRUPT Interrupted system call.
99 ERROR_DEVICE_IN_USE Device in use.

100 to 199

Code Name Description
100 ERROR_TOO_MANY_SEMAPHORES User/system open semaphore limit reached.
101 ERROR_EXCL_SEM_ALREADY_OWNED Exclusive semaphore already owned.
102 ERROR_SEM_IS_SET DosCloseSem found semaphore set.
103 ERROR_TOO_MANY_SEM_REQUESTS Too many exclusive semaphore requests.
104 ERROR_INVALID_AT_INTERRUPT_TIME Operation at interrupt time is not valid.
105 ERROR_SEM_OWNER_DIED Previous semaphore owner ended without freeing semaphore.
106 ERROR_SEM_USER_LIMIT Semaphore limit exceeded.
107 ERROR_DISK_CHANGE Insert drive B disk into drive A.
108 ERROR_DRIVE_LOCKED Drive locked by another process.
109 ERROR_BROKEN_PIPE Write on pipe with no reader.
110 ERROR_OPEN_FAILED Open/create failed due to explicit fail command.
111 ERROR_BUFFER_OVERFLOW Buffer passed to system call too small to hold return data.
112 ERROR_DISK_FULL Not enough space on the disk.
113 ERROR_NO_MORE_SEARCH_HANDLES Cannot allocate another search structure and handle.
114 ERROR_INVALID_TARGET_HANDLE Target handle in DosDupHandle is not valid.
115 ERROR_PROTECTION_VIOLATION User virtual address is not valid.
116 ERROR_VIOKBD_REQUEST Error on display write or keyboard read.
117 ERROR_INVALID_CATEGORY Category for DevIOCtl not defined.
118 ERROR_INVALID_VERIFY_SWITCH Value passed for verify flag is not valid.
119 ERROR_BAD_DRIVER_LEVEL Level four driver not found.
120 ERROR_CALL_NOT_IMPLEMENTED Function called is not valid.
121 ERROR_SEM_TIMEOUT Time-out occurred from semaphore API function.
122 ERROR_INSUFFICIENT_BUFFER Data buffer too small.
123 ERROR_INVALID_NAME Illegal character or file-system name is not valid.
124 ERROR_INVALID_LEVEL Level for information retrieval or setting is not valid.
125 ERROR_NO_VOLUME_LABEL No volume label found with DosQueryFSInfo function.
126 ERROR_MOD_NOT_FOUND Module handle not found with DosQueryProcAddr(), DosQueryModAddr().
127 ERROR_PROC_NOT_FOUND Procedure address not found with DosQueryProcAddr().
128 ERROR_WAIT_NO_CHILDREN DosWaitChild finds no children.
129 ERROR_CHILD_NOT_COMPLETE DosWaitChild children not ended.
130 ERROR_DIRECT_ACCESS_HANDLE Handle operation is not valid for direct disk-access handles.
131 ERROR_NEGATIVE_SEEK Attempting seek to negative offset.
132 ERROR_SEEK_ON_DEVICE Application trying to seek on device or pipe.
133 ERROR_IS_JOIN_TARGET Drive has previously joined drives.
134 ERROR_IS_JOINED Drive is already joined.
135 ERROR_IS_SUBSTED Drive is already substituted.
136 ERROR_NOT_JOINED Cannot delete drive that is not joined.
137 ERROR_NOT_SUBSTED Cannot delete drive that is not substituted.
138 ERROR_JOIN_TO_JOIN Cannot join to a joined drive.
139 ERROR_SUBST_TO_SUBST Cannot substitute to a substituted drive.
140 ERROR_JOIN_TO_SUBST Cannot join to a substituted drive.
141 ERROR_SUBST_TO_JOIN Cannot substitute to a joined drive.
142 ERROR_BUSY_DRIVE Specified drive is busy.
143 ERROR_SAME_DRIVE Cannot join or substitute a drive to a directory on the same drive.
144 ERROR_DIR_NOT_ROOT Directory must be a subdirectory of the root.
145 ERROR_DIR_NOT_EMPTY Directory must be empty to use join command.
146 ERROR_IS_SUBST_PATH Path specified is being used in a substitute.
147 ERROR_IS_JOIN_PATH Path specified is being used in a join.
148 ERROR_PATH_BUSY Path specified is being used by another process.
149 ERROR_IS_SUBST_TARGET Cannot join or substitute a drive that has a directory that is the target of a previous substitute.
150 ERROR_SYSTEM_TRACE System trace error.
151 ERROR_INVALID_EVENT_COUNT DosWaitMuxWaitSem errors.
152 ERROR_TOO_MANY_MUXWAITERS System limit of 100 entries reached.
153 ERROR_INVALID_LIST_FORMAT List format is not valid.
154 ERROR_LABEL_TOO_LONG Volume label too big.
155 ERROR_TOO_MANY_TCBS Cannot create another TCB.
156 ERROR_SIGNAL_REFUSED Signal refused.
157 ERROR_DISCARDED Segment is discarded.
158 ERROR_NOT_LOCKED Segment is not locked.
159 ERROR_BAD_THREADID_ADDR Thread-identity address is not valid.
160 ERROR_BAD_ARGUMENTS Environment pointer is not valid.
161 ERROR_BAD_PATHNAME Path name is not valid.
162 ERROR_SIGNAL_PENDING Signal already pending.
163 ERROR_UNCERTAIN_MEDIA Error with INT 24 mapping.
164 ERROR_MAX_THRDS_REACHED No more process slots.
165 ERROR_MONITORS_NOT_SUPPORTED Error with INT 24 mapping.
166 ERROR_UNC_DRIVER_NOT_INSTALLED Default redirection return code.
167 ERROR_LOCK_FAILED Locking failed.
168 ERROR_SWAPIO_FAILED Swap I/O failed.
169 ERROR_SWAPIN_FAILED Swap in failed.
170 ERROR_BUSY Segment is busy.
171 Reserved
172 Reserved
173 ERROR_CANCEL_VIOLATION A lock request is not outstanding for the specified file range, or the range length is zero.
174 ERROR_ATOMIC_LOCK_NOT_SUPPORTED The file-system driver (FSD) does not support atomic lock operations. Versions of OS/2 prior to version 2.00 do not support atomic lock operations.
175 ERROR_READ_LOCKS_NOT_SUPPORTED The file system driver (FSD) does not support shared read locks.
176 Reserved
177 Reserved
178 Reserved
179 Reserved
180 ERROR_INVALID_SEGMENT_NUMBER Segment number is not valid.
181 ERROR_INVALID_CALLGATE Call gate is not valid.
182 ERROR_INVALID_ORDINAL Ordinal is not valid.
183 ERROR_ALREADY_EXISTS Shared segment already exists.
184 ERROR_NO_CHILD_PROCESS No child process to wait for.
185 ERROR_CHILD_ALIVE_NOWAIT No Wait specified and child alive.
186 ERROR_INVALID_FLAG_NUMBER Flag number is not valid.
187 ERROR_SEM_NOT_FOUND Semaphore does not exist.
188 ERROR_INVALID_STARTING_CODESEG Starting code segment is not valid, incorrect END ( label ) directive.
189 ERROR_INVALID_STACKSEG Stack segment is not valid.
190 ERROR_INVALID_MODULETYPE Module type is not valid - dynamic-link library file cannot be used as an application. Application cannot be used as a dynamic-link library.
191 ERROR_INVALID_EXE_SIGNATURE EXE signature is not valid - file is a DOS mode program or an improper program.
192 ERROR_EXE_MARKED_INVALID EXE marked is not valid - link detected errors when the application was created.
193 ERROR_BAD_EXE_FORMAT EXE format not valid - file is a DOS mode program or an improper program.
194 ERROR_ITERATED_DATA_EXCEEDS_64k Iterated data exceeds 64KB - there is more than 64KB of data in one of the segments of the file.
195 ERROR_INVALID_MINALLOCSIZE Minimum allocation size is not valid - the size is specified to be less than the size of the segment data in the file.
196 ERROR_DYNLINK_FROM_INVALID_RING Dynamic link from privilege level is not valid - privilege level 2 routine cannot link to dynamic-link libraries.
197 ERROR_IOPL_NOT_ENABLED IOPL set to NO in CONFIG.SYS.
198 ERROR_INVALID_SEGDPL Segment descriptor privilege level is not valid - can only have privilege levels of 2 and 3.
199 ERROR_AUTODATASEG_EXCEEDS_64k Automatic data segment exceeds 64KB.

200 to 299

Code Name Description
200 ERROR_RING2SEG_MUST_BE_MOVABLE Privilege level 2 segment must be movable.
201 ERROR_RELOC_CHAIN_XEEDS_SEGLIM Relocation chain exceeds segment limit.
202 ERROR_INFLOOP_IN_RELOC_CHAIN Infinite loop in relocation chain segment.
203 ERROR_ENVVAR_NOT_FOUND Environment variable not found.
204 ERROR_NOT_CURRENT_CTRY Not current country.
205 ERROR_NO_SIGNAL_SENT No signal sent - no process in the command subtree has a signal handler.
206 ERROR_FILENAME_EXCED_RANGE File name or extension is greater than 8.3 characters.
207 ERROR_RING2_STACK_IN_USE Privilege level 2 stack is in use.
208 ERROR_META_EXPANSION_TOO_LONG Meta (global) expansion is too long.
209 ERROR_INVALID_SIGNAL_NUMBER Signal number is not valid.
210 ERROR_THREAD_1_INACTIVE Inactive thread.
211 ERROR_INFO_NOT_AVAIL File system information is not available for this file.
212 ERROR_LOCKED Locked error.
213 ERROR_BAD_DYNALINK Attempted to execute a non-family API in DOS mode.
214 ERROR_TOO_MANY_MODULES Too many modules.
215 ERROR_NESTING_NOT_ALLOWED Nesting is not allowed.
216 ERROR_CANNOT_SHRINK System error.
217 ERROR_ZOMBIE_PROCESS Zombie process.
218 ERROR_STACK_IN_HIGH_MEMORY Stack is in high memory.
219 ERROR_INVALID_EXITROUTINE_RING Exit routine ring is not valid.
220 ERROR_GETBUF_FAILED Get buffer failed.
221 ERROR_FLUSHBUF_FAILED Flush buffer failed.
222 ERROR_TRANSFER_TOO_LONG Transfer is too long.
223 ERROR_FORCENOSWAP_FAILED System error.
224 ERROR_SMG_NO_TARGET_WINDOW The application window was created without the FCF_TASKLIST style, or the application window not yet been created or has already been destroyed.
228 ERROR_NO_CHILDREN No child process.
229 ERROR_INVALID_SCREEN_GROUP Session is not valid.
230 ERROR_BAD_PIPE The pipe is non-existent pipe or the operation is not valid.
231 ERROR_PIPE_BUSY Pipe is busy.
232 ERROR_NO_DATA No data available on non-blocking read.
233 ERROR_PIPE_NOT_CONNECTED Pipe was disconnected by server.
234 ERROR_MORE_DATA More data is available.
240 ERROR_VC_DISCONNECTED Session was dropped due to errors.
250 ERROR_CIRCULARITY_REQUESTED Renaming a directory that would cause a circularity problem.
251 ERROR_DIRECTORY_IN_CDS Renaming a directory that is in use.
252 ERROR_INVALID_FSD_NAME Trying to access an FSD that is not valid.
253 ERROR_INVALID_PATH Pseudo device is not valid.
254 ERROR_INVALID_EA_NAME Character in name or cbName is not valid.
255 ERROR_EA_LIST_INCONSISTENT List does not match its size, or there are EAs that are not valid in the list.
256 ERROR_EA_LIST_TOO_LONG FEAList is longer than 64K-1 bytes.
257 ERROR_NO_META_MATCH String does not match expression.
258 ERROR_FINDNOTIFY_TIMEOUT System error.
259 ERROR_NO_MORE_ITEMS DosQueryFSAttach ordinal query.
260 ERROR_SEARCH_STRUC_REUSED DOS mode findfirst/next search structure reused.
261 ERROR_CHAR_NOT_FOUND Character not found.
262 ERROR_TOO_MUCH_STACK Stack request exceeds system limit.
263 ERROR_INVALID_ATTR Attribute is not valid.
264 ERROR_INVALID_STARTING_RING Starting ring is not valid.
265 ERROR_INVALID_DLL_INIT_RING DLL INIT ring is not valid.
266 ERROR_CANNOT_COPY Cannot copy.
267 ERROR_DIRECTORY Used by DOSCOPY in doscall1.
268 ERROR_OPLOCKED_FILE Oplocked file.
269 ERROR_OPLOCK_THREAD_EXISTS Oplock thread exists.
270 ERROR_VOLUME_CHANGED Volume changed.
271 ERROR_FINDNOTIFY_HANDLE_IN_USE Handle in use.
272 ERROR_FINDNOTIFY_HANDLE_CLOSED Handle closed.
273 ERROR_NOTIFY_OBJECT_REMOVED Object removed.
274 ERROR_ALREADY_SHUTDOWN System is already shut down.
275 ERROR_EAS_DIDNT_FIT Buffer is not big enough to hold the EAs.
276 ERROR_EA_FILE_CORRUPT EA file has been damaged.
277 ERROR_EA_TABLE_FULL EA table is full.
278 ERROR_INVALID_EA_HANDLE EA handle is not valid.
279 ERROR_NO_CLUSTER No cluster.
280 ERROR_CREATE_EA_FILE Cannot create the EA file.
281 ERROR_CANNOT_OPEN_EA_FILE Cannot open the EA file.
282 ERROR_EAS_NOT_SUPPORTED Destination file system does not support EAs.
283 ERROR_NEED_EAS_FOUND Destination file system does not support EAs, and the source file's EAs contain a need EA.
284 ERROR_DUPLICATE_HANDLE The handle already exists.
285 ERROR_DUPLICATE_NAME The name already exists.
286 ERROR_EMPTY_MUXWAIT The list of semaphores in a muxwait semaphore is empty.
287 ERROR_MUTEX_OWNED The calling thread owns one or more of the mutex semaphores in the list.
288 ERROR_NOT_OWNER Caller does not own the semaphore.
289 ERROR_PARAM_TOO_SMALL Parameter is not large enough to contain all of the semaphore records in the muxwait semaphore.
290 ERROR_TOO_MANY_HANDLES Limit reached for number of handles.
291 ERROR_TOO_MANY_OPENS There are too many files or semaphores open.
292 ERROR_WRONG_TYPE Attempted to create wrong type of semaphore.
293 ERROR_UNUSED_CODE Code is not used.
294 ERROR_THREAD_NOT_TERMINATED Thread has not ended.
295 ERROR_INIT_ROUTINE_FAILED Initialization routine failed.
296 ERROR_MODULE_IN_USE Module is in use.
297 ERROR_NOT_ENOUGH_WATCHPOINTS There are not enough watchpoints.
298 ERROR_TOO_MANY_POSTS Post count limit was reached for an event semaphore.
299 ERROR_ALREADY_POSTED Event semaphore is already posted.

300 to 399

Code Name Description
300 ERROR_ALREADY_RESET Event semaphore is already reset.
301 ERROR_SEM_BUSY Semaphore is busy.
302 Reserved
303 ERROR_INVALID_PROCID Process identity is not valid.
304 ERROR_INVALID_PDELTA Priority delta is not valid.
305 ERROR_NOT_DESCENDANT Not descendant.
306 ERROR_NOT_SESSION_MANAGER Requestor not session manager.
307 ERROR_INVALID_PCLASS P class is not valid.
308 ERROR_INVALID_SCOPE Scope is not valid.
309 ERROR_INVALID_THREADID Thread identity is not valid.
310 ERROR_DOSSUB_SHRINK Cannot shrink segment - DosSubSetMem.
311 ERROR_DOSSUB_NOMEM No memory to satisfy request - DosSubAllocMem.
312 ERROR_DOSSUB_OVERLAP Overlap of the specified block with a block of allocated memory - DosSubFreeMem.
313 ERROR_DOSSUB_BADSIZE Size parameter is not valid - DosSubAllocMem or DosSubFreeMem.
314 ERROR_DOSSUB_BADFLAG Flag parameter is not valid - DosSubSetMem.
315 ERROR_DOSSUB_BADSELECTOR Segment selector is not valid.
316 ERROR_MR_MSG_TOO_LONG Message too long for buffer.
317 ERROR_MR_MID_NOT_FOUND Message identity number not found.
318 ERROR_MR_UN_ACC_MSGF Unable to access message file.
319 ERROR_MR_INV_MSGF_FORMAT Message file format is not valid.
320 ERROR_MR_INV_IVCOUNT Insertion variable count is not valid.
321 ERROR_MR_UN_PERFORM Unable to perform function.
322 ERROR_TS_WAKEUP Unable to wake up.
323 ERROR_TS_SEMHANDLE System semaphore is not valid.
324 ERROR_TS_NOTIMER No timers available.
326 ERROR_TS_HANDLE Timer handle is not valid.
327 ERROR_TS_DATETIME Date or time is not valid.
328 ERROR_SYS_INTERNAL Internal system error.
329 ERROR_QUE_CURRENT_NAME Current queue name does not exist.
330 ERROR_QUE_PROC_NOT_OWNED Current process does not own queue.
331 ERROR_QUE_PROC_OWNED Current process owns queue.
332 ERROR_QUE_DUPLICATE Duplicate queue name.
333 ERROR_QUE_ELEMENT_NOT_EXIST Queue element does not exist.
334 ERROR_QUE_NO_MEMORY Inadequate queue memory.
For DosOpenQueue, DosCreateQueue, and DosWriteQueue, the following applies:
These calls use a system-wide pool of memory. Every DosOpenQueue and DosCreateQueue uses up 34 bytes of memory, which is freed on close. Every DosWriteQueue uses 24 bytes of memory, which is freed on read. If too many elements are written to queues, further opens, creates, reads, or writes fail with this error code.
335 ERROR_QUE_INVALID_NAME Queue name is not valid.
336 ERROR_QUE_INVALID_PRIORITY Queue priority parameter is not valid.
337 ERROR_QUE_INVALID_HANDLE Queue handle is not valid.
338 ERROR_QUE_LINK_NOT_FOUND Queue link not found.
339 ERROR_QUE_MEMORY_ERROR Queue memory error.
340 ERROR_QUE_PREV_AT_END Previous queue element was at end of queue.
341 ERROR_QUE_PROC_NO_ACCESS Process does not have access to queues.
342 ERROR_QUE_EMPTY Queue is empty.
343 ERROR_QUE_NAME_NOT_EXIST Queue name does not exist.
344 ERROR_QUE_NOT_INITIALIZED Queues not initialized.
345 ERROR_QUE_UNABLE_TO_ACCESS Unable to access queues.
346 ERROR_QUE_UNABLE_TO_ADD Unable to add new queue.
347 ERROR_QUE_UNABLE_TO_INIT Unable to initialize queues.
349 ERROR_VIO_INVALID_MASK Function replace is not valid.
350 ERROR_VIO_PTR Pointer to parameter is not valid.
351 ERROR_VIO_APTR Pointer to attribute is not valid.
352 ERROR_VIO_RPTR Pointer to row is not valid.
353 ERROR_VIO_CPTR Pointer to column is not valid.
354 ERROR_VIO_LPTR Pointer to length is not valid.
355 ERROR_VIO_MODE Unsupported screen mode.
356 ERROR_VIO_WIDTH Cursor width value is not valid.
357 ERROR_VIO_ATTR Cursor attribute value is not valid.
358 ERROR_VIO_ROW Row value is not valid.
359 ERROR_VIO_COL Column value is not valid.
360 ERROR_VIO_TOPROW Top Row value is not valid.
361 ERROR_VIO_BOTROW Bot Row value is not valid.
362 ERROR_VIO_RIGHTCOL Right column value is not valid.
363 ERROR_VIO_LEFTCOL Left column value is not valid.
364 ERROR_SCS_CALL Call issued by other than session manager.
365 ERROR_SCS_VALUE Value is not for save or restore.
366 ERROR_VIO_WAIT_FLAG Wait flag setting is not valid.
367 ERROR_VIO_UNLOCK Screen not previously locked.
368 ERROR_SGS_NOT_SESSION_MGR Caller not session manager.
369 ERROR_SMG_INVALID_SGID Session identity is not valid.
369 ERROR_SMG_INVALID_SESSION_ID Session ID is not valid.
370 ERROR_SMG_NOSG No sessions available.
370 ERROR_SMG_NO_SESSIONS No sessions available.
371 ERROR_SMG_GRP_NOT_FOUND Session not found.
371 ERROR_SMG_SESSION_NOT_FOUND Session not found.
372 ERROR_SMG_SET_TITLE Title sent by shell or parent cannot be changed.
373 ERROR_KBD_PARAMETER Parameter to keyboard is not valid.
374 ERROR_KBD_NO_DEVICE No device.
375 ERROR_KBD_INVALID_IOWAIT I/O wait specified is not valid.
376 ERROR_KBD_INVALID_LENGTH Length for keyboard is not valid.
377 ERROR_KBD_INVALID_ECHO_MASK Echo mode mask is not valid.
378 ERROR_KBD_INVALID_INPUT_MASK Input mode mask is not valid.
379 ERROR_MON_INVALID_PARMS One or more parameters to DosMon is not valid.
380 ERROR_MON_INVALID_DEVNAME Device name string is not valid.
381 ERROR_MON_INVALID_HANDLE Device handle is not valid.
382 ERROR_MON_BUFFER_TOO_SMALL Buffer too small.
383 ERROR_MON_BUFFER_EMPTY Buffer is empty.
384 ERROR_MON_DATA_TOO_LARGE Data record is too large.
385 ERROR_MOUSE_NO_DEVICE Mouse device closed; the device handle is not valid.
386 ERROR_MOUSE_INV_HANDLE Mouse device closed; the device handle is not valid.
387 ERROR_MOUSE_INV_PARMS Parameters for display mode are not valid.
388 ERROR_MOUSE_CANT_RESET Function assigned and cannot be reset.
389 ERROR_MOUSE_DISPLAY_PARMS Parameters for display mode are not valid.
390 ERROR_MOUSE_INV_MODULE Module not valid.
391 ERROR_MOUSE_INV_ENTRY_PT Entry point not valid.
392 ERROR_MOUSE_INV_MASK Function mask is not valid.
393 NO_ERROR_MOUSE_NO_DATA No valid data.
394 NO_ERROR_MOUSE_PTR_DRAWN Pointer drawn.
395 ERROR_INVALID_FREQUENCY Frequency for beep is not valid.
396 ERROR_NLS_NO_COUNTRY_FILE Cannot find COUNTRY.SYS file.
397 ERROR_NLS_OPEN_FAILED Cannot open COUNTRY.SYS file.
398 ERROR_NLS_NO_CTRY_CODE Country code not found.
398 ERROR_NO_COUNTRY_OR_CODEPAGE Country code not found.
399 ERROR_NLS_TABLE_TRUNCATED Table returned information truncated, buffer is too small.

400 to 499

Code Name Description
400 ERROR_NLS_BAD_TYPE Selected type does not exist.
401 ERROR_NLS_TYPE_NOT_FOUND Selected type is not in file.
402 ERROR_VIO_SMG_ONLY Valid from session manager only.
403 ERROR_VIO_INVALID_ASCIIZ ASCIIZ length is not valid.
404 ERROR_VIO_DEREGISTER VioDeRegister not allowed.
405 ERROR_VIO_NO_POPUP Pop-up window not allocated.
406 ERROR_VIO_EXISTING_POPUP Pop-up window on screen (NoWait).
407 ERROR_KBD_SMG_ONLY Valid from session manager only.
408 ERROR_KBD_INVALID_ASCIIZ ASCIIZ length is not valid.
409 ERROR_KBD_INVALID_MASK Replacement mask is not valid.
410 ERROR_KBD_REGISTER KbdRegister not allowed.
411 ERROR_KBD_DEREGISTER KbdDeRegister not allowed.
412 ERROR_MOUSE_SMG_ONLY Valid from session manager only.
413 ERROR_MOUSE_INVALID_ASCIIZ ASCIIZ length is not valid.
414 ERROR_MOUSE_INVALID_MASK Replacement mask is not valid.
415 ERROR_MOUSE_REGISTER Mouse register not allowed.
416 ERROR_MOUSE_DEREGISTER Mouse deregister not allowed.
417 ERROR_SMG_BAD_ACTION Action specified is not valid.
418 ERROR_SMG_INVALID_CALL INIT called more than once, or the session identity is not valid.
419 ERROR_SCS_SG_NOTFOUND New session number.
420 ERROR_SCS_NOT_SHELL Caller is not shell.
421 ERROR_VIO_INVALID_PARMS Parameters passed are not valid.
422 ERROR_VIO_FUNCTION_OWNED Save/restore already owned.
423 ERROR_VIO_RETURN Non-destruct return (undo).
424 ERROR_SCS_INVALID_FUNCTION Caller function is not valid.
425 ERROR_SCS_NOT_SESSION_MGR Caller not session manager.
426 ERROR_VIO_REGISTER Vio register not allowed.
427 ERROR_VIO_NO_MODE_THREAD No mode restore thread in SG.
428 ERROR_VIO_NO_SAVE_RESTORE_THD No save/restore thread in SG.
429 ERROR_VIO_IN_BG Function in background is not valid.
430 ERROR_VIO_ILLEGAL_DURING_POPUP Function not allowed during pop-up window.
431 ERROR_SMG_NOT_BASESHELL Caller is not the base shell.
432 ERROR_SMG_BAD_STATUSREQ Status requested is not valid.
433 ERROR_QUE_INVALID_WAIT NoWait parameter out of bounds.
434 ERROR_VIO_LOCK Error returned from Scroll Lock.
435 ERROR_MOUSE_INVALID_IOWAIT Parameters for IOWait are not valid.
436 ERROR_VIO_INVALID_HANDLE VIO handle is not valid.
437 ERROR_VIO_ILLEGAL_DURING_LOCK Function not allowed during screen lock.
438 ERROR_VIO_INVALID_LENGTH VIO length is not valid.
439 ERROR_KBD_INVALID_HANDLE KBD handle is not valid.
440 ERROR_KBD_NO_MORE_HANDLE Ran out of handles.
441 ERROR_KBD_CANNOT_CREATE_KCB Unable to create kcb.
442 ERROR_KBD_CODEPAGE_LOAD_INCOMPL Unsuccessful code-page load.
443 ERROR_KBD_INVALID_CODEPAGE_ID Code page identity is not valid.
444 ERROR_KBD_NO_CODEPAGE_SUPPORT No code page support.
445 ERROR_KBD_FOCUS_REQUIRED Keyboard focus required.
446 ERROR_KBD_FOCUS_ALREADY_ACTIVE Calling thread has an outstanding focus.
447 ERROR_KBD_KEYBOARD_BUSY Keyboard is busy.
448 ERROR_KBD_INVALID_CODEPAGE Code page is not valid.
449 ERROR_KBD_UNABLE_TO_FOCUS Focus attempt failed.
450 ERROR_SMG_SESSION_NON_SELECT Session is not selectable.
451 ERROR_SMG_SESSION_NOT_FOREGRND Parent / child session is not foreground.
452 ERROR_SMG_SESSION_NOT_PARENT Not parent of requested child.
453 ERROR_SMG_INVALID_START_MODE Session start mode is not valid.
454 ERROR_SMG_INVALID_RELATED_OPT Session start related option is not valid.
455 ERROR_SMG_INVALID_BOND_OPTION Session bond option is not valid.
456 ERROR_SMG_INVALID_SELECT_OPT Session select option is not valid.
457 ERROR_SMG_START_IN_BACKGROUND Session started in background.
458 ERROR_SMG_INVALID_STOP_OPTION Session stop option is not valid.
459 ERROR_SMG_BAD_RESERVE Reserved parameters are not zero.
460 ERROR_SMG_PROCESS_NOT_PARENT Session parent process already exists.
461 ERROR_SMG_INVALID_DATA_LENGTH Data length is not valid.
462 ERROR_SMG_NOT_BOUND Parent is not bound.
463 ERROR_SMG_RETRY_SUB_ALLOC Retry request block allocation.
464 ERROR_KBD_DETACHED This call is not allowed for a detached PID.
465 ERROR_VIO_DETACHED This call is not allowed for a detached PID.
466 ERROR_MOU_DETACHED This call is not allowed for a detached PID.
467 ERROR_VIO_FONT No font is available to support the mode.
468 ERROR_VIO_USER_FONT User font is active.
469 ERROR_VIO_BAD_CP Codepage specified is not valid.
470 ERROR_VIO_NO_CP System displays do not support codepage.
471 ERROR_VIO_NA_CP Current display does not support codepage.
472 ERROR_INVALID_CODE_PAGE Codepage is not valid.
473 ERROR_CPLIST_TOO_SMALL Codepage list is too small.
474 ERROR_CP_NOT_MOVED Codepage was not moved.
475 ERROR_MODE_SWITCH_INIT Mode switch initialization error.
476 ERROR_CODE_PAGE_NOT_FOUND Codepage was not found.
477 ERROR_UNEXPECTED_SLOT_RETURNED Internal error.
478 ERROR_SMG_INVALID_TRACE_OPTION Start session trace indicator is not valid.
479 ERROR_VIO_INTERNAL_RESOURCE VIO internal resource error.
480 ERROR_VIO_SHELL_INIT VIO shell initialization error.
481 ERROR_SMG_NO_HARD_ERRORS No session manager hard errors.
482 ERROR_CP_SWITCH_INCOMPLETE DosSetProcessCp is unable to set a KBD or VIO codepage.
483 ERROR_VIO_TRANSPARENT_POPUP Error during VIO pop-up window.
484 ERROR_CRITSEC_OVERFLOW Critical section overflow.
485 ERROR_CRITSEC_UNDERFLOW Critical section underflow.
486 ERROR_VIO_BAD_RESERVE Reserved parameter is not zero.
487 ERROR_INVALID_ADDRESS Physical address is not valid.
488 ERROR_ZERO_SELECTORS_REQUESTED At least one selector must be requested.
489 ERROR_NOT_ENOUGH_SELECTORS_AVA Not enough GDT selectors to satisfy request.
490 ERROR_INVALID_SELECTOR GDT selector is not valid.
491 ERROR_SMG_INVALID_PROGRAM_TYPE Program type is not valid.
492 ERROR_SMG_INVALID_PGM_CONTROL Program control is not valid.
493 ERROR_SMG_INVALID_INHERIT_OPT Inherit option is not valid.
494 ERROR_VIO_EXTENDED_SG
495 ERROR_VIO_NOT_PRES_MGR_SG
496 ERROR_VIO_SHIELD_OWNED
497 ERROR_VIO_NO_MORE_HANDLES
498 ERROR_VIO_SEE_ERROR_LOG
499 ERROR_VIO_ASSOCIATED_DC

500 to 599

Code Name Description
500 ERROR_KBD_NO_CONSOLE
501 ERROR_MOUSE_NO_CONSOLE
502 ERROR_MOUSE_INVALID_HANDLE
503 ERROR_SMG_INVALID_DEBUG_PARMS
504 ERROR_KBD_EXTENDED_SG
505 ERROR_MOU_EXTENDED_SG
506 ERROR_SMG_INVALID_ICON_FILE
507 ERROR_TRC_PID_NON_EXISTENT
508 ERROR_TRC_COUNT_ACTIVE
509 ERROR_TRC_SUSPENDED_BY_COUNT
510 ERROR_TRC_COUNT_INACTIVE
511 ERROR_TRC_COUNT_REACHED
512 ERROR_NO_MC_TRACE
513 ERROR_MC_TRACE
514 ERROR_TRC_COUNT_ZERO
515 ERROR_SMG_TOO_MANY_DDS
516 ERROR_SMG_INVALID_NOTIFICATION
517 ERROR_LF_INVALID_FUNCTION
518 ERROR_LF_NOT_AVAIL
519 ERROR_LF_SUSPENDED
520 ERROR_LF_BUF_TOO_SMALL
521 ERROR_LF_BUFFER_CORRUPTED
521 ERROR_LF_BUFFER_FULL
522 ERROR_LF_INVALID_DAEMON
522 ERROR_LF_INVALID_RECORD
523 ERROR_LF_INVALID_TEMPL
523 ERROR_LF_INVALID_SERVICE
524 ERROR_LF_GENERAL_FAILURE
525 ERROR_LF_INVALID_ID
526 ERROR_LF_INVALID_HANDLE
527 ERROR_LF_NO_ID_AVAIL
528 ERROR_LF_TEMPLATE_AREA_FULL
529 ERROR_LF_ID_IN_USE
530 ERROR_MOU_NOT_INITIALIZED
531 ERROR_MOUINITREAL_DONE
532 ERROR_DOSSUB_CORRUPTED
533 ERROR_MOUSE_CALLER_NOT_SUBSYS
534 ERROR_ARITHMETIC_OVERFLOW
535 ERROR_TMR_NO_DEVICE
536 ERROR_TMR_INVALID_TIME
537 ERROR_PVW_INVALID_ENTITY
538 ERROR_PVW_INVALID_ENTITY_TYPE
539 ERROR_PVW_INVALID_SPEC
540 ERROR_PVW_INVALID_RANGE_TYPE
541 ERROR_PVW_INVALID_COUNTER_BLK
542 ERROR_PVW_INVALID_TEXT_BLK
543 ERROR_PRF_NOT_INITIALIZED
544 ERROR_PRF_ALREADY_INITIALIZED
545 ERROR_PRF_NOT_STARTED
546 ERROR_PRF_ALREADY_STARTED
547 ERROR_PRF_TIMER_OUT_OF_RANGE
548 ERROR_PRF_TIMER_RESET
549 Reserved
550 Reserved
551 Reserved
552 Reserved
553 Reserved
554 Reserved
555 Reserved
556 Reserved
557 Reserved
558 Reserved
559 Reserved
560 Reserved
561 Reserved
562 Reserved
563 Reserved
564 Reserved
565 Reserved
566 Reserved
567 Reserved
568 Reserved
569 Reserved
570 Reserved
571 Reserved
572 Reserved
573 Reserved
574 Reserved
575 Reserved
576 Reserved
577 Reserved
578 Reserved
579 Reserved
580 Reserved
581 Reserved
582 Reserved
583 Reserved
584 Reserved
585 Reserved
586 Reserved
587 Reserved
588 Reserved
589 Reserved
590 Reserved
591 Reserved
592 Reserved
593 Reserved
594 Reserved
595 Reserved
596 Reserved
597 Reserved
598 Reserved
599 Reserved

600 to 1999

600-638 Reserved.
639 ERROR_VDD_LOCK_USEAGE_DENIED
640 ERROR_TIMEOUT
641 ERROR_VDM_DOWN
642 ERROR_VDM_LIMIT
643 ERROR_VDD_NOT_FOUND
644 ERROR_INVALID_CALLER
645 ERROR_PID_MISMATCH
646 ERROR_INVALID_VDD_HANDLE
647 ERROR_VLPT_NO_SPOOLER
648 ERROR_VCOM_DEVICE_BUSY
649 ERROR_VLPT_DEVICE_BUSY
650 ERROR_NESTING_TOO_DEEP
651 ERROR_VDD_MISSING
691 ERROR_IMP_INVALID_PARM
692 ERROR_IMP_INVALID_LENGTH
693 MSG_HPFS_DISK_ERROR_WARN
Code Name Description
600-638 Reserved
639 ERROR_VDD_LOCK_USEAGE_DENIED
640 ERROR_TIMEOUT
641 ERROR_VDM_DOWN
642 ERROR_VDM_LIMIT
643 ERROR_VDD_NOT_FOUND
644 ERROR_INVALID_CALLER
645 ERROR_PID_MISMATCH
646 ERROR_INVALID_VDD_HANDLE
647 ERROR_VLPT_NO_SPOOLER
648 ERROR_VCOM_DEVICE_BUSY
649 ERROR_VLPT_DEVICE_BUSY
650 ERROR_NESTING_TOO_DEEP
651 ERROR_VDD_MISSING
691 ERROR_IMP_INVALID_PARM
692 ERROR_IMP_INVALID_LENGTH
693 MSG_HPFS_DISK_ERROR_WARN
730 ERROR_MON_BAD_BUFFER
731 ERROR_MODULE_CORRUPTED
732-1476 Reserved
1477 ERROR_SM_OUTOF_SWAPFILE
1478-1999 Reserved

2000 to 59999

Code Name Description
2000-2054 Reserved
2055 ERROR_LF_TIMEOUT
2057 ERROR_LF_SUSPEND_SUCCESS
2058 ERROR_LF_RESUME_SUCCESS
2059 ERROR_LF_REDIRECT_SUCCESS
2060 ERROR_LF_REDIRECT_FAILURE
32768 ERROR_SWAPPER_NOT_ACTIVE
32769 ERROR_INVALID_SWAPID
32770 ERROR_IOERR_SWAP_FILE
32771 ERROR_SWAP_TABLE_FULL
32772 ERROR_SWAP_FILE_FULL
32773 ERROR_CANT_INIT_SWAPPER
32774 ERROR_SWAPPER_ALREADY_INIT
32775 ERROR_PMM_INSUFFICIENT_MEMORY
32776 ERROR_PMM_INVALID_FLAGS
32777 ERROR_PMM_INVALID_ADDRESS
32778 ERROR_PMM_LOCK_FAILED
32779 ERROR_PMM_UNLOCK_FAILED
32780 ERROR_PMM_MOVE_INCOMPLETE
32781 ERROR_UCOM_DRIVE_RENAMED
32782 ERROR_UCOM_FILENAME_TRUNCATED
32783 ERROR_UCOM_BUFFER_LENGTH
32784 ERROR_MON_CHAIN_HANDLE
32785 ERROR_MON_NOT_REGISTERED
32786 ERROR_SMG_ALREADY_TOP
32787 ERROR_PMM_ARENA_MODIFIED
32788 ERROR_SMG_PRINTER_OPEN
32789 ERROR_PMM_SET_FLAGS_FAILED
32790 ERROR_INVALID_DOS_DD
32791 ERROR_BLOCKED
32792 ERROR_NOBLOCK
32793 ERROR_INSTANCE_SHARED
32794 ERROR_NO_OBJECT
32795 ERROR_PARTIAL_ATTACH
32796 ERROR_INCACHE
32797 ERROR_SWAP_IO_PROBLEMS
32798 ERROR_CROSSES_OBJECT_BOUNDARY
32799 ERROR_LONGLOCK
32800 ERROR_SHORTLOCK
32801 ERROR_UVIRTLOCK
32802 ERROR_ALIASLOCK
32803 ERROR_ALIAS
32804 ERROR_NO_MORE_HANDLES
32805 ERROR_SCAN_TERMINATED
32806 ERROR_TERMINATOR_NOT_FOUND
32807 ERROR_NOT_DIRECT_CHILD
32808 ERROR_DELAY_FREE
32809 ERROR_GUARDPAGE
32900 ERROR_SWAPERROR
32901 ERROR_LDRERROR
32902 ERROR_NOMEMORY
32903 ERROR_NOACCESS
32904 ERROR_NO_DLL_TERM
32905-59999 Reserved

60000 to 65079

Code Name Description
60000-65025 Reserved
65026 ERROR_CPSIO_CODE_PAGE_INVALID
65027 ERROR_CPSIO_NO_SPOOLER
65028 ERROR_CPSIO_FONT_ID_INVALID
65029-65032 Reserved
65033 ERROR_CPSIO_INTERNAL_ERROR
65034 ERROR_CPSIO_INVALID_PTR_NAME
65035-65036 Reserved
65037 ERROR_CPSIO_NOT_ACTIVE
65038 Reserved
65039 ERROR_CPSIO_PID_FULL
65040 ERROR_CPSIO_PID_NOT_FOUND
65041-65042 Reserved
65043 ERROR_CPSIO_READ_CTL_SEQ
65044 Reserved
65045 ERROR_CPSIO_READ_FNT_DEF
65046 Reserved
65047 ERROR_CPSIO_WRITE_ERROR
65048 ERROR_CPSIO_WRITE_FULL_ERROR
65049 ERROR_CPSIO_WRITE_HANDLE_BAD
65050-65073 Reserved
65074 ERROR_CPSIO_SWIT_LOAD
65075-65076 Reserved
65077 ERROR_CPSIO_INV_COMMAND
65078 ERROR_CPSIO_NO_FONT_SWIT
65079 ERROR_ENTRY_IS_CALLGATE