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