Skip to content

Latest commit

 

History

History
140 lines (90 loc) · 2.13 KB

hwconfig-logdisk.md

File metadata and controls

140 lines (90 loc) · 2.13 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
The HWConfig\_LogDisk class is the event type class for logical disk configuration events. The following syntax is simplified from MOF code.
2b7038fa-2f20-4bb5-bac1-76b272b3421c
HWConfig_LogDisk class
reference
05/31/2018
APIRef
kbSyntax
HWConfig_LogDisk
HWConfig_LogDisk.DiskNumber
HWConfig_LogDisk.Pad
HWConfig_LogDisk.StartOffset
HWConfig_LogDisk.PartitionSize
NA

HWConfig_LogDisk class

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

HWConfig