UID | tech.root | title | ms.date | targetos | description | prerelease | req.assembly | req.construct-type | req.ddi-compliance | req.dll | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | helpviewer_keywords | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ndis.NdisTerminateWrapper |
netvista |
NdisTerminateWrapper |
01/04/2023 |
Windows |
NdisTerminateWrapper releases system resources allocated when the NIC driver called NdisMInitializeWrapper. |
false |
function |
ndis.h |
Ndis.h |
PASSIVE_LEVEL |
Ndis.lib |
|
|
|
|
|
|
|
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisTerminateWrapper releases system resources allocated when the NIC driver called NdisMInitializeWrapper.
Specifies the handle returned by NdisMInitializeWrapper.
Pointer to an OS-specific type. For Windows 2000 and later drivers, this parameter should be NULL.
From its DriverEntry function, a miniport driver calls NdisMInitializeWrapper to notify NDIS that the driver is about to register itself as a miniport driver. After NdisMInitializeWrapper successfully returns, the miniport driver calls either NdisMRegisterMiniport or NdisIMRegisterLayeredMiniport to register its entry points with NDIS.
If a miniport driver's call to NdisMRegisterMiniport or NdisIMRegisterLayeredMiniport does not return NDIS_STATUS_SUCCESS, the miniport driver must call NdisTerminateWrapper. Calling NdisTerminateWrapper causesNDIS to clean up the resources that it allocated when the miniport driver called NdisMInitializeWrapper.
- Target platform: Universal
- Version: Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.