Some Bluetooth headsets (with profile AVRCP) have control buttons such as forward/play/pause typically used to control a media player.
How can applications capture those buttons?
Do they send WM_KEYDOWN messages to the active application?
if yes, what are the virtual-keys for those various buttons? Are they standardized? Are they non-standard and depend on the BT device or Bluetooth stack of the device?
A user reported that those buttons continue to control the Windows Media Player in the background, so apparently WMP can capture those buttons and react to them even when is it is not active or does not have the focus. How can another application do the same? What is the API to use in order to capture those buttons?
How can applications capture those buttons?
Do they send WM_KEYDOWN messages to the active application?
if yes, what are the virtual-keys for those various buttons? Are they standardized? Are they non-standard and depend on the BT device or Bluetooth stack of the device?
A user reported that those buttons continue to control the Windows Media Player in the background, so apparently WMP can capture those buttons and react to them even when is it is not active or does not have the focus. How can another application do the same? What is the API to use in order to capture those buttons?