FEATURE_DATA_WRITE_PROTECT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddmmc-_feature_data_write_protect)

_FEATURE_DATA_WRITE_PROTECT structure

Description

The FEATURE_DATA_WRITE_PROTECT structure contains information about the Write Protect feature.

Members

Contains a FEATURE_HEADER structure with header information for this feature descriptor.

SupportsSWPPBit

Indicates, 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.

SupportsPersistentWriteProtect

Indicates, 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.

WriteInhibitDCB

DiscWriteProtectPAC

Reserved01

Reserved2

Reserved.

Remarks

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.

See also

FEATURE_HEADER

FEATURE_NUMBER