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 classWin32_LogicalDiskToPartition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Win32LogicalDiskToPartition.DiskToPartitionProperty
Links disk drives to partitions
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
WIN32_LOGICAL_DISK_TO_PARTITION
-
Constructor Summary
Constructors Modifier Constructor Description private
Win32LogicalDiskToPartition()
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Field Detail
-
WIN32_LOGICAL_DISK_TO_PARTITION
private static final java.lang.String WIN32_LOGICAL_DISK_TO_PARTITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-