Package com.sun.jna.platform.win32
Class Winevt.EVT_VARIANT
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.Winevt.EVT_VARIANT
 
 
- 
- Direct Known Subclasses:
- Winevt.EVT_VARIANT.ByReference,- Winevt.EVT_VARIANT.ByValue
 - Enclosing interface:
- Winevt
 
 @FieldOrder({"field1","Count","Type"}) public static class Winevt.EVT_VARIANT extends Structure Contains event data or property values. https://msdn.microsoft.com/en-us/library/windows/desktop/aa385611(v=vs.85).aspx
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWinevt.EVT_VARIANT.ByReferencestatic classWinevt.EVT_VARIANT.ByValuestatic classWinevt.EVT_VARIANT.field1_union- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description intCountThe number of elements in the array of values.Winevt.EVT_VARIANT.field1_unionfield1Exposed to follow JNA rules, use thegetValue()method to manipulate values!intTypeA flag that specifies the data type of the variant.- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description EVT_VARIANT()EVT_VARIANT(Pointer peer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue()Winevt.EVT_VARIANT_TYPEgetVariantType()booleanisArray()voidsetValue(Winevt.EVT_VARIANT_TYPE type, java.lang.Object value)voiduse(Pointer m)- 
Methods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
 
- 
 
- 
- 
- 
Field Detail- 
field1public Winevt.EVT_VARIANT.field1_union field1 Exposed to follow JNA rules, use thegetValue()method to manipulate values!
 - 
Countpublic int Count The number of elements in the array of values. Use Count if the Type member has the EVT_VARIANT_TYPE_ARRAY flag set.Exposed to follow JNA rules, use getValue()andsetValue(com.sun.jna.platform.win32.Winevt.EVT_VARIANT_TYPE, java.lang.Object)methods to manipulate values!
 - 
Typepublic int Type A flag that specifies the data type of the variant. For possible values, see theWinevt.EVT_VARIANT_TYPEenumeration. The variant contains an array of values, if the EVT_VARIANT_TYPE_ARRAY flag is set. The members that end in "Arr" contain arrays of values. For example, you would use the StringArr member to access the variant data if the type is EvtVarTypeString and the EVT_VARIANT_TYPE_ARRAY flag is set. You can use theWinevt.EVT_VARIANT_TYPE_MASKconstant to mask out the array bit to determine the variant's type.Exposed to follow JNA rules, use getValue()andsetValue(com.sun.jna.platform.win32.Winevt.EVT_VARIANT_TYPE, java.lang.Object)methods to manipulate values!
 
- 
 - 
Constructor Detail- 
EVT_VARIANTpublic EVT_VARIANT() 
 - 
EVT_VARIANTpublic EVT_VARIANT(Pointer peer) 
 
- 
 - 
Method Detail- 
usepublic void use(Pointer m) 
 - 
isArraypublic boolean isArray() 
 - 
getVariantTypepublic Winevt.EVT_VARIANT_TYPE getVariantType() 
 - 
setValuepublic void setValue(Winevt.EVT_VARIANT_TYPE type, java.lang.Object value) - Parameters:
- type-
- value-
 
 - 
getValuepublic java.lang.Object getValue() - Returns:
- value contained in the EVT_VARIANT
 
 
- 
 
-