If MIDI drivers support more than one port in a driver, additional registry entries must be made for each port, as shown below. This allows each port to be configured independently from the Control Panel. Following is a sample [MULTMIDI.Addreg] section for a MIDI driver supporting more than one MIDI port:
[MULTMIDI.AddReg]
HKR,Drivers\midi\MultiPort_Port_0000,Description,,%Port0.DeviceDesc%
HKR,Drivers\midi\MultiPort_Port_0000,Driver,, multmidi.drv
HKR,Drivers\midi\MultiPort_Port_0000,External,1,01,00,00,00
HKR,Drivers\midi\MultiPort_Port_0000,NumPorts,1,03,00,00,00
HKR,Drivers\midi\MultiPort_Port_0000,Port,1,00,00,00,00
HKR,Drivers\midi\MultiPort_Port_0001,Description,,%Port1.DeviceDesc%
HKR,Drivers\midi\MultiPort_Port_0001,Driver,,multmidi.drv
HKR,Drivers\midi\MultiPort_Port_0001,External,1,01,00,00,00
HKR,Drivers\midi\MultiPort_Port_0001,NumPorts,1,03,00,00,00
HKR,Drivers\midi\MultiPort_Port_0001,Port,1,01,00,00,00
HKR,Drivers\midi\MultiPort_Port_0002,Description,,%Port2.DeviceDesc%
HKR,Drivers\midi\MultiPort_Port_0002,Driver,,multmidi.drv
HKR,Drivers\midi\MultiPort_Port_0002,External,1,01,00,00,00
HKR,Drivers\midi\MultiPort_Port_0002,NumPorts,1,03,00,00,00
HKR,Drivers\midi\MultiPort_Port_0002,Port,1,02,00,00,00
[Strings]
Port0.DeviceDesc="Multiport MIDI Driver: MIDI Port 0"
Port1.DeviceDesc="Multiport MIDI Driver: MIDI Port 1"
Port2.DeviceDesc="Multiport MIDI Driver: MIDI Port 2"