title: Can you get the Bluetooth MAC Address of a Bluetooth Device when you have its name?
body: <p>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.</p>
  
  <p>For the programm to work I currently need to pass the Bluetooth MAC Address of the device to the programm, more specifically, the <strong>BluetoothRegisterForAuthenticationEx</strong> MSDN function needs it to pair the device.</p>
  
  <p>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.</p>
  
  <p>I looked through the winapi bluetooth functions, but didn't find anything, so my question for you is,</p>
  
  <p>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?</p>