BOOLEAN
EthNoteFilterOpenAdapter(
IN PETH_FILTER Filter,
IN NDIS_HANDLE MacBindingHandle,
IN NDIS_HANDLE NdisBindingContext,
OUT PNDIS_HANDLE NdisFilterHandle
);
EthNoteFilterOpenAdapter is called by the NIC driver to add a binding filter to the Ethernet filter library database.
Parameters
Filter
Points to a previously created and initialized filter library database.
MacBindingHandle
Specifies the handle the NIC driver associates with the binding.
NdisBindingContext
Specifies the context the NDIS interface library associates with the binding.
NdisFilterHandle
Points to a caller-supplied memory location in which this function returns the handle that the filter library associates with the binding filter.
Return Value
EthNoteFilterOpenAdapter returns TRUE if it adds the binding filter to the filter library database. The function returns FALSE if it cannot add the binding filter because the database already contains the maximum number of filters.
Comments
A caller must be holding the database spin lock to call EthNoteFilterOpenAdapter, so the driver is running at IRQL DISPATCH_LEVEL.
See Also