This header contains the IOCDMedia class definition.
See the Overview section above for header-level documentation.
#define kIOCDMediaClass "IOCDMedia" #define kIOCDMediaTOCKey "TOC" #define kIOCDMediaTypeKey "Type" #define kIOCDMediaTypeR "CD-R" #define kIOCDMediaTypeROM "CD-ROM" #define kIOCDMediaTypeRW "CD-RW"
kIOCDMediaClass is the name of the IOCDMedia class.
The kIOCDMediaTOCKey property contains the CD's full table of contents, formatted as a CDTOC structure. The CDTOC structure is same as what is returned by a READ TOC command, format 0x02. All fields in the TOC are guaranteed to be binary-encoded (no BCD-encoded numbers are ever passed).
The kIOCDMediaTypeKey property identifies the CD media type (CD-ROM, CD-R, CD-RW, etc). See the kIOCDMediaType contants for possible values.
The kIOCDMediaTypeKey constant for CD Recordable (CD-R) media.
The kIOCDMediaTypeKey constant for CD-ROM media (inclusive of the CD-I, CD-ROM XA, and CD Audio standards, and mixed mode combinations thereof).
The kIOCDMediaTypeKey constant for CD ReWritable (CD-RW) media.