Share via


NdisTerminateWrapper (Windows Embedded CE 6.0)

1/6/2010

This function releases system resources allocated when the NIC driver called the NdisMInitializeWrapper function.

Syntax

VOID NdisTerminateWrapper(
  NDIS_HANDLE NdisWrapperHandle,
  PVOID SystemSpecific
);

Parameters

  • NdisWrapperHandle
    [in] Specifies the handle returned by the NdisMInitializeWrapper function.
  • SystemSpecific
    [in] Not used. Set to NULL.

Return Value

None.

Remarks

A miniport calls this function during initialization if it cannot find an NIC that it supports in the current platform or if it cannot successfully initialize at least one NIC or virtual NIC.

The NDIS library cleans up the resources that it allocated if a miniport driver is unloaded after it has successfully initialized.

A driver should also call this function from its MiniportHalt function when its last NIC is being removed.

Requirements

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

See Also

Reference

NDIS Library Functions
NdisMInitializeWrapper
MiniportHalt