FBWF API Functions (Standard 8)
7/8/2014
Review the functions provided by the File-Based Write Filter API in Windows Embedded 8 Standard (Standard 8).
The following table describes the FBWF functions that are used to manage the system-wide write cache.
Function |
Description |
---|---|
Enables write filtering in the next session. |
|
Disables write filtering for the next session. |
|
Queries the filter state for the current and next station. |
|
Sets the size of the overlay threshold. |
|
Signals an event when the available write cache falls below a specified size. |
|
Starts the worker thread that sends cache threshold notifications. |
|
Stops the worker thread that sends cache threshold notifications. |
|
Causes the write filter to allocate the entire cache size at startup instead of allocating memory as needed. |
|
Turns off cache preallocation so that cache memory is allocated only as needed. |
|
Returns the total memory size used for directory structure and file data by the filter driver. |
|
Enables the write filter to compress the memory cache. |
|
Disables cache compression. |
|
Retrieves the status of the compression flag. |
The following table shows the functions that are used to manage the protection of a specific volume.
Function |
Description |
---|---|
Enables write protection for a specified volume. |
|
Removes write protection for the specified volume. |
|
Retrieves the list of protected volumes. |
|
Retrieves the protected status for a specified volume in both the current and next sessions. |
|
Returns the first entry of the files and folders that are currently cached by the write filter. |
|
Returns the next entry of files and folders that are currently cached by the write filter. |
|
Closes the cache detail search for previous FbwfFindFirstEx and FbwfFindNextEx calls. |
The following table shows the functions that are used to manage files excluded within a protected volume.
Function |
Description |
---|---|
Adds a file or directory to the exclusion list. |
|
Removes a file or directory from the exclusion list. |
|
Retrieves the list of files and directories in the exclusion list. |
The following table shows the functions that are used for file commit and restore.
Function |
Description |
---|---|
Writes the cached file overlay to the physical disk file. |
|
Clears the cached view of the specified file. |
The following table shows the functions that are used for disk size queries.
Function |
Description |
---|---|
Returns the size display mode for the current and next session. |
|
Sets the size display mode for the next session. |
|
Returns the structure FbwfFSInfo that contains volume sector size information in virtual numbers. |
|
Returns the structure FbwfFSInfo that contains volume sector size information in actual numbers. |
The following table shows the File-Based Write Filter (FBWF) API functions that are deprecated in Windows Embedded 8 Standard (Standard 8).
Note
These APIs can handle cache up to 4 GB.
Function |
Description |
---|---|
Deprecated. Closes the FbwfFindFirst/FbwfFindNext search. |
|
Deprecated. Retrieves information about the first file in the FBWF memory cache. |
|
Deprecated. Retrieves information about the next file in the FBWF memory cache. |
|
Deprecated. Retrieves information about memory currently used by the cache. |
|
Deprecated. Sets the maximum amount of RAM the write cache may use. |