Partager via


BthAGOverrideCallIn (Compact 2013)

3/26/2014

This function is called by the Audio Gateway (AG) service when an incoming call arrives.

Syntax

BOOL BthAGOverrideCallIn(
  BOOL fHandsfree
);

Parameters

  • fHandsfree
    [in] Determines the profile to use. TRUE specifies the Hands-Free profile, FALSE specifies the Headset profile.

Return Value

If the call is answered using the AG service, the return value is TRUE. To route audio back to the device, return FALSE. The AG service calls the BthAGOverrideCallOut function when a call is placed on the device.

Remarks

BthAGOverrideCallIn does not need to return a value immediately because it is called on a separate thread.

Requirements

Header

btagpub.h

Library

Btagsvc_phoneext.lib

See Also

Reference

Bluetooth AG Service Functions