NdisCompleteSend

VOID
   NdisCompleteSend(
       IN NDIS_HANDLE NdisBindingContext,
       IN PNDIS_PACKET Packet,
       IN NDIS_STATUS Status
       );

NdisCompleteSend is called by the NIC driver for an asynchronous send operation.

Parameters

NdisBindingContext

Specifies the context that the NDIS interface library associates with the binding.

Packet

Points to the caller-supplied descriptor for the packet that the protocol driver passes for transmission on the medium.

Status

Indicates the final status of the send operation.

Comments

NdisCompleteSend calls the ProtocolSendComplete function of the protocol driver that originally called NdisSend.

The NIC driver can call NdisCompleteSend before the initiating call to NdisSend completes. It can call NdisCompleteSend even before the protocol driver has time to inspect the status that NdisSend provides.

Callers of NdisCompleteSend run at IRQL <= DISPATCH_LEVEL.

See Also

MacSend, NdisSend, ProtocolSendComplete