BthAGNetworkDropCall (Compact 2013)

3/26/2014

This function is called by the Audio Gateway service terminate a call.

Syntax

DWORD BthAGNetworkHangupCall(DWORD dwFlags);

Parameters

  • dwFlags
    [in] A flag that specifies the call to terminate. The following table shows the possible flag options.

    Flag options

    Description

    NETWORK_FLAGS_DROP_ACTIVE (0x01)

    Specifes that the active call must be terminated.

    NETWORK_FLAGS_DROP_HOLD (0x02)

    Specifies that a call that is on hold must be terminated.

    NETWORK_FLAGS_DROP_OFFERING (0x04)

    Specifies that an incoming call must be terminated.

    NETWORK_FLAGS_DROP_OUTGOING (0x08)

    Specifies that the outcoming call must be terminated.

    NETWORK_FLAGS_DROP_ALL (0x0f)

    Specifies that all calls must be terminated.

Return Value

If the function call succeeds, the return value is ERROR_SUCCESS. Any other value indicates a failure.

Remarks

BthAGNetworkDropCall is called asynchronously.

Requirements

Header

btagpub.h

Library

Btagsvc_network.lib

See Also

Reference

Bluetooth AG Service Functions