BOOL CNdisApi::GetPacketFilterTableResetStats ( PSTATIC_FILTER_TABLE pFilterList );
Return Value:TRUE
if call was successful, FALSE
otherwise
Parameters:pFilterList
Pointer to STATIC_FILTER_TABLE
.
Remarks:
You should allocate STATIC_FILTER_TABLE
structure large enough to fit the one currently loaded into WinpkFilter driver. You can get the number of entries in the STATIC_FILTER_TABLE.m_TableSize
using the GetPacketFilterTableSize
API call. Basically, this API does the same as GetPacketFilterTable
, but also resets packets and bytes counters.
This member calls the filter driver with IOCTL_NDISRD_GET_PACKET_FILTERS_RESET_STATS
control code (see details below).
IOCTL_NDISRD_GET_PACKET_FILTERS_RESET_STATS
Input Buffer | _STATIC_FILTER_TABLE |
Input Buffer Size | Variable, depends on number of entries in the table |
Output Buffer | _STATIC_FILTER_TABLE |
Output Buffer Size | Variable, depends on number of entries in the table |