Skip navigation links
JNA API 4.5.2


  • Direct Known Subclasses:
    Enclosing interface:

    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


        public RASCREDENTIALS()

        public RASCREDENTIALS(Pointer memory)
    • Method Detail

      • getFieldOrder

        protected java.util.List<java.lang.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
        ordered list of field names
JNA API 4.5.2

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