CDROM_TOC_CD_TEXT_DATA structure (ntddcdrm.h)

Device control IRPs with a control code of IOCTL_CDROM_READ_TOC_EX and a format of CDROM_READ_TOC_EX_FORMAT_CDTEXT return their output data in this structure followed by a series of descriptors of type CDROM_TOC_CD_TEXT_DATA_BLOCK.

Syntax

typedef struct _CDROM_TOC_CD_TEXT_DATA {
  UCHAR                        Length[2];
  UCHAR                        Reserved1;
  UCHAR                        Reserved2;
  CDROM_TOC_CD_TEXT_DATA_BLOCK Descriptors[0];
} CDROM_TOC_CD_TEXT_DATA, *PCDROM_TOC_CD_TEXT_DATA;

Members

Length[2]

Indicates the number of bytes to be transferred in response to the IOCTL_CDROM_READ_TOC_EX IOCTL. This length value does not include the length of the Length member itself.

Reserved1

Reserved.

Reserved2

Reserved.

Descriptors[0]

Contains zero or more text data block descriptors of type CDROM_TOC_CD_TEXT_DATA_BLOCK.

Requirements

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

See also

CDROM_READ_TOC_EX

CDROM_TOC_CD_TEXT_DATA_BLOCK

IOCTL_CDROM_READ_TOC_EX