Bewerken

Delen via


SUB_Q_CHANNEL_DATA union (ntddcdrm.h)

Device control IRPs with a control code of IOCTL_CDROM_READ_Q_CHANNEL return their output data in this union.

Syntax

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;

Members

CurrentPosition

Contains position information, such as the absolute and relative addresses, in a SUB_Q_CURRENT_POSITION structure.

MediaCatalog

Contains the media catalog number in a SUB_Q_MEDIA_CATALOG_NUMBER structure.

TrackIsrc

Contains the TrackIsrc code in a SUB_Q_TRACK_ISRC structure.

Remarks

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.

Requirements

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

See also

CDROM_SUB_Q_DATA_FORMAT

IOCTL_CDROM_READ_Q_CHANNEL

SUB_Q_CURRENT_POSITION

SUB_Q_MEDIA_CATALOG_NUMBER

SUB_Q_TRACK_ISRC