CNdisApi::RemoveStaticFilter

Since 3.6.1

Available since: Windows Packet Filter 3.6.1

The CNdisApi::RemoveStaticFilter method deletes a static filter from the active static filter table by its zero-based index.

Syntax

BOOL CNdisApi::RemoveStaticFilter(
    DWORD dwFilterId
) const;

Parameters

dwFilterId
Zero-based index of the filter to remove from the driver’s active static filter table.

Return Value

Returns TRUE on success; otherwise returns FALSE.

See Also

CNdisApi::ResetPacketFilterTable, CNdisApi::InsertStaticFilter

Native SDK 3.6.2: The implementation forwards the DWORD argument through IOCTL_NDISRD_REMOVE_FILTER_BY_INDEX. It does not implement a separate delete-by-unique-ID operation. See the pinned implementation.