You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

INTERNET_OPTION.cs 1.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /****************************** Module Header ******************************\
  2. Module Name: INTERNET_OPTION.cs
  3. Project: CSWebBrowserWithProxy
  4. Copyright (c) Microsoft Corporation.
  5. This enum contains 4 WinINet constants used in method InternetQueryOption and
  6. InternetSetOption functions.
  7. Visit http://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx to get the
  8. whole constants list.
  9. This source is subject to the Microsoft Public License.
  10. See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
  11. All other rights reserved.
  12. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  13. EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  14. WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  15. \***************************************************************************/
  16. namespace Shadowsocks.Util.SystemProxy
  17. {
  18. public enum INTERNET_OPTION
  19. {
  20. // Sets or retrieves an INTERNET_PER_CONN_OPTION_LIST structure that specifies
  21. // a list of options for a particular connection.
  22. INTERNET_OPTION_PER_CONNECTION_OPTION = 75,
  23. // Notify the system that the registry settings have been changed so that
  24. // it verifies the settings on the next call to InternetConnect.
  25. INTERNET_OPTION_SETTINGS_CHANGED = 39,
  26. // Causes the proxy data to be reread from the registry for a handle.
  27. INTERNET_OPTION_REFRESH = 37,
  28. // Alerts the current WinInet instance that proxy settings have changed
  29. // and that they must update with the new settings.
  30. // To alert all available WinInet instances, set the Buffer parameter of
  31. // InternetSetOption to NULL and BufferLength to 0 when passing this option.
  32. INTERNET_OPTION_PROXY_SETTINGS_CHANGED = 95
  33. }
  34. }