Partager via


NDIS_TAPI_EVENT

This message is sent to report spontaneously occurring events on the line or on a call on an established line to Telephony API (TAPI) through NDISWAN.

typedef struct _NDIS_TAPI_EVENT {
  HTAPI_LINE htLine,
  HTAPI_CALL htCall,
  ULONG ulMsg,
  ULONG ulParam1,
  ULONG ulParam2,
  ULONG ulParam3
} NDIS_TAPI_EVENT, *PNDIS_TAPI_EVENT;

Parameters

  • htLine
    Specifies the TAPI handle for the line on which the event occurred.
  • htCall
    Specifies the TAPI handle for the call on which the event occurred if this is a call-related event. For line-related events where there is no call, this parameter should be set to 0.
  • ulMsg
    Specifies what kind of event is being reported. The interpretation of remaining members depends on the context indicated by ulMsg. The values of this parameter are defined in Ndistapi.h, and they correspond to the names of the messages themselves; for example, LINE_NEWCALL.
  • ulParam1
    Specifies a parameter for the message.
  • ulParam2
    Specifies a parameter for the message.
  • ulParam3
    Specifies a parameter for the message.

Return Values

None.

Remarks

A WAN miniport calls the NdisMIndicateStatus function with this type of indication when a TAPI line or call event occurs, specifying NDIS_STATUS_TAPI_INDICATION as the value for GeneralStatus and supplying a pointer to an initialized structure of type NDIS_TAPI_EVENT.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Ndistapi.h.

See Also

NdisMIndicateStatus

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.