41 lines
1.9 KiB
C#
41 lines
1.9 KiB
C#
using System;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>Use <see cref="T:System.Runtime.InteropServices.ComTypes.IEnumVARIANT" /> instead.</summary>
|
|
// Token: 0x02000358 RID: 856
|
|
[Guid("00020404-0000-0000-c000-000000000046")]
|
|
[Obsolete]
|
|
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
[ComImport]
|
|
public interface UCOMIEnumVARIANT
|
|
{
|
|
/// <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 elements to return in <paramref name="rgelt" />. </param>
|
|
/// <param name="rgvar">On successful return, a reference to the enumerated elements. </param>
|
|
/// <param name="pceltFetched">On successful return, a reference to the actual number of elements enumerated in <paramref name="rgelt" />. </param>
|
|
// Token: 0x06002359 RID: 9049
|
|
[PreserveSig]
|
|
int Next(int celt, int rgvar, 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 <paramref name="celt" /> parameter; otherwise, S_FALSE.</returns>
|
|
/// <param name="celt">The number of elements to skip in the enumeration. </param>
|
|
// Token: 0x0600235A RID: 9050
|
|
[PreserveSig]
|
|
int Skip(int celt);
|
|
|
|
/// <summary>Resets the enumeration sequence to the beginning.</summary>
|
|
/// <returns>An HRESULT with the value S_OK.</returns>
|
|
// Token: 0x0600235B RID: 9051
|
|
[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: 0x0600235C RID: 9052
|
|
void Clone(int ppenum);
|
|
}
|
|
}
|