FbwfEnableCachePreAllocation
5/10/2007
Causes the FBWF to allocate the entire cache size at the start of the next session instead of allocating memory as needed.
Syntax
ULONG FbwfEnableCachePreAllocation(VOID);
Parameters
None
Return Value
This function may return the following:
Return value | Description |
---|---|
NO_ERROR |
The operation completed successfully. |
ERROR_INVALID_FUNCTION |
If the filter is not enabled for the next session. |
Other errors set by file system if updating configuration file fails
Remarks
This change will not take place until the next session.
Requirements
OS Versions: Windows XP Embedded, WEPOS.
Header: fbwfapi.h.
Link Library: fbwflib.lib.
See Also
Reference
FbwfEnableFilter
FbwfDisableCachePreAllocation
FbwfIsCachePreAllocationEnabled