NWGetObjDiskRestrictions
Returns the disk restrictions imposed on an object for the specified volume number
#include <nwvol.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY( NWCCODE ) NWGetObjDiskRestrictions (
NWCONN_HANDLE conn,
nuint8 volNumber,
nuint32 objectID,
pnuint32 restriction,
pnuint32 inUse);
uses calwin32
Function NWGetObjDiskRestrictions
(conn : NWCONN_HANDLE;
volNumber : nuint8;
objectID : nuint32;
restriction : pnuint32;
inUse : pnuint32
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
The restrictions are returned in units of 4KB blocks and ignore the block size of the volume.
NOTE:If the restriction equals 0x40000000, the object has no restrictions.