Class 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.
    • Field Detail

      • dwSize

        public int dwSize
        A value that specifies the size, in bytes, of the structure.
      • szEntryName

        public char[] szEntryName
        A 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[] szPhoneNumber
        A 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[] szCallbackNumber
        A 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[] szUserName
        A 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[] szPassword
        A 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[] szDomain
        A 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 Detail

      • RASDIALPARAMS

        public RASDIALPARAMS()
      • RASDIALPARAMS

        public RASDIALPARAMS​(Pointer memory)