Package oshi.driver.windows.wmi
Class Win32LogicalDisk
java.lang.Object
oshi.driver.windows.wmi.Win32LogicalDisk
Utility to query WMI class
Win32_LogicalDisk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Logical disk properties. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult
<Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk
(String nameToMatch, boolean localOnly) Queries logical disk information
-
Field Details
-
WIN32_LOGICAL_DISK
- See Also:
-
-
Constructor Details
-
Win32LogicalDisk
private Win32LogicalDisk()
-
-
Method Details
-
queryLogicalDisk
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk(String nameToMatch, boolean localOnly) Queries logical disk information- Parameters:
nameToMatch
- an optional string to filter match, null otherwiselocalOnly
- Whether to only search local drives- Returns:
- Logical Disk Information
-