40 lines
2.3 KiB
C#
40 lines
2.3 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Use <see cref="T:System.Runtime.InteropServices.ComTypes.IConnectionPoint" /> instead.</summary>
|
|
// Token: 0x02000352 RID: 850
|
|
[Guid("b196b286-bab4-101a-b69c-00aa00341d07")]
|
|
[Obsolete]
|
|
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
[ComImport]
|
|
public interface UCOMIConnectionPoint
|
|
{
|
|
/// <summary>Returns the IID of the outgoing interface managed by this connection point.</summary>
|
|
/// <param name="pIID">On successful return, contains the IID of the outgoing interface managed by this connection point. </param>
|
|
// Token: 0x06002342 RID: 9026
|
|
void GetConnectionInterface(out Guid pIID);
|
|
|
|
/// <summary>Retrieves the IConnectionPointContainer interface pointer to the connectable object that conceptually owns this connection point.</summary>
|
|
/// <param name="ppCPC">On successful return, contains the connectable object's IConnectionPointContainer interface. </param>
|
|
// Token: 0x06002343 RID: 9027
|
|
void GetConnectionPointContainer(out UCOMIConnectionPointContainer ppCPC);
|
|
|
|
/// <summary>Establishes an advisory connection between the connection point and the caller's sink object.</summary>
|
|
/// <param name="pUnkSink">Reference to the sink to receive calls for the outgoing interface managed by this connection point. </param>
|
|
/// <param name="pdwCookie">On successful return, contains the connection cookie. </param>
|
|
// Token: 0x06002344 RID: 9028
|
|
void Advise([MarshalAs(UnmanagedType.Interface)] object pUnkSink, out int pdwCookie);
|
|
|
|
/// <summary>Terminates an advisory connection previously established through <see cref="M:System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(System.Object,System.Int32@)" />.</summary>
|
|
/// <param name="dwCookie">The connection cookie previously returned from <see cref="M:System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(System.Object,System.Int32@)" />. </param>
|
|
// Token: 0x06002345 RID: 9029
|
|
void Unadvise(int dwCookie);
|
|
|
|
/// <summary>Creates an enumerator object for iteration through the connections that exist to this connection point.</summary>
|
|
/// <param name="ppEnum">On successful return, contains the newly created enumerator. </param>
|
|
// Token: 0x06002346 RID: 9030
|
|
void EnumConnections(out UCOMIEnumConnections ppEnum);
|
|
}
|
|
}
|