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

Class WinRas.RASDIALEXTENSIONS

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


    public static class WinRas.RASDIALEXTENSIONS
    extends Structure
    The RASDIALEXTENSIONS structure contains information about extended features of the RasDial function. Enable one or more of these extensions by passing a pointer to a RASDIALEXTENSIONS structure when you call RasDial. If you do not pass a pointer to a RASDIALEXTENSIONS structure to RasDial, RasDial uses the default settings that are noted in the following descriptions.
    • Field Detail

      • dwSize

        public int dwSize
        Specifies the size of this structure, in bytes. Set this member to sizeof(RASDIALEXTENSIONS). This indicates the version of the structure.
      • dwfOptions

        public int dwfOptions
        A set of bit flags that specify RasDial extensions. The following bit flags are defined; set all undefined bits to zero.
      • hwndParent

        public WinDef.HWND hwndParent
        Handle to a parent window that a security DLL can use for dialog box creation and centering.
      • reserved

        public BaseTSD.ULONG_PTR reserved
        This member is reserved for future use. It must be set to zero.
      • reserved1

        public BaseTSD.ULONG_PTR reserved1
        This member is reserved for future use. It must be set to zero.
      • RasEapInfo

        public WinRas.RASEAPINFO RasEapInfo
        A RASEAPINFO structure that contains user-specific Extensible Authentication Protocol (EAP) information.
      • fSkipPppAuth

        public WinDef.BOOL fSkipPppAuth
        Windows 7 or later: If this member is TRUE, then Point to Point Protocol (PPP) authentication is skipped and the value in RasDevSpecificInfo will be passed to the server for validation. Otherwise, this member is FALSE and PPP authentication proceeds normally.
      • RasDevSpecificInfo

        public WinRas.RASDEVSPECIFICINFO RasDevSpecificInfo
        Windows 7 or later: A RASDEVSPECIFICINFO structure that contains a cookie to be used for PPP authentication. This cookie is only valid if fSkipPppAuth is TRUE.
    • Constructor Detail

      • RASDIALEXTENSIONS

        public RASDIALEXTENSIONS()
      • RASDIALEXTENSIONS

        public RASDIALEXTENSIONS(Pointer memory)
    • Method Detail

      • getFieldOrder

        protected List 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.2.1

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