GetVolumeNumber
Returns the volume number for a volume
#include <nwdir.h>
int GetVolumeNumber (
char *volumeName,
int *volumeNumber);
The GetVolumeNumber function converts a volume name to a zero-based index. The volumeName parameter is 16 bytes long. A volume name can be from 2 to 16 characters long and cannot include spaces or the following characters:
Wildcards are not allowed in the volume name.
The volumeNumber identifies the volume in the server’s VolumeTable. The Volume Table contains information about each volume on the server. A server running NetWare 3.1 or above can accommodate up to 64 volumes.