diff options
Diffstat (limited to 'src/mscorlib/src/System/cominterfaces.cs')
-rw-r--r-- | src/mscorlib/src/System/cominterfaces.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/cominterfaces.cs b/src/mscorlib/src/System/cominterfaces.cs new file mode 100644 index 0000000000..7d3620a22d --- /dev/null +++ b/src/mscorlib/src/System/cominterfaces.cs @@ -0,0 +1,68 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + + +using System; +using System.Globalization; +using System.IO; +using System.Reflection; +using System.Runtime.InteropServices; +using System.Runtime.Serialization; +using System.Security.Permissions; +using System.Security.Policy; + +namespace System.Runtime.InteropServices +{ + [GuidAttribute("03973551-57A1-3900-A2B5-9083E3FF2943")] + [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] + [CLSCompliant(false)] + [TypeLibImportClassAttribute(typeof(System.Activator))] +[System.Runtime.InteropServices.ComVisible(true)] + public interface _Activator + { + void GetTypeInfoCount(out uint pcTInfo); + + void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo); + + void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); + + void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); + } + + [GuidAttribute("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")] + [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] + [CLSCompliant(false)] + [TypeLibImportClassAttribute(typeof(System.Attribute))] +[System.Runtime.InteropServices.ComVisible(true)] + public interface _Attribute + { +#if !FEATURE_CORECLR + void GetTypeInfoCount(out uint pcTInfo); + + void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo); + + void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); + + void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); +#endif + } + + [GuidAttribute("C281C7F1-4AA9-3517-961A-463CFED57E75")] + [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] + [CLSCompliant(false)] + [TypeLibImportClassAttribute(typeof(System.Threading.Thread))] +[System.Runtime.InteropServices.ComVisible(true)] + public interface _Thread + { +#if !FEATURE_CORECLR + void GetTypeInfoCount(out uint pcTInfo); + + void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo); + + void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); + + void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); +#endif + } +} |