windows 驱动程序开发相关资料与代码 让你深刻知晓windows 开发的魅力所在!

源代码在线查看: charfilter.inf

软件大小: 1937 K
上传用户: xinlanwj1226
关键词: windows 驱动 程序开发 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				;; CharFilter.inf
				
				;; *********  PLEASE READ ***********
				;; The wizard cannot create exact INF files for all buses and device types.
				;; You may have to make changes to this file in order to get your device to
				;; install. In particular, hardware IDs and logical configurations require
				;; intervention.
				;;
				;; The Windows DDK documentation contains an excellent INF reference.
				;;
				;;   TODO  Review the .inf file to install the WDM filter driver.
				;;
				;;
				;;	TODO  Use the Co Installer DLL to install the WDM Filter.  
				;;	IMPORTANT: See CharFilterDll.cpp for important Installation Notes.
				
				[Version]
				Signature="$Chicago$"
				Provider=%ProviderName%
				;; TODO: Select a Device Class for the Filter Driver
				ClassGUID={4d36e97d-e325-11ce-bfc1-08002be10318}
				Class=System
				DriverVer=1/01/2002,1.00.00.0000
				
				[DestinationDirs]
				DefaultDestDir   = 10,System32\Drivers
				
				;
				; Driver information
				;
				
				[Manufacturer]
				%MfgName%   = Mfg0
				
				[Mfg0]
				%DeviceDesc% = CharFilter_DDI, *CharFilter
				
				;
				; General installation section
				;
				
				[DefaultInstall]
				CopyFiles=CharFilter.CopyFiles
				
				[CharFilter_DDI.NT]
				CopyFiles=CharFilter.CopyFiles
				
				[CharFilter.CopyFiles]
				CharFilter.sys
				
				;
				; Service Installation
				;
				
				;; TODO: Optionally install a WDM "function" driver 
				[CharFilter_DDI.NT.Services]
				AddService = %DeviceDesc%,,FilterInst
				
				[FilterInst]
				DisplayName    = %DeviceDesc%
				ServiceType    = 1
				StartType      = 3
				ErrorControl   = 0
				ServiceBinary  = %10%\System32\Drivers\CharFilter.sys
				LoadOrderGroup = Extended Base 
				
				;
				; Localizable Strings
				;
				
				[Strings]
				DeviceDesc = "CharFilter Filter"
				ProviderName="CharFilter Company Name here"
				MfgName="CharFilter Manufacturer Name here"
				SvcDesc="CharFilter Filter"
							

相关资源