public static class Ddeml.MONCBSTRUCT extends Structure
Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
int |
cb |
The structure's size, in bytes.
|
int |
cbData |
The amount, in bytes, of data being passed with the transaction.
|
Ddeml.CONVCONTEXT |
cc |
The language information used to share data in different languages.
|
byte[] |
Data |
Contains the first 32 bytes of data being passed with the transaction
(8 * sizeof(DWORD)).
|
BaseTSD.ULONG_PTR |
dwData1 |
Additional data.
|
BaseTSD.ULONG_PTR |
dwData2 |
Additional data.
|
WinDef.DWORD |
dwRet |
The value returned by the DDE callback function that processed the
transaction.
|
int |
dwTime |
The Windows time at which the transaction occurred.
|
static List<String> |
FIELDS |
|
Ddeml.HCONV |
hConv |
A handle to the conversation in which the transaction took place.
|
Ddeml.HDDEDATA |
hData |
A handle to the data exchanged (if any) during the transaction.
|
Ddeml.HSZ |
hsz1 |
A handle to a string.
|
Ddeml.HSZ |
hsz2 |
A handle to a string.
|
WinNT.HANDLE |
hTask |
A handle to the task (application instance) containing the DDE
callback function that received the transaction.
|
int |
wFmt |
The format of the data exchanged (if any) during the transaction.
|
int |
wType |
The transaction type.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
MONCBSTRUCT() |
Modifier and Type | Method | Description |
---|---|---|
protected List<String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
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, write, writeField, writeField, writeField
public int cb
public int dwTime
public WinNT.HANDLE hTask
public WinDef.DWORD dwRet
public int wType
public int wFmt
public Ddeml.HCONV hConv
public Ddeml.HSZ hsz1
public Ddeml.HSZ hsz2
public Ddeml.HDDEDATA hData
public BaseTSD.ULONG_PTR dwData1
public BaseTSD.ULONG_PTR dwData2
public Ddeml.CONVCONTEXT cc
public int cbData
public byte[] Data
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