GetNumberOfVolumes

Returns the number of volumes for the local server

Local Servers:blocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
SMP Aware:No
Service:Volume

Syntax

   #include <nwdir.h> 
    
    LONG GetNumberOfVolumes (void); 
   

Return Values

This function returns the number of volumes for the local server.

Remarks

This returns the number of volumes currently mounted on the local server.

See Also

GetVolumeInformation

Example

   #include <stdlib.h> 
   #include <nwdir.h> 
    
    printf("Number of volumes on local server = %d\n",  
            GetNumberOfVolumes() );