diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/UCOMIConnectionPoint.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/InteropServices/UCOMIConnectionPoint.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/UCOMIConnectionPoint.cs b/src/mscorlib/src/System/Runtime/InteropServices/UCOMIConnectionPoint.cs new file mode 100644 index 0000000000..b12e1f7a8c --- /dev/null +++ b/src/mscorlib/src/System/Runtime/InteropServices/UCOMIConnectionPoint.cs @@ -0,0 +1,30 @@ +// 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. + +/*============================================================================= +** +** +** +** Purpose: UCOMIConnectionPoint interface definition. +** +** +=============================================================================*/ + +namespace System.Runtime.InteropServices +{ + using System; + + [Obsolete("Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. http://go.microsoft.com/fwlink/?linkid=14202", false)] + [Guid("B196B286-BAB4-101A-B69C-00AA00341D07")] + [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] + [ComImport] + public interface UCOMIConnectionPoint + { + void GetConnectionInterface(out Guid pIID); + void GetConnectionPointContainer(out UCOMIConnectionPointContainer ppCPC); + void Advise([MarshalAs(UnmanagedType.Interface)] Object pUnkSink, out int pdwCookie); + void Unadvise(int dwCookie); + void EnumConnections(out UCOMIEnumConnections ppEnum); + } +} |