2.2.3.3 NtmsMountOptions Enumeration

The NtmsMountOptions enumeration defines options for mount operations.

 enum NtmsMountOptions
 {
   NTMS_MOUNT_READ = 0x0001,
   NTMS_MOUNT_WRITE = 0x0002,
   NTMS_MOUNT_ERROR_NOT_AVAILABLE = 0x0004,
   NTMS_MOUNT_ERROR_OFFLINE = 0x0008,
   NTMS_MOUNT_SPECIFIC_DRIVE = 0x0010,
   NTMS_MOUNT_NOWAIT = 0x0020
 };

NTMS_MOUNT_READ:  Mount the media with read access enabled.

NTMS_MOUNT_WRITE:  Mount the media with write access enabled. Media that are marked as completed MUST NOT be mounted with write access enabled.

NTMS_MOUNT_ERROR_NOT_AVAILABLE:  Return an error if the media or a drive is not available.

NTMS_MOUNT_ERROR_OFFLINE:  Return an error if the media specified is not currently in an online library.

NTMS_MOUNT_SPECIFIC_DRIVE:  Mount the media into the drives.

NTMS_MOUNT_NOWAIT:  Specify that the server MUST NOT wait for the mount request to complete.