Bewerken

Delen via


GET_CONFIGURATION_HEADER structure (ntddmmc.h)

The GET_CONFIGURATION_HEADER structure is used to format the output data retrieved by the IOCTL_CDROM_GET_CONFIGURATION request.

Syntax

typedef struct _GET_CONFIGURATION_HEADER {
  UCHAR DataLength[4];
  UCHAR Reserved[2];
  UCHAR CurrentProfile[2];
  UCHAR Data[0];
} GET_CONFIGURATION_HEADER, *PGET_CONFIGURATION_HEADER;

Members

DataLength[4]

Indicates the amount of data, in bytes, that is being returned in the buffer area pointed to by the Data member. If the data length is greater than 65,530 bytes, multiple GET CONFIGURATION commands will be required for the Initiator to read all configuration data. The bytes in this array are arranged in big-endian order. DataLength[0] has the most significant byte, and DataLength[3] has the least significant byte.

Reserved[2]

Reserved.

CurrentProfile[2]

Contains an enumerator value of type FEATURE_PROFILE_TYPE that indicates the device's current profile. The bytes in this array are arranged in big-endian order. CurrentProfile[0] has the most significant byte, and CurrentProfile[3] has the least significant byte.

Data[0]

Contains the feature data, beginning with the FEATURE_HEADER.

Requirements

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

See also

FEATURE_HEADER

FEATURE_NUMBER

FEATURE_PROFILE_TYPE

IOCTL_CDROM_GET_CONFIGURATION