Share via


Sample ATAPI Driver

The sample ATAPI driver is in the %_WINCEROOT%\Public\Common\OAK\Drivers\Block\ATAPI directory. The following table shows the ATAPI driver IOCTLs.

IOCTL Description
IOCTL_CDROM_DISC_INFO Retrieves disc information to fill in the CDROM_DISCINFO structure.
IOCTL_CDROM_EJECT_MEDIA Ejects the CD-ROM.
IOCTL_CDROM_GET_SENSE_DATA Retrieves CD-ROM sense information and fills in the CD_SENSE_DATA structure.
IOCTL_CDROM_ISSUE_INQUIRY Retrieves information used in the INQUIRY_DATA structure.
IOCTL_CDROM_PAUSE_AUDIO Suspends audio play.
IOCTL_CDROM_PLAY_AUDIO_MSF Plays audio from the specified range of the media.
IOCTL_CDROM_READ_SG Reads scatter buffers from the CD-ROM and the information is stored in the CDROM_READ structure.
IOCTL_CDROM_READ_TOC Returns the table of contents of the media.
IOCTL_CDROM_RESUME_AUDIO Resumes a suspended audio operation.
IOCTL_CDROM_STOP_AUDIO Ends audio play.
IOCTL_CDROM_TEST_UNIT_READY Retrieves disc-ready information and fills the CDROM_TESTUNITREADY structure.

See Also

Block Driver Architecture | Block Driver Registry Settings

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.