PageRenderTime 37ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/CSWebBrowserWithProxy/INTERNET_PER_CONN_OPTION_LIST.cs

#
C# | 38 lines | 13 code | 5 blank | 20 comment | 0 complexity | e00ed054984ba64c519cf2ebac0d7667 MD5 | raw file
  1. /****************************** Module Header ******************************\
  2. Module Name: INTERNET_PER_CONN_OPTION_LIST.cs
  3. Project: CSWebBrowserWithProxy
  4. Copyright (c) Microsoft Corporation.
  5. The struct INTERNET_PER_CONN_OPTION contains a list of options that to be
  6. set to internet connection.
  7. Visit http://msdn.microsoft.com/en-us/library/aa385146(VS.85).aspx to get the
  8. detailed description.
  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. using System.Runtime.InteropServices;
  17. namespace CSWebBrowserWithProxy
  18. {
  19. [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
  20. public struct INTERNET_PER_CONN_OPTION_LIST
  21. {
  22. public int Size;
  23. // The connection to be set. NULL means LAN.
  24. public System.IntPtr Connection;
  25. public int OptionCount;
  26. public int OptionError;
  27. // List of INTERNET_PER_CONN_OPTIONs.
  28. public System.IntPtr pOptions;
  29. }
  30. }