NDIS_TAPI_PROVIDER_INITIALIZE (Windows Embedded CE 6.0)

1/6/2010

OID_TAPI_PROVIDER_INITIALIZE uses the NDIS_TAPI_PROVIDER_INITITIALIZE structure when it requests that the miniport driver initialize itself as a TAPI provider. The driver should set up whatever internal state it uses to track incoming requests from TAPI.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_PROVIDER_INITIALIZE { 
  ULONG ulRequestID; 
  ULONG ulDeviceIDBase; 
  ULONG ulNumLineDevs; 
  ULONG ulProviderID; 
} NDIS_TAPI_PROVIDER_INITIALIZE, *PNDIS_TAPI_PROVIDER_INITIALIZE; 

Members

  • ulRequestID
    [in] Reserved.
  • ulDeviceIDBase
    [in] Specifies the lowest device identifier for the line devices supported by the miniport driver. Subsequent to this request, the driver uses this value as the zero-based line device identifier value. That is, if ulNumLineDevs is greater than one, the ulDeviceID values subsequently passed in requests such as OID_TAPI_OPEN, contains this value for the first line, this value plus one for the second line, and so forth.
  • ulNumLineDevs
    [out] Specifies the number of line devices supported by the miniport driver to complete this request successfully.
  • ulProviderID
    [out] Specifies an identifier for the WAN NIC driver if this request is completed successfully. This value must be unique within the set of WAN drivers that support TAPI; the NdisMiniportContext handle passed in to the MiniportInitialize function can be used to provide a guaranteed unique value.

Remarks

The MiniportQueryInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

Header ndistapi.h, ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
OID_TAPI_OPEN
OID_TAPI_PROVIDER_INITIALIZE
MiniportQueryInformation