Assembly Language Help (alang.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 67h
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This function call controls the size of the table that relates
     handle numbers for the current process to MS-DOS's internal
     global table for all of the open files and devices in the system.
     The default table is located in the reserved area of the process
     PSP and is large enough for 20 handles.
 
     The function fails if the requested number of handles is greater
     than 20 and there is not sufficient free memory in the system to
     allocate a new block to hold the enlarged table.
 
     If the number of handles requested is larger than the available
     entries in the system's global table for file and device handles
     (controlled by the FILES entry in CONFIG.SYS), no error is
     returned. However, a subsequent attempt to open a file or device,
     or to create a new file, will fail if all of the entries in the
     system's global file table are in use, even if the requesting
     process has not used up all of its own handles.
                                    -♦-