PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms 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 
 6 The struct INTERNET_PER_CONN_OPTION contains a list of options that to be 
 7 set to internet connection.
 8 Visit http://msdn.microsoft.com/en-us/library/aa385146(VS.85).aspx to get the 
 9 detailed description.
10 
11 This source is subject to the Microsoft Public License.
12 See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
13 All other rights reserved.
14 
15 THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
16 EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
17 WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
18\***************************************************************************/
19
20using System.Runtime.InteropServices;
21
22namespace CSWebBrowserWithProxy
23{
24    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
25    public struct INTERNET_PER_CONN_OPTION_LIST
26    {
27        public int Size;
28
29        // The connection to be set. NULL means LAN.
30        public System.IntPtr Connection;
31        
32        public int OptionCount;
33        public int OptionError;
34
35        // List of INTERNET_PER_CONN_OPTIONs.
36        public System.IntPtr pOptions;
37    }
38}