UINT
TR_QUERY_PACKET_FILTER(
IN PTR_FILTER Filter,
IN NDIS_HANDLE NdisFilterHandle
);
TR_QUERY_PACKET_FILTER is called by the NIC driver to query the Token Ring filter classes for a binding.
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.
Return Value
TR_QUERY_PACKET_FILTER returns a value representing the currently enabled filter classes for the binding.
Comments
The NIC driver calls this macro before it alters network interface card registers to effect filtering. The timing of the call is important if another binding has altered the filter classes.
The NIC driver must be holding the filter library spinlock when it uses this macro.
Callers of TR_QUERY_PACKET_FILTER run at IRQL DISPATCH_LEVEL.