Bewerken

Delen via


Configuring Optional Miniport Driver Services

NDIS calls a miniport driver's MiniportSetOptions function to allow the driver to configure optional services. NDIS calls MiniportSetOptions within the context of the miniport driver's call to the NdisMRegisterMiniportDriver function.

MiniportSetOptions registers the default entry points for optional MiniportXxx functions and can allocate other driver resources. To register optional MiniportXxx functions, the miniport driver calls the NdisSetOptionalHandlers function and passes a characteristics structure at the OptionalHandlers parameter.

Starting with NDIS 6.0, the valid characteristics structures include the following:

NDIS_MINIPORT_CO_CHARACTERISTICS

NDIS_MINIPORT_PNP_CHARACTERISTICS

NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS

NDIS_PROVIDER_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS (see NDIS 6.0 TCP chimney offload documentation)

NDIS_PROVIDER_CHIMNEY_OFFLOAD_TCP_CHARACTERISTICS (see NDIS 6.0 TCP chimney offload documentation)

Starting with NDIS 6.30, the valid characteristics structures also include the following:

NDIS_MINIPORT_SS_CHARACTERISTICS

NDIS_NDK_PROVIDER_CHARACTERISTICS