Package oshi.driver.windows.wmi
Class Win32DiskDriveToDiskPartition
java.lang.Object
oshi.driver.windows.wmi.Win32DiskDriveToDiskPartition
@ThreadSafe public final class Win32DiskDriveToDiskPartition extends java.lang.Object
Utility to query WMI class
Win32_DiskDriveToDiskPartition-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32DiskDriveToDiskPartition.DriveToPartitionPropertyLinks disk drives to partitions -
Method Summary
Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32DiskDriveToDiskPartition.DriveToPartitionProperty>queryDriveToPartition(WmiQueryHandler h)Queries the association between disk drive and partition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-