用USB接口做的切换开关,具体看附件说明.

源代码在线查看: avr309.inf

软件大小: 880 K
上传用户: yjpynnpl
关键词: USB 接口 切换开关 附件
下载地址: 免注册下载 普通下载 VIP

相关代码

				[Version]
				Signature="$CHICAGO$"
				Class=USB
				provider=%MB%
				LayoutFile=layout.inf
				
				[Manufacturer]
				%MfgName%=IgorCeskoCompany
				
				[IgorCeskoCompany]
				USB Switch=AVR309Prj.Dev, USB\VID_03EB&PID_0002
				
				
				[PreCopySection]
				HKR,,NoSetupUI,,1
				
				[DestinationDirs]
				AVR309Prj.Files.Ext = 10,System32\Drivers
				AVR309Prj.Files.Inf = 10,INF
				AVR309Prj.Files.Dll = 25
				
				[AVR309Prj.Dev]
				CopyFiles=AVR309Prj.Files.Ext, AVR309Prj.Files.Inf, AVR309Prj.Files.Dll
				AddReg=AVR309Prj.AddReg
				
				[AVR309Prj.Dev.NT]
				CopyFiles=AVR309Prj.Files.Ext, AVR309Prj.Files.Inf, AVR309Prj.Files.Dll
				AddReg=AVR309Prj.AddReg
				
				[AVR309Prj.Dev.NT.Services]
				Addservice = AVR309Prj, 0x00000002, AVR309Prj.AddService
				
				[AVR309Prj.AddService]
				DisplayName    = %AVR309Prj.SvcDesc%
				ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
				StartType      = 3                  ; SERVICE_DEMAND_START
				ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
				ServiceBinary  = %10%\System32\Drivers\AVR309.sys
				LoadOrderGroup = Base
				
				[AVR309Prj.AddReg]
				HKR,,DevLoader,,*ntkern
				HKR,,NTMPDriver,,AVR309.sys
				HKLM,"System\Currentcontrolset\Services\AVR309Prj\Parameters","MaximumTransferSize",0x10001,256
				HKLM,"System\Currentcontrolset\Services\AVR309Prj\Parameters","DebugLevel",0x10001,2
				
				
				[AVR309Prj.Files.Ext]
				AVR309.sys
				
				[AVR309Prj.Files.Inf]
				AVR309.inf
				
				[AVR309Prj.Files.Dll]
				AVR309.dll
				
				;---------------------------------------------------------------;
				
				[Strings]
				MB="Ing. Igor Cesko and Atmel corporation"
				MfgName="Serasidis Vasilis, Greece"
				USB devices Switch (1 device to 2 computers)".DeviceDesc="USB devices Switch (1 device to 2 computers)"
				AVR309Prj.SvcDesc="USB devices Switch driver"
							

相关资源