NWVolumeIsCDROM

Determines whether a given volume is a CD-ROM or a read-only volume

Local Servers:blocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:File System

Syntax

   #include <nwdir.h>  
    
   int NWVolumeIsCDROM  (  
      LONG   volumeNumber,  
      LONG  *isCDROM ;
   

Parameters

volumeNumber

(IN) Specifies the number of the volume to be queried.

isCDROM

(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.

Return Values

0

ESUCCESS

0xFFFF

Failure—NWErrno is set with the appropriate error code.

Remarks

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.

See Also

NWGetExtendedVolumeInfo, NWGetVolumeName (Volume Management)