IOCDMedia.h

Overview

This header contains the IOCDMedia class definition.



Macro Definitions

kIOCDMediaClass

kIOCDMediaClass is the name of the IOCDMedia class.

kIOCDMediaTOCKey

kIOCDMediaTOCKey is a property of IOCDMedia objects. It has an OSData value and a CDTOC structure.

kIOCDMediaTypeKey

kIOCDMediaTypeKey is a property of IOCDMedia objects. It has an OSString value.

kIOCDMediaTypeR
kIOCDMediaTypeROM
kIOCDMediaTypeRW

kIOCDMediaClass


kIOCDMediaClass is the name of the IOCDMedia class.

#define kIOCDMediaClass "IOCDMedia" 
Discussion

kIOCDMediaClass is the name of the IOCDMedia class.


kIOCDMediaTOCKey


kIOCDMediaTOCKey is a property of IOCDMedia objects. It has an OSData value and a CDTOC structure.

#define kIOCDMediaTOCKey "TOC" 
Discussion

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).


kIOCDMediaTypeKey


kIOCDMediaTypeKey is a property of IOCDMedia objects. It has an OSString value.

#define kIOCDMediaTypeKey "Type" 
Discussion

The kIOCDMediaTypeKey property identifies the CD media type (CD-ROM, CD-R, CD-RW, etc). See the kIOCDMediaType contants for possible values.


kIOCDMediaTypeR


#define kIOCDMediaTypeR "CD-R" 
Discussion

The kIOCDMediaTypeKey constant for CD Recordable (CD-R) media.


kIOCDMediaTypeROM


#define kIOCDMediaTypeROM "CD-ROM" 
Discussion

The kIOCDMediaTypeKey constant for CD-ROM media (inclusive of the CD-I, CD-ROM XA, and CD Audio standards, and mixed mode combinations thereof).


kIOCDMediaTypeRW


#define kIOCDMediaTypeRW "CD-RW" 
Discussion

The kIOCDMediaTypeKey constant for CD ReWritable (CD-RW) media.

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15