NWGetObjectDiskSpaceLeft(3nw)
NWGetObjectDiskSpaceLeft --
returns the remaining disk space for a specified bindery object
Synopsis
#include <nwbindry.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetObjectDiskSpaceLeft
(NWCONN_HANDLE conn,
nuint32 objID,
pnuint32 systemElapsedTime,
pnuint32 unusedDiskBlocks,
pnuint8 restrictionEnforced);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle.
- objID
-
(IN) Specifies the ID of the object in question.
- systemElapsedTime
-
(OUT) Points to the time the NetWare server has been up.
- unusedDiskBlocks
-
(OUT) Points to the number of blocks the NetWare server must allocate to a bindery object.
- restrictionEnforced
-
(OUT) Points to a flag indicating whether the NetWare server operating system can limit disk resources. 0x0000=enforced; 0x00FF=not enforced.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x89C6
-
NO_CONSOLE_PRIVILEGES
- 0x89FC
-
NO_SUCH_OBJECT
Notices
NWGetObjectDiskSpaceLeft returns systemElapsedTime in units of approximately 1/18 second. It is used to determine the amount of time elapsed between
consecutive calls. When the value reaches 0xFFFFFFFF, it wraps back to zero.
Services
Bindery
NCP calls
- 0x2222 23 230
-
Get Object's Remaining Disk Space
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.