Поделиться через


NdisTerminateWrapper (Compact 2013)

3/26/2014

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

See Also

Reference

NDIS 5.x Legacy Functions
NdisMInitializeWrapper
MiniportHalt