Available since: Windows Packet Filter 3.6.1
The DisablePacketFilterCache function disables the driver’s packet filter cache.
Syntax
BOOL WINAPI DisablePacketFilterCache(
_In_ HANDLE hOpen
);
Parameters
hOpen
[in] Opaque library-object handle returned by OpenFilterDriver.
Return Value
Returns TRUE if the cache was successfully disabled; otherwise returns FALSE.
Remarks
This function transmits IOCTL_NDISRD_SET_FILTER_CACHE_STATE with a state flag of FALSE.