Upravit

Sdílet prostřednictvím


SystemConfig_V0_LogDisk class

This class is the event type class for logical disk configuration events.

The following syntax is simplified from MOF code.

Syntax

[EventType(12), EventTypeName("LogDisk")]
class SystemConfig_V0_LogDisk : SystemConfig_V0
{
  uint64 StartOffset;
  uint64 PartitionSize;
  uint32 DiskNumber;
  uint32 Size;
  uint32 DriveType;
  char16 DriveLetterString[];
  uint32 Pad;
  uint32 PartitionNumber;
  uint32 SectorsPerCluster;
  uint32 BytesPerSector;
  sint64 NumberOfFreeClusters;
  sint64 TotalNumberOfClusters;
  char16 FileSystem;
  uint32 VolumeExt;
};

Members

The SystemConfig_V0_LogDisk class has these types of members:

Properties

The SystemConfig_V0_LogDisk class has these properties.

BytesPerSector

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (10)

Number of bytes in each sector for the physical disk drive.

DiskNumber

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (3)

Index number of the disk containing this partition.

DriveLetterString

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (6), Max (4)

Drive letter of the disk in the form, "<letter>:".

DriveType

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (5)

Type of disk drive. Possible values are:

Value Meaning
1
Partition
2
Volume
3
Extended partition on multiple disks

 

FileSystem

Data type: char16

Access type: Read-only

Qualifiers: WmiDataId (13), Max (16)

File system on the logical disk, for example, NTFS.

NumberOfFreeClusters

Data type: sint64

Access type: Read-only

Qualifiers: WmiDataId (11)

Number of free clusters in the specified volume.

Pad

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (7)

Reserved.

PartitionNumber

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (8)

Index number of the partition.

PartitionSize

Data type: uint64

Access type: Read-only

Qualifiers: WmiDataId (2)

Total size of the partition, in bytes.

SectorsPerCluster

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (9)

Number of sectors in the volume.

Size

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (4)

Size of the disk drive, in bytes.

StartOffset

Data type: uint64

Access type: Read-only

Qualifiers: WmiDataId (1)

Starting offset (in bytes) of the partition from the beginning of the disk.

TotalNumberOfClusters

Data type: sint64

Access type: Read-only

Qualifiers: WmiDataId (12)

Number of used and free clusters in the volume.

VolumeExt

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (14)

Reserved.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2003 [desktop apps only]

See also

SystemConfig_V0