Class WbemcliUtilFFM

java.lang.Object
oshi.util.platform.windows.WbemcliUtilFFM

public final class WbemcliUtilFFM extends Object
FFM-based utility providing WMI query and result classes that mirror the JNA WbemcliUtil API.
  • 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 pointer
      arena - the arena for memory allocation
      result - the WmiResult to populate