FbwfMemoryConfiguration Class (Standard 7 SP1)
7/8/2014
The FbwfMemoryConfiguration class contains information about memory usage and the cache threshold configuration of the File-Based Write Filter, and can be used to change memory related settings.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class FbwfMemoryConfiguration
{
boolean CachePreAllocationEnabled;
sint64 CacheThreshold;
boolean CompressionEnabled;
sint64 DirectoryStructure;
sint64 FileData;
sint32 MaxCacheThreshold;
sint32 MinCacheThreshold;
boolean NextCachePreAllocationEnabled;
sint64 NextCacheThreshold;
boolean NextCompressionEnabled;
uint32 NextSizeDisplayMode;
uint32 NotificationThreshold;
uint32 SizeDisplayMode;
};
Members
The FbwfMemoryConfiguration class defines the following types of members:
- Properties
Properties
The FbwfMemoryConfiguration class defines the following properties.
CachePreAllocationEnabled
Data type: boolean
Access type: Read-only
Returns true if cache pre-allocation is active in the current session.
CacheThreshold
Data type: sint64
Access type: Read-only
Returns the cache threshold for the current session, in bytes.
CompressionEnabled
Data type: boolean
Access type: Read-only
Returns true if cache compression is active in the current session.
DirectoryStructure
Data type: sint64
Access type: Read-only
Returns the memory size, in bytes, used to store the directory structure.
FileData
Data type: sint64
Access type: Read-only
Returns the memory size, in bytes, used to store the modified files.
MaxCacheThreshold
Data type: sint32
Access type: Read-only
Returns the maximum cache threshold, in megabytes, as defined by the File-Based Write Filter header.
MinCacheThreshold
Data type: sint32
Access type: Read-only
Returns the minimum cache threshold, in megabytes, as defined by the File-Based Write Filter header.
NextCachePreAllocationEnabled
Data type: boolean
Access type: Read/write
Specifies whether cache pre-allocation is active in the next session.
NextCacheThreshold
Data type: sint64
Access type: Read/write
Specifies the cache threshold for the next session, in bytes.
NextCompressionEnabled
Data type: boolean
Access type: Read/write
Specifies whether cache compression is active in the next session.
NextSizeDisplayMode
Data type: uint32
Access type: Read/write
Specifies the size display mode for the next session.
Value
Description
0
Actual disk size mode
1
Virtual disk size mode
NotificationThreshold
Data type: uint32
Access type: Read/write
Specifies the overlay store utilization notification threshold. The value for this property is a percentage of the cache that is used, beyond which a notification event is raised. The default value for this property is 90.
SizeDisplayMode
Data type: uint32
Access type: Read-only
Returns the current size display mode.
Value
Description
0
Actual disk size mode
1
Virtual disk size mode
Remarks
When querying for property values with a uint64 or sint64 data type in a scripting language such as VBScript, WMI returns string values. Unexpected results can occur when comparing these values, because comparing strings returns different results than comparing numbers. For example, "10000000000" is less than "9" when comparing strings, and 9 is less than 10000000000 when comparing numbers. To avoid confusion you should use the CDbl method in VBScript when properties of type uint64 or sint64 are retrieved from WMI.
Requirements
Supported clients |
Windows XP Embedded SP3 |
MOF |
FBWFProvider.mof |
Namespace |
\root\Microsoft\WriteFilters |