阅读:1032回复:2
一
一
|
|
沙发#
发布于:2002-05-27 10:01
[Version]
Signature=$CHICAGO$ Class=Unknown ClassGuid={4D36E97E-E325-11CE-BFC1-08002BE10318} Provider=%MFGNAME% [Manufacturer] %MFGNAME%=DeviceList [DestinationDirs] DefaultDestDir=10,System32\\Drivers [SourceDisksFiles] SysName.sys=1 [SourceDisksNames] 1=%INSTDISK%,,, [DeviceList] %DESCRIPTION%=DriverInstall,KnlCall ;------------------------------------------------------------------------------ ; Windows 2000 Sections ;------------------------------------------------------------------------------ ; TODO Add a LogConfig command to the following install section if this is a legacy device [DriverInstall.NT] CopyFiles=DriverCopyFiles [DriverCopyFiles] SysName.sys,,,2 [DriverInstall.NT.Services] AddService=KRLCALL,2,DriverService [DriverService] ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%10%\\system32\\drivers\\KrlCall.sys [DriverInstall.nt.hw] AddReg=DriverHwAddReg [DriverHwAddReg] HKR,,FriendlyName,,%FRIENDLYNAME% ;------------------------------------------------------------------------------ ; Windows 98 Sections ;------------------------------------------------------------------------------ [DriverInstall] AddReg=DriverAddReg CopyFiles=DriverCopyFiles ; TODO Add a LogConfig command and section if this is a legacy device [DriverAddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,SysName.sys [DriverInstall.HW] AddReg=DriverHwAddReg ;------------------------------------------------------------------------------ ; String Definitions ;------------------------------------------------------------------------------ [Strings] MFGNAME=\"你的公司名\" INSTDISK=\"你的公司名 Installation Disc\" DESCRIPTION=\"设备描述\" FRIENDLYNAME=\"设备名\" 我这个 INF文件也是一个软驱动,就是与硬件无关的一个程序,你将SysName.sys改成你的驱动文件名,必要时要将ClassGUID重新生成一个,再编译一下。你试一下吧 |
|
板凳#
发布于:2002-05-27 10:03
著著版主.
|
|