Class WbemcliUtilFFM
java.lang.Object
oshi.util.platform.windows.WbemcliUtilFFM
FFM-based utility providing WMI query and result classes that mirror the JNA WbemcliUtil API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWbemcliUtilFFM.WmiQuery<T extends Enum<T>>Helper class wrapping information required for a WMI query.static classWbemcliUtilFFM.WmiResult<T extends Enum<T>>Helper class wrapping the results of a WMI query, indexed by enum property and row. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T>>
voidpopulateRow(MemorySegment pObject, Arena arena, WbemcliUtilFFM.WmiResult<T> result) Populates a WmiResult row from an IWbemClassObject by reading each property defined in the enum.
-
Method Details
-
populateRow
public static <T extends Enum<T>> void populateRow(MemorySegment pObject, Arena arena, WbemcliUtilFFM.WmiResult<T> result) Populates a WmiResult row from an IWbemClassObject by reading each property defined in the enum.- Type Parameters:
T- the property enum type- Parameters:
pObject- the IWbemClassObject pointerarena- the arena for memory allocationresult- the WmiResult to populate
-