Available since: Windows Packet Filter 3.6.1
The EnablePacketFilterCache function enables the packet filter cache in the driver.
Syntax
BOOL WINAPI EnablePacketFilterCache(
_In_ HANDLE hOpen
);
Parameters
hOpen
[in] Opaque library-object handle returned by OpenFilterDriver.
Return Value
Returns TRUE if the cache was successfully activated; otherwise returns FALSE.
Remarks
This function transmits IOCTL_NDISRD_SET_FILTER_CACHE_STATE with a state flag of TRUE. The public user-mode SDK exposes the cache state toggle but does not define cache keys or performance guarantees.
See Also
DisablePacketFilterCache, EnablePacketFragmentCache, Managing Individual Static Filters