The Bluetooth functionality (and related APIs) are fundamentally unchanged between XP and Vista, however additional profile support has been added for Audio devices. Based on testing with the RC2 build Vista now supports:-
- A2DP (Wireless Stereo)
When Vista detects a new audio device it doesn’t automatically install support for the audio services, but it does recognise hands free devices based on their Class-of-Device:-
If you select the device properties, and view the Services tag you can see and select the supported audio profiles and when you apply the settings a new Audio device will be installed.
You can set these programmatically using 32feet.NET with the BluetoothDeviceInfo.SetServiceState method passing in either BluetoothService.Headset or Handsfree. The audio device appears in the Sounds control panel applet, but doesn’t override the default system audio. You are unlikely to want to do this with a headset anyway, although it’s more likely you’ll want to do this with stereo headphones. You can however select this audio device to use with audio conferencing software such as Skype or Windows Messenger or with Vista’s speech recognition.