Function 59h Get Extended Error Information (Dos 3.x) Obtains detailed error information after a previous unsuccessful Int 21h function call, including the recommended remedial action. entry AH 59h BX 00h return AX Struct -Extended Error Codes 0000h no error occured on last Int 21h function call 0022h invalid disk change ES:DI ASCIIZ volume label of disk to insert BH Struct -Extended Error Class BL Struct -Extended Error Action CH Struct -Extended Error Location note 1) This function may be called after any other Int 21h function all that returned an error status, in order to obtain more detailed information about the error type and the recommended action. 2) This function may also be called during the execution of a critical- error Int\24 handler. 3) The contents of registers CL,DX,SI,DI,BP,DS, and ES are destroyed 4) Note that extended error codes 13h-1Fh (19-31) and 22h (34) correspond exactly to error codes 0-0Ch (0-12) and 0Fh (15) returned by Int\24 5) Microsoft documentation explicitly warns that new error codes will be added in future versions of MS-DOS, and you should not code your programs to recognize only specific error numbers if you want to ensure upward compatibility.
|file: /Techref/INT/21f/59.htm, 1KB, , updated: 1999/6/11 08:12, local time: 2023/12/9 04:46,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/techref/INT/21f/59.htm"> INT 21f 59</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!