Record Class IWbemClassObjectFFM.GetResult
java.lang.Object
java.lang.Record
oshi.ffm.windows.com.IWbemClassObjectFFM.GetResult
- Record Components:
hresult- the HRESULT from the Get() callvariant- the VARIANT memory segment containing the valuecimType- the CIM type of the property
- Enclosing class:
IWbemClassObjectFFM
public static record IWbemClassObjectFFM.GetResult(int hresult, MemorySegment variant, int cimType)
extends Record
Result of a Get() call containing the VARIANT and CIM type.
-
Constructor Summary
ConstructorsConstructorDescriptionGetResult(int hresult, MemorySegment variant, int cimType) Creates an instance of aGetResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcimType()Returns the value of thecimTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inthresult()Returns the value of thehresultrecord component.booleanfinal StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
-
Constructor Details
-
Method Details
-
succeeded
public boolean succeeded() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
hresult
-
variant
-
cimType
-