SUB_Q_MEDIA_CATALOG_NUMBER structure (ntddcdrm.h)

The SUB_Q_MEDIA_CATALOG_NUMBER structure contains position information and is used in conjunction with the SUB_Q_CHANNEL_DATA structure.

Syntax

typedef struct _SUB_Q_MEDIA_CATALOG_NUMBER {
  SUB_Q_HEADER Header;
  UCHAR        FormatCode;
  UCHAR        Reserved[3];
  UCHAR        Reserved1 : 7;
  UCHAR        Mcval : 1;
  UCHAR        MediaCatalog[15];
} SUB_Q_MEDIA_CATALOG_NUMBER, *PSUB_Q_MEDIA_CATALOG_NUMBER;

Members

Header

Indicates, among other things, the length of the Q subchannel data that was retrieved. See SUB_Q_HEADER for further details.

FormatCode

Should have a value of IOCTL_CDROM_MEDIA_CATALOG.

Reserved[3]

Reserved.

Reserved1

Reserved.

Mcval

Indicates that the media catalog number (MCN) data is valid if set to 1; set to zero otherwise.

MediaCatalog[15]

Contains the catalog number if Mcval is set to 1.

Requirements

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

See also

CDROM_SUB_Q_DATA_FORMAT

IOCTL_CDROM_READ_Q_CHANNEL

SUB_Q_CHANNEL_DATA

SUB_Q_HEADER