添加"伪造驱动" Windows资源管理器资源管理器、QUOT、Windows

2023-09-03 11:28:25 作者:重口味大丧尸i

我使用的应用程序,的Mozy备份,增加了自己的驱动器Windows资源管理器,我可以浏览和查看我所备份的文件。视窗知道这是不是一个物理驱动器 - 它的下显示了其他如果我的驱动器列表是按类型划分

An application I use, Mozy Backup, adds its own "drive" to Windows Explorer that I can browse and view all the files I've backed up. Windows knows it's not a physical drive - it's shows up under "Other" if my drive list is divided by type.

如何是一个驱动器像这样具有注册浏览器?我想用目前的.NET应用程序我开发做到这一点,但我无法找到如何做任何解释搞定了。另外,我似乎无法找到让我的应用程序可浏览,这意味着它presents用户可以浏览文件夹和文件相似的界面的任何文件。

How is a "drive" like this registered with explorer? I'd like to do this with a current .NET application I'm developing, but I can't find any explanation about how it's done. Also, I can't seem to find any documentation about making my application "browsable", meaning that it presents a similar interface that a user can browse folders and files.

下面是我所谈论的是截图:

Here is a screenshot of what I'm talking about:

推荐答案

这是不与浏览器注册。它是一个操作系统登记你要做的就是写那被安装在本地系统上,看起来像一个磁盘驱动器设备的Windows视窗的设备驱动程序。相反,一些硬件接口(一个物理设备)的东西,虚拟驱动程序接口(但是,Windows并不需要知道这一点,它看起来像一个普通的磁盘驱动器到Windows)。

It is not registered with explorer. It is an operating system registration. What you do is write a device driver for windows that gets installed on the local system and looks to windows like a disk drive device. Instead of interfacing with some hardware (a physical device) your driver interfaces with something virtual (however, windows does not need to know this, it looks like a regular disk drive to windows).

您可以了解更多有关在这里编写设备驱动程序:

You can find out more about writing device drivers here:

http://www.microsoft.com/whdc/driver/foundation/ default.mspx

在这里

http://msdn.microsoft.com/en-us/library/ ms809956.aspx