Share via


NdisFreeGenericObject (Compact 2013)

3/26/2014

Call this function to free a generic object that was created by using the NdisAllocateGenericObject function.

Syntax

VOID
  NdisFreeGenericObject(
    IN PNDIS_GENERIC_OBJECT  NdisGenericObject
    );

Parameters

Return Value

None

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 a NDIS_GENERIC_OBJECT structure as a NDIS handle. All resources that were allocated with this generic object pointer as the handle must be freed before freeing the generic object.

Requirements

Header

ndis.h

See Also

Reference

NDIS Object Interface
NDIS_GENERIC_OBJECT
NdisAllocateGenericObject