How to stop Nero Write DVD by using minifilter driver?

Hi, everyone.I am developing a minifilter driver.The main function is control DVD/CD for ReadOnly or WriteOnly.

i find when nero burning data to DVD,in PreWrite,it seems nothing happened.so can i know whether it is opened with “write” in PreCreate?

if(Data->Iopb->Parameters.Create.Options>>24) & 0x000000ff) == FILE_OVERWRITE_IF)||
FlagOn(Data->Iopb->Parameters.Create.SecurityContext->DesiredAccess, GENERIC_WRITE)

i think it is a write request, do i miss something?

I know Nero write data to DVD through SCSI protocal,but I don’t know how to stop it write.
Could help me solve this problem?

any advice is appreciate,thanks very much.

> I know Nero write data to DVD through SCSI protocal,but I don’t know how to stop it write.

Patch the “read configuration” SCSI MMC requests to always say that the media in the drive is non-writable.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

thanks maxim,with minifilter can i get my goal?

No. Storage stack PnP filter only.

<galaxy.chen> wrote in message news:xxxxx@ntfsd…
> thanks maxim,with minifilter can i get my goal?
></galaxy.chen>

hi maxim,i hava a idea about this,

if it is not EXPLORER.EXE to get the disk letter information,then i always hide the CDROM.so all burning softwares can’t find the cdrom and i can get my goal.

now i wanna know how to hide cdrom in minifilter,it can be done?