// netadapter.h
void NetAdapterInitFree(
[_In_] NETADAPTER_INIT *AdapterInit
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetAdapterInitFree function deallocates a NETADAPTER_INIT structure.
AdapterInit [_In_]A pointer to a NETADAPTER_INIT structure.
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.