Freigeben über


NdisIMAssociateMiniport (Windows CE 5.0)

Send Feedback

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

VOID NdisIMAssociateMiniport(NDIS_HANDLEDriverHandle,NDIS_HANDLEProtocolHandle);

Parameters

Return Values

None.

Remarks

Any NDIS intermediate driver that exports both MiniportXXX and ProtocolXXX functions calls NdisIMAssociateMiniport to inform the NDIS library about its miniport lower edge and its protocol upper edge. Such an intermediate driver calls NdisIMAssociateMiniport during its DriverEntry routine. Before an intermediate driver calls NdisIMAssociateMiniport to associate its miniport and protocol interfaces, it must first perform the following tasks:

  • Calls the NdisMInitializeWrapper function to notify NDIS that it is about to register its miniport lower edge.
  • Fills in an NDIS_MINIPORT_CHARCTERISTICS structure with the entry points for its MiniportXXX functions and then calls the NdisIMRegisterLayeredMiniport function to register those MiniportXXX entry points.
  • Fills in an NDIS_PROTOCOL_CHARACTERISTICS structure with the entry points for its ProtocolXXX functions and then calls the NdisRegisterProtocol function to register those ProtocolXXX entry points.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

DriverEntry | NdisIMRegisterLayeredMiniport | NdisMInitializeWrapper | NdisRegisterProtocol

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.