public static class WinRas.RASCONN extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
WinRas.RASCONN.ByReference |
Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
dwFlags
A value that specifies zero or more of the following flags.
|
int |
dwSize
Specifies the size, in bytes, of the RASCONN structure.
|
int |
dwSubEntry
For multilink connections, a value that specifies the subentry one-based index of a connected link.
|
Guid.GUID |
guidCorrelationId
A GUID that specifies the RAS connection correlation ID.
|
Guid.GUID |
guidEntry
A GUID (Globally Unique IDentifier) that represents the phone-book entry.
|
WinNT.HANDLE |
hrasconn
A HRASCONN handle that defines the remote access connection.
|
WinNT.LUID |
luid
A locally unique identifier (LUID) that specifies the logon session of the RAS connection.
|
char[] |
szDeviceName
A null-terminated string that contains the device name through which the connection is made.
|
char[] |
szDeviceType
A null-terminated string that contains the device type through which the connection is made.
|
char[] |
szEntryName
A null-terminated string that specifies the phone-book entry used to establish the remote access connection.
|
char[] |
szPhonebook
A null-terminated string that specifies the full path and file name of a phone-book (PBK) file.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
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 WinNT.HANDLE hrasconn
public char[] szEntryName
public char[] szDeviceType
public char[] szDeviceName
public char[] szPhonebook
public int dwSubEntry
public Guid.GUID guidEntry
public int dwFlags
public WinNT.LUID luid
public Guid.GUID guidCorrelationId
public RASCONN()
public RASCONN(Pointer memory)
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