Class WinHttpCurrentUserIEProxyConfig


  • public class WinHttpCurrentUserIEProxyConfig
    extends com.sun.jna.Structure
    The WINHTTP_CURRENT_USER_IE_PROXY_CONFIG structure contains the Internet Explorer proxy configuration information.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WinHttpCurrentUserIEProxyConfig.ByReference
      Tagging interface to indicate the address of an instance of the Structure type is to be used within a Structure definition rather than nesting the full Structure contents.
      static class  WinHttpCurrentUserIEProxyConfig.ByValue
      Tagging interface to indicate the value of an instance of the Structure type is to be used in function invocations rather than its address.
      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean fAutoDetect
      If TRUE, indicates that the Internet Explorer proxy configuration for the current user specifies "automatically detect settings".
      com.sun.jna.platform.win32.WTypes.LPWSTR lpszAutoConfigUrl
      Pointer to a null-terminated Unicode string that contains the auto-configuration URL if the Internet Explorer proxy configuration for the current user specifies "Use automatic proxy configuration".
      com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxy
      Pointer to a null-terminated Unicode string that contains the proxy URL if the Internet Explorer proxy configuration for the current user specifies "use a proxy server".
      com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxyBypass
      Pointer to a null-terminated Unicode string that contains the optional proxy by-pass server list.
      • Fields inherited from class com.sun.jna.Structure

        ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<java.lang.String> getFieldOrder()
      Return this Structure's field names in their proper order.
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • fAutoDetect

        public boolean fAutoDetect
        If TRUE, indicates that the Internet Explorer proxy configuration for the current user specifies "automatically detect settings".
      • lpszAutoConfigUrl

        public com.sun.jna.platform.win32.WTypes.LPWSTR lpszAutoConfigUrl
        Pointer to a null-terminated Unicode string that contains the auto-configuration URL if the Internet Explorer proxy configuration for the current user specifies "Use automatic proxy configuration".
      • lpszProxy

        public com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxy
        Pointer to a null-terminated Unicode string that contains the proxy URL if the Internet Explorer proxy configuration for the current user specifies "use a proxy server".
      • lpszProxyBypass

        public com.sun.jna.platform.win32.WTypes.LPWSTR lpszProxyBypass
        Pointer to a null-terminated Unicode string that contains the optional proxy by-pass server list.
    • Constructor Detail

      • WinHttpCurrentUserIEProxyConfig

        public WinHttpCurrentUserIEProxyConfig()
        Create WinHttpCurrentUserIeProxyConfig structure.
      • WinHttpCurrentUserIEProxyConfig

        public WinHttpCurrentUserIEProxyConfig​(com.sun.jna.Pointer pointer)
        Create WinHttpCurrentUserIeProxyConfig structure cast onto pre-allocated memory.
        Parameters:
        pointer - pointer to pre-allocated memory
    • Method Detail

      • getFieldOrder

        protected java.util.List<java.lang.String> getFieldOrder()
        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.
        Overrides:
        getFieldOrder in class com.sun.jna.Structure
        Returns:
        ordered list of field names