BOOLEAN
TrNoteFilterOpenAdapter(
IN PTR_FILTER Filter,
IN NDIS_HANDLE MacBindingHandle,
IN NDIS_HANDLE NdisBindingContext,
OUT PNDIS_HANDLE NdisFilterHandle
);
TrNoteFilterOpenAdapter is called by the NIC driver to add a binding to the Token Ring filter library database.
Parameters
Filter
Points to a previously created and initialized filter library database.
MacBindingHandle
Specifies the handle that the NIC driver associates with the binding.
NdisBindingContext
Specifies the context that the NDIS interface library associates with the binding.
NdisFilterHandle
Points to a caller-supplied variable in which this function writes the handle that the filter library associates with the binding filter.
Return Value
TrNoteFilterOpenAdapter 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
The NIC driver must be holding the filter library spinlock when it calls this function.
Callers of TrNoteFilterOpenAdapter run at IRQL DISPATCH_LEVEL.
See Also