SetPacketFilterTable

BOOL __stdcall SetPacketFilterTable (HANDLE hOpen, PSTATIC_FILTER_TABLE pFilterList);

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hOpen
Specifies driver object open handle.

pFilterList
Pointer to STATIC_FILTER_TABLE to set for WinpkFilter driver.

Remarks:
This member is a C-wrapper for CNdisApi::SetPacketFilterTable. 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.