EthNoteFilterOpenAdapter

This function is called by the NIC driver to add a binding filter to the Ethernet filter library database.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

BOOLEAN EthNoteFilterOpenAdapter( IN PETH_FILTER Filter,
IN NDIS_HANDLE
MacBindingHandle,
IN NDIS_HANDLE
NdisBindingContext,
OUT PNDIS_HANDLE
NdisFilterHandle );

Parameters

Filter
Pointer to a previously created and initialized filter library database.
MacBindingHandle
Handle that the NIC driver associates with the binding.
NdisBindingContext
Specifies the context that the NDIS interface library associates with the binding.
NdisFilterHandle
Pointer to a caller-supplied memory location in which this function returns the handle that the filter library associates with the binding filter.

Return Values

TRUE indicates success. FALSE indicates that the database already contains the maximum number of filters.

Remarks

A caller must be holding the database spin lock to call this function, so the driver is running at IRQL DISPATCH_LEVEL.

See Also

EthDeleteFilterOpenAdapter