Implemented SCSI PREVENT ALLOW MEDIUM REMOVAL command.

This commit is contained in:
2015-10-24 04:46:11 +01:00
parent 589452272c
commit 4ecec3373a
3 changed files with 104 additions and 6 deletions

View File

@@ -2721,5 +2721,27 @@ namespace DiscImageChef.Devices
/// </summary>
Saved = 0xC0
}
public enum ScsiPreventAllowMode : byte
{
/// <summary>
/// Allows medium removal from data transport and from medium changer
/// </summary>
Allow = 0x00,
/// <summary>
/// Prevents medium removal from data transport but allows it from medium changer
/// </summary>
Prevent = 0x01,
/// <summary>
/// Allows medium removal from data transport but prevents it from medium changer
/// </summary>
[Obsolete]
PreventChanger = 0x02,
/// <summary>
/// Prevents medium removal from both data transport and medium changer
/// </summary>
[Obsolete]
PreventAll = 0x03
}
}