NdisTerminateWrapper

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

VOID NdisTerminateWrapper(
IN NDIS_HANDLE NdisWrapperHandle, 
IN PVOID SystemSpecific );

Parameters

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

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.

A driver that calls this function runs at IRQL PASSIVE_LEVEL.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Ndis.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NdisMInitializeWrapper

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.