NDIS_STATUS
FddiFilterAdjust(
IN PFDDI_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle,
IN PNDIS_REQUEST NdisRequest,
IN UINT FilterClasses,
IN BOOLEAN Set
);
FddiFilterAdjust is called by a NIC driver to adjust an FDDI filter library database.
FddiFilterAdjust can return the following status codes:
NDIS_STATUS_PENDING
NDIS_STATUS_RESET_IN_PROGRESS
NDIS_STATUS_SUCCESS
This function calls a NIC driver action function if no binding has used a particular filter class and at least one binding starts using that class. The function also calls an action function for the reverse situation. If the NIC driver action function returns a status code that indicates neither pending nor success, FddiFilterAdjust restores the filter library database to its original state.
A caller must be holding the database spin lock to call FddiFilterAdjust, so the driver is running at IRQL DISPATCH_LEVEL.