| Package | Description |
|---|---|
| oshi.jna.platform.windows |
Provides extensions of JNA libraries for Windows.
|
| oshi.util.platform.windows |
Provides utilities for Windows.
|
| Modifier and Type | Method and Description |
|---|---|
WbemcliUtil.WmiResult<T> |
WbemcliUtil.WmiQuery.execute()
Query WMI for values, with no timeout.
|
WbemcliUtil.WmiResult<T> |
WbemcliUtil.WmiQuery.execute(int timeout)
Query WMI for values, with a specified timeout.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enum<T>> |
WmiUtil.queryWMI(WbemcliUtil.WmiQuery<T> query)
Query WMI for values, with no timeout.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enum<T>> |
WmiUtil.getDateString(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Date value from a WmiResult as a String
|
static <T extends Enum<T>> |
WmiUtil.getFloat(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Float value from a WmiResult
|
static <T extends Enum<T>> |
WmiUtil.getRefString(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Reference value from a WmiResult as a String
|
static <T extends Enum<T>> |
WmiUtil.getSint32(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Sint32 value from a WmiResult.
|
static <T extends Enum<T>> |
WmiUtil.getString(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a String value from a WmiResult
|
static <T extends Enum<T>> |
WmiUtil.getUint16(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Uint16 value from a WmiResult.
|
static <T extends Enum<T>> |
WmiUtil.getUint32(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets an UINT32 value from a WmiResult.
|
static <T extends Enum<T>> |
WmiUtil.getUint32asLong(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets an UINT32 value from a WmiResult as a long, preserving the
unsignedness.
|
static <T extends Enum<T>> |
WmiUtil.getUint64(WbemcliUtil.WmiResult<T> result,
T property,
int index)
Gets a Uint64 value from a WmiResult (parsing the String).
|
Copyright © 2010–2018 oshi. All rights reserved.