Initializing an NDIS WAN Miniport Driver (NDIS 5.1)
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.
A WAN miniport driver must first initialize its NICs and then report its capabilities in response to queries from the NDISWAN intermediate driver.
An NDIS WAN miniport driver's MiniportInitialize function initializes one or more NICs. After the NICs are initialized, the NDISWAN driver requests more information from the miniport driver with an OID_WAN_GET_INFOquery. For more information about handling NDIS WAN queries, see Handling Queries in an NDIS WAN Miniport Driver.
A miniport driver that is TAPI-capable should set the TAPI_PROVIDER bit of the FramingBits member of the NDIS_WAN_INFO structure that was passed with the query. Setting the TAPI_PROVIDER bit informs upper-layer drivers to send TAPI OIDs to the miniport driver.
The NDIS WAN miniport driver handles TAPI OIDs that set up, maintain, and tear down TAPI connections. For more information about setting up an NDIS WAN miniport driver to provide TAPI services, see NDIS WAN Operations That Support Telephonic Services.