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 FbwfSystemInforimation WMI provider class for Windows Embedded 8 Standard (Standard 8).
This class contains information about file system volumes.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class FbwfFileSystemInformation
{
sint64 AvailableAllocationUnits;
uint32 BytesPerSector;
string DriveLetter;
uint32 SectorsPerAllocationUnit;
uint32 SizeDisplayMode;
sint64 TotalAllocationUnits;
string VolumeName;
};
Members
This class defines the following types of members:
- Properties
Properties
This class defines the following properties.
Property |
Data type |
Qualifiers |
Description |
|---|---|---|---|
AvailableAllocationUnits |
sint64 |
[Read] |
Returns the total number of free allocation units on the volume that are available to the user associated with the calling thread. |
BytesPerSector |
uint32 |
[Read] |
Returns the number of bytes in each sector. |
DriveLetter |
string |
[Read] |
Returns the drive letter of a file system volume. |
SectorsPerAllocationUnit |
uint32 |
[Read] |
Returns the number of sectors in each allocation unit. |
SizeDisplayMode |
uint32 |
[Read, Key] |
Returns the current size display mode. The following table shows the possible values.
ValueDescription
0Actual disk size mode
1Virtual disk size mode
|
TotalAllocationUnits |
sint64 |
[Read] |
Returns the total number of allocation units on the volume that are available to the user associated with the calling thread. |
VolumeName |
string |
[Read, Key] |
Returns the name of a file system volume. |
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 |