I modified an ATA driver to an ATAPI driver as below:
The old ATA driver only support one IDE hard disk on the board.

1) Add AtapiIoctl() to process CD/DVD IOCTL which is similar to
\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\ATAPI\atapipcicd.cpp;
2) Modified "HDProfile"="HDProfile" to "CDProfile"="CDProfile" under
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ATA] in platform.reg;
3) Add Core OS->CEBASE->File systems and Data Store->Storage Manager-
>CD/UDFS File System.

Now only connect one IDE CD/DVD ROM on the board (no hard disk),
the ATAPI driver can detect and read data from IDE CD/DVD ROM.
The "CDROM Drive" folder is shown in the WinCE explorer.

But there are no "Eject" option in the "File" menu of explorer,
after press button on CD/DVD ROM to eject the CD, the "CDROM Drive"
folder disappeared.
Also when put an Audio CD(i.e. cda file), the media player can not
play the whole CD like an Audio CD, it need click on each cda file to
play just like a data CD.

So the behavior of CD/DVD ROM in WinCE600 looks like a removable disk,
not like the CD/DVD ROM in the PC? Is it right or is there any mistake
in my modification?

The CD/DVD ROM is SAMSUNG DVD-ROM DRIVE SH-D162D(TS-H352D).

Thanks for any guidance.