NWSetObjectVolSpaceLimit(3nw)


NWSetObjectVolSpaceLimit -- sets object's disk space limit on volume

Synopsis

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

NWCCODE N_API NWSetObjectVolSpaceLimit (NWCONN_HANDLE conn, nuint16 volNum, nuint32 objID, nuint32 restriction);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

volNum
(IN) Specifies the volume number for which to set the space limit.

objID
(IN) Specifies the object ID for which to limit the volume space.

restriction
(IN) Specifies the number of blocks to limit the volume space.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x898C
N0_MODIFY_PRIVILEGES

0x8996
SERVER_OUT_OF_MEMORY

0x8998
VOLUME_DOES_NOT_EXIST

Notices

The restrictions are set in units of blocks. The valid space limits range from 0 to 0x08000000.


NOTE: Block size can be found by calling NWGetExtendedVolumeInfo and multiplying sectorSize and sectorPerCluster.

Services

Volume

NCP calls

0x2222 22 33 Add User Disk Space Restriction

 
 0x2222   22   33   Add User Disk Space Restriction 

References

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