#include <nwdirect.h> or #include <nwcalls.h>NWCCODE N_API NWGetDirSpaceLimitList (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, pnuint8 returnBuf);
To find the actual amount of space available to a directory, scan all current entries and use the smallest one. Directories having no restrictions return no information. If no entries are returned, no space restrictions exist for the specified directory.
If max
for a directory is 0x7FFFFFFF, there is no restriction for numEntries. If max
is negative, the limit is zero (same for the current field).
File Systems