IOCDMedia.h Reference

Declared in
IOCDMedia.h

Overview

This header contains the IOCDMedia class definition.

Included Headers

  • <IOKit/storage/IOCDBlockStorageDriver.h>

  • <IOKit/storage/IOMedia.h>

Constants

See the Overview section above for header-level documentation.

Miscellaneous Defines

   
#define kIOCDMediaClass "IOCDMedia"
#define kIOCDMediaTOCKey "TOC"
#define kIOCDMediaTypeKey "Type"
#define kIOCDMediaTypeR "CD-R"
#define kIOCDMediaTypeROM "CD-ROM"
#define kIOCDMediaTypeRW "CD-RW"
Constants
kIOCDMediaClass

kIOCDMediaClass is the name of the IOCDMedia class.

kIOCDMediaClass is the name of the IOCDMedia class.

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.

kIOCDMediaTOCKey

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

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

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.

kIOCDMediaTypeKey

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

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

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.

kIOCDMediaTypeR

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

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.

kIOCDMediaTypeROM

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

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.

kIOCDMediaTypeRW

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

Available in OS X v10.0 and later.

Declared in IOCDMedia.h.