Share via


BthAGOverrideCallOut (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

Bluetooth OS Functions
Phone-Extension Component