Package oshi.driver.windows.wmi
Class Win32LogicalDiskToPartition
java.lang.Object
oshi.driver.windows.wmi.Win32LogicalDiskToPartition
Utility to query WMI class
Win32_LogicalDiskToPartition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Links disk drives to partitions -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDiskToPartition.DiskToPartitionProperty>
Queries the association between logical disk and partition.
-
Method Details
-
queryDiskToPartition
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDiskToPartition.DiskToPartitionProperty> queryDiskToPartition(WmiQueryHandler h) Queries the association between logical disk and partition.- Parameters:
h
- An instantiatedWmiQueryHandler
. User should have already initialized COM.- Returns:
- Antecedent-dependent pairs of disk and partition.
-