NWGetDirSpaceInfo(3nw)


NWGetDirSpaceInfo -- returns information on space usage for a directory of a volume

Synopsis

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

NWCCODE N_API NWGetDirSpaceInfo (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, nuint16 volNum, DIR_SPACE_INFO N_FAR * spaceInfo);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle. conn is equivalent to nuint16.

dirHandle
(IN) Specifies the directory handle associated with the desired directory path (0 if volume information is to be returned).

volNum
(IN) Specifies the volume number to return space information for (0 if directory information is to be returned).

spaceInfo
(OUT) Points to DIR_SPACE_INFO.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

Notices

If dirHandle is zero, NWGetDirSpaceInfo returns the volume information to DIR_SPACE_INFO. purgeableBlocks is set to 0 if dirHandle passes in a non-zero value.

Services

File Systems

NCP calls

20x2222 22 44
Get Volume Purge Information

20x2222 22 45
Get Dir Info

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.