PCI7841两路CAN卡
INF文件
[Version]
Signature="$Windows NT$"
Class=NuDAQ
ClassGuid={D2B32EE5-23FE-11d3-ABE5-0000E8D0BDEE}
Provider=%String0%
DriverVer=10/06/2010,1.0.1.1
[ClassInstall32]
AddReg = NuDAQClassAddReg
[NuDAQClassAddReg]
HKR,,,,"NuDAQ Boards"
[DestinationDirs]
DefaultDestDir=10,System32\Drivers
[SourceDisksFiles]
PCICAN.sys=1
[Manufacturer]
%String1%=ADLINK
[ADLINK]
%String2%=DriverInstall.NT,PCI\VEN_144A&DEV_7841&SUBSYS_7841144A
%String2%=DriverInstall.NT,PCI\VEN_144A&DEV_7841
;------------------------------------------------------------------------------
; Windows 2000 Sections
;------------------------------------------------------------------------------
[DriverInstall.NT]
CopyFiles=DriverCopyFiles
AddReg=PCICAN_NT_AddReg
[DriverCopyFiles]
[DriverInstall.NT.Services]
AddService=PCICAN,2,DriverService
[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\PCICAN.sys
LoadOrderGroup = Extended Base
[PCICAN_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\PCICAN\Parameters",\
"BreakOnEntry", 0x00010001, 0
[DriverInstall.nt.hw]
AddReg=DriverHwAddReg
[DriverHwAddReg]
HKR,,FriendlyName,0,"PCICAN Device"
[DriverInstall.nt.Interfaces]
AddInterface =%CAN_1001_GUID%,%CAN_1001_InterfaceName%,DriverInstallInterface0
AddInterface =%CAN_1002_GUID%,%CAN_1002_InterfaceName%,DriverInstallInterface1
[DriverInstallInterface0]
AddReg = DriverInstallInterface0.AddReg
[DriverInstallInterface0.AddReg]
HKR, FriendlyName, , 0, %CAN_1000_InterfaceName= %
[DriverInstallInterface1]
AddReg = DriverInstallInterface1.AddReg
[DriverInstallInterface1.AddReg]
HKR, FriendlyName, , 0, %CAN_1001_InterfaceName= %
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
[Strings]
String0="PCI_CAN"
String1="PCI_CAN""
String2="PCI-7841"
CAN_1001_GUID={0E57C50F-0CCC-4ad2-A895-93C5ED119860}
CAN_1002_GUID= {4F5241AF-CFFA-41ED-B6FD-1FC3B7FD292B}
CAN_1001_InterfaceName= "CAN1001"
CAN_1002_InterfaceName= "CAN1002"
怎样修改INF文件才能在设备管理显示中树形结构为NuDAQ
PCICAN Device
CAN1001
CAN1002
谢谢!!