ADC Home > Reference Library > Technical Q&As > Legacy Documents > Mac OS 9 & Earlier >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Detecting CD/DVD media types

How can I detect what types of media a CD/DVD drive supports?

You can make a Status call to the driver with csCode = kdgGetCDDeviceInfo to retrieve information about a CD/DVD drive, including supported media types. If successful, csParam[0:2] contain a CDDeviceCharacteristics structure. The CDDeviceCharacteristics structure has been extended to include flags for supported media.

The extended CDDeviceCharacteristics structure is described fully in the file DriverGestalt.h in Universal Interfaces 3.4.

[Feb 21 2001]

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.