NdisMInitializeWrapper

This function notifies NDIS that a new miniport is initializing.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisMInitializeWrapper( OUT PNDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2,
IN PVOID SystemSpecific3 );

Parameters

NdisWrapperHandle
Pointer to a caller-supplied variable in which NDIS returns a handle that represents itself.
SystemSpecific1
Pointer to a system-specific type.
SystemSpecific2
Pointer to a system-specific type.
SystemSpecific3
Pointer to a system-specific type.

Remarks

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.

See Also

NdisMRegisterMiniport, NdisTerminateWrapper