Class IEnumWbemClassObjectFFM


public final class IEnumWbemClassObjectFFM extends ComObjectFFM
FFM bindings for the IEnumWbemClassObject COM interface.

IEnumWbemClassObject is used to enumerate WMI objects returned by a query.

  • Method Details

    • next

      public static IEnumWbemClassObjectFFM.NextResult next(MemorySegment pEnum, int timeout, Arena arena)
      Retrieves the next object in the enumeration.
      Parameters:
      pEnum - the IEnumWbemClassObject pointer
      timeout - timeout in milliseconds (use WBEM_INFINITE for no timeout)
      arena - the arena for memory allocation
      Returns:
      the next result containing HRESULT and object pointer
    • next

      public static IEnumWbemClassObjectFFM.NextResult next(MemorySegment pEnum, Arena arena)
      Retrieves the next object with default timeout (10 seconds).
      Parameters:
      pEnum - the IEnumWbemClassObject pointer
      arena - the arena for memory allocation
      Returns:
      the next result
    • reset

      public static OptionalInt reset(MemorySegment pEnum, Arena arena)
      Resets the enumeration to the beginning.
      Parameters:
      pEnum - the IEnumWbemClassObject pointer
      arena - the arena for memory allocation
      Returns:
      HRESULT