Bewerken

Delen via


FEATURE_DATA_RANDOM_READABLE structure (ntddmmc.h)

The FEATURE_DATA_RANDOM_READABLE structure contains data for the random readable feature.

Syntax

typedef struct _FEATURE_DATA_RANDOM_READABLE {
  FEATURE_HEADER Header;
  UCHAR          LogicalBlockSize[4];
  UCHAR          Blocking[2];
  UCHAR          ErrorRecoveryPagePresent : 1;
  UCHAR          Reserved1 : 7;
  UCHAR          Reserved2;
} FEATURE_DATA_RANDOM_READABLE, *PFEATURE_DATA_RANDOM_READABLE;

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 of this value are arranged in big-endian order. LogicalBlockSize[0] contains the most significant byte, and LogicalBlockSize[3] contains the least significant byte.

Blocking[2]

Indicates the number of logical blocks per device-readable unit. The bytes of this value are arranged in big-endian order. Blocking[0] contains the most significant byte, and Blocking[1] contains the least significant byte.

ErrorRecoveryPagePresent

Indicates, when set to zero, that the read/write error recovery mode page might not be present. When set to 1, it indicates that the error recovery page is present.

Reserved1

Reserved.

Reserved2

Reserved.

Remarks

This structure holds data for the feature named "Random Readable" by the MMC-3 specification. Devices that support this feature allow the initiator to read blocks of data on the disk at random locations. These devices do not require that the initiator address disk locations in any particular order.

Requirements

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

See also

FEATURE_HEADER

FEATURE_NUMBER