SUB_Q_HEADER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddcdrm.h

typedef struct _SUB_Q_HEADER {
  UCHAR Reserved;
  UCHAR AudioStatus;
  UCHAR DataLength[2];
} SUB_Q_HEADER, *PSUB_Q_HEADER;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddcdrm-_sub_q_header)

_SUB_Q_HEADER structure

Description

The SUB_Q_HEADER structure contains audio status information and the length of the Q subchannel data being returned. This structure is used in conjunction with SUB_Q_CHANNEL_DATA.

Members

Reserved

Reserved.

AudioStatus

Reports the audio status with one of the following flags:

AUDIO_STATUS_NOT_SUPPORTED

Audio status byte not supported or not valid.

AUDIO_STATUS_IN_PROGRESS

Audio play operation is in progress.

AUDIO_STATUS_PAUSED

Audio play operation is paused.

AUDIO_STATUS_PLAY_COMPLETE

Audio play operation completed successfully.

AUDIO_STATUS_PLAY_ERROR

Audio play operation stopped due to error.

AUDIO_STATUS_NO_STATUS

No current audio status to return.

DataLength

Gives the length of Q subchannel data that follows this header structure. The bytes in this array are arranged in big-endian order. DataLength[0] contains the most significant byte, and DataLength[1] contains the least significant byte.

See also

CDROM_SUB_Q_DATA_FORMAT

IOCTL_CDROM_READ_Q_CHANNEL

SUB_Q_CHANNEL_DATA