public static class Ddeml.CONVCONTEXT extends Structure
Ddeml.DdeConnect(int, com.sun.jna.platform.win32.Ddeml.HSZ, com.sun.jna.platform.win32.Ddeml.HSZ, com.sun.jna.platform.win32.Ddeml.CONVCONTEXT)
and Ddeml.DdeConnectList(int, com.sun.jna.platform.win32.Ddeml.HSZ, com.sun.jna.platform.win32.Ddeml.HSZ, com.sun.jna.platform.win32.Ddeml.HCONVLIST, com.sun.jna.platform.win32.Ddeml.CONVCONTEXT)
and
by Ddeml.XTYP_CONNECT
and Ddeml.XTYP_WILDCONNECT
callbacks.Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
int |
cb |
set to sizeof(CONVCONTEXT)
|
int |
dwLangID |
language ID for topic/item strings.
|
int |
dwSecurity |
Private security code.
|
static List<String> |
FIELDS |
|
int |
iCodePage |
codepage used for topic/item strings.
|
WinNT.SECURITY_QUALITY_OF_SERVICE |
qos |
The quality of service a DDE client wants from the system during a
given conversation.
|
int |
wCountryID |
country/region code for topic/item strings used.
|
int |
wFlags |
none currently defined.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
CONVCONTEXT() |
|
CONVCONTEXT(Pointer p) |
Modifier and Type | Method | Description |
---|---|---|
protected List<String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
void |
write() |
Writes the fields of the struct to 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, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, writeField, writeField, writeField
public int cb
public int wFlags
public int wCountryID
public int iCodePage
public int dwLangID
public int dwSecurity
public WinNT.SECURITY_QUALITY_OF_SERVICE qos
public CONVCONTEXT()
public CONVCONTEXT(Pointer p)
public void write()
Structure
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure