usbfilt

所属分类:驱动编程
开发工具:Visual C++
文件大小:494KB
下载次数:116
上传日期:2009-06-17 23:02:43
上 传 者edbert
说明:  一个简单的上层USB过滤驱动,在此基础上可以实现U盘只读,只写,加解密等功能。
(a simple usb filter driver. you can implement read-only,write-only, encryptand uncrypt function based on this project)

文件列表:
usbfilt\function.h (833, 2001-11-07)
usbfilt\makefile (267, 2001-11-07)
usbfilt\objchk (0, 2009-05-14)
usbfilt\objchk\i386 (0, 2009-06-04)
usbfilt\objchk\i386\RCa05608 (3358, 2009-06-04)
usbfilt\objchk\i386\usbfilt.bsc (992256, 2009-05-14)
usbfilt\objchk\i386\usbfilt.sys (74842, 2009-05-14)
usbfilt\sources (1287, 2001-11-07)
usbfilt\usbfdev.cpp (7459, 2009-05-14)
usbfilt\usbfdev.h (1843, 2001-11-07)
usbfilt\usbfilt.cpp (2630, 2001-11-07)
usbfilt\usbfilt.dsp (25178, 2009-05-14)
usbfilt\usbfilt.dsw (309, 2001-11-07)
usbfilt\usbfilt.h (669, 2001-11-07)
usbfilt\usbfilt.inf (4046, 2001-11-07)
usbfilt\usbfilt.ncb (58368, 2009-06-04)
usbfilt\usbfilt.opt (280064, 2009-06-04)
usbfilt\usbfilt.plg (4476, 2009-06-04)
usbfilt\usbfilt.rc (1705, 2001-11-07)
usbfilt\usbfilt.sys (74842, 2009-05-14)
usbfilt (0, 2009-06-11)

Readme.txt - DriverWorks UsbFilt example Copyright (c) 1999 Compuware Corporation This sample can be used as an upper or lower filter for a USB function driver. As a lower filter, the driver uses KDebugOnlyTrace operator << to display URBs submitted by the function driver to the USB bus driver. In order to build and load the sample for a particular USB function driver, please be aware of the following requirements: 1. A sample .inf file is provided (UsbFilt.inf.txt). It is not a complete .inf file. The intention is for the driver writer to modify a .inf file for a USB function driver by adding relevant sections and entries as indicated by UsbFilt.inf.txt. It lists sections of a .inf file that need to be added to the USB function driver's .inf file to have the UsbFilt sample driver loaded for a USB device for Windows *** and Windows 2000. Please refer to the comments in the sample .inf file for details. 2. An upper filter driver must match the behavior of the function driver. The filter driver must handle all of the IRPs that the function driver does. Depending on a particular USB function driver that is being filtered, the driver writer may have to implement additional IRP handlers to pass a particular IRP through to the function driver. For an upper filter, it is also important to match the DeviceType, Characteristics, and DeviceFlags of the function driver DEVICE_OBJECT. This can be modified in the AddDevice routine by editing the parameters passed to placement new for KPnpDevice.

近期下载者

相关文件


收藏者