NdisMInitializeWrapper (Compact 2013)

3/26/2014

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

See Also

Reference

NDIS 5.x Legacy Functions
DriverEntry
NdisMRegisterMiniport
NdisIMRegisterLayeredMiniport
MiniportInitialize