Share via


BthAGPhoneExtEvent (Windows Embedded CE 6.0)

1/6/2010

This function is called by the Audio Gateway (AG) service when the specified event occurs on the Bluetooth device.

Syntax

void BthAGPhoneExtEvent(
  DWORD dwEvent,
  DWORD dwParam,
  VOID* pvParam2
);

Parameters

  • dwEvent
    [in] Specifies the event that occurred, such as change in speaker or microphone volume on the Bluetooth device. The following table shows the possible flag values:

    Flag options Description

    AG_PHONE_EVENT_VOICE_RECOG

    Voice recognition notification.

    AG_PHONE_EVENT_SPEAKER_VOLUME

    Speaker volume notification.

    AG_PHONE_EVENT_MIC_VOLUME

    Microphone volume notification.

    AG_PHONE_EVENT_BT_CTRL

    Bluetooth service level connection notification.

    AG_PHONE_EVENT_BT_AUDIO

    Bluetooth audio connection notification.

  • dwParam
    [in] Specifies the parameter associated with the event, such the speaker or the microphone volume.
  • pvParam2
    Reserved.

Return Value

None.

Requirements

Header btagpub.h
Library Btagsvc_phoneext.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Bluetooth OS Functions
Phone-Extension Component