NWGetVolumeName
Returns the name of the volume associated with the specified volume number and NetWare server
#include <nwvol.h> or #include <nwcalls.h> N_EXTERN_LIBRARY( NWCCODE ) NWGetVolumeName ( NWCONN_HANDLE conn, nuint16 volNum, pnstr8 volName);
uses calwin32 Function NWGetVolumeName (conn : NWCONN_HANDLE; volNum : nuint16; volName : pnstr8 ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
volNum identifies the volume name on the NetWare server’s Volume Table. volNum needs to be between 0 and the maximum allowable volumes on the server.
NWGetVolumeName can be called to determine all volume numbers and volume names currently mounted on the specified NetWare server:
SUCCESSFUL will be returned for each allowable volume number whether or not that volume exists on the specified server. For example, NetWare 3.x and above supports 64 volumes on each server. Calling NWGetVolumeName on each of the 64 volumes will return SUCCESSFUL even though the volume is not mounted.