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