I'm currently creating a program in C++ that allows devices (currently just my smartphone) to be paired to the PC. I'm using the WinApi functions and it actually works rather well.
For the programm to work I currently need to pass the Bluetooth MAC Address of the device to the programm, more specifically, the BluetoothRegisterForAuthenticationEx MSDN function needs it to pair the device.
Now, I actually don't want to type in my Bluetooth MAC Address, but it would be fine to enter the Device Name (or something else) in order to pair the device.
I looked through the winapi bluetooth functions, but didn't find anything, so my question for you is,
Can I, programmatically, get the Bluetooth MAC Address of a certain device when I have other informations (for example the device name) without being already paired? And if so, how?