Class IEnumWbemClassObjectFFM
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.windows.com.IUnknownFFM
oshi.ffm.windows.com.ComObjectFFM
oshi.ffm.windows.com.IEnumWbemClassObjectFFM
FFM bindings for the IEnumWbemClassObject COM interface.
IEnumWbemClassObject is used to enumerate WMI objects returned by a query.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordResult of a Next() call. -
Field Summary
Fields inherited from class ComObjectFFM
PTR_SIZEFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, NATIVE_LONG_SIZE, NATIVE_POINTER_SIZE, NATIVE_SIZE_T_SIZE, SYMBOL_LOOKUP -
Method Summary
Modifier and TypeMethodDescriptionnext(MemorySegment pEnum, int timeout, Arena arena) Retrieves the next object in the enumeration.next(MemorySegment pEnum, Arena arena) Retrieves the next object with default timeout (10 seconds).static OptionalIntreset(MemorySegment pEnum, Arena arena) Resets the enumeration to the beginning.Methods inherited from class ComObjectFFM
createDowncall, getVtable, getVtableFunctionMethods inherited from class IUnknownFFM
addRef, release, safeReleaseMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
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 pointertimeout- 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
Retrieves the next object with default timeout (10 seconds).- Parameters:
pEnum- the IEnumWbemClassObject pointerarena- the arena for memory allocation- Returns:
- the next result
-
reset
Resets the enumeration to the beginning.- Parameters:
pEnum- the IEnumWbemClassObject pointerarena- the arena for memory allocation- Returns:
- HRESULT
-