NdisMInitializeWrapper (Windows Embedded CE 6.0)

1/6/2010

This function notifies NDIS that a new miniport is initializing.

Syntax

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

Parameters

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

Return Value

None.

Remarks

An NIC driver or intermediate driver must call this function before it calls any other NdisXXXfunction. Usually, this call is the initial action of any 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.

Requirements

Header ndis.h
Library ndis.dll
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
DriverEntry
NdisMRegisterMiniport
NdisIMRegisterLayeredMiniport
MiniportInitialize