BOOL CNdisApi::GetPacketFilterTable ( 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 loaded into WinpkFilter driver. You can get the number of entries in the STATIC_FILTER_TABLE.m_TableSize using the GetPacketFilterTableSize API call.
This member calls driver with IOCTL_NDISRD_GET_PACKET_FILTERS control code (see details below).
IOCTL_NDISRD_GET_PACKET_FILTERS
Input Buffer | _STATIC_FILTER_TABLE |
Input Buffer Size | Variable, depends of number of entries in the table |
Output Buffer | _STATIC_FILTER_TABLE |
Output Buffer Size | Variable, depends of number of entries in the table |