Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 67h set maximum handle count dos 3.3+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 67h            Set Maximum Handle Count                     DOS 3.3+

    Sets the maximum number of handles a program can use at any one
    time.

        Entry   AH = 67h
                BX = Maximum number of open handles

        Return  AX = Error code, if CF is set
                     | ??

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

    This function sets the maximum number of handles for the program
    but does not change the number of handles available in the system.
    The total number of system handles is set by the FILES command in
    the CONFIG.SYS file.

    The maximum handle count specified in BX is a property of the
    given program and is not inherited by child programs. This count
    must be in the range 20 to 65,535. If a number less than 20 is
    specified, the function uses 20 by default.

    If this function is used to reduce the number of allowed handles,
    the new limit does not take effect until any handles above the new
    limit are closed.


    Note
    If a program requests an increase in the number of file handles,
    there must be enough free memory for DOS to process this function.

See Also: 46h 4ah

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