Share via


FbwfFileSystemInformation Class (Standard 7 SP1)

7/8/2014

The FbwfFileSystemInformation 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

The FbwfFileSystemInformation class defines the following types of members:

  • Properties

Properties

The FbwfFileSystemInformation class defines the following properties.

  • AvailableAllocationUnits

    • Data type: sint64

      Access type: Read-only

      Returns the total number of free allocation units on the volume that are available to the user associated with the calling thread.

  • BytesPerSector

    • Data type: uint32

      Access type: Read-only

      Returns the number of bytes in each sector.

  • DriveLetter

    • Data type: string

      Access type: Read-only

      Returns the drive letter of a file system volume.

  • SectorsPerAllocationUnit

    • Data type: uint32

      Access type: Read-only

      Returns the number of sectors in each allocation unit.

  • SizeDisplayMode

    • Data type: uint32

      Access type: Read-only

      Qualifiers: Key

      Returns the current size display mode.

      Value

      Description

      0

      Actual disk size mode

      1

      Virtual disk size mode

  • TotalAllocationUnits

    • Data type: sint64

      Access type: Read-only

      Returns the total number of allocation units on the volume that are available to the user associated with the calling thread.

  • VolumeName

    • Data type: string

      Access type: Read-only

      Qualifiers: 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

Supported clients

Windows XP Embedded SP3
Windows Embedded Standard 2009
Windows Embedded Standard 7 SP1
WEPOS 1.1 SP3
POSReady 2009
Windows Embedded POSReady 7
Windows Fundamentals for Legacy PCs 7

MOF

FBWFProvider.mof

Namespace

\root\Microsoft\WriteFilters