This function notifies NDIS that a new miniport is initializing.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
VOID NdisMInitializeWrapper( OUT PNDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2,
IN PVOID SystemSpecific3 );
An NIC driver or intermediate driver must call this function before it calls any other NdisXXX function. Usually, this call is the initial action of any NIC driver’s DriverEntry function, which calls the NdisMRegisterMiniport or the NdisIMRegisterLayeredMiniport function with the returned NdisWrapperHandle next. NDIS intermediate drivers must also call this function from the DriverEntry function, and then call NdisMRegisterMiniport or NdisIMRegisterLayeredMiniport with the returned NdisWrapperHandle.
Such a driver’s subsequent calls to NdisXXX initialization and configuration functions must pass the NdisWrapperHandle as a parameter. Consequently, it is an input parameter to MiniportInitialize.
A driver that calls this function runs at IRQL PASSIVE_LEVEL.
NdisMRegisterMiniport, NdisTerminateWrapper