Share via


BthAGOnNetworkEvent (Windows Embedded CE 6.0)

1/6/2010

This function is called by the Network Component of the Audio Gateway Service when an event occurs.

Syntax

void BthAGOnNetworkEvent(
  DWORD dwEvent, 
  LPSTR pszParam
);

Parameters

  • dwEvent
    [in] Specifies the event id. The following table shows the events with a description of the purpose of each.

    Event Description

    NETWORK_EVENT_CALL_IN

    Incoming call notification.

    NETWORK_EVENT_CALL_OUT

    Outgoing call notification.

    NETWORK_EVENT_CALL_CONNECT

    Call connected notification.

    NETWORK_EVENT_CALL_DISCONNECT

    Call disconnected notification.

    NETWORK_EVENT_CALL_REJECT

    Call dropped notification.

    NETWORK_EVENT_CALL_INFO

    Caller identification notification.

    NETWORK_EVENT_CALL_BUSY

    Call signal busy notification.

    NETWORK_EVENT_RING

    Ring received notification.

    NETWORK_EVENT_FAILED

    Call failed notification.

  • pszParam
    [in] Points to a null-terminated string that contains parameter strings associated with the event that is passed in dwEvent. For example, if NETWORK_EVENT_CALL_IN is passed, then pszParam points to a string that contains the phone number of the incoming caller.

Return Value

None.

Requirements

Header btagnetwork.h
Library Btagsvc.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Bluetooth OS Functions
Network Component

Concepts

Audio Gateway Core Component