Files
Dec2017-Script-Dump/mscorlib/System/Runtime/InteropServices/UCOMIEnumConnectionPoints.cs
T
2026-06-04 11:42:34 +02:00

41 lines
2.0 KiB
C#

using System;
namespace System.Runtime.InteropServices
{
/// <summary>Use <see cref="T:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints" /> instead. </summary>
// Token: 0x02000354 RID: 852
[Obsolete]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("b196b285-bab4-101a-b69c-00aa00341d07")]
[ComImport]
public interface UCOMIEnumConnectionPoints
{
/// <summary>Retrieves a specified number of items in the enumeration sequence.</summary>
/// <returns>S_OK if the <paramref name="pceltFetched" /> parameter equals the <paramref name="celt" /> parameter; otherwise, S_FALSE.</returns>
/// <param name="celt">The number of IConnectionPoint references to return in <paramref name="rgelt" />. </param>
/// <param name="rgelt">On successful return, a reference to the enumerated connections. </param>
/// <param name="pceltFetched">On successful return, a reference to the actual number of connections enumerated in <paramref name="rgelt" />. </param>
// Token: 0x06002349 RID: 9033
[PreserveSig]
int Next(int celt, [MarshalAs(UnmanagedType.LPArray, SizeConst = 0, SizeParamIndex = 0)] [Out] UCOMIConnectionPoint[] rgelt, out int pceltFetched);
/// <summary>Skips over a specified number of items in the enumeration sequence.</summary>
/// <returns>S_OK if the number of elements skipped equals the <paramref name="celt" /> parameter; otherwise, S_FALSE.</returns>
/// <param name="celt">The number of elements to skip in the enumeration. </param>
// Token: 0x0600234A RID: 9034
[PreserveSig]
int Skip(int celt);
/// <summary>Resets the enumeration sequence to the beginning.</summary>
/// <returns>An HRESULT with the value S_OK.</returns>
// Token: 0x0600234B RID: 9035
[PreserveSig]
int Reset();
/// <summary>Creates another enumerator that contains the same enumeration state as the current one.</summary>
/// <param name="ppenum">On successful return, a reference to the newly created enumerator. </param>
// Token: 0x0600234C RID: 9036
void Clone(out UCOMIEnumConnectionPoints ppenum);
}
}