Share via


NdisMTransferDataComplete

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

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

Parameters

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

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h   Ndislib.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MiniportInitialize, MiniportTransferData, NdisAllocatePacket, NdisMIndicateReceivePacket, NdisTransferData

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.