FbwfCacheThresholdNotification
5/10/2007
Allows applications to be signaled when the remaining cache memory falls below a specified size.
Syntax
ULONG FbwfCacheThresholdNotification(
ULONG threshold,
HANDLE event
);
Parameters
- threshold
[in] Remaining cache size in megabytes below which the event will be signaled.
- event
[in] The event handle that will be signaled when the available cache space drops below the specified threshold.
Return Value
This function may return the following:
Return value | Description |
---|---|
NO_ERROR |
The operation completed successfully. |
ERROR_INVALID_FUNCTION |
If the filter is disabled for the current session. |
ERROR_INVALID_HANDLE |
If event is not a valid handle. |
ERROR_INVALID_PARAMETER |
If threshold is zero or larger than the current cache threshold. |
Remarks
This function is called by the application for the current session.
Requirements
OS Versions: Windows XP Embedded, WEPOS.
Header: fbwfapi.h.
Link Library: fbwflib.lib.
See Also
Reference
FbwfEnableFilter
FbwfSetCacheThreshold