Finding the virtual COM port for a bluetooth device

I recently got the bluetooth v2 DIP module from sparkfun and have it working with a cheap serial JPG camera. I’m putting it on a small robot.

Requiring the user to goto device manager and find the com port of the device is a small pain. Has anybody found a programatic way to lookup the com port or device name that gets passed to CreateFile from information such as the friendly name of the device that is displayed in the bluetooth software?

I’m using the Microsoft Windows XP SP2 bluetooth stack.