Class Win32DiskDriveToDiskPartitionJNA

java.lang.Object
oshi.driver.common.windows.wmi.Win32DiskDriveToDiskPartition
oshi.driver.windows.wmi.Win32DiskDriveToDiskPartitionJNA

@ThreadSafe public final class Win32DiskDriveToDiskPartitionJNA extends oshi.driver.common.windows.wmi.Win32DiskDriveToDiskPartition
Utility to query WMI class Win32_DiskDriveToDiskPartition using JNA.
  • Nested Class Summary

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

    oshi.driver.common.windows.wmi.Win32DiskDriveToDiskPartition.DriveToPartitionProperty
  • Field Summary

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

    WIN32_DISK_DRIVE_TO_DISK_PARTITION
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32DiskDriveToDiskPartition.DriveToPartitionProperty>
    Queries the association between disk drive and partition.

    Methods inherited from class Object

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

    • queryDriveToPartition

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