The HWConfig_LogDisk 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 HWConfig_LogDisk : HWConfig
{
uint32 DiskNumber;
uint32 Pad;
uint64 StartOffset;
uint64 PartitionSize;
};
Members
The HWConfig_LogDisk class has these types of members:
Properties
The HWConfig_LogDisk class has these properties.
DiskNumber
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(1)
Index number of the disk containing this partition.
Pad
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(2)
Reserved.
PartitionSize
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId(4)
Total size of the partition, in bytes.
StartOffset
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId(3)
Starting offset (in bytes) of the partition from the beginning of the disk.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | None supported |
See also
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.
