NdisMTransferDataComplete (Windows Embedded CE 6.0)
1/6/2010
This function returns the packet and completion status for a transfer-data request for which the miniport previously returned NDIS_STATUS_PENDING.
Syntax
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 Value
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
Header | ndis.h |
Library | ndis.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
MiniportInitialize
MiniportTransferData
NdisAllocatePacket
NdisMIndicateReceivePacket
NdisTransferData