// ndis.h
VOID NdisFreeGenericObject(
PNDIS_GENERIC_OBJECT NdisObject
);
View the official Windows Driver Kit DDI referenceNo description available.
Call the NdisFreeGenericObject function to free a generic object that was created with the NdisAllocateGenericObject function.
NdisObjectA pointer to the NDIS_GENERIC_OBJECT structure to be freed.
An NDIS handle is required to allocate some NDIS resources (for example, buffer pools). Components that do not otherwise have an NDIS handle use a pointer to an NDIS_GENERIC_OBJECT structure as an NDIS handle. All resources that were allocated with this generic object pointer as the handle must be freed before freeing the generic object.