Package com.sun.jna.platform.win32
Class WinRas.RASDIALPARAMS
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinRas.RASDIALPARAMS
- Direct Known Subclasses:
WinRas.RASDIALPARAMS.ByReference
- Enclosing interface:
- WinRas
@FieldOrder({"dwSize","szEntryName","szPhoneNumber","szCallbackNumber","szUserName","szPassword","szDomain"})
public static class WinRas.RASDIALPARAMS
extends Structure
The RASDIALPARAMS structure contains parameters that are used by RasDial
to establish a remote access connection.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
A value that specifies the size, in bytes, of the structure.char[]
A null-terminated string that contains a callback phone number.char[]
A null-terminated string that contains the domain on which authentication is to occur.char[]
A null-terminated string that contains the phone-book entry to use to establish the connection.char[]
A null-terminated string that contains the user's password.char[]
A null-terminated string that contains an overriding phone number.char[]
A null-terminated string that contains the user's user name.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
Constructors -
Method Summary
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, 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
-
dwSize
public int dwSizeA value that specifies the size, in bytes, of the structure. -
szEntryName
public char[] szEntryNameA null-terminated string that contains the phone-book entry to use to establish the connection. An empty string ("") specifies a simple modem connection on the first available modem port, in which case a non-empty szPhoneNumber must be provided. -
szPhoneNumber
public char[] szPhoneNumberA null-terminated string that contains an overriding phone number. An empty string ("") indicates that the phone-book entry's phone number should be used. If szEntryName is "", szPhoneNumber cannot be "". -
szCallbackNumber
public char[] szCallbackNumberA null-terminated string that contains a callback phone number. An empty string ("") indicates that callback should not be used. This string is ignored unless the user has "Set By Caller" callback permission on the RAS server. An asterisk indicates that the number stored in the phone book should be used for callback. -
szUserName
public char[] szUserNameA null-terminated string that contains the user's user name. This string is used to authenticate the user's access to the remote access server. -
szPassword
public char[] szPasswordA null-terminated string that contains the user's password. This string is used to authenticate the user's access to the remote access server. -
szDomain
public char[] szDomainA null-terminated string that contains the domain on which authentication is to occur. An empty string ("") specifies the domain in which the remote access server is a member. An asterisk specifies the domain stored in the phone book for the entry.
-
-
Constructor Details
-
RASDIALPARAMS
public RASDIALPARAMS() -
RASDIALPARAMS
-