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
WOW64: The native SDK converts nonzero adapter handles in the supplied filter or table in place before sending the request. Pass a copy if the original structure must be preserved.