次の方法で共有


BthAGPhoneExtEvent (Compact 2013)

3/26/2014

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

See Also

Reference

Bluetooth AG Service Functions