[Toc][Index]

DosSetMaxFH


Bindings:  C, MASM 

This call defines the maximum number of file handles for the current 
process. 
 DosSetMaxFH     (NumberHandles) 
 
 NumberHandles (USHORT) - input 
    Total number of file handles to be provided. 
 rc (USHORT) - return 
    Return code descriptions are: 
    0         NO_ERROR 
    8         ERROR_NOT_ENOUGH_MEMORY 
    87        ERROR_INVALID_PARAMETER 
 
 Remarks 
 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. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs