This function is called by an NIC driver to adjust an Ethernet filter library database.
Header file: | Ndis.h |
Windows CE versions: | 2.0 and later |
NDIS_STATUS EthFilterAdjust( IN PETH_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle, IN PNDIS_REQUEST NdisRequest,
IN UINT FilterClasses, IN BOOLEAN Set );
NDIS_STATUS_SUCCESS indicates success. The following indicate failure:
This function calls an NIC driver’s function if no binding has used a particular filter class and at least one binding starts using that class. This 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, this function restores the filter library database to its original state.
The NIC driver must be holding the filter library spin lock when it calls this function.
A driver that calls this function runs at IRQL DISPATCH_LEVEL.