NetAdapterInitFree - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netadapter.h

void NetAdapterInitFree(
  [_In_] NETADAPTER_INIT *AdapterInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-netadapterinitfree)

NetAdapterInitFree function

Description

The NetAdapterInitFree function deallocates a NETADAPTER_INIT structure.

Parameters

AdapterInit [_In_]

A pointer to a NETADAPTER_INIT structure.

Remarks

If a client driver receives a NETADAPTER_INIT structure from a call to NetAdapterInitAllocate, the driver must always call NetAdapterInitFree to deallocate it regardless of the result of NetAdapterCreate.

For more information and a code example about calling NetAdapterCreate, see Device initialization.

See also

NetAdapterInitAllocate

NetAdapterCreate

Device initialization