一个典型的Windows 98 INF文件
[Version]
Signature=”$CHICAGO$”
Class=USB
Provider=%YsuLyw%
DriverVer=12/12/2001,1.0.1.0
[Manufacturer]
%YsuLyw%=YsuLyw ;调用Models节
[YsuLyw] ;Models节开始
%USB/VID_xxxx&PID_xxxx.DeviceDesc%=LYWUSB.Dev,USB/VID_xxxx&PID_xxxx
;xxxx:16进制数值
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs] ;文件复制目录
LYWUSB.Files.Ext = 10,System32 / Drivers
LYWUSB.Files.Inf = 10, INF
[LYWUSB.Dev] ;Install节开始
CopyFiles=LYWUSB.Files.Ext, LYWUSB.Files.Inf ;调用CopyFiles节
AddReg=LYWUSB.AddReg ;调用AddReg节
[LYWUSB.AddReg] ;AddReg节开始
HKR,,NTMPDriver,,thermo.sys
[LYWUSB.Files.Ext] ;CopyFiles节开始
Thermo.sys
[LYWUSB.Files.Inf] ;CopyFiles节开始
Thermo.inf
[Strings]
YsuLyw=”YsuLyw Chips”
USB/VID_xxxx&PID_xxxx.DeviceDesc=”YsuLyw Chips(VID_xxxx_ _ PID_xxxx)”
;xxxx:16进制数值