TERMINATE_OFFLOAD_COMPLETE_HANDLER callback function (ndischimney.h)

[The TCP chimney offload feature is deprecated and should not be used.]

NDIS calls a protocol or intermediate driver's ProtocolTerminateOffloadComplete function to complete a terminate offload operation that the driver previously initiated by calling the NdisTerminateOffload function.

Syntax

TERMINATE_OFFLOAD_COMPLETE_HANDLER TerminateOffloadCompleteHandler;

void TerminateOffloadCompleteHandler(
  [in] IN NDIS_HANDLE ProtocolBindingContext,
  [in] IN PNDIS_PROTOCOL_OFFLOAD_BLOCK_LIST OffloadBlockList
)
{...}

Parameters

[in] ProtocolBindingContext

A handle to a context area allocated by the protocol driver. The driver maintains the per binding context information in this context area. The driver supplied this handle to NDIS when the driver called the NdisOpenAdapterEx function.

[in] OffloadBlockList

A pointer to an NDIS_PROTOCOL_OFFLOAD_BLOCK_LIST structure that can be a stand-alone structure or the root of a linked list of such structures. These structures identify the state that was terminated or that was attempted to be terminated.

Return value

None

Remarks

In response to an underlying offload target's or intermediate driver's call to the NdisMTerminateOffloadComplete function, NDIS calls a protocol or intermediate driver's ProtocolTerminateOffloadComplete function.

An intermediate driver must propagate the completion of the terminate offload operation to the driver above it by calling NdisMTerminateOffloadComplete. For more information, see Propagating the Completion of a State-Manipulation Operation.

From the NDIS_PROTOCOL_OFFLOAD_BLOCK_LIST structure that was passed to its ProtocolTerminateOffloadComplete function, the intermediate driver constructs an NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure. For more information, see Reusing an NDIS_PROTOCOL_OFFLOAD_BLOCK_LIST Structure. When calling the NdisMTerminateOffloadComplete function, the intermediate driver passes a pointer (the OffloadBlockList parameter) to this newly constructed NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure.

Requirements

Requirement Value
Target Platform Windows
Header ndischimney.h (include Ndischimney.h)

See also

MiniportTerminateOffload

NDIS_MINIPORT_OFFLOAD_BLOCK_LIST NDIS_PROTOCOL_OFFLOAD_BLOCK_LIST NdisMTerminateOffloadComplete

NdisOpenAdapterEx

NdisTerminateOffload