Devlopping Vertual CD Driver

F

Fisyuk Victor

Hi,

In your Virtual Cd driver you should call IoCreateDevice function
(DeviceType = FILE_DEVICE_CD_ROM) to create CD-ROM device and realize
dispatch procedures for IRP with major code IRP_MJ_CREATE, IRP_MJ_CLOSE,
IRP_MJ_READ, IRP_MJ_DEVICE_CONTROL.

In dispatch procedure for IRP_MJ_READ you should read data from CD image
file and copy this data to user buffer.

In dispatch procedure for IRP_MJ_DEVICE_CONTROL you should handle CD-ROM's
IOCTL (like IOCTL_CDROM_GET_DRIVE_GEOMETRY, IOCTL_CDROM_READ_TOC,
IOCTL_STORAGE_CHECK_VERIFY, ...)

Best regards,
Fisyuk Victor
EMail/MSN: (e-mail address removed)
Web: http://rockdbg.siteburg.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

vertual memory 1
vertual memory minimum too low 2
Windows XP vertual memory problem 2
Standalone emulator for WCE 5.0 5
Windows Virtural Machine 1
Vertual memory???? 1
DVD ROMs 2
vertual memory 1

Top