FddiNoteFilterOpenAdapter

BOOLEAN
   FddiNoteFilterOpenAdapter(
       IN PFDDI_FILTER Filter,
       IN NDIS_HANDLE MacBindingHandle,
       IN NDIS_HANDLE NdisBindingContext,
       OUT PNDIS_HANDLE NdisFilterHandle
       );

FddiNoteFilterOpenAdapter is called by the NIC driver to add a binding filter to the FDDI 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 returns the handle that the filter library associates with the binding filter.

Return Value

FddiNoteFilterOpenAdapter 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 FddiNoteFilterOpenAdapter, so the driver is running at IRQL DISPATCH_LEVEL.

See Also

FddiDeleteFilterOpenAdapter