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(
  _In_ NDIS_HANDLE DriverHandle,
  _In_ NDIS_HANDLE ProtocolHandle
);

Parameters

DriverHandle [in]

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

ProtocolHandle [in]

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

Target platform

Universal

Version

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.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

Irql_IM_Function

See also

DriverEntry
NdisMRegisterMiniportDriver
NdisRegisterProtocolDriver

 

 

Send comments about this topic to Microsoft

Show: