NdisIMAssociateMiniport (Windows Embedded CE 6.0)
1/6/2010
This function informs NDIS that the specified lower and upper interfaces for miniport and protocol respectively belong to the same intermediate driver.
Syntax
VOID NdisIMAssociateMiniport(
NDIS_HANDLE DriverHandle,
NDIS_HANDLE ProtocolHandle
);
Parameters
- DriverHandle
[in] Specifies the handle to the miniport interface that is returned by NdisIMRegisterLayeredMiniport.
- ProtocolHandle
[in] Specifies the handle to the protocol interface that is returned by NdisRegisterProtocol.
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 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
Header | ndis.h |
Library | ndis.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
DriverEntry
NdisIMRegisterLayeredMiniport
NdisMInitializeWrapper
NdisRegisterProtocol