Share via


BthAGOverrideCallIn (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Bluetooth OS Functions
Phone-Extension Component