NWScanVolDiskRestrictions2
Returns a list of the disk restrictions for a volume
#include <nwvol.h> or #include <nwcalls.h> N_EXTERN_LIBRARY( NWCCODE ) NWScanVolDiskRestrictions2 ( NWCONN_HANDLE conn, nuint8 volNum, pnuint32 iterHnd, NWVOL_RESTRICTIONS N_FAR *volInfo);
uses calwin32 Function NWScanVolDiskRestrictions2 (conn : NWCONN_HANDLE; volNum : nuint8; iterhandle : pnuint32; Var volInfo : NWVOL_RESTRICTIONS ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWScanVolDiskRestrictions2 replaces NWScanVolDiskRestrictions. The new function uses a larger structure for the volume restrictions that allows up to 16 restrictions per volume.
NOTE:Calling NWScanVolDiskRestrictions when you have more than 12 restrictions per volume causes random failures. For this reason, call NWScanVolDiskRestrictions2 exclusively.
The information returned in NWVOL_RESTRICTIONS contains the object restrictions that have been made for the volume. All restrictions are returned in 4K blocks. If the restriction is greater than 0x40000000 on a 3.1 server or 0x80000000 on a 4.x and above server, the object has no restrictions.
IMPORTANT:NWScanVolDiskRestrictions2 is called iteratively to retrieve information on all disk space restrictions. The number of entries is returned in the volInfo.numberOfEntries field. This value must be added to the previous iterHnd to obtain the value for the next iterative call.