Hello,
1) The "STARBURN_WRITE_MODE" type is a flagged enum
STARBURN_WRITE_MODE_AUTO = 0
STARBURN_WRITE_MODE_TAO = 1
STARBURN_WRITE_MODE_SAO = 2
STARBURN_WRITE_MODE_DAO_16 = 4
STARBURN_WRITE_MODE_DAO_96 = 8
2) .. "SupportedModesWrite" - this property returns the information (as the set of flags) about the Write Modes which are supported by current device.
3) You can use the returned value in the next manner:
С# example - DiscInfo
Code:
private void RefreshSupportedWriteModes(DriveInfo pDriveInfo)
{
STARBURN_WRITE_MODE supportedWriteMode = (STARBURN_WRITE_MODE)pDriveInfo.SupportedModesWrite;
chkDAO_PQ.Checked = ((supportedWriteMode & STARBURN_WRITE_MODE.STARBURN_WRITE_MODE_DAO_16)==0)?false:true;
chkDAO_PW.Checked = ((supportedWriteMode & STARBURN_WRITE_MODE.STARBURN_WRITE_MODE_DAO_96) == 0)?false:true;
... etc.
}
Regards,
Dmitry