2.2 NDIS Library Functions Used by WAN NIC Miniport Drivers
NDIS miniport drivers of WAN NICs call the same NDIS library functions that other NIC miniport drivers call with very few exceptions. See the preceding summary of NDIS Library Functions Used by Miniport Drivers for a list of the common functions that WAN and LAN miniports call.
However, WAN miniport drivers cannot call the following NdisXxx functions:
NdisMIndicateReceive
NdisMIndicateReceiveComplete
NdisMSendComplete
Instead, WAN miniport drivers call these functions:
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).
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.