EthDeleteFilterOpenAdapter

NDIS_STATUS
    EthDeleteFilterOpenAdapter(
        IN PETH_FILTER  Filter,
        IN NDIS_HANDLE  NdisFilterHandle,
        IN PNDIS_REQUEST  NdisRequest
        );

EthDeleteFilterOpenAdapter is called by a NIC driver to delete NIC binding filter information from the Ethernet filter library database.

Parameters

Filter
Points to a previously created and initialized filter library database.
NdisFilterHandle
Specifies the handle that the filter library associates with the binding filter.
NdisRequest
Points to the request structure that this function passes to a NIC driver action function.

Return Value

EthDeleteFilterOpenAdapter can return the following status codes:

NDIS_STATUS_CLOSING_INDICATING
NDIS_STATUS_PENDING
NDIS_STATUS_SUCCESS

Comments

EthDeleteFilterOpenAdapter calls NIC driver’s functions associated with clearing filter classes and addresses. The NIC driver should not call this function if the action functions can return a status code that indicates neither pending nor success.

The NIC driver must be holding the filter library spinlock when it calls this function.

Callers of EthDeleteFilterOpenAdapter run at IRQL DISPATCH_LEVEL.

See Also

EthNoteFilterOpenAdapter