;*****************************************************************************************************
;
;	BbNBus Driver INF file 
;	Copyright©   Brainboxes Ltd. 2020
;	Boost.LAN 4.3
;
;*****************************************************************************************************

[Version]
Signature = "$WINDOWS NT$"
Class = MultiPortSerial
ClassGuid ={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider = %CompanyName%
DriverVer=11/17/2021, 4.3.284.0
CatalogFile.nt = BbNBus.cat
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="Boost.LAN Bus Driver"

;*****************************************************************************************************

;*****************************************************************************************************
; The manufacturers section specifies the models section, which belongs to the manufacturer :
;
[Manufacturer]
%CompanyName% = BbNSB_Models,NTx86,NTamd64,NTx86.6.2,NTamd64.6.2

;*****************************************************************************************************
; The Models section
;
[BbNSB_Models.NTx86]
%ES357% = ES357.NTx86, root\ES357
%ES246% = ES246.NTx86, root\ES246
%ES446% = ES246.NTx86, root\ES446
%ES257% = ES257.NTx86, root\ES257
%ES457% = ES257.NTx86, root\ES457
%ES324% = ES324.NTx86, root\ES324
%ES320% = ES324.NTx86, root\ES320
%ES420% = ES324.NTx86, root\ES420
%ES313% = ES313.NTx86, root\ES313
%ES413% = ES313.NTx86, root\ES413
%ES701% = ES701.NTx86, root\ES701
%ES601% = ES701.NTx86, root\ES601
%ES401% = ES701.NTx86, root\ES401
%ES279% = ES279.NTx86, root\ES279
%ES679% = ES279.NTx86, root\ES679
%ES479% = ES279.NTx86, root\ES479
%ES101% = ES101.NTx86, root\ES101
%ES842% = ES842.NTx86, root\ES842
%ES346% = ES346.NTx86, root\ES346
%XX007% = ES701.NTx86, root\XX007
%ES020% = ES246.NTx86, root\ES020 	; ES-020   Ethernet 1xRS-232 10 x Screw Terminals
%ES031% = ES324.NTx86, root\ES031	; ES-031   Ethernet 1xRS-422/485 10 x Screw Terminals (TXD/RXD/CTS/RTS)
%ES042% = ES313.NTx86, root\ES042	; ES-042   Ethernet 2xRS-422/485 10 x Screw Terminals  (TXD/RXD)
%ES511% = ES511.NTx86, root\ES511	; ES-511   Industrial Ethernet 1xRS-232/422/485
%ES551% = ES511.NTx86, root\ES551	; ES-551  Industrial Ethernet Iso 1xRS-232/422/485
%ES571% = ES511.NTx86, root\ES571	; ES-571 Industrial Ethernet Iso 1xRS-232/422/485 + Switch
%ES522% = ES522.NTx86, root\ES522	; ES-522   Industrial Ethernet 2xRS-232/422/485
%ES125% = ES246.NTx86, root\ES125	; ES-125   Ethernet 1xRS-232 DCE 25 PIN FEMALE

[BbNSB_Models.NTamd64]
%ES357% = ES357.NTamd64, root\ES357
%ES246% = ES246.NTamd64, root\ES246
%ES446% = ES246.NTamd64, root\ES446
%ES257% = ES257.NTamd64, root\ES257
%ES457% = ES257.NTamd64, root\ES457
%ES324% = ES324.NTamd64, root\ES324
%ES320% = ES324.NTamd64, root\ES320
%ES420% = ES324.NTamd64, root\ES420
%ES313% = ES313.NTamd64, root\ES313
%ES413% = ES313.NTamd64, root\ES413
%ES701% = ES701.NTamd64, root\ES701
%ES601% = ES701.NTamd64, root\ES601
%ES401% = ES701.NTamd64, root\ES401
%ES279% = ES279.NTamd64, root\ES279
%ES679% = ES279.NTamd64, root\ES679
%ES479% = ES279.NTamd64, root\ES479
%ES101% = ES101.NTamd64, root\ES101
%ES842% = ES842.NTamd64, root\ES842
%ES346% = ES346.NTamd64, root\ES346
%XX007% = ES701.NTamd64, root\XX007
%ES020% = ES246.NTamd64, root\ES020 	; ES-020   Ethernet 1xRS-232 10 x Screw Terminals
%ES031% = ES324.NTamd64, root\ES031	; ES-031   Ethernet 1xRS-422/485 10 x Screw Terminals (TXD/RXD/CTS/RTS)
%ES042% = ES313.NTamd64, root\ES042	; ES-042   Ethernet 2xRS-422/485 10 x Screw Terminals  (TXD/RXD)
%ES511% = ES511.NTamd64, root\ES511	; ES-511   Industrial Ethernet 1xRS-232/422/485
%ES551% = ES511.NTamd64, root\ES551	; ES-551  Industrial Ethernet Iso 1xRS-232/422/485
%ES571% = ES511.NTamd64, root\ES571	; ES-571 Industrial Ethernet Iso 1xRS-232/422/485 + Switch
%ES522% = ES522.NTamd64, root\ES522	; ES-522   Industrial Ethernet 2xRS-232/422/485
%ES125% = ES246.NTamd64, root\ES125	; ES-125   Ethernet 1xRS-232 DCE 25 PIN FEMALE

[BbNSB_Models.NTx86.6.2]
%ES357% = ES357.NTx86.6.2, root\ES357
%ES246% = ES246.NTx86.6.2, root\ES246
%ES446% = ES246.NTx86.6.2, root\ES446
%ES257% = ES257.NTx86.6.2, root\ES257
%ES457% = ES257.NTx86.6.2, root\ES457
%ES324% = ES324.NTx86.6.2, root\ES324
%ES320% = ES324.NTx86.6.2, root\ES320
%ES420% = ES324.NTx86.6.2, root\ES420
%ES313% = ES313.NTx86.6.2, root\ES313
%ES413% = ES313.NTx86.6.2, root\ES413
%ES701% = ES701.NTx86.6.2, root\ES701
%ES601% = ES701.NTx86.6.2, root\ES601
%ES401% = ES701.NTx86.6.2, root\ES401
%ES279% = ES279.NTx86.6.2, root\ES279
%ES679% = ES279.NTx86.6.2, root\ES679
%ES479% = ES279.NTx86.6.2, root\ES479
%ES101% = ES101.NTx86.6.2, root\ES101
%ES842% = ES842.NTx86.6.2, root\ES842
%ES346% = ES346.NTx86.6.2, root\ES346
%XX007% = ES701.NTx86.6.2, root\XX007
%ES020% = ES246.NTx86.6.2, root\ES020 ; ES-020   Ethernet 1xRS-232 10 x Screw Terminals
%ES031% = ES324.NTx86.6.2, root\ES031	; ES-031   Ethernet 1xRS-422/485 10 x Screw Terminals (TXD/RXD/CTS/RTS)
%ES042% = ES313.NTx86.6.2, root\ES042	; ES-042   Ethernet 2xRS-422/485 10 x Screw Terminals  (TXD/RXD)
%ES511% = ES511.NTx86.6.2, root\ES511	; ES-511   Industrial Ethernet 1xRS-232/422/485
%ES551% = ES511.NTx86.6.2, root\ES551	; ES-551  Industrial Ethernet Iso 1xRS-232/422/485
%ES571% = ES511.NTx86.6.2, root\ES571	; ES-571 Industrial Ethernet Iso 1xRS-232/422/485 + Switch
%ES522% = ES522.NTx86.6.2, root\ES522	; ES-522   Industrial Ethernet 2xRS-232/422/485
%ES125% = ES246.NTx86.6.2, root\ES125	; ES-125   Ethernet 1xRS-232 DCE 25 PIN FEMALE

[BbNSB_Models.NTamd64.6.2]
%ES357% = ES357.NTamd64.6.2, root\ES357
%ES246% = ES246.NTamd64.6.2, root\ES246
%ES446% = ES246.NTamd64.6.2, root\ES446
%ES257% = ES257.NTamd64.6.2, root\ES257
%ES457% = ES257.NTamd64.6.2, root\ES457
%ES324% = ES324.NTamd64.6.2, root\ES324
%ES320% = ES324.NTamd64.6.2, root\ES320
%ES420% = ES324.NTamd64.6.2, root\ES420
%ES313% = ES313.NTamd64.6.2, root\ES313
%ES413% = ES313.NTamd64.6.2, root\ES413
%ES701% = ES701.NTamd64.6.2, root\ES701
%ES601% = ES701.NTamd64.6.2, root\ES601
%ES401% = ES701.NTamd64.6.2, root\ES401
%ES279% = ES279.NTamd64.6.2, root\ES279
%ES679% = ES279.NTamd64.6.2, root\ES679
%ES479% = ES279.NTamd64.6.2, root\ES479
%ES101% = ES101.NTamd64.6.2, root\ES101
%ES842% = ES842.NTamd64.6.2, root\ES842
%ES346% = ES346.NTamd64.6.2, root\ES346
%XX007% = ES701.NTamd64.6.2, root\XX007
%ES020% = ES246.NTamd64.6.2, root\ES020 ; ES-020   Ethernet 1xRS-232 10 x Screw Terminals
%ES031% = ES324.NTamd64.6.2, root\ES031	; ES-031   Ethernet 1xRS-422/485 10 x Screw Terminals (TXD/RXD/CTS/RTS)
%ES042% = ES313.NTamd64.6.2, root\ES042	; ES-042   Ethernet 2xRS-422/485 10 x Screw Terminals  (TXD/RXD)
%ES511% = ES511.NTamd64.6.2, root\ES511	; ES-511   Industrial Ethernet 1xRS-232/422/485
%ES551% = ES511.NTamd64.6.2, root\ES551	; ES-551  Industrial Ethernet Iso 1xRS-232/422/485
%ES571% = ES511.NTamd64.6.2, root\ES571	; ES-571 Industrial Ethernet Iso 1xRS-232/422/485 + Switch
%ES522% = ES522.NTamd64.6.2, root\ES522	; ES-522   Industrial Ethernet 2xRS-232/422/485
%ES125% = ES246.NTamd64.6.2, root\ES125	; ES-125   Ethernet 1xRS-232 DCE 25 PIN FEMALE

;*****************************************************************************************************
; Any Model specified with ExcludeFromSelect will not be displayed to the user in the 
; Add New Hardware wizard :
;
[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir=11,									; System32 directory (System on Windows 9x)
DriverFilesDirectory=10,System32\Drivers,			; Driver files directory (DriverFilesDirectory = 10 is incompatible with Windows 9x)
DriverFilesDirectory_AMD64=10,System32\Drivers,		; Driver files directory 
DriverFilesDirectory_WSK=10,System32\Drivers,		; Driver files directory (DriverFilesDirectory = 10 is incompatible with Windows 9x)
DriverFilesDirectory_WSK_AMD64=10,System32\Drivers,	; Driver files directory 
HelpFilesDirectory=18,								; Help file directory
System32FilesDirectory=11,							; System32
System32FilesDirectory_AMD64=11,


[SourceDisksNames]
1 = %Installation_Disk_Name%,,,""

[System32FilesDirectory]
BbNUn43.exe
BbNUI43.dll
BbNCoI43.dll

[System32FilesDirectory_AMD64]
BbNUn43.exe, BbNUn43AMD64.exe
BbNUI43.dll, BbNUI43AMD64.dll
BbNCoI43.dll, BbNCoI43AMD64.dll

[DriverFilesDirectory]
BbNBus43.sys

[DriverFilesDirectory_AMD64]
BbNBus43.sys, BbNBus43AMD64.sys

[DriverFilesDirectory_WSK]
BbNBus43.sys, BbWBus43.sys

[DriverFilesDirectory_WSK_AMD64]
BbNBus43.sys, BbWBus43AMD64.sys


[HelpFilesDirectory]

[SourceDisksFiles]
BbNBus43.sys = 1,drivers,
BbNBus43AMD64.sys=1,drivers,
BbWBus43.sys = 1,drivers,
BbWBus43AMD64.sys=1,drivers,
BbNUn43.exe =1,exes,
BbNUn43AMD64.exe =1,exes,
BbNUI43.dll = 1,dlls,
BbNUI43AMD64.dll = 1,dlls,
BbNCoI43.dll = 1,dlls,
BbNCoI43AMD64.dll = 1,dlls,


;*****************************************************************************************************
; Specifies the registry entries to be made under ..\Enum\
;
[BbNBus_HW.reg]
HKR,, "TypeOfDevice", 0x00010001, 0x8001
HKR,, "DeviceName", 0x00000000, "BbNBusDev43"
HKR,, "SymbolicLinkName", 0x00000000, "BbNBusDev43"
;HKR,, "NumberChildDevices", 0x00010001, 2
HKR,, "DeviceIndexingPolicyType", 0x00010001, 0x00000101
HKR,,"LowestStackLayer", 0x00010001, 1
HKR,, "CoInstallerDLL", 0x00000000, "BbNUI43.dll"
HKR,, "CoInstallerEntryPoint", 0x00000000, "BbUCoInstallCard"
;HKR,, "UnInstall", 0x00000000, "BbNUn43.exe"
HKR,, "RxFifoSize", 0x00010001, 2048
HKR,, "TxFifoSize", 0x00010001, 4096

[RS422485Port.Reg]
HKR,, "PortType", 0x00010001, 0x01

[ES357PortType.Reg]
HKR,"UI1", "PortType", 0x00010001, 0x02
HKR,"UI2", "PortType", 0x00010001, 0x02
HKR,"UI1", "SerialPortType", 0x00010001, 0x00
HKR,"UI2", "SerialPortType", 0x00010001, 0x01

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-357 1 port RS-232 and 1 port RS-422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES357.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES357.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_422485.reg,  ES_2Port.reg

[ES357.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES357.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES357.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES357.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_422485.reg,  ES_2Port.reg

[ES357.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES357.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES357.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES357.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_422485.reg,  ES_2Port.reg

[ES357.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES357.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES357.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES357.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_422485.reg,  ES_2Port.reg

[ES357.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES357.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64


;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-246 1xRS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES246.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES246.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES246.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES246.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES246.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES246.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES246.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES246.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES246.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES246.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES246.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES246.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES246.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES246.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES246.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES246.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-511 1xRS-232/422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES511.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES511.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg,  ES_1Port.reg

[ES511.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES511.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES511.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES511.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg,  ES_1Port.reg

[ES511.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES511.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES511.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES511.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg,  ES_1Port.reg

[ES511.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES511.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES511.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES511.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg,  ES_1Port.reg

[ES511.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES511.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-257 2xRS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES257.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES257.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_232.reg,  ES_2Port.reg

[ES257.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES257.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES257.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES257.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_232.reg,  ES_2Port.reg

[ES257.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES257.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES257.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES257.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_232.reg,  ES_2Port.reg

[ES257.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES257.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES257.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES257.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, Child2_232.reg,  ES_2Port.reg

[ES257.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES257.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-522 2xRS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES522.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES522.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg, Child2_232_422485.reg,  ES_2Port.reg

[ES522.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES522.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES522.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES522.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg, Child2_232_422485.reg,  ES_2Port.reg

[ES522.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES522.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES522.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES522.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg, Child2_232_422485.reg,  ES_2Port.reg

[ES522.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES522.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES522.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES522.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_422485.reg, Child2_232_422485.reg,  ES_2Port.reg

[ES522.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES522.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64


;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-324 1xRS-422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES324.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES324.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg,  ES_1Port.reg

[ES324.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES324.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES324.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES324.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg,  ES_1Port.reg

[ES324.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES324.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES324.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES324.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg,  ES_1Port.reg

[ES324.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES324.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES324.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES324.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg,  ES_1Port.reg

[ES324.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES324.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-313 2xRS-422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES313.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES313.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg, Child2_422485.reg,  ES_2Port.reg

[ES313.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES313.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES313.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES313.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg, Child2_422485.reg,  ES_2Port.reg

[ES313.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES313.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES313.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES313.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg, Child2_422485.reg,  ES_2Port.reg

[ES313.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES313.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES313.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES313.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485.reg, Child2_422485.reg,  ES_2Port.reg

[ES313.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES313.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-701 4x RS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES701.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES701.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, ES_4Port.reg

[ES701.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES701.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES701.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES701.NTamd64.HW]
AddReg = BbNBus_HW.reg, Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, ES_4Port.reg

[ES701.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES701.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES701.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES701.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, ES_4Port.reg

[ES701.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES701.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES701.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES701.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg, Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, ES_4Port.reg

[ES701.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES701.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-279 4x RS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES279.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES279.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, Child5_232_4&8.reg, Child6_232_4&8.reg, Child7_232_4&8.reg, Child8_232_4&8.reg, ES_8Port.reg

[ES279.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES279.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES279.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES279.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, Child5_232_4&8.reg, Child6_232_4&8.reg, Child7_232_4&8.reg, Child8_232_4&8.reg, ES_8Port.reg

[ES279.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES279.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES279.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES279.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, Child5_232_4&8.reg, Child6_232_4&8.reg, Child7_232_4&8.reg, Child8_232_4&8.reg, ES_8Port.reg

[ES279.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES279.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES279.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES279.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232_4&8.reg, Child2_232_4&8.reg, Child3_232_4&8.reg, Child4_232_4&8.reg, Child5_232_4&8.reg, Child6_232_4&8.reg, Child7_232_4&8.reg, Child8_232_4&8.reg, ES_8Port.reg

[ES279.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES279.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-101 1xRS-232 
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES101.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES101.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES101.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES101.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES101.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES101.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_1Port.reg

[ES101.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES101.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES101.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES101.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg, ES_1Port.reg

[ES101.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES101.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES101.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES101.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_232.reg,  ES_2Port.reg

[ES101.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES101.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-346 4xRS-422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES346.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES346.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg,  ES_4Port.reg

[ES346.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES346.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES346.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES346.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, ES_4Port.reg

[ES346.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES346.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES346.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES346.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg,ES_4Port.reg

[ES346.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES346.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES346.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES346.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, ES_4Port.reg

[ES346.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES346.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
; ES-842 8xRS-422/485
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[ES842.NTx86]
CopyFiles = DriverFilesDirectory, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES842.NTx86.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, Child5_422485_4&8.reg, Child6_422485_4&8.reg, Child7_422485_4&8.reg, Child8_422485_4&8.reg, ES_8Port.reg

[ES842.NTx86.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES842.NTx86.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES842.NTamd64]
CopyFiles = DriverFilesDirectory_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES842.NTamd64.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, Child5_422485_4&8.reg, Child6_422485_4&8.reg, Child7_422485_4&8.reg, Child8_422485_4&8.reg, ES_8Port.reg

[ES842.NTamd64.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES842.NTamd64.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64

[ES842.NTx86.6.2]
CopyFiles = DriverFilesDirectory_WSK, HelpFilesDirectory, System32FilesDirectory
AddReg = Uninstall.NT.Reg

[ES842.NTx86.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, Child5_422485_4&8.reg, Child6_422485_4&8.reg, Child7_422485_4&8.reg, Child8_422485_4&8.reg, ES_8Port.reg

[ES842.NTx86.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES842.NTx86.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory

[ES842.NTamd64.6.2]
CopyFiles = DriverFilesDirectory_WSK_AMD64, HelpFilesDirectory, System32FilesDirectory_AMD64
AddReg = Uninstall.NT.Reg

[ES842.NTamd64.6.2.HW]
AddReg = BbNBus_HW.reg,  Child1_422485_4&8.reg, Child2_422485_4&8.reg, Child3_422485_4&8.reg, Child4_422485_4&8.reg, Child5_422485_4&8.reg, Child6_422485_4&8.reg, Child7_422485_4&8.reg, Child8_422485_4&8.reg, ES_8Port.reg

[ES842.NTamd64.6.2.Services]
AddService = BbNBus43,2,BbNSB_Service.Service,BbNSB_Event.EventLog

[ES842.NTamd64.6.2.CoInstallers]
AddReg 	=  CoInstallers.Addreg
CopyFiles	= System32FilesDirectory_AMD64
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

[BbNSB_Service.Service]
DisplayName = "Brainboxes Ltd. Boost.LAN 4.3 Driver Service"
ServiceType = 1
StartType = 3
ErrorControl = 1
DependOnService = Tcpip
LoadOrderGroup = PNP_TDI
ServiceBinary = %12%\BbNBus43.sys

;*****************************************************************************************************
; This is CoInst coinstaller copies the INF files and renames them to OEMs.inf
;
 [CoInstallers.AddReg]
 HKR,,CoInstallers32,0x10000,"BbNCoI43.dll,BbUCoInstall"

;************************************************************************************************************
; This is the Event Logging service for the driver :
;
[BbNSB_Event.EventLog]
AddReg = BbNSB_Event.EventLog.reg

[BbNSB_Event.EventLog.reg]
HKR,, EventMessageFile, %ADDREG_EXPAND_SZ%, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\BbNBus43.sys"
HKR,, TypesSupported, 0x00010001, 7

;*****************************************************************************************************
[Strings]
CompanyName = "Brainboxes Ltd."
Installation_Disk_Name = "BbNBus Driver Installation Disk"
UninstPath="Software\Microsoft\Windows\CurrentVersion\Uninstall\Boost.LAN"
ADDREG_SZ=0x00000000
ADDREG_MULTI_SZ=0x00010000
ADDREG_EXPAND_SZ=0x00020000
ES357="Brainboxes Ethernet 1xRS-232 & 1xRS-422/485 STB Device (ES-357)" 
ES246="Brainboxes Ethernet 1xRS-232 Device (ES-246)"
ES446="Brainboxes Ethernet (PoE) 1xRS-232 Device (ES-446)"
ES101="Brainboxes Ethernet 1xRS-232 Device (ES-101)"
ES257="Brainboxes Ethernet 2xRS-232 Device (ES-257)"
ES457="Brainboxes Ethernet (PoE) 2xRS-232 Device (ES-457)"
ES324="Brainboxes Ethernet 1xRS-422/485 Device (ES-324)"
ES320="Brainboxes Ethernet 1xRS-422/485 Device (ES-320)"
ES420="Brainboxes Ethernet (PoE) 1xRS-422/485 Device (ES-420)"
ES313="Brainboxes Ethernet 2xRS-422/485 Device (ES-313)"
ES413="Brainboxes Ethernet (PoE) 2xRS-422/485 Device (ES-413)"
ES701="Brainboxes Ethernet 4xRS-232 Device (ES-701)"
ES601="Brainboxes Ethernet 4xRS-232 Device (ES-601)"
ES401="Brainboxes Ethernet (PoE) 4xRS-232 Device (ES-401)"
ES279="Brainboxes Ethernet 8xRS-232 Device (ES-279)"
ES679="Brainboxes Ethernet 8xRS-232 Device (ES-679)"
ES479="Brainboxes Ethernet (PoE) 8xRS-232 Device (ES-479)"
ES346="Brainboxes Ethernet 4xRS-422/485 Device (ES-346)"
ES842="Brainboxes Ethernet 8xRS-422/485 Device (ES-842)"
XX007="Brainboxes BbLoopback Box"
ES020="Brainboxes Ethernet 1xRS-232 10 x Screw Terminals (ES-020)"
ES031="Brainboxes Ethernet 1xRS-422/485 10 x Screw Terminals (TXD/RXD/CTS/RTS) (ES-031)"
ES042="Brainboxes Ethernet 2xRS-422/485 10 x Screw Terminals  (TXD/RXD) (ES-042)"
ES511="Brainboxes Industrial Ethernet 1xRS-232/422/485 (ES-511)"
ES522="Brainboxes Industrial Ethernet 2xRS-232/422/485 (ES-522)"
ES551="Brainboxes Industrial Ethernet Iso 1xRS-232/422/485 (ES-551)"
ES571="Brainboxes Industrial Ethernet Iso 1xRS-232/422/485 + Switch (ES-571)"
ES125="Brainboxes Ethernet 1xRS-232 DCE 25 Pin Female (ES-125)"

[ES_1Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 1

[ES_2Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 2

[ES_3Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 3

[ES_4Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 4

[ES_5Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 5

[ES_6Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 6

[ES_7Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 7

[ES_8Port.reg]
HKR,, "DeviceName", 0x00000000, "Brainboxes Ethernet to Serial"
HKR,, "NumberChildDevices", 0x00010001, 8

[Child1_232.reg]
HKR, "Child1", "ContextID", 0x00010001, 1
HKR, "Child1", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child1", "DeviceName", 0x00000000, "BbNSer23243PDO"
HKR, "Child1", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child1", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232431"
HKR, "Child1", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243"
HKR, "Child1", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child1", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI1", "PortType", 0x00010001, 0x00
HKR,"UI1", "SerialPortType", 0x00010001, 0x00
HKR,"UI1", "AutoDetect", 0x00010001, 0x00
HKR,"UI1", "SerialPortIndex", 0x00010001, 0x01; 1 based

[Child2_232.reg]
HKR, "Child2", "ContextID", 0x00010001, 2
HKR, "Child2", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child2", "DeviceName", 0x00000000, "BbNSer232432PDO"
HKR, "Child2", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child2", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232432"
HKR, "Child2", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243"
HKR, "Child2", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child2", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI2", "PortType", 0x00010001, 0x00
HKR,"UI2", "SerialPortType", 0x00010001, 0x00
HKR,"UI2", "AutoDetect", 0x00010001, 0x00
HKR,"UI2", "SerialPortIndex", 0x00010001, 0x02; 1 based

[Child1_232_4&8.reg]
HKR, "Child1", "ContextID", 0x00010001, 1
HKR, "Child1", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child1", "DeviceName", 0x00000000, "BbNSer23243PDO"
HKR, "Child1", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child1", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232431"
HKR, "Child1", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child1", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child1", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI1", "PortType", 0x00010001, 0x00
HKR,"UI1", "SerialPortType", 0x00010001, 0x00
HKR,"UI1", "AutoDetect", 0x00010001, 0x00
HKR,"UI1", "SerialPortIndex", 0x00010001, 0x01; 1 based

[Child2_232_4&8.reg]
HKR, "Child2", "ContextID", 0x00010001, 2
HKR, "Child2", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child2", "DeviceName", 0x00000000, "BbNSer232432PDO"
HKR, "Child2", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child2", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232432"
HKR, "Child2", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child2", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child2", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI2", "PortType", 0x00010001, 0x00
HKR,"UI2", "SerialPortType", 0x00010001, 0x00
HKR,"UI2", "AutoDetect", 0x00010001, 0x00
HKR,"UI2", "SerialPortIndex", 0x00010001, 0x02; 1 based

[Child3_232_4&8.reg]
HKR, "Child3", "ContextID", 0x00010001, 3
HKR, "Child3", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child3", "DeviceName", 0x00000000, "BbNSer232433PDO"
HKR, "Child3", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child3", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232433"
HKR, "Child3", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child3", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child3", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI3", "PortType", 0x00010001, 0x00
HKR,"UI3", "SerialPortType", 0x00010001, 0x00
HKR,"UI3", "AutoDetect", 0x00010001, 0x00
HKR,"UI3", "SerialPortIndex", 0x00010001, 0x03; 1 based

[Child4_232_4&8.reg]
HKR, "Child4", "ContextID", 0x00010001, 4
HKR, "Child4", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child4", "DeviceName", 0x00000000, "BbNSer232434PDO"
HKR, "Child4", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child4", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232434"
HKR, "Child4", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child4", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child4", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI4", "PortType", 0x00010001, 0x00
HKR,"UI4", "SerialPortType", 0x00010001, 0x00
HKR,"UI4", "AutoDetect", 0x00010001, 0x00
HKR,"UI4", "SerialPortIndex", 0x00010001, 0x04; 1 based

[Child5_232_4&8.reg]
HKR, "Child5", "ContextID", 0x00010001, 5
HKR, "Child5", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child5", "DeviceName", 0x00000000, "BbNSer232435PDO"
HKR, "Child5", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child5", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232435"
HKR, "Child5", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child5", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child5", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI5", "PortType", 0x00010001, 0x00
HKR,"UI5", "SerialPortType", 0x00010001, 0x00
HKR,"UI5", "AutoDetect", 0x00010001, 0x00
HKR,"UI5", "SerialPortIndex", 0x00010001, 0x05; 1 based

[Child6_232_4&8.reg]
HKR, "Child6", "ContextID", 0x00010001, 6
HKR, "Child6", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child6", "DeviceName", 0x00000000, "BbNSer232436PDO"
HKR, "Child6", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child6", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232436"
HKR, "Child6", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child6", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child6", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI6", "PortType", 0x00010001, 0x00
HKR,"UI6", "SerialPortType", 0x00010001, 0x00
HKR,"UI6", "AutoDetect", 0x00010001, 0x00
HKR,"UI6", "SerialPortIndex", 0x00010001, 0x06; 1 based

[Child7_232_4&8.reg]
HKR, "Child7", "ContextID", 0x00010001, 7
HKR, "Child7", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child7", "DeviceName", 0x00000000, "BbNSer232437PDO"
HKR, "Child7", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child7", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232437"
HKR, "Child7", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child7", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child7", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI7", "PortType", 0x00010001, 0x00
HKR,"UI7", "SerialPortType", 0x00010001, 0x00
HKR,"UI7", "AutoDetect", 0x00010001, 0x00
HKR,"UI7", "SerialPortIndex", 0x00010001, 0x07; 1 based

[Child8_232_4&8.reg]
HKR, "Child8", "ContextID", 0x00010001, 8
HKR, "Child8", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child8", "DeviceName", 0x00000000, "BbNSer232438PDO"
HKR, "Child8", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232 Serial Port"
HKR, "Child8", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232438"
HKR, "Child8", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243_4&8"
HKR, "Child8", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child8", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI8", "PortType", 0x00010001, 0x00
HKR,"UI8", "SerialPortType", 0x00010001, 0x00
HKR,"UI8", "AutoDetect", 0x00010001, 0x00
HKR,"UI8", "SerialPortIndex", 0x00010001, 0x08; 1 based

[Child1_422485.reg]
HKR, "Child1", "ContextID", 0x00010001, 1
HKR, "Child1", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child1", "DeviceName", 0x00000000, "BbNSer43248542PDO"
HKR, "Child1", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child1", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485421"
HKR, "Child1", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542"
HKR, "Child1", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child1", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI1", "PortType", 0x00010001, 0x01
HKR,"UI1", "SerialPortType", 0x00010001, 0x01
HKR,"UI1", "AutoDetect", 0x00010001, 0x00
HKR,"UI1", "SerialPortIndex", 0x00010001, 0x01; 1 based

[Child2_422485.reg]
HKR, "Child2", "ContextID", 0x00010001, 2
HKR, "Child2", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child2", "DeviceName", 0x00000000, "BbNSer432485422PDO"
HKR, "Child2", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child2", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485422"
HKR, "Child2", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542"
HKR, "Child2", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child2", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI2", "PortType", 0x00010001, 0x02
HKR,"UI2", "SerialPortType", 0x00010001, 0x01
HKR,"UI2", "AutoDetect", 0x00010001, 0x00
HKR,"UI2", "SerialPortIndex", 0x00010001, 0x02; 1 based

[Child1_422485_4&8.reg]
HKR, "Child1", "ContextID", 0x00010001, 1
HKR, "Child1", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child1", "DeviceName", 0x00000000, "BbNSer43248542PDO"
HKR, "Child1", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child1", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485421"
HKR, "Child1", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child1", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child1", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI1", "PortType", 0x00010001, 0x01
HKR,"UI1", "SerialPortType", 0x00010001, 0x01
HKR,"UI1", "AutoDetect", 0x00010001, 0x00
HKR,"UI1", "SerialPortIndex", 0x00010001, 0x01; 1 based

[Child2_422485_4&8.reg]
HKR, "Child2", "ContextID", 0x00010001, 2
HKR, "Child2", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child2", "DeviceName", 0x00000000, "BbNSer432485422PDO"
HKR, "Child2", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child2", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485422"
HKR, "Child2", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child2", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child2", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI2", "PortType", 0x00010001, 0x02
HKR,"UI2", "SerialPortType", 0x00010001, 0x01
HKR,"UI2", "AutoDetect", 0x00010001, 0x00
HKR,"UI2", "SerialPortIndex", 0x00010001, 0x02; 1 based

[Child3_422485_4&8.reg]
HKR, "Child3", "ContextID", 0x00010001, 3
HKR, "Child3", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child3", "DeviceName", 0x00000000, "BbNSer432485423PDO"
HKR, "Child3", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child3", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485423"
HKR, "Child3", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child3", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child3", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI3", "PortType", 0x00010001, 0x04
HKR,"UI3", "SerialPortType", 0x00010001, 0x01
HKR,"UI3", "AutoDetect", 0x00010001, 0x00
HKR,"UI3", "SerialPortIndex", 0x00010001, 0x03; 1 based
[Child4_422485_4&8.reg]
HKR, "Child4", "ContextID", 0x00010001, 4
HKR, "Child4", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child4", "DeviceName", 0x00000000, "BbNSer432485424PDO"
HKR, "Child4", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child4", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485424"
HKR, "Child4", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child4", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child4", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI4", "PortType", 0x00010001, 0x08
HKR,"UI4", "SerialPortType", 0x00010001, 0x01
HKR,"UI4", "AutoDetect", 0x00010001, 0x00
HKR,"UI4", "SerialPortIndex", 0x00010001, 0x04; 1 based

[Child5_422485_4&8.reg]
HKR, "Child5", "ContextID", 0x00010001, 5
HKR, "Child5", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child5", "DeviceName", 0x00000000, "BbNSer432485425PDO"
HKR, "Child5", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child5", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485425"
HKR, "Child5", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child5", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child5", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI5", "PortType", 0x00010001, 0x10
HKR,"UI5", "SerialPortType", 0x00010001, 0x01
HKR,"UI5", "AutoDetect", 0x00010001, 0x00
HKR,"UI5", "SerialPortIndex", 0x00010001, 0x05; 1 based

[Child6_422485_4&8.reg]
HKR, "Child6", "ContextID", 0x00010001, 6
HKR, "Child6", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child6", "DeviceName", 0x00000000, "BbNSer432485426PDO"
HKR, "Child6", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child6", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485426"
HKR, "Child6", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child6", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child6", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI6", "PortType", 0x00010001, 0x20
HKR,"UI6", "SerialPortType", 0x00010001, 0x01
HKR,"UI6", "AutoDetect", 0x00010001, 0x00
HKR,"UI6", "SerialPortIndex", 0x00010001, 0x06; 1 based

[Child7_422485_4&8.reg]
HKR, "Child7", "ContextID", 0x00010001, 7
HKR, "Child7", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child7", "DeviceName", 0x00000000, "BbNSer432485427PDO"
HKR, "Child7", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child7", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485427"
HKR, "Child7", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child7", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child7", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI7", "PortType", 0x00010001, 0x40
HKR,"UI7", "SerialPortType", 0x00010001, 0x01
HKR,"UI7", "AutoDetect", 0x00010001, 0x00
HKR,"UI7", "SerialPortIndex", 0x00010001, 0x07; 1 based

[Child8_422485_4&8.reg]
HKR, "Child8", "ContextID", 0x00010001, 8
HKR, "Child8", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child8", "DeviceName", 0x00000000, "BbNSer432485428PDO"
HKR, "Child8", "DeviceTextDescription", 0x00000000, "Brainboxes RS-422/485 Serial Port"
HKR, "Child8", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer432485428"
HKR, "Child8", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer43248542_4&8"
HKR, "Child8", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child8", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI8", "PortType", 0x00010001, 0x80
HKR,"UI8", "SerialPortType", 0x00010001, 0x01
HKR,"UI8", "AutoDetect", 0x00010001, 0x00
HKR,"UI8", "SerialPortIndex", 0x00010001, 0x08; 1 based

[Child1_232_422485.reg]
HKR, "Child1", "ContextID", 0x00010001, 1
HKR, "Child1", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child1", "DeviceName", 0x00000000, "BbNSer23243248542PDO"
HKR, "Child1", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232/422/485 Serial Port"
HKR, "Child1", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232432485421"
HKR, "Child1", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243248542"
HKR, "Child1", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child1", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI1", "PortType", 0x00010001, 0x00
HKR,"UI1", "SerialPortType", 0x00010001, 0x02
HKR,"UI1", "AutoDetect", 0x00010001, 0x00
HKR,"UI1", "SerialPortIndex", 0x00010001, 0x01; 1 based

[Child2_232_422485.reg]
HKR, "Child2", "ContextID", 0x00010001, 2
HKR, "Child2", "TypeOfDevice", 0x00010001, 0x1b	; FILE_DEVICE_SERIAL_PORT
HKR, "Child2", "DeviceName", 0x00000000, "BbNSer232432485422PDO"
HKR, "Child2", "DeviceTextDescription", 0x00000000, "Brainboxes RS-232/422/485 Serial Port"
HKR, "Child2", "BusQueryDeviceID", 0x00000000, "Ports\BbNSer232432485422"
HKR, "Child2", "BusQueryHardwareIDs", 0x00000000, "Ports\BbNSer23243248542"
HKR, "Child2", "BusTypeGuid", 0x00000000, "{4d36e978-e325-11ce-bfc1-08002be10318}"
HKR, "Child2", "LegacyBusType", 0x00010001, 15	;PnPBus
HKR,"UI2", "PortType", 0x00010001, 0x00
HKR,"UI2", "SerialPortType", 0x00010001, 0x02
HKR,"UI2", "AutoDetect", 0x00010001, 0x00
HKR,"UI2", "SerialPortIndex", 0x00010001, 0x02; 1 based

[Uninstall.NT.Reg]
