// ntddcdrm.h
typedef union _SUB_Q_CHANNEL_DATA {
SUB_Q_CURRENT_POSITION CurrentPosition;
SUB_Q_MEDIA_CATALOG_NUMBER MediaCatalog;
SUB_Q_TRACK_ISRC TrackIsrc;
} SUB_Q_CHANNEL_DATA, *PSUB_Q_CHANNEL_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
Device control IRPs with a control code of IOCTL_CDROM_READ_Q_CHANNEL return their output data in this union.
CurrentPositionContains position information, such as the absolute and relative addresses, in a SUB_Q_CURRENT_POSITION structure.
MediaCatalogContains the media catalog number in a SUB_Q_MEDIA_CATALOG_NUMBER structure.
TrackIsrcContains the TrackIsrc code in a SUB_Q_TRACK_ISRC structure.
The value of the Format member of the CDROM_SUB_Q_DATA_FORMAT structure that is passed as input with IOCTL_CDROM_READ_Q_CHANNEL determines which member of this union is used to return the output data. See CDROM_SUB_Q_DATA_FORMAT for a detailed explanation.