NdisMQueryOffloadStateComplete function

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

An offload target calls the NdisMQueryOffloadStateComplete function to complete a query offload operation that was initiated by a previous call to the offload target's MiniportQueryOffload function.

Syntax

void NdisMQueryOffloadStateComplete(
  IN NDIS_HANDLE                       NdisMiniportHandle,
  IN PNDIS_MINIPORT_OFFLOAD_BLOCK_LIST OffloadBlockList
);

Parameters

NdisMiniportHandle

The handle that the offload driver obtained in a previous call to NdisMRegisterMiniportDriver.

OffloadBlockList

A pointer to an NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure. The offload target obtained this pointer as an input parameter to its MiniportQueryOffload function.

Return Value

None

Remarks

An offload target calls NdisMQueryOffloadStateComplete to complete a query operation that was initiated when NDIS called the MiniportQueryOffload function of the offload target.

Before calling NdisMQueryOffloadStateComplete, the offload target must:

  • Fill in each offload state structure in the state tree with the current values of that structure's variables.
  • Write a status value of NDIS_STATUS_SUCCESS or NDIS_STATUS_FAILURE to the Status member of each NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure in the state tree.

Requirements

   
Target Platform Universal
Header ndischimney.h (include Ndischimney.h)
IRQL Any level

See Also

MiniportQueryOffload

NDIS_MINIPORT_OFFLOAD_BLOCK_LIST

NdisMRegisterMiniportDriver