Getting USB port name

Hi, I am writing an installer application which will install a printer driver and configure the printer.
I am stuck at how to get the printer USB port name during installation. I can do an EnumPrinter(), filter and get all the USB ports. But, how do I check which USB printer port has my printer mapped to it.

Any tip would be of great help!

Thanks.

EnumPorts() to enumerate printer ports.