@Structure.FieldOrder(value={"dwSize","dwfOptions","dwCountryID","dwCountryCode","szAreaCode","szLocalPhoneNumber","dwAlternateOffset","ipaddr","ipaddrDns","ipaddrDnsAlt","ipaddrWins","ipaddrWinsAlt","dwFrameSize","dwfNetProtocols","dwFramingProtocol","szScript","szAutodialDll","szAutodialFunc","szDeviceType","szDeviceName","szX25PadType","szX25Address","szX25Facilities","szX25UserData","dwChannels","dwReserved1","dwReserved2","dwSubEntries","dwDialMode","dwDialExtraPercent","dwDialExtraSampleSeconds","dwHangUpExtraPercent","dwHangUpExtraSampleSeconds","dwIdleDisconnectSeconds","dwType","dwEncryptionType","dwCustomAuthKey","guidId","szCustomDialDll","dwVpnStrategy","dwfOptions2","dwfOptions3","szDnsSuffix","dwTcpWindowSize","szPrerequisitePbk","szPrerequisiteEntry","dwRedialCount","dwRedialPause","ipv6addrDns","ipv6addrDnsAlt","dwIPv4InterfaceMetric","dwIPv6InterfaceMetric","ipv6addr","dwIPv6PrefixLength","dwNetworkOutageTime"}) public static class WinRas.RASENTRY extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
WinRas.RASENTRY.ByReference |
Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
dwAlternateOffset
Specifies the offset, in bytes, from the beginning of the structure to a list of consecutive null-terminated strings.
|
int |
dwChannels
Reserved for future use
|
int |
dwCountryCode
Specifies the country/region code portion of the phone number.
|
int |
dwCountryID
Specifies the TAPI country/region identifier.
|
int |
dwCustomAuthKey
This member is used for Extensible Authentication Protocol (EAP).
|
int |
dwDialExtraPercent
Specifies a percent of the total bandwidth available from the currently connected subentries.
|
int |
dwDialExtraSampleSeconds
Specifies the number of seconds that current bandwidth usage must exceed the threshold specified by dwDialExtraPercent
before RAS dials an additional subentry.
|
int |
dwDialMode
Specifies whether RAS should dial all of this entry's multilink subentries when the entry is first connected.
|
int |
dwEncryptionType
The type of encryption to use with the connection.
|
int |
dwfNetProtocols
Specifies the network protocols to negotiate.
|
int |
dwfOptions
A set of bit flags that specify connection options.
|
int |
dwfOptions2
A set of bits that specify connection options.
|
int |
dwfOptions3
This parameter is reserved for future use.
|
int |
dwFrameSize
Specifies the IP address of a secondary WINS server to be used while this connection is active.
|
int |
dwFramingProtocol
Specifies the framing protocol used by the server.
|
int |
dwHangUpExtraPercent
Specifies a percent of the total bandwidth available from the currently connected subentries.
|
int |
dwHangUpExtraSampleSeconds
Specifies the number of seconds that current bandwidth usage must be less than the threshold specified by
dwHangUpExtraPercent before RAS terminates an existing subentry connection.
|
int |
dwIdleDisconnectSeconds
Specifies the number of seconds after which the connection is terminated due to inactivity.
|
int |
dwIPv4InterfaceMetric
Sets the metric of the IPv4 stack for this interface.
|
int |
dwIPv6InterfaceMetric
Sets the metric of the IPv6 stack for this interface.
|
int |
dwIPv6PrefixLength
The length of the IPv6 address prefix in ipv6addr.
|
int |
dwNetworkOutageTime
Specifies the amount of time, in minutes, that IKEv2 packets will be
retransmitted without a response before the connection is considered lost.
|
int |
dwRedialCount
Specifies the number of times RAS attempts to redial a connection.
|
int |
dwRedialPause
Specifies the number of seconds to wait between redial attempts.
|
int |
dwReserved1
Reserved.
|
int |
dwReserved2
Reserved.
|
int |
dwSize
Specifies the size, in bytes, of the RASENTRY structure.
|
int |
dwSubEntries
Specifies the number of multilink subentries associated with this entry.
|
int |
dwTcpWindowSize
Specifies the TCP window size for all TCP sessions that run over this connection.
|
int |
dwType
The type of phone-book entry.
|
int |
dwVpnStrategy
The VPN strategy to use when dialing a VPN connection.
|
Guid.GUID |
guidId
The GUID (Globally Unique Identifier) that represents this phone-book entry.
|
WinRas.RASIPADDR |
ipaddr
Specifies the IP address to be used while this connection is active.
|
WinRas.RASIPADDR |
ipaddrDns
Specifies the IP address of the DNS server to be used while this connection is active.
|
WinRas.RASIPADDR |
ipaddrDnsAlt
Specifies the IP address of a secondary or backup DNS server to be used while this connection is active.
|
WinRas.RASIPADDR |
ipaddrWins
Specifies the IP address of the WINS server to be used while this connection is active.
|
WinRas.RASIPADDR |
ipaddrWinsAlt
Specifies the IP address of a secondary WINS server to be used while this connection is active.
|
WinRas.RASIPV6ADDR |
ipv6addr
Specifies the client's IPv6 address negotiated by the server and the client.
|
WinRas.RASIPV6ADDR |
ipv6addrDns
Contains the IPv6 address of the preferred DNS.
|
WinRas.RASIPV6ADDR |
ipv6addrDnsAlt
Contains the IPv6 address of the alternate DNS.
|
char[] |
szAreaCode
Specifies the area code as a null-terminated string.
|
char[] |
szAutodialDll
Windows 2000 or later: This member is no longer supported.
|
char[] |
szAutodialFunc
Windows 2000 or later: This member is no longer supported.
|
char[] |
szCustomDialDll
A null-terminated string that contains the full path and file name for the dynamic link library (DLL) that implements the custom-dialing functions.
|
char[] |
szDeviceName
Contains a null-terminated string that contains the name of a TAPI device to use with this phone-book entry, for example,
"XYZ Corp 28800 External".
|
char[] |
szDeviceType
Specifies a null-terminated string that indicates the RAS device type referenced by szDeviceName.
|
char[] |
szDnsSuffix
Pointer to a string that specifies the Domain Name Service (DNS) suffix for the connection.
|
char[] |
szLocalPhoneNumber
Specifies a null-terminated device-type specific destination string.
|
char[] |
szPrerequisiteEntry
Pointer to a null-terminated string that specifies a phone-book entry.
|
char[] |
szPrerequisitePbk
Pointer to a null-terminated string that specifies the full path and file name of a phone-book (PBK) file.
|
char[] |
szScript
Specifies a null-terminated string that contains the name of the script file.
|
char[] |
szX25Address
Contains a null-terminated string that identifies the X.25 address to which to connect .
|
char[] |
szX25Facilities
Contains a null-terminated string that specifies the facilities to request from the X.25 host at connection.
|
char[] |
szX25PadType
Contains a null-terminated string that identifies the X.25 PAD type.
|
char[] |
szX25UserData
Contains a null-terminated string that specifies additional connection information supplied to the X.25
host at connection.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
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
public int dwSize
public int dwfOptions
public int dwCountryID
public int dwCountryCode
public char[] szAreaCode
public char[] szLocalPhoneNumber
public int dwAlternateOffset
public WinRas.RASIPADDR ipaddr
public WinRas.RASIPADDR ipaddrDns
public WinRas.RASIPADDR ipaddrDnsAlt
public WinRas.RASIPADDR ipaddrWins
public WinRas.RASIPADDR ipaddrWinsAlt
public int dwFrameSize
public int dwfNetProtocols
public int dwFramingProtocol
public char[] szScript
public char[] szAutodialDll
public char[] szAutodialFunc
public char[] szDeviceType
public char[] szDeviceName
public char[] szX25PadType
public char[] szX25Address
public char[] szX25Facilities
public char[] szX25UserData
public int dwChannels
public int dwReserved1
public int dwReserved2
public int dwSubEntries
public int dwDialMode
public int dwDialExtraPercent
public int dwDialExtraSampleSeconds
public int dwHangUpExtraPercent
public int dwHangUpExtraSampleSeconds
public int dwIdleDisconnectSeconds
public int dwType
public int dwEncryptionType
public int dwCustomAuthKey
public Guid.GUID guidId
public char[] szCustomDialDll
public int dwVpnStrategy
public int dwfOptions2
public int dwfOptions3
public char[] szDnsSuffix
public int dwTcpWindowSize
public char[] szPrerequisitePbk
public char[] szPrerequisiteEntry
public int dwRedialCount
public int dwRedialPause
public WinRas.RASIPV6ADDR ipv6addrDns
public WinRas.RASIPV6ADDR ipv6addrDnsAlt
public int dwIPv4InterfaceMetric
public int dwIPv6InterfaceMetric
public WinRas.RASIPV6ADDR ipv6addr
public int dwIPv6PrefixLength
public int dwNetworkOutageTime
public RASENTRY()
public RASENTRY(Pointer memory)