Re: Devlopping Vertual CD Driver
- From: "Fisyuk Victor" <VictorRock@xxxxxxxxxx>
- Date: Tue, 4 Apr 2006 19:18:18 +0300
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: VictorRock@xxxxxxxxxx
Web: http://rockdbg.siteburg.com
"Meftah Tayeb" <SQLSRVX86@xxxxxxxxxxx> wrote in message
news:eVZQDlRQGHA.4688@xxxxxxxxxxxxxxxxxxxxxxx
I Wanth To Devloppe The Vertual CD Driver
Please Help Me !
.
- Prev by Date: Re: HELP - Watchdog Timer Function
- Next by Date: Re: Safely Remove Hardware? Does it turn off Power?
- Previous by thread: HELP - Watchdog Timer Function
- Next by thread: Re: Safely Remove Hardware? Does it turn off Power?
- Index(es):