SetPacketFilterTable
BOOL
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
simple wrapper for IOCTL_NDISRD_SET_PACKET_FILTERS.
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.
|