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

  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("03973551-57A1-3900-A2B5-9083E3FF2943")]
  26.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  27.     [CLSCompliant(false)]
  28.     [TypeLibImportClassAttribute(typeof(System.Activator))]
  29.     [System.Runtime.InteropServices.ComVisible(true)]
  30.     public interface _Activator
  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("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
  44.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  45.     [CLSCompliant(false)]
  46.     [TypeLibImportClassAttribute(typeof(System.Attribute))]
  47.     [System.Runtime.InteropServices.ComVisible(true)]
  48.     public interface _Attribute
  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("C281C7F1-4AA9-3517-961A-463CFED57E75")]
  62.     [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
  63.     [CLSCompliant(false)]
  64.     [TypeLibImportClassAttribute(typeof(System.Threading.Thread))]
  65.     [System.Runtime.InteropServices.ComVisible(true)]
  66.     public interface _Thread
  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. }

Developer Fusion