Determines whether a given volume is a CD-ROM or a read-only volume
#include <nwdir.h>
int NWVolumeIsCDROM (
LONG volumeNumber,
LONG *isCDROM ;
(IN) Specifies the number of the volume to be queried.
(OUT) Points to either TRUE or FALSE, indicating whether the volume is a CD-ROM volume for NetWare 4.x or a read-only volume for NetWare 5.x and 6.x.
NWVolumeIsCDROM allows you to determine if the given volume is a CD-ROM volume(for NetWare 4.x and if it is a read-only volume for NetWare 5. All CD-ROM volumes are also read-only volumes.
NWVolumeIsCDROM fails if the given volume is not mounted.
NWGetExtendedVolumeInfo, NWGetVolumeName (Volume Management)