@FieldOrder({"uType","u"}) public static class ShTypes.STRRET extends Structure
Modifier and Type | Class | Description |
---|---|---|
static class |
ShTypes.STRRET.UNION |
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
static int |
TYPE_CSTR |
|
static int |
TYPE_OFFSET |
|
static int |
TYPE_WSTR |
|
ShTypes.STRRET.UNION |
u |
|
int |
uType |
indicate which union member to use:
TYPE_WSTR 0x0Use STRRET.pOleStrmust be freed by caller of GetDisplayNameOf
TYPE_OFFSET 0x1Use STRRET.uOffsetOffset into SHITEMID for ANSI string
TYPE_CSTR 0x0Use STRRET.cStrANSI Buffer
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Modifier and Type | Method | Description |
---|---|---|
void |
read() |
Reads the fields of the struct from native memory
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public static final int TYPE_WSTR
public static final int TYPE_OFFSET
public static final int TYPE_CSTR
public int uType
TYPE_WSTR | 0x0 | Use STRRET.pOleStr | must be freed by caller of GetDisplayNameOf |
TYPE_OFFSET | 0x1 | Use STRRET.uOffset | Offset into SHITEMID for ANSI string |
TYPE_CSTR | 0x0 | Use STRRET.cStr | ANSI Buffer |
public ShTypes.STRRET.UNION u
public STRRET()
public STRRET(Pointer p)