qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 12H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Find Next File
 
  Given that a previous call to Int 21H Function 11H has been successful,
  returns the next matching filename (if any).
 
  Input                                   Output
  ════════════════════════════            ════════════════════════════════
  AH=12H                                  If function successful (matching
  DS:DX=segment:offset of file             filename found)
        control block                     AL=00H
                                          and buffer at current disk trans-
                                           fer area (DTA) address set up
                                           as an unopened normal FCB or
                                           extended FCB, depending on
                                           which type of FCB was originally
                                           input to Int 21H Function 11H
                                          If function unsuccessful (no more
                                           matching filenames found)
                                          AL=FFH
                                    -♦-