Skip navigation links
JNA API 4.4.0
com.sun.jna.platform.win32

Class WinRas.RASCREDENTIALS

  • Direct Known Subclasses:
    WinRas.RASCREDENTIALS.ByReference
    Enclosing interface:
    WinRas


    public static class WinRas.RASCREDENTIALS
    extends Structure
    The RASCREDENTIALS structure is used with the RasGetCredentials and RasSetCredentials functions to specify the user credentials associated with a RAS phone-book entry.
    • Field Detail

      • dwSize

        public int dwSize
        Specifies the size, in bytes, of the RASCREDENTIALS structure.
      • dwMask

        public int dwMask
        Specifies a set of bit flags. These flags indicate the members of this structure that are valid. On input, set the flags to indicate the members of interest.
      • szUserName

        public char[] szUserName
        Specifies a null-terminated string that contains a user name.
      • szPassword

        public char[] szPassword
        Specifies a null-terminated string that contains a password.
      • szDomain

        public char[] szDomain
        A null-terminated string that contains a domain name.
    • Constructor Detail

      • RASCREDENTIALS

        public RASCREDENTIALS()
      • RASCREDENTIALS

        public RASCREDENTIALS(Pointer memory)
    • Method Detail

      • getFieldOrder

        protected List<String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         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.
        Specified by:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names
JNA API 4.4.0

Copyright © 2007-2016 Timothy Wall. All Rights Reserved.