NdisCompleteTransferData

VOID
NdisCompleteTransferData(
IN NDIS_HANDLE NdisBindingContext,
IN PNDIS_PACKET Packet,
IN NDIS_STATUS Status,
IN UINT BytesTransferred
);

NdisCompleteTransferData is called by the NIC driver for an asynchronous data-transfer operation.

Parameters

NdisBindingContext

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

Packet

Points to the packet descriptor.

Status

Specifies the final status of the transfer data operation.

BytesTransferred

Specifies the number of bytes of data that the NIC driver transfers.

Comments

NdisCompleteTransferData calls the ProtocolRequestComplete function of the protocol driver that originally called NdisTransferData.

Callers of NdisCompleteTransferData run at IRQL <= DISPATCH_LEVEL.

See Also

MacTransferData, NdisTransferData, ProtocolTransferDataComplete