// ntddmmc.h
typedef struct _FEATURE_DATA_WRITE_PROTECT {
FEATURE_HEADER Header;
UCHAR SupportsSWPPBit : 1;
UCHAR SupportsPersistentWriteProtect : 1;
UCHAR WriteInhibitDCB : 1;
UCHAR DiscWriteProtectPAC : 1;
UCHAR Reserved01 : 4;
UCHAR Reserved2[3];
} FEATURE_DATA_WRITE_PROTECT, *PFEATURE_DATA_WRITE_PROTECT;
View the official Windows Driver Kit DDI referenceNo description available.
The FEATURE_DATA_WRITE_PROTECT structure contains information about the Write Protect feature.
HeaderContains a FEATURE_HEADER structure with header information for this feature descriptor.
SupportsSWPPBitIndicates, when set to 1, that the device supports set/release PWP status. If additionally SupportsPersistentWriteProtect is set to 1, the device supports the SEND DVD STRUCTURE command with Format = 0xC0. For more details on the write protect feature see the SCSI Multimedia - 4 (MMC-4) specification.
SupportsPersistentWriteProtectIndicates, when set to 1, that the device supports the persistent write protect bit of the time-out & protect mode page. For more details on the write protect feature see the SCSI Multimedia - 4 (MMC-4) specification.
WriteInhibitDCBDiscWriteProtectPACReserved01Reserved2Reserved.
This structure holds data for the feature named "Write Protect" by the MMC-3 specification. Devices that support this feature allow the initiator to change the write-protection state of the media programmatically.