Adjusts the maximum number of file handles for the calling process.

#define INCL_DOSFILEMGR
#include <os2.h>

PLONG     pcbReqCount;  /*  Address of the number to be added to the maximum number of file handles for the calling process. */
PULONG    pcbCurMaxFH;  /*  Address of the variable to receive the new total number of allocated file handles. */
APIRET    ulrc;         /*  Return Code. */

ulrc = DosSetRelMaxFH(pcbReqCount, pcbCurMaxFH);


[Back] [Next]