Microsoft Windows CE 3.0  

NdisMTransferDataComplete

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 MiniportInitializefunction.
Packet
Pointer to the protocol-allocated packet for which the MiniportTransferDatafunction previously returned NDIS_STATUS_PENDING.
Status
Specifies the final NDIS_STATUS_ XXXfor the just-completed transfer-data request.
BytesTransferred
Specifies the number of bytes actually transferred to the packet.

Remarks

Whenever MiniportTransferDatareturns 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 NdisMIndicateReceivePacketnever 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