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 67h (103) set handle count . dos 3.3</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 67h (103)        Set Handle Count                          . DOS 3.3

     Sets allowed number of handles.

          On entry:      AH         67h
                         BX         Number of open handles to allow

          Returns:       If CF = 1, AX = DOS Error Code

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

     This function lets you have more than 20 open files per process. The
     maximum number of file handles is 64K.

     If you specify a number less than the number currently open, that
     number will become the new limit only after the excess file handles
     have been closed. You cannot set the number of handles allowed to less
     than 20 (if you do, DOS sets the limit to 20 instead).


        Notes:        You must release memory so that DOS can use it to
                      hold handles. Use function 4Ah (SETBLOCK) to do shrink
                      your program to the minimum it needs before calling
                      this function.

See Also: 4Ah

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