usbgraph.inf

来自「usb2.0原理与工程开发光盘」· INF 代码 · 共 91 行

INF
91
字号
; usbgraph.Inf - install information file

[Version]
Signature="$CHICAGO$"
Class=USB
provider=%YsuLyw%
LayoutFile=layout.inf
DriverVer=5/05/2002,5.00.2195.1

[Manufacturer]
%YsuLyw%=YsuLyw

[YsuLyw]

%USB\VID_0547&PID_2131.DeviceDesc%=EZUSB.Dev, USB\VID_0547&PID_2131
%USB\VID_xxxx&PID_xxxx.DeviceDesc%=LYWUSB.Dev, USB\VID_xxxx&PID_xxxx        ;xxxx-16进制数

[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_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\loadergraph.sys
LoadOrderGroup = Base

[EZUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,loadergraph.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_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\usbgraph.sys
LoadOrderGroup = Base

[LYWUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbgraph.sys

[EZUSB.Files.Ext]
loadergraph.sys

[EZUSB.Files.Inf]
usbgraph.inf

[LYWUSB.Files.Ext]
usbgraph.sys

[LYWUSB.Files.Inf]
usbgraph.inf

;---------------------------------------------------------------;

[Strings]
YsuLyw="YsuLyw Devices"

USB\VID_0547&PID_2131.DeviceDesc="Cypress Chips (AN2131QC_VID_0547_PID_2131)-USBGRAPH"
USB\VID_xxxx&PID_xxxx.DeviceDesc="YsuLyw Devices (CY7C63001A_VID_xxxx__PID_xxxx)-USBGRAPH"    ;xxxx-16进制数

⌨️ 快捷键说明

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