Class Win32LogicalDiskToPartitionJNA

java.lang.Object
oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition
oshi.driver.windows.wmi.Win32LogicalDiskToPartitionJNA

@ThreadSafe public final class Win32LogicalDiskToPartitionJNA extends oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition
Utility to query WMI class Win32_LogicalDiskToPartition using JNA.
  • Nested Class Summary

    Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition

    oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition.DiskToPartitionProperty
  • Field Summary

    Fields inherited from class oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition

    WIN32_LOGICAL_DISK_TO_PARTITION
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition.DiskToPartitionProperty>
    Queries the association between logical disk and partition.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • queryDiskToPartition

      public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32LogicalDiskToPartition.DiskToPartitionProperty> queryDiskToPartition(WmiQueryHandler h)
      Queries the association between logical disk and partition.
      Parameters:
      h - An instantiated WmiQueryHandler. User should have already initialized COM.
      Returns:
      Antecedent-dependent pairs of disk and partition.