using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("88BD3A87-D90D-11D3-9378-00C04FA04C92")] public interface IEnumHostedAutomationObjectCheckpoint { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Next([In] int NumberElements, [MarshalAs(UnmanagedType.Interface)] out IAutomationObjectCheckpoint ppAutomationObjectCheckpoint, out int NumberElementsInArray); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Clone([In][MarshalAs(UnmanagedType.Interface)] ref IEnumHostedAutomationObjectCheckpoint ppEnumHostedAutomationObjectCheckpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Skip([In] int ItemsToSkip); }