Create Virtual Drive

Hello every body,

Iam new in driver and wish to create virtual drive, I was able to create small driver that can create/close/read/write and little IOCTLs.

I think for virtual drive there are some IOCTLs I have to handle, but I don’t know which IOCTLs I should handle and how I can handle them.

If any body has some resources about creating virtual drive or what are IOCTLs needed and how I can handle them, please send me

Check Disk sample - you will see all IOCTLs that Disk.sys sends to the lower drivers. Please note that if you want to write a virtual disk drive, you have to handle all requests that you receive from the Disk.sys properly, because you will be below it on the stack - Disk. sys will just attach its device to yours…

Anton Bassov

from where can I get “Disk Sample” ???

RE: Create Virtual Drive
Check Disk sample - you will see all IOCTLs that Disk.sys sends to the lower drivers. Please note >that if you want to write a virtual disk drive, you have to handle all requests that you receive from >the Disk.sys properly, because you will be below it on the stack - Disk. sys will just attach its device >to yours… Anton Bassov

>from where can I get “Disk Sample” ???

Apparently, from WDK samples, don’t you think…

It looks like you haven’t even bothered yourself with checking WDK - instead, you went right to the NG…

Anton Bassov

Thanks Anton, I get from a while and working on it, I just trying to go in multiple pathes simultaneously


Apparently, from WDK samples, don’t you think… It looks like you haven’t even bothered yourself with checking WDK - instead, you went right to the NG… Anton Bassov