EwfLevelDescriptor Class (Standard 7 SP1)

7/8/2014

The EwfLevelDescriptor class contains information about ended overlay levels of volumes protected by the Enhanced Write Filter.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class EwfLevelDescriptor
{
  sint64   DataSize;
  string   DriveLetter;
  datetime EndTime;
  uint32   Index;
  string   Name;
  string   VolumeName;
};

Members

The EwfLevelDescriptor class defines the following types of members:

  • Properties

Properties

The EwfLevelDescriptor class defines the following properties.

  • DataSize

    • Data type: sint64

      Access type: Read-only

      Returns the size of the data in the ended level, in bytes.

  • DriveLetter

    • Data type: string

      Access type: Read-only

      Returns the drive letter of the volume using the ended overlay level.

  • EndTime

    • Data type: datetime

      Access type: Read-only

      Returns the time when the overlay level ended.

  • Index

    • Data type: uint32

      Access type: Read-only

      Qualifiers: Key

      Returns the index of the ended overlay level.

  • Name

    • Data type: string

      Access type: Read-only

      Returns the name of the ended overlay level. It contains a string of up to 64 characters.

  • VolumeName

    • Data type: string

      Access type: Read-only

      Qualifiers: Key

      Returns the name of the volume using the ended overlay level. It contains a string of up to 256 characters. If more than one volume shares the same level, there will be a level descriptor object for each of them.

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

EWFProvider.mof

Namespace

\root\Microsoft\WriteFilters