NdisIMAssociateMiniport function

The NdisIMAssociateMiniport function informs NDIS that the specified lower and upper interfaces for miniport and protocol drivers respectively belong to the same intermediate driver.

Syntax

void NdisIMAssociateMiniport(
  NDIS_HANDLE DriverHandle,
  NDIS_HANDLE ProtocolHandle
);

Parameters

DriverHandle

The handle to the miniport driver interface that the NdisMRegisterMiniportDriver function returns.

ProtocolHandle

The handle to the protocol interface that the NdisRegisterProtocolDriver function returns.

Return Value

None

Remarks

Any NDIS intermediate driver that exports both MiniportXxx and ProtocolXxx functions calls NdisIMAssociateMiniport to inform the NDIS library about its miniport upper edge and its protocol lower edge. Such an intermediate driver calls NdisIMAssociateMiniport during its DriverEntry routine. For more information about DriverEntry, see DriverEntry of NDIS Intermediate Drivers.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisIMAssociateMiniport (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisIMAssociateMiniport (NDIS 5.1)) in Windows XP.
Target Platform Desktop
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_IM_Function

See Also

DriverEntry

NdisMRegisterMiniportDriver

NdisRegisterProtocolDriver