IFSMgr_DbgSetFileHandleLimit

IFSMgr_DbgSetFileHandleLimit(
 unsigned long MaxHandles
 )
 

This service allows the caller to set a limit on the maximum number of available extended handles in the system. By default, this value is 65024. However, in order to test boundary conditions where the system can run out of file handles, the ceiling value can be changed to a smaller number. This service is available only on debug versions of the IFS manager. On non-debug versions, this service returns without doing anything.

MaxHandles
Supplies the value for the maximum number of allowed extended handles in the system. This value should be a multiple of 256.

If the value for the maximum number of handles is not a multiple of 256, an error is returned.