// ndischimney.h
NDIS_TCP_OFFLOAD_DISCONNECT_COMPLETE NdisTcpOffloadDisconnectComplete;
VOID NdisTcpOffloadDisconnectComplete(
[in] IN NDIS_HANDLE NdisMiniportHandle,
[in] IN PNET_BUFFER_LIST NetBufferList
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[The TCP chimney offload feature is deprecated and should not be used.]
An offload target calls the NdisTcpOffloadDisconnectComplete function to complete a disconnect request that was initiated by a previous call to the MiniportTcpOffloadDisconnect function of the offload target.
NdisMiniportHandle [in]The handle that the offload target obtained in a previous call to the NdisMRegisterMiniportDriver function.
NetBufferList [in]A pointer to a single NET_BUFFER_LIST structure. The offload target obtained this pointer as an input parameter to its MiniportTcpOffloadDisconnect function.
Completing an Abortive Disconnect
If the offload target issued an abortive disconnect, it must do the following before calling the NdisTcpOffloadDisconnectComplete function:
Completing a Graceful Disconnect
Before completing a graceful disconnect request, the offload target must:
Write a status value to the Status member of the NET_BUFFER_LIST structure that it passes to the NdisTcpOffloadDisconnectComplete function:
Note that the NdisTcpOffloadDisconnectComplete function returns only the NET_BUFFER_LIST structure and associated structures that NDIS passed to the offload target's MiniportTcpOffloadDisconnect function. The NdisTcpOffloadDisconnectComplete function cannot return NET_BUFFER_LIST structures that NDIS passed in previous calls to the offload target's MiniportTcpOffloadSend function.