Create a Virtual Drive

  • Thread starter Thread starter Tony Liu
  • Start date Start date
T

Tony Liu

Hi, is it possible to create a virtual drive? For instance, let's say I
want to create a virtual drive call "Z", and that drive should be visible in
the My Computer folder and works like a standard hard drive, but the
different is that, all underlying implementations such as create a file at
the "Z" drive, etc. will be mapped to my dll or services.

Thanks
Tony
 
Hello Tony,

I'd like to follow up with you and see if there is any further I can help.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
Tian said:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.

Why a driver? Wouldn't a shell namespace extension do what he wants?
 
Hello Tony,

We have to use C/C++ to create kernel-mode device driver.

As suggested by Arild, you may also consider creating a shell namespace
extension (say, "My Network Places", etc). Please refer to the following
documentation and sample:

The Shell Namespace
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/programmersguide/shell_basics/namespace.asp

Creating a Shell Namespace Extension
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/programmersguide/shell_adv/namespaceextension/namespace.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
Back
Top