469,323 Members | 1,575 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

Create a Virtual Drive

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
Nov 15 '05 #1
6 27850
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.
Nov 15 '05 #2
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:rl**************@cpmsftngxa06.phx.gbl...
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.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebContent=1

Please feel free to let me know if you have any problems or concerns.

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.

Nov 15 '05 #3
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:rl**************@cpmsftngxa06.phx.gbl...
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.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebContent=1

Please feel free to let me know if you have any problems or concerns.

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.

Nov 15 '05 #4
Tian Min Huang wrote:
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?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #5
Tian Min Huang wrote:
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?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #6
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/de...us/shellcc/pla
tform/shell/programmersguide/shell_basics/namespace.asp

Creating a Shell Namespace Extension
http://msdn.microsoft.com/library/de...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.
Nov 15 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tiziano Bettio | last post: by
1 post views Thread by freddy | last post: by
2 posts views Thread by Kavitha | last post: by
4 posts views Thread by Luc The Perverse | last post: by
reply views Thread by sumit.professional | last post: by
2 posts views Thread by rksinghal | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.