NDIS_TAPI_EVENT structure
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
The NDIS_TAPI_EVENT structure is used when reporting spontaneously occurring events on the line or on a call on an established line to TAPI through NDISWAN.
Syntax
typedef struct _NDIS_TAPI_EVENT {
HTAPI_LINE htLine;
HTAPI_CALL htCall;
ULONG ulMsg;
ULONG_PTR ulParam1;
ULONG_PTR ulParam2;
ULONG_PTR ulParam3;
} NDIS_TAPI_EVENT, *PNDIS_TAPI_EVENT;
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.
Remarks
A WAN miniport driver 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.
Requirements
Header |
Ndistapi.h (include Ndistapi.h) |
See also