NdisFreeGenericObject - NtDoc

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

VOID NdisFreeGenericObject(
  PNDIS_GENERIC_OBJECT NdisObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisfreegenericobject)

NdisFreeGenericObject function

Description

Call the NdisFreeGenericObject function to free a generic object that was created with the NdisAllocateGenericObject function.

Parameters

NdisObject

A pointer to the NDIS_GENERIC_OBJECT structure to be freed.

Remarks

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.

See also

NDIS_GENERIC_OBJECT

NdisAllocateGenericObject