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 |
---|---|
Retrieves disc information to fill in the CDROM_DISCINFO structure. |
|
Ejects the CD-ROM. |
|
Retrieves CD-ROM sense information and fills in the CD_SENSE_DATA structure. |
|
Retrieves information used in the INQUIRY_DATA structure. |
|
Suspends audio play. |
|
Plays audio from the specified range of the media. |
|
Reads scatter buffers from the CD-ROM and the information is stored in the CDROM_READ structure. |
|
Returns the table of contents of the media. |
|
Resumes a suspended audio operation. |
|
Ends audio play. |
|
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