Share via


NDIS Library Functions Used by WAN NIC Miniport Drivers

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.

NDIS miniport drivers of WAN NICs call the same NDIS library functions that other miniport drivers call with very few exceptions. For a list of the common functions that WAN and LAN miniports call, see the preceding summary of NDIS Library Functions Used by Miniport Drivers.

However, WAN miniport drivers cannot call the following NdisXxx functions:

NdisMIndicateReceive

NdisMIndicateReceiveComplete

NdisMSendComplete

Instead, WAN miniport drivers call these functions:

  • NdisMWanIndicateReceive
    Notifies NDIS that a packet has been received on a particular link, identified by the given link-context handle, and on a particular NIC, identified by the adapter handle, and that the full packet is available to be forwarded to the appropriate bound protocol driver(s).

  • NdisMWanIndicateReceiveComplete
    Notifies NDIS that one or more receives on a particular link, identified by the given link-context handle, and on a particular NIC, identified by the adapter handle, are complete (that is, the preceding call to NdisMWanIndicateReceive has returned) so that NDIS can notify the appropriate bound protocol driver(s).

  • NdisMWanSendComplete
    Returns the packet and final status of a completed send request for which the driver previously returned NDIS_STATUS_PENDING so that NDIS can return the completed packet to the appropriate bound protocol driver.

 

 

Send comments about this topic to Microsoft