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

📄 xc2usb.inf

📁 基于fpga的usb实现
💻 INF
字号:
;******************************************************************************
;* Xc2Usb.inf
;* Installation file for X2S_USB
;*
;* Created by		    :Ersin 諾ALP , CESYS GmbH , Herzogenaurach , Germany
;* Revised by        	:
;*
;* Created on     		:September    2001
;* Last modified on 	:
;******************************************************************************


;******************************************************************************
; Version Section
;******************************************************************************
[Version]
Signature="$CHICAGO$"
Provider=%StrProvider%
Class=USB


;******************************************************************************
; Manufacturer section
;******************************************************************************
[Manufacturer]
%StrProvider%=Devices

[PreCopySection]
HKR,,NoSetupUI,,1

;******************************************************************************
; Destination Directories
;******************************************************************************
[DestinationDirs]    
DriverCopyFiles1 = 10,System32\Drivers
DriverInfFiles1 = 10,INF
DriverCopyFiles2 = 10,System32\Drivers
DriverInfFiles2 = 10,INF


;******************************************************************************
; Device section
;******************************************************************************
[Devices]
%StrDeviceDesc2%=DriverInstall2, USB\VID_0547&PID_CE05
%StrDeviceDesc1%=DriverInstall1, USB\VID_0547&PID_CE85



;******************************************************************************
; Main Install section
;******************************************************************************

;Windows 98
[DriverInstall1]
CopyFiles=DriverCopyFiles1, DriverInfFiles1
AddReg=AddReg981

;Windows 98
[DriverInstall1.HW]
AddReg=AddRegHw1

;Windows 2000
[DriverInstall1.NTx86]
CopyFiles=DriverCopyFiles1
AddReg=AddRegSw1

;Windows 2000
[DriverInstall1.NTx86.Services]
AddService = Xc2Usb, 0x00000002, NTAddService1, NTEventLog1

;Windows 2000
[DriverInstall1.NTx86.HW]
AddReg=AddRegHw1



;******************************************************************************
; NT Services Section (Windows 2000)
;******************************************************************************

[NTAddService1]
DisplayName    = %StrServiceDisplayName1%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; demand
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\Xc2Usb.sys

[NTEventLog1]
AddReg=NTEventLog1_AddReg

[NTEventLog1_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Xc2Usb.sys"
HKR,,TypesSupported,  0x00010001,7



;******************************************************************************
; Registry Section 
;******************************************************************************

[AddReg981]
HKR,,NTMPDriver,,Xc2Usb.sys
HKR,,DevLoader,,*ntkern

[AddRegSw1]
HKLM,"%StrConfigPath1%",,,
HKLM,"%StrConfigPath1%"\"%StrDeviceConfigPath1%",,,

[AddRegHw1]
HKR,,Xc2ConfigurationPath1,,\Registry\Machine\%StrConfigPath1%\%StrDeviceConfigPath1%

;******************************************************************************
; Copy Files section
;******************************************************************************
[DriverCopyFiles1]
Xc2Usb.sys

[DriverInfFiles1]
Xc2Usb.inf


;******************************************************************************
; Main Install section
;******************************************************************************

;Windows 98
[DriverInstall2]
CopyFiles=DriverCopyFiles2, DriverInfFiles2
AddReg=AddReg982

;Windows 98
[DriverInstall2.HW]
AddReg=AddRegHw2

;Windows 2000
[DriverInstall2.NTx86]
CopyFiles=DriverCopyFiles2
AddReg=AddRegSw2

;Windows 2000
[DriverInstall2.NTx86.Services]
AddService = Xc2Ld, 0x00000002, NTAddService2, NTEventLog2

;Windows 2000
[DriverInstall2.NTx86.HW]
AddReg=AddRegHw2



;******************************************************************************
; NT Services Section (Windows 2000)
;******************************************************************************

[NTAddService2]
DisplayName    = %StrServiceDisplayName2%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; demand
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\Xc2UsbLd.sys

[NTEventLog2]
AddReg=NTEventLog2_AddReg

[NTEventLog2_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Xc2UsbLd.sys"
HKR,,TypesSupported,  0x00010001,7



;******************************************************************************
; Registry Section 
;******************************************************************************

[AddReg982]
HKR,,NTMPDriver,,Xc2UsbLd.sys
HKR,,DevLoader,,*ntkern

[AddRegSw2]
HKLM,"%StrConfigPath2%",,,
HKLM,"%StrConfigPath2%"\"%StrDeviceConfigPath2%",,,

[AddRegHw2]
HKR,,Xc2ConfigurationPath2,,\Registry\Machine\%StrConfigPath2%\%StrDeviceConfigPath2%


;******************************************************************************
; Copy Files section
;******************************************************************************
[DriverCopyFiles2]
Xc2Usbld.hex
Xc2Usbfw.hex
Xc2UsbLd.sys

[DriverInfFiles2]
Xc2Usb.inf




;******************************************************************************
; Disk Layout
;******************************************************************************
;[SourceDisksNames]
;1=%StrDiskName%,,

;[SourceDisksFiles]
;Xc2Usb.sys=1
;Xc2UsbLd.sys=1


;******************************************************************************
; Text Strings
;******************************************************************************
[Strings]
StrProvider="Cesys Microelectronics"
StrDeviceDesc1="Cesys X2S_USB Version 1.0"
StrServiceDisplayName1="X2S_USB (Xc2Usb.sys)"
StrConfigPath1="SYSTEM\CurrentControlSet\Services\XC2USB"
StrDeviceConfigPath1="Parameters1"
StrDeviceDesc2="Cesys X2S_USB (unconfigured)"
StrServiceDisplayName2="X2S_USB (Xc2UsbLd.sys)"
StrConfigPath2="SYSTEM\CurrentControlSet\Services\XC2LOADER"
StrDeviceConfigPath2="Parameters2"

⌨️ 快捷键说明

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