java.lang.Object
oshi.driver.windows.wmi.Win32DiskDrive
Utility to query WMI class
Win32_DiskDrive
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Disk drive properties -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32DiskDrive.DiskDriveProperty>
Queries the disk drive name info
-
Method Details
-
queryDiskDrive
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32DiskDrive.DiskDriveProperty> queryDiskDrive(WmiQueryHandler h) Queries the disk drive name info- Parameters:
h
- An instantiatedWmiQueryHandler
. User should have already initialized COM.- Returns:
- Information regarding each disk drive.
-