Package com.sun.jna.platform.win32
Class WinRas.RASCONN
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinRas.RASCONN
- Direct Known Subclasses:
- WinRas.RASCONN.ByReference
- Enclosing interface:
- WinRas
@FieldOrder({"dwSize","hrasconn","szEntryName","szDeviceType","szDeviceName","szPhonebook","dwSubEntry","guidEntry","dwFlags","luid","guidCorrelationId"})
public static class WinRas.RASCONN
extends Structure
The RASCONN structure provides information about a remote access
 connection. The RasEnumConnections function returns an array of RASCONN
 structures.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintA value that specifies zero or more of the following flags.intSpecifies the size, in bytes, of the RASCONN structure.intFor multilink connections, a value that specifies the subentry one-based index of a connected link.A GUID that specifies the RAS connection correlation ID.A GUID (Globally Unique IDentifier) that represents the phone-book entry.A HRASCONN handle that defines the remote access connection.A locally unique identifier (LUID) that specifies the logon session of the RAS connection.char[]A null-terminated string that contains the device name through which the connection is made.char[]A null-terminated string that contains the device type through which the connection is made.char[]A null-terminated string that specifies the phone-book entry used to establish the remote access connection.char[]A null-terminated string that specifies the full path and file name of a phone-book (PBK) file.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, 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- 
dwSizepublic int dwSizeSpecifies the size, in bytes, of the RASCONN structure.
- 
hrasconnA HRASCONN handle that defines the remote access connection. This handle is used in other remote access API calls.
- 
szEntryNamepublic char[] szEntryNameA null-terminated string that specifies the phone-book entry used to establish the remote access connection. If the connection was established using an empty entry name, this string consists of a PERIOD followed by the connection phone number.
- 
szDeviceTypepublic char[] szDeviceTypeA null-terminated string that contains the device type through which the connection is made. See RASENTRY for a list of possible device types.
- 
szDeviceNamepublic char[] szDeviceNameA null-terminated string that contains the device name through which the connection is made.
- 
szPhonebookpublic char[] szPhonebookA null-terminated string that specifies the full path and file name of a phone-book (PBK) file.
- 
dwSubEntrypublic int dwSubEntryFor multilink connections, a value that specifies the subentry one-based index of a connected link.
- 
guidEntryA GUID (Globally Unique IDentifier) that represents the phone-book entry. The value of this member corresponds to that of the guidId member in the RASENTRY structure.
- 
dwFlagspublic int dwFlagsA value that specifies zero or more of the following flags.
- 
luidA locally unique identifier (LUID) that specifies the logon session of the RAS connection.
- 
guidCorrelationIdA GUID that specifies the RAS connection correlation ID. The correlation ID is logged with the RAS connection setup, disconnect and setup failure events and identifies the RAS connection event logs on the client and server.
 
- 
- 
Constructor Details- 
RASCONNpublic RASCONN()
- 
RASCONN
 
-