NdisFreeGenericObject function (ndis.h)
Call the NdisFreeGenericObject function to free a generic object that was created with the NdisAllocateGenericObject function.
Syntax
void NdisFreeGenericObject(
PNDIS_GENERIC_OBJECT NdisObject
);
Parameters
NdisObject
A pointer to the NDIS_GENERIC_OBJECT structure to be freed.
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 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Target Platform | Universal |
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | Irql_Miscellaneous_Function(ndis), NdisAllocateGenericObject(ndis) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for