?? usbsample.inf
字號:
; usbsample.Inf - install information file
[Version]
Signature="$CHICAGO$"
Class=USB
provider=%YsuLyw%
LayoutFile=layout.inf
DriverVer=12/12/2001,1.0.1.0
[Manufacturer]
%YsuLyw%=YsuLyw
[YsuLyw]
%USB\VID_04B4&PID_8613.DeviceDesc%=EZUSB.Dev, USB\VID_04B4&PID_8613
%USB\VID_xxxx&PID_xxxx.DeviceDesc%=LYWUSB.Dev, USB\VID_xxxx&PID_xxxx ;xxxx-16進制數(shù)
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs]
EZUSB.Files.Ext = 10,System32\Drivers
EZUSB.Files.Inf = 10,INF
LYWUSB.Files.Ext = 10,System32\Drivers
LYWUSB.Files.Inf = 10,INF
[EZUSB.Dev]
CopyFiles=EZUSB.Files.Ext, EZUSB.Files.Inf
AddReg=EZUSB.AddReg
[EZUSB.Dev.NT]
CopyFiles=EZUSB.Files.Ext, EZUSB.Files.Inf
AddReg=EZUSB.AddReg
[EZUSB.Dev.NT.Services]
Addservice = EZUSB, 0x00000002, EZUSB.AddService
[EZUSB.AddService]
DisplayName = %EZUSB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\loadersample.sys
LoadOrderGroup = Base
[EZUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,loadersample.sys
[LYWUSB.Dev]
CopyFiles=LYWUSB.Files.Ext, LYWUSB.Files.Inf
AddReg=LYWUSB.AddReg
[LYWUSB.Dev.NT]
CopyFiles=LYWUSB.Files.Ext, LYWUSB.Files.Inf
AddReg=LYWUSB.AddReg
[LYWUSB.Dev.NT.Services]
Addservice = LYWUSB, 0x00000002, LYWUSB.AddService
[LYWUSB.AddService]
DisplayName = %LYWUSB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\usbsample.sys
LoadOrderGroup = Base
[LYWUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbsample.sys
[EZUSB.Files.Ext]
loadersample.sys
[EZUSB.Files.Inf]
usbsample.inf
[LYWUSB.Files.Ext]
usbsample.sys
[LYWUSB.Files.Inf]
usbsample.inf
;---------------------------------------------------------------;
[Strings]
YsuLyw="YsuLyw Devices"
USB\VID_04B4&PID_8613.DeviceDesc="Cypress Chips (CY7C68013_VID_04B4_PID_8613)-USBSAMPLE"
USB\VID_xxxx&PID_xxxx.DeviceDesc="YsuLyw Devices (CY7C63001A_VID_xxxx__PID_xxxx)-USBSAMPLE" ;xxxx-16進制數(shù)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -