Package com.openfin.desktop.win32
Class DesktopPortHandler.COPYDATASTRUCT
java.lang.Object
com.sun.jna.Structure
com.openfin.desktop.win32.DesktopPortHandler.COPYDATASTRUCT
- Direct Known Subclasses:
DesktopPortHandler.COPYDATASTRUCT.ByReference
- Enclosing class:
- DesktopPortHandler
public static class DesktopPortHandler.COPYDATASTRUCT
extends com.sun.jna.Structure
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DesktopPortHandler.COPYDATASTRUCT.ByReference
The by-reference version of this structure. -
Field Summary
Fields Modifier and Type Field Description int
cbData
The size, in bytes, of the data pointed to by the lpData member.com.sun.jna.platform.win32.BaseTSD.ULONG_PTR
dwData
The data to be passed to the receiving application.com.sun.jna.Pointer
lpData
The data to be passed to the receiving application. -
Constructor Summary
Constructors Constructor Description COPYDATASTRUCT()
Instantiates a new COPYDATASTRUCT.COPYDATASTRUCT(long pointer)
Instantiates a new COPYDATASTRUCT with existing data given the address of that data.COPYDATASTRUCT(com.sun.jna.Pointer memory)
Instantiates a new COPYDATASTRUCT with existing data given a pointer to that data. -
Method Summary
Modifier and Type Method Description protected java.util.List
getFieldOrder()
Returns the serialized order of this structure's fields.Methods inherited from class com.sun.jna.Structure
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, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
dwData
public com.sun.jna.platform.win32.BaseTSD.ULONG_PTR dwDataThe data to be passed to the receiving application. -
cbData
public int cbDataThe size, in bytes, of the data pointed to by the lpData member. -
lpData
public com.sun.jna.Pointer lpDataThe data to be passed to the receiving application. This member can be null.
-
-
Constructor Details
-
COPYDATASTRUCT
public COPYDATASTRUCT()Instantiates a new COPYDATASTRUCT. -
COPYDATASTRUCT
public COPYDATASTRUCT(long pointer)Instantiates a new COPYDATASTRUCT with existing data given the address of that data.- Parameters:
pointer
- Address of the existing structure.
-
COPYDATASTRUCT
public COPYDATASTRUCT(com.sun.jna.Pointer memory)Instantiates a new COPYDATASTRUCT with existing data given a pointer to that data.- Parameters:
memory
- Pointer to the existing structure.
-
-
Method Details
-
getFieldOrder
protected final java.util.List getFieldOrder()Returns the serialized order of this structure's fields.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- The serialized order of this structure's fields.
- See Also:
Structure.getFieldOrder()
-