Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 12h (18) search for next matching file, using fcbs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 12h (18)        Search for Next Matching File, using FCBs

    Searches the current directory for next matching filename, following a
    Function 11h call or a previous Function 12h call.

       On entry:      AH         12h
                      DS:DX   Pointer to the unopened FCB specified in a
                      previous Function 11h or Function 12h

       Returns:       AL         00h       If another match found
                                 FFh       If no match found

  --------------------------------------------------------------------------

       Warning:       The information needed by Function 12h is destroyed
                      by any operation on the file using the FCB created
                      via Function 11h. Therefore, if you want to search
                      for several files and also do I/O on them, you must
                      save the search information that is stored in the
                      FCB.

See Also: 11h 4Eh 4Fh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson