次の方法で共有


Sample ATAPI Driver (Windows Embedded CE 6.0)

1/6/2010

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.

Applies to Windows Embedded CE 6.0 R2

As of Windows Embedded CE 6.0 R2, the ATAPI driver has been updated to simplify the process of extending this driver to support a SATA controller. For additional information on extending the ATAPI driver to support a SATA controller, see the following directories and files that extend the ATAPI driver to support the Promise PDC40518 SATA card.

%WINCEROOT%\public\COMMON\oak\drivers\block\atapi

%WINCEROOT%\public\COMMON\oak\drivers\block\atapi\pdc40518.cpp

%WINCEROOT%\public\COMMON\oak\drivers\block\atapi\pdc40518.h

%WINCEROOT%\public\COMMON\oak\drivers\block\atapi\pdc40518.reg

%WINCEROOT%\public\COMMON\oak\drivers\block\atapi\pcip_pdc40518\*

See Also

Concepts

Block Driver Samples
Block Driver Architecture
Block Driver Registry Settings