BthAGOverrideCallOut (Compact 2013)

3/26/2014

This function is called by the Audio Gateway (AG) service when a call is placed on the device.

Syntax

BOOL BthAGOverrideCallOut(
  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 placed using the AG service, the return value is TRUE. To route audio back to the device, return FALSE.

Remarks

BthAGOverrideCallOut does not need to return a value immediately because it is called on a separate thread. The AG service calls the BthAGOverrideCallIn function when an incoming call arrives.

Requirements

Header

btagpub.h

Library

Btagsvc_phoneext.lib

See Also

Reference

Bluetooth AG Service Functions