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 3eh (62) close a file handle</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 3Eh (62)        Close a File Handle

    Flush the file's buffers, close the file, and release the file handle.

       On Entry:      AH         3Eh
                      BX         File handle

       Returns:       AX         Error code, if CF is set

       Error codes:   6          Invalid handle

                      Call Function 59h for extended error code information.

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

    This function flushes the file's buffers, closes the file, releases
    the handle, and updates the directory.

See Also: 10h 3Dh

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