| View previous topic :: View next topic |
| Author |
Message |
Simply Curious
Joined: 25 May 2008 Posts: 11
|
Posted: Fri Jul 04, 2008 5:46 pm Post subject: Check whether a bluetooth device is connected |
|
|
Is there any way to check whether or not a bluetooth headset is currently connected?
I've checked the registry, and I haven't been able to find any changes made from the connection in the bluetooth settings. |
|
| Back to top |
|
 |
Razlin
Joined: 05 Nov 2007 Posts: 370 Location: canada
|
Posted: Fri Jul 04, 2008 7:07 pm Post subject: |
|
|
look up forums for
WM_DEVICECHANGE( wParam, lParam )
I use a script for this when I plug my USB stick to auto run specific files off of it.
if its a USB then this might work _________________ -=Raz=- |
|
| Back to top |
|
 |
Simply Curious
Joined: 25 May 2008 Posts: 11
|
Posted: Fri Jul 04, 2008 11:23 pm Post subject: |
|
|
| Thank you for the suggestion. Unfortunately, the bluetooth is an internal device, so it's always on and WM_DEVICECHANGE doesn't catch it. No message is received when the headset gets connected. |
|
| Back to top |
|
 |
|