FEATURE_DATA_WRITE_ONCE structure (ntddmmc.h)

The FEATURE_DATA_WRITE_ONCE structure holds information for the Write Once feature.

Syntax

typedef struct _FEATURE_DATA_WRITE_ONCE {
  FEATURE_HEADER Header;
  UCHAR          LogicalBlockSize[4];
  UCHAR          Blocking[2];
  UCHAR          ErrorRecoveryPagePresent : 1;
  UCHAR          Reserved1 : 7;
  UCHAR          Reserved2;
} FEATURE_DATA_WRITE_ONCE, *PFEATURE_DATA_WRITE_ONCE;

Members

Header

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

LogicalBlockSize[4]

Indicates the number of bytes per logical block. The bytes in this array are arranged in big-endian order. LogicalBlockSize[0] holds the most significant byte. LogicalBlockSize[3] holds the least significant byte.

Blocking[2]

Indicates the number of logical blocks per device. The bytes in this array are arranged in big-endian order. Blocking[0] holds the most significant byte. Blocking[1] holds the least significant byte.

ErrorRecoveryPagePresent

Indicates, when set to 1, that the Read/Write Error Recovery Mode Page is present. When set to zero, indicates that it might not be present. See the SCSI Multimedia 3 (MMC-3) specification for a description of this page.

Reserved1

Reserved.

Reserved2

Reserved.

Remarks

This structure holds data for the feature named "Write Once" by the MMC-3 specification. Devices that support this feature can write to any previously unused logical block.

Requirements

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

See also

FEATURE_HEADER

FEATURE_NUMBER