Determining Connection Offload Capabilities
NDIS supports two categories of offload services: TCP/IP offload services that are enhanced forms of the NDIS 5.1 and earlier task offload services and connection offload services.
NDIS provides the offload hardware capabilities and the current configuration of the underlying miniport adapter to protocol drivers in the NDIS_BIND_PARAMETERS structure. NDIS provides the task offload hardware capabilities and current configuration of the underlying miniport adapter to filter drivers in the NDIS_FILTER_ATTACH_PARAMETERS structure.
Administrative applications use object identifier (OID) queries to obtain TCP/IP offload capabilities of a miniport adapter. However, overlying drivers should avoid using OID queries. Protocol drivers must handle changes in the TCP/IP offload capabilities that underlying drivers report. Miniport drivers can report changes in task offload capabilities in status indications. For a list of status indications, see NDIS TCP/IP Offload Status Indications.
Administrative applications (or overlying drivers) can determine the current connection offload configuration of a NIC by querying the OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG OID. The NDIS_TCP_CONNECTION_OFFLOAD structure that is associated with OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG specifies the miniport adapter's current connection-offload configuration.