@Structure.FieldOrder(value={"field1","Count","Type"}) public static class Winevt.EVT_VARIANT extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
Winevt.EVT_VARIANT.ByReference |
static class |
Winevt.EVT_VARIANT.ByValue |
static class |
Winevt.EVT_VARIANT.field1_union |
Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
Count
The number of elements in the array of values.
|
Winevt.EVT_VARIANT.field1_union |
field1
Exposed to follow JNA rules, use the
getValue() method
to manipulate values! |
int |
Type
A flag that specifies the data type of the variant.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
EVT_VARIANT() |
EVT_VARIANT(Pointer peer) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue() |
Winevt.EVT_VARIANT_TYPE |
getVariantType() |
boolean |
isArray() |
void |
setValue(Winevt.EVT_VARIANT_TYPE type,
java.lang.Object value) |
void |
use(Pointer m) |
allocateMemory, 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
public Winevt.EVT_VARIANT.field1_union field1
getValue()
method
to manipulate values!public int Count
Exposed to follow JNA rules, use
getValue()
and setValue(com.sun.jna.platform.win32.Winevt.EVT_VARIANT_TYPE, java.lang.Object)
methods
to manipulate values!
public int Type
Winevt.EVT_VARIANT_TYPE
enumeration.
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 the Winevt.EVT_VARIANT_TYPE_MASK
constant to mask out the array bit to determine
the variant's type.
Exposed to follow JNA rules, use
getValue()
and setValue(com.sun.jna.platform.win32.Winevt.EVT_VARIANT_TYPE, java.lang.Object)
methods
to manipulate values!
public EVT_VARIANT()
public EVT_VARIANT(Pointer peer)
public void use(Pointer m)
public boolean isArray()
public Winevt.EVT_VARIANT_TYPE getVariantType()
public void setValue(Winevt.EVT_VARIANT_TYPE type, java.lang.Object value)
type
- value
- public java.lang.Object getValue()