This function returns the packet and completion status for a transfer-data request for which the miniport previously returned NDIS_STATUS_PENDING.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisMTransferDataComplete( IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet,
IN NDIS_STATUS Status, IN UINT BytesTransferred );
Whenever MiniportTransferData returns NDIS_STATUS_PENDING for a specified packet, the driver must call this function when it has finished copying the requested data into that packet or must fail the request.
A miniport that indicates receives with NdisMIndicateReceivePacket never calls this function because such a driver always indicates full packets up to higher-level drivers.
Miniports that report their NIC’s media type as NdisMediumArcnet878_2 do not call this function either. NDIS copies all packet data that such a driver indicates.
A driver that calls this function runs at IRQL DISPATCH_LEVEL.
NdisAllocatePacket, NdisMIndicateReceivePacket, NdisTransferData