BOOL CNdisApi::SetPacketFilterTable ( PSTATIC_FILTER_TABLE pFilterList);
Return Value:
TRUE if call was successful, FALSE otherwise
Parameters:
pFilterList
Pointer to STATIC_FILTER_TABLE to set for WinpkFilter driver.
Remarks:
You should allocate and initialize STATIC_FILTER_TABLE structure before passing iot to the driver. STATIC_FILTER_TABLE.m_TableSize should be set to number of entries in STATIC_FILTER_TABLE.m_StaticFilters. Filters are applied in their order m_StaticFilters array. Only one table can be loaded into the WinpkFilter driver.
This member calls driver with IOCTL_NDISRD_SET_PACKET_FILTERS control code (see details below).
IOCTL_NDISRD_SET_PACKET_FILTERS
Input Buffer | _STATIC_FILTER_TABLE |
Input Buffer Size | Variable, depends of number of entries in the table |
Output Buffer | None |
Output Buffer Size | 0 |