UINT SetHandleCount(cHandles) | |||||
UINT cHandles; | /* number of file handles needed | */ |
The SetHandleCount function changes the number of file handles available to a task.
For MS-DOS-based Win32, the default maximum number of file handles available to a process is 20. For NT/Win32 systems, this function has no effect.
cHandles
Specifies the number of file handles needed by the application. The maximum is 255.
The return value specifies the number of file handles actually available to the application. It may be less than the number specified by the cHandles parameter.