CP Error Codes

From EDM2
Jump to: navigation, search

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

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-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

Networkn ame 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 - 79 Reserved.

80 ERROR_FILE_EXISTS

Fileexists.

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

Duplicatere direction.

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

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-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-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 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

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

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 replaced 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 screenmode.

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

TopRow value is not valid.

361 ERROR_VIO_BOTROW

BotRow 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 is sued 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

SessionID 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

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

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-599 Reserved.

600 to 699

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

700 to 1999

730 ERROR_MON_BAD_BUFFER
731 ERROR_MODULE_CORRUPTED
732-1476 Reserved.
1477 ERROR_SM_OUTOF_SWAPFILE
1478-1999 Reserved.

2000 to 59999

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

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