java.lang.Object
oshi.driver.windows.wmi.Win32DiskDriveToDiskPartition
Utility to query WMI class
Win32_DiskDriveToDiskPartition
-
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<Win32DiskDriveToDiskPartition.DriveToPartitionProperty>
Queries the association between disk drive and partition.
-
Method Details
-
queryDriveToPartition
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32DiskDriveToDiskPartition.DriveToPartitionProperty> queryDriveToPartition(WmiQueryHandler h) Queries the association between disk drive and partition.- Parameters:
h
- An instantiatedWmiQueryHandler
. User should have already initialized COM.- Returns:
- Antecedent-dependent pairs of disk and partition.
-