Class Win32DiskDriveJNA

java.lang.Object
oshi.driver.common.windows.wmi.Win32DiskDrive
oshi.driver.windows.wmi.Win32DiskDriveJNA

@ThreadSafe public final class Win32DiskDriveJNA extends oshi.driver.common.windows.wmi.Win32DiskDrive
Utility to query WMI class Win32_DiskDrive using JNA.
  • Nested Class Summary

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

    oshi.driver.common.windows.wmi.Win32DiskDrive.DiskDriveProperty
  • Field Summary

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

    WIN32_DISK_DRIVE
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32DiskDrive.DiskDriveProperty>
    Queries disk drive information.

    Methods inherited from class Object

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

    • queryDiskDrive

      public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32DiskDrive.DiskDriveProperty> queryDiskDrive(WmiQueryHandler h)
      Queries disk drive information.
      Parameters:
      h - An instantiated WmiQueryHandler. User should have already initialized COM.
      Returns:
      Information regarding each disk drive.