CNdisApi::InsertStaticFilter

Since 3.6.1

Available since: Windows Packet Filter 3.6.1

The CNdisApi::InsertStaticFilter method inserts a static filter rule at a designated zero-based index in the driver’s active static filter table.

Syntax

BOOL CNdisApi::InsertStaticFilter(
    PSTATIC_FILTER pFilter,
    unsigned long  Position
) const;

Parameters

pFilter
Pointer to a STATIC_FILTER structure defining the filter criteria.

Position
Zero-based index specifying where to insert the filter in the active table.

Return Value

Returns TRUE on success; otherwise returns FALSE.

See Also

CNdisApi::AddStaticFilterFront, STATIC_FILTER_WITH_POSITION