Dear All,
I’m developing a File system driver. I should read only CD medias and should reject any DVD media mount request. During mount process(IRP_MN_MOUNT_VOLUME), i’m checking whether the inserted media is CD or DVD by using IOCTL_DISK_GET_DRIVE_GEOMETRY_EX. Once i find that the media is DVD i’m rejecting the request by returning STATUS_UNRECOGNIZED_VOLUME status. This works fine but has its own problem. If i insert DVD first and reject the request and next time if i insert CD also the request is not coming to my driver instead one which mounted DVD is serving the request. Could anyone please shed some light on this as how to deny the request and serve the desired medias??
Thanks in advance
Sincerely
ML