This call defines the maximum number of file handles for the current process.
DosSetMaxFH
NumberHandles (USHORT) - input
OS/2 initially allots 20 file handles to a process, which is the recommended amount for an application. However, if the system limit has not been reached, this amount can be increased with DosSetMaxFH. When this call is made, all open file handles are preserved.