⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 charfilter.inf.txt

📁 武安河 电子书所副代码,包括windows驱动编程的基本方面
💻 TXT
字号:
; CharFilter.inf.txt - Install information file for the CharFilter Filter driver.  
;
;	It is not a complete .inf file.  It lists sections of a .inf file that need to be
;	added to a WDM function driver's .inf file to have a filter driver loaded
;	for the WDM device for Windows 9x and Windows 2000/XP.  It can be used as an upper 
;	or lower filter.
;
;   TODO  Review the .inf file to install the WDM filter driver.
;

[Manufacturer]
; 	This should already exist in the WDM function driver's .inf file
;"TheVendor"=MANUF

[MANUF]
; 	This should already exist in the WDM function driver's .inf file
;"DeviceDescription"=InstallSectionName, PLUG_AND_PLAY_HARDWARE_ID

[InstallSectionName]
; 	This should already exist in the WDM function driver's .inf file
;CopyFiles=MyFileListSection
;AddReg=MyAddRegistrySection

[InstallSectionName.HW]
AddReg=MyHWAddRegistrySection

[InstallSectionName.NT]
; 	This should already exist in the WDM function driver's .inf file
;CopyFiles=MyFileListSection
;AddReg=MyAddRegistrySection

[InstallSectionName.NT.HW]
AddReg=MyHWAddRegistrySectionNT

[InstallSectionName.NT.Services]
; 	There should exist an AddService directive for the WDM function driver that
; 	is similar to the following line
;
;Addservice = TheWDMFunctionDriver, 0x00000002, TheService
;
; 	Add another directive for the WDM filter driver
;
Addservice = CharFilter,, CharFilterInst

[CharFilterInst]
DisplayName    = "CharFilter"
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_AUTO_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
ServiceBinary  = %10%\System32\Drivers\CharFilter.sys
LoadOrderGroup = Extended Base

[MyAddRegistrySection]
; 	This should already exist in the WDM function driver's .inf file
;
;

[MyFileListSection]
; 	This should already exist in the WDM function driver's .inf file
;
; 	The WDM function driver should already be listed.
;TheWDMFunctionDriver.sys
;
; 	Add the WDM filter driver to the list of files
;
CharFilter.sys

[MyHWAddRegistrySection]
;
;	This section is for installing PnP filter drivers under Windows 98.  
;	This will add values to the hardware registry key of the device located
;	at HKLM\Enum\WDM\PNP_ID\DeviceInstanceID
;
;	Note:  replace 'WDM' with bustype;  For instance, USB.
;
;	"LowerFilters" and "UpperFilters" are special values that indicate to
; 	the operating system that filter drivers should be loaded along with the
;	function driver and that control the load order of the drivers.  A driver specified
;	with "LowerFilters" will be loaded before the function driver and its
;	AddDevice routine will be called before the function driver's.  A driver
;	specified with "UpperFilters" will be loaded after the function driver's
;	and its AddDevice routine will be called after the function driver's.
;
;	This .inf file will use the CharFilter sample as a lower filter.  To use it as
;	an upper filter, use the commented out directive.
;
HKR,,"LowerFilters",0x00010000,"CharFilter.sys"
;HKR,,"UpperFilters",0x00010000,"CharFilter.sys"

[MyHWAddRegistrySectionNT]
;
;	This section is for installing PnP filter drivers under Windows 2000/XP.  
;	This will add values to the hardware registry key of the device located
;	at HKLM\System\CurrentControlSet\Enum\WDM\PNP_ID\DeviceInstanceID
;
;	Note:  replace 'WDM' with bustype;  For instance, USB.
;
;	"LowerFilters" and "UpperFilters" are special values that indicate to
; 	the operating system that filter drivers should be loaded along with the
;	function driver and that control the load order of the drivers.  A driver specified
;	with "LowerFilters" will be loaded before the function driver and its
;	AddDevice routine will be called before the function driver's.  A driver
;	specified with "UpperFilters" will be loaded after the function driver's
;	and its AddDevice routine will be called after the function driver's.
;
;	This .inf file will use the CharFilter sample as a lower filter.  To use it as
;	an upper filter, use the commented out directive.
;
HKR,,"LowerFilters",0x00010000,"CharFilter"
;HKR,,"UpperFilters",0x00010000,"CharFilter"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -