Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
int |
dwError |
If nonzero, indicates the reason for failure.
|
int |
dwSize |
Specifies the structure size, in bytes.
|
WinRas.RASTUNNELENDPOINT |
localEndPoint |
A RASTUNNELENDPOINT structure that contains the local client endpoint information of a virtual private network (VPN) endpoint.
|
int |
rasconnstate |
Specifies a RASCONNSTATE enumerator value that indicates the current state of the RasDial connection process;
that is, the piece of the RasDial process that is currently executing.
|
int |
rasconnsubstate |
A RASCONNSUBSTATE enumeration that specifies state information of an Internet Key Exchange version 2 (IKEv2) VPN tunnel.
|
WinRas.RASTUNNELENDPOINT |
remoteEndPoint |
A RASTUNNELENDPOINT structure that contains the remote server endpoint information of a virtual private network (VPN) endpoint.
|
char[] |
szDeviceName |
A string that specifies the name of the current device, if available.
|
char[] |
szDeviceType |
A string that specifies the type of the current device, if available.
|
char[] |
szPhoneNumber |
A string that indicates the phone number dialed for this specific connection.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
RASCONNSTATUS() |
|
RASCONNSTATUS(Pointer memory) |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<java.lang.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 dwSize
public int rasconnstate
public int dwError
public char[] szDeviceType
public char[] szDeviceName
public char[] szPhoneNumber
public WinRas.RASTUNNELENDPOINT localEndPoint
public WinRas.RASTUNNELENDPOINT remoteEndPoint
public int rasconnsubstate
public RASCONNSTATUS()
public RASCONNSTATUS(Pointer memory)
protected java.util.List<java.lang.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