Table of Contents

Note: This API call is for DOS and Win16 personality only. Use Family API for portability.

2018/09/07 05:04 · prokushev · 0 Comments

Int 21H, AH=4EH

Version

2 and higher

Brief

“FINDFIRST” - FIND FIRST MATCHING FILE

Family API

DosFindFirst

Input

AH = 4Eh
AL = special flag for use by APPEND (refer to note below)
CX = file attribute mask (see #01420 at AX=4301h) (bits 0 and 5 ignored)
    0088h (Novell DOS 7) find first deleted file
DS:DX -> ASCIZ file specification (may include path and wildcards)

Return

CF clear if successful
    Disk Transfer Area filled with FindFirst data block (see #01626)
CF set on error
    AX = error code (02h,03h,12h) (see #01680 at AH=59h/BX=0000h)

Notes

BUGS

See also

AH=11h,AH=4Fh,AX=4301h,AX=714Eh,AX=71A1h,AX=F257h/SF=02h, INT 2F/AX=111Bh,INT 2F/AX=B711h

Note

Text based on Ralf Brown Interrupt List Release 61

2018/09/04 17:23 · prokushev · 0 Comments