NDIS_TAPI_EVENT

typedef struct _NDIS_TAPI_EVENT {

    IN    HTAPI_LINE  htLine,

    IN    HTAPI_CALL  htCall,

    IN    ULONG       ulMsg,

    IN    ULONG       ulParam1,

    IN    ULONG       ulParam2,

    IN    ULONG       ulParam3

} NDIS_TAPI_EVENT, *PNDIS_TAPI_EVENT;

NDIS_TAPI_EVENT is used when reporting spontaneously occurring events on the line or on a call on an established line to TAPI through NDISWAN.

Members

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 zero.

ulMsg

Specifies what kind of event is being reported. 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.

Comments

A WAN miniport calls NdisMIndicateStatus 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.

See Also

NdisMIndicateStatus, ProtocolStatus