NWGetObjDiskRestrictions(3nw)


NWGetObjDiskRestrictions -- returns the disk restrictions on a volume for the specified object

Synopsis

   #include <nwvol.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetObjDiskRestrictions (NWCONN_HANDLE conn, nuint8 volNumber, nuint32 objectID, pnuint32 restriction, pnuint32 inUse);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

volNumber
(IN) Specifies the volume number for which to return the restrictions.

objectID
(IN) Specifies the object ID.

restriction
(OUT) Points to the buffer containing the number of blocks the object can use.

inUse
(OUT) Points to the buffer containing the number of blocks the object is currently using.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

Notices

The restrictions are returned in units of 4K blocks.


NOTE: If the restriction is greater than 0x40000000 on a 3.1 server or 0x80000000 on a 4.x server, the object has no restrictions.

Services

Volume

NCP calls

0x2222 22 41
Get Object Disk Usage And Restrictions

References

NWSetObjectVolSpaceLimit(3nw), NWGetExtendedVolumeInfo(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.