The Labs \ Source Viewer \ SSCLI \ System.Runtime.InteropServices \ _ConstructorBuilder

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. using System;
  16. using System.Globalization;
  17. using System.IO;
  18. using System.Reflection;
  19. using System.Runtime.InteropServices;
  20. using System.Runtime.Serialization;
  21. using System.Security.Permissions;
  22. using System.Security.Policy;
  23. namespace System.Runtime.InteropServices
  24. {
  25.     [GuidAttribute("BEBB2505-8B54-3443-AEAD-142A16DD9CC7")]
  26.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  27.     [CLSCompliant(false)]
  28.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.AssemblyBuilder))]
  29.     [System.Runtime.InteropServices.ComVisible(true)]
  30.     public interface _AssemblyBuilder
  31.     {
  32.         void GetTypeInfoCount(out uint pcTInfo);
  33.        
  34.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  35.        
  36.         void GetIDsOfNames(        [In()]
  37. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  38.        
  39.         void Invoke(uint dispIdMember,         [In()]
  40. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  41.     }
  42.    
  43.     [GuidAttribute("ED3E4384-D7E2-3FA7-8FFD-8940D330519A")]
  44.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  45.     [CLSCompliant(false)]
  46.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.ConstructorBuilder))]
  47.     [System.Runtime.InteropServices.ComVisible(true)]
  48.     public interface _ConstructorBuilder
  49.     {
  50.         void GetTypeInfoCount(out uint pcTInfo);
  51.        
  52.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  53.        
  54.         void GetIDsOfNames(        [In()]
  55. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  56.        
  57.         void Invoke(uint dispIdMember,         [In()]
  58. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  59.     }
  60.    
  61.     [GuidAttribute("BE9ACCE8-AAFF-3B91-81AE-8211663F5CAD")]
  62.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  63.     [CLSCompliant(false)]
  64.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.CustomAttributeBuilder))]
  65.     [System.Runtime.InteropServices.ComVisible(true)]
  66.     public interface _CustomAttributeBuilder
  67.     {
  68.         void GetTypeInfoCount(out uint pcTInfo);
  69.        
  70.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  71.        
  72.         void GetIDsOfNames(        [In()]
  73. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  74.        
  75.         void Invoke(uint dispIdMember,         [In()]
  76. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  77.     }
  78.    
  79.     [GuidAttribute("C7BD73DE-9F85-3290-88EE-090B8BDFE2DF")]
  80.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  81.     [CLSCompliant(false)]
  82.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.EnumBuilder))]
  83.     [System.Runtime.InteropServices.ComVisible(true)]
  84.     public interface _EnumBuilder
  85.     {
  86.         void GetTypeInfoCount(out uint pcTInfo);
  87.        
  88.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  89.        
  90.         void GetIDsOfNames(        [In()]
  91. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  92.        
  93.         void Invoke(uint dispIdMember,         [In()]
  94. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  95.     }
  96.    
  97.     [GuidAttribute("AADABA99-895D-3D65-9760-B1F12621FAE8")]
  98.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  99.     [CLSCompliant(false)]
  100.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.EventBuilder))]
  101.     [System.Runtime.InteropServices.ComVisible(true)]
  102.     public interface _EventBuilder
  103.     {
  104.         void GetTypeInfoCount(out uint pcTInfo);
  105.        
  106.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  107.        
  108.         void GetIDsOfNames(        [In()]
  109. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  110.        
  111.         void Invoke(uint dispIdMember,         [In()]
  112. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  113.     }
  114.    
  115.     [GuidAttribute("CE1A3BF5-975E-30CC-97C9-1EF70F8F3993")]
  116.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  117.     [CLSCompliant(false)]
  118.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.FieldBuilder))]
  119.     [System.Runtime.InteropServices.ComVisible(true)]
  120.     public interface _FieldBuilder
  121.     {
  122.         void GetTypeInfoCount(out uint pcTInfo);
  123.        
  124.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  125.        
  126.         void GetIDsOfNames(        [In()]
  127. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  128.        
  129.         void Invoke(uint dispIdMember,         [In()]
  130. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  131.     }
  132.    
  133.     [GuidAttribute("A4924B27-6E3B-37F7-9B83-A4501955E6A7")]
  134.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  135.     [CLSCompliant(false)]
  136.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.ILGenerator))]
  137.     [System.Runtime.InteropServices.ComVisible(true)]
  138.     public interface _ILGenerator
  139.     {
  140.         void GetTypeInfoCount(out uint pcTInfo);
  141.        
  142.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  143.        
  144.         void GetIDsOfNames(        [In()]
  145. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  146.        
  147.         void Invoke(uint dispIdMember,         [In()]
  148. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  149.     }
  150.    
  151.     [GuidAttribute("4E6350D1-A08B-3DEC-9A3E-C465F9AEEC0C")]
  152.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  153.     [CLSCompliant(false)]
  154.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.LocalBuilder))]
  155.     [System.Runtime.InteropServices.ComVisible(true)]
  156.     public interface _LocalBuilder
  157.     {
  158.         void GetTypeInfoCount(out uint pcTInfo);
  159.        
  160.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  161.        
  162.         void GetIDsOfNames(        [In()]
  163. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  164.        
  165.         void Invoke(uint dispIdMember,         [In()]
  166. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  167.     }
  168.    
  169.     [GuidAttribute("007D8A14-FDF3-363E-9A0B-FEC0618260A2")]
  170.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  171.     [CLSCompliant(false)]
  172.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.MethodBuilder))]
  173.     [System.Runtime.InteropServices.ComVisible(true)]
  174.     public interface _MethodBuilder
  175.     {
  176.         void GetTypeInfoCount(out uint pcTInfo);
  177.        
  178.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  179.        
  180.         void GetIDsOfNames(        [In()]
  181. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  182.        
  183.         void Invoke(uint dispIdMember,         [In()]
  184. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  185.     }
  186.    
  187.     [GuidAttribute("C2323C25-F57F-3880-8A4D-12EBEA7A5852")]
  188.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  189.     [CLSCompliant(false)]
  190.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.MethodRental))]
  191.     [System.Runtime.InteropServices.ComVisible(true)]
  192.     public interface _MethodRental
  193.     {
  194.         void GetTypeInfoCount(out uint pcTInfo);
  195.        
  196.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  197.        
  198.         void GetIDsOfNames(        [In()]
  199. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  200.        
  201.         void Invoke(uint dispIdMember,         [In()]
  202. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  203.     }
  204.    
  205.     [GuidAttribute("D05FFA9A-04AF-3519-8EE1-8D93AD73430B")]
  206.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  207.     [CLSCompliant(false)]
  208.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.ModuleBuilder))]
  209.     [System.Runtime.InteropServices.ComVisible(true)]
  210.     public interface _ModuleBuilder
  211.     {
  212.         void GetTypeInfoCount(out uint pcTInfo);
  213.        
  214.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  215.        
  216.         void GetIDsOfNames(        [In()]
  217. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  218.        
  219.         void Invoke(uint dispIdMember,         [In()]
  220. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  221.     }
  222.    
  223.     [GuidAttribute("36329EBA-F97A-3565-BC07-0ED5C6EF19FC")]
  224.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  225.     [CLSCompliant(false)]
  226.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.ParameterBuilder))]
  227.     [System.Runtime.InteropServices.ComVisible(true)]
  228.     public interface _ParameterBuilder
  229.     {
  230.         void GetTypeInfoCount(out uint pcTInfo);
  231.        
  232.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  233.        
  234.         void GetIDsOfNames(        [In()]
  235. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  236.        
  237.         void Invoke(uint dispIdMember,         [In()]
  238. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  239.     }
  240.    
  241.     [GuidAttribute("15F9A479-9397-3A63-ACBD-F51977FB0F02")]
  242.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  243.     [CLSCompliant(false)]
  244.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.PropertyBuilder))]
  245.     [System.Runtime.InteropServices.ComVisible(true)]
  246.     public interface _PropertyBuilder
  247.     {
  248.         void GetTypeInfoCount(out uint pcTInfo);
  249.        
  250.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  251.        
  252.         void GetIDsOfNames(        [In()]
  253. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  254.        
  255.         void Invoke(uint dispIdMember,         [In()]
  256. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  257.     }
  258.    
  259.     [GuidAttribute("7D13DD37-5A04-393C-BBCA-A5FEA802893D")]
  260.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  261.     [CLSCompliant(false)]
  262.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.SignatureHelper))]
  263.     [System.Runtime.InteropServices.ComVisible(true)]
  264.     public interface _SignatureHelper
  265.     {
  266.         void GetTypeInfoCount(out uint pcTInfo);
  267.        
  268.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  269.        
  270.         void GetIDsOfNames(        [In()]
  271. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  272.        
  273.         void Invoke(uint dispIdMember,         [In()]
  274. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  275.     }
  276.    
  277.     [GuidAttribute("7E5678EE-48B3-3F83-B076-C58543498A58")]
  278.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  279.     [CLSCompliant(false)]
  280.     [TypeLibImportClassAttribute(typeof(System.Reflection.Emit.TypeBuilder))]
  281.     [System.Runtime.InteropServices.ComVisible(true)]
  282.     public interface _TypeBuilder
  283.     {
  284.         void GetTypeInfoCount(out uint pcTInfo);
  285.        
  286.         void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
  287.        
  288.         void GetIDsOfNames(        [In()]
  289. ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  290.        
  291.         void Invoke(uint dispIdMember,         [In()]
  292. ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  293.     }
  294.    
  295. }

Developer Fusion