NDIS_TAPI_OPEN (Compact 2013)

3/26/2014

The NDIS_TAPI_OPEN structure is used by OID_TAPI_OPEN when it requests the miniport driver to open the line device designated by the given device identifier and return the NIC driver's handle for the device.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_OPEN { 
  ULONG ulRequestID; 
  ULONG ulDeviceID; 
  HTAPI_LINE htLine; 
  HDRV_LINE hdLine; 
} NDIS_TAPI_OPEN, *PNDIS_TAPI_OPEN; 

Members

  • ulRequestID
    [in] Reserved.
  • htLine
    [in] Specifies NDISTAPI's handle to the line device to be used in subsequent calls to the LINE_EVENT callback procedure to identify the line
  • hdLine
    [out] Specifies the miniport driver's NIC driver handle to the line device.

    The NIC driver must fill this location with its handle for the line device to complete this request successfully. This handle is ignored if the miniport completes the request with an error status.

Remarks

The MiniportQueryInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_ALLOCATED
  • NDIS_STATUS_TAPI_INVALMEDIAMODE
  • NDIS_STATUS_FAILURE

The miniport driver must retain the htLine handle for the device provided by NDISTAPI for use in subsequent NDIS_TAPI_EVENT notifications using the LINE_EVENT structure.

Requirements

Header

ndistapi.h,
ntddndis.h

See Also

Reference

NDIS 5.x Legacy Structures
OID_TAPI_OPEN
OID_TAPI_PROVIDER_INITIALIZE
MiniportQueryInformation