大网数据广告活动
性能与资源

SystemConfig_LogDisk class

· 52CE 我爱测

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

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_LogDisk : SystemConfig
{
  uint64 StartOffset;
  uint64 PartitionSize;
  uint32 DiskNumber;
  uint32 Size;
  uint32 DriveType;
  char16 DriveLetterString[];
  uint32 Pad1;
  uint32 PartitionNumber;
  uint32 SectorsPerCluster;
  uint32 BytesPerSector;
  uint32 Pad2;
  sint64 NumberOfFreeClusters;
  sint64 TotalNumberOfClusters;
  char16 FileSystem;
  uint32 VolumeExt;
  uint32 Pad3;
};

Members

The SystemConfig_LogDisk class has these types of members:

Properties

The SystemConfig_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), Format("s")

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 (14), Max (16), Format("s")

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

NumberOfFreeClusters

Data type: sint64

Access type: Read-only

Qualifiers: WmiDataId (12)

Number of free clusters in the specified volume.

Pad1

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (7)

Not used.

Pad2

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (11)

Not used.

Pad3

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (16)

Not used.

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 (13)

Number of used and free clusters in the volume.

VolumeExt

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (15)

Reserved.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]

See also

SystemConfig

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。