SetPacketFilterTable

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 it 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 the filter driver with IOCTL_NDISRD_SET_PACKET_FILTERS control code (see details below).

IOCTL_NDISRD_SET_PACKET_FILTERS

Input Buffer_STATIC_FILTER_TABLE
Input Buffer SizeVariable, depends on number of entries in the table
Output BufferNone
Output Buffer Size0