Bewerken

Delen via


FEATURE_DATA_WRITE_PROTECT structure (ntddmmc.h)

The FEATURE_DATA_WRITE_PROTECT structure contains information about the Write Protect feature.

Syntax

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;

Members

Header

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[3]

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.

Requirements

Requirement Value
Header ntddmmc.h (include Ntddcdrm.h)

See also

FEATURE_HEADER

FEATURE_NUMBER