Compartilhar via


NdisMTransferDataComplete (Windows CE 5.0)

Send Feedback

This function returns the packet and completion status for a transfer-data request for which the miniport previously returned NDIS_STATUS_PENDING.

VOID NdisMTransferDataComplete(NDIS_HANDLE MiniportAdapterHandle,PNDIS_PACKET Packet,NDIS_STATUS Status,UINT BytesTransferred);

Parameters

  • MiniportAdapterHandle
    [in] Handle originally input to the MiniportInitialize function.
  • Packet
    [in] Pointer to the protocol-allocated packet for which the MiniportTransferData function previously returned NDIS_STATUS_PENDING.
  • Status
    [in] Specifies the final NDIS_STATUS_XXX for the just-completed transfer-data request.
  • BytesTransferred
    [in] Specifies the number of bytes actually transferred to the packet.

Return Values

None.

Remarks

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 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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.dll.

See Also

MiniportInitialize | MiniportTransferData | NdisAllocatePacket | NdisMIndicateReceivePacket | NdisTransferData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.