Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
7/8/2014
Review the syntax, members, and examples of the FbwfMemoryConfiguration WMI provider class for Windows Embedded 8 Standard (Standard 8).
This class contains information about memory usage and the cache threshold configuration of the File-Based Write Filter (FBWF), 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
This class defines the following types of members:
- Properties
Properties
This class defines the following properties.
Property |
Data type |
Qualifiers |
Description |
|---|---|---|---|
CachePreAllocationEnabled |
Boolean |
[Read] |
Returns true if cache pre-allocation is active in the current session; otherwise, returns false. |
CacheThreshold |
sint64 |
[Read] |
Returns the cache threshold for the current session, in bytes. |
CompressionEnabled |
Boolean |
[Read] |
Returns true if cache compression is active in the current session; otherwise, returns false. |
DirectoryStructure |
sint64 |
[Read] |
Returns the memory size, in bytes, used to store the directory structure. |
FileData |
sint64 |
[Read] |
Returns the memory size, in bytes, used to store the modified files. |
MaxCacheThreshold |
sint32 |
[Read] |
Returns the maximum cache threshold, in megabytes, as defined by the FBWF header. |
MinCacheThreshold |
sint32 |
[Read] |
Returns the minimum cache threshold, in megabytes, as defined by the FBWF header. |
NextCachePreAllocationEnabled |
Boolean |
[Read, Write] |
Specifies whether cache pre-allocation is active in the next session. |
NextCacheThreshold |
sint64 |
[Read, Write] |
Specifies the cache threshold for the next session, in bytes. |
NextCompressionEnabled |
Boolean |
[Read, Write] |
Specifies whether cache compression is active in the next session. |
NextSizeDisplayMode |
uint32 |
[Read, Write] |
Specifies the size display mode for the next session. The following table shows the possible values.
ValueDescription
0Actual disk size mode
1Virtual disk size mode
|
NotificationThreshold |
uint32 |
[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 |
uint32 |
[Read] |
Returns the current size display mode. The following table shows the possible values.
ValueDescription
0Actual disk size mode
1Virtual 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
Architecture |
x64, |
MOF |
FBWFProvider.mof |
Supported Clients |
Windows XP Embedded SP3 |
WMI Namespace |
root\Microsoft\WriteFilters |
WMI Provider |
FBWFProvider |