文件名称:CharFilter_Class
- 所属分类:
- 驱动编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.95mb
- 下载次数:
- 0次
- 提 供 者:
- 秦*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
CharFilter_Class实例是对CharFilter实例的完善。在CharFilter实例中,我们定义了四个全局变量,这不符合WDM驱动程序的要求,它限制了IRP的可重入性,我们应该使用局部变量。
该实例定义了一个READ_COMPLETION_INFO结构,当有DeviceControl 调用时,就分配一个结构对象,参数设置完后,就将该结构对象地址指针放在I.FileObject()->FsContext中。
-CharFilter_Class CharFilter example of the perfect examples. In CharFilter example, we define four global variables, which does not conform to the WDM driver, which limits the IRP, can be used, we should use local variables. The examples READ_COMPLETION_INFO definition of a structure, when DeviceControl call, on the allocation of a target structure, parameter setting after the end of this structure on the address pointer on the object I. FileObject ()- gt; FsContext China.
该实例定义了一个READ_COMPLETION_INFO结构,当有DeviceControl 调用时,就分配一个结构对象,参数设置完后,就将该结构对象地址指针放在I.FileObject()->FsContext中。
-CharFilter_Class CharFilter example of the perfect examples. In CharFilter example, we define four global variables, which does not conform to the WDM driver, which limits the IRP, can be used, we should use local variables. The examples READ_COMPLETION_INFO definition of a structure, when DeviceControl call, on the allocation of a target structure, parameter setting after the end of this structure on the address pointer on the object I. FileObject ()- gt; FsContext China.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CharFilter_Class
................\CharFilter.dsw
................\CharFilter.ncb
................\CharFilter.opt
................\CharSampleDeviceInterface.h
................\CharSampleioctl.h
................\Checked
................\Debug
................\DIRS
................\EXE
................\...\Debug
................\...\MAKEFILE
................\...\OBJCHK
................\...\......\I386
................\...\......\....\Test_CharFilter.exe
................\...\......\....\Test_CharFilter.idb
................\...\......\....\Test_CharFilter.ilk
................\...\......\....\test_charfilter.pdb
................\...\OpenByIntf.cpp
................\...\SOURCES
................\...\Test_CharFilter.cpp
................\...\Test_CharFilter.dsp
................\...\Test_CharFilter.plg
................\README.TXT
................\SYS
................\...\CharFilter.cpp
................\...\CharFilter.dsp
................\...\CharFilter.h
................\...\CharFilter.inf
................\...\CharFilter.plg
................\...\CharFilter.rc
................\...\CharFilterDevice.cpp
................\...\CharFilterDevice.h
................\...\Checked
................\...\.......\CharFilter.map
................\...\.......\CharFilter.obj
................\...\.......\CharFilter.pch
................\...\.......\CharFilter.res
................\...\.......\CharFilter.sbr
................\...\.......\CharFilterDevice.obj
................\...\.......\CharFilterDevice.sbr
................\...\FUNCTION.H
................\...\MAKEFILE
................\...\OBJCHK
................\...\......\I386
................\...\......\....\charfilter.idb
................\...\......\....\CharFilter.NMS
................\...\......\....\charfilter.pdb
................\...\......\....\CharFilter.sys
................\...\......\....\CharSample.inf
................\...\......\....\CharSample.sys
................\...\SOURCES
................\CharFilter.dsw
................\CharFilter.ncb
................\CharFilter.opt
................\CharSampleDeviceInterface.h
................\CharSampleioctl.h
................\Checked
................\Debug
................\DIRS
................\EXE
................\...\Debug
................\...\MAKEFILE
................\...\OBJCHK
................\...\......\I386
................\...\......\....\Test_CharFilter.exe
................\...\......\....\Test_CharFilter.idb
................\...\......\....\Test_CharFilter.ilk
................\...\......\....\test_charfilter.pdb
................\...\OpenByIntf.cpp
................\...\SOURCES
................\...\Test_CharFilter.cpp
................\...\Test_CharFilter.dsp
................\...\Test_CharFilter.plg
................\README.TXT
................\SYS
................\...\CharFilter.cpp
................\...\CharFilter.dsp
................\...\CharFilter.h
................\...\CharFilter.inf
................\...\CharFilter.plg
................\...\CharFilter.rc
................\...\CharFilterDevice.cpp
................\...\CharFilterDevice.h
................\...\Checked
................\...\.......\CharFilter.map
................\...\.......\CharFilter.obj
................\...\.......\CharFilter.pch
................\...\.......\CharFilter.res
................\...\.......\CharFilter.sbr
................\...\.......\CharFilterDevice.obj
................\...\.......\CharFilterDevice.sbr
................\...\FUNCTION.H
................\...\MAKEFILE
................\...\OBJCHK
................\...\......\I386
................\...\......\....\charfilter.idb
................\...\......\....\CharFilter.NMS
................\...\......\....\charfilter.pdb
................\...\......\....\CharFilter.sys
................\...\......\....\CharSample.inf
................\...\......\....\CharSample.sys
................\...\SOURCES