Novell Home

NetWare: how to determine the number of volumes

From Developer Community

A simple program that calls GetNumberOfVolumes() and displays the result.

Sample Code

#include <stdio.h>
#include <stdlib.h>
#include <nit\nwdir.h>

int main( void) {
   printf( "Number of volumes: %d\n", GetNumberOfVolumes());
   return EXIT_SUCCESS;
}

--Dmitry Mityugov

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.