|
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: IEnumConnections
**
**
** Purpose: IEnumConnections interface definition.
**
**
=============================================================================*/
namespace System.Runtime.InteropServices.ComTypes
{
using System;
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
public struct CONNECTDATA
{
[MarshalAs(UnmanagedType.Interface)]
public Object pUnk;
public int dwCookie;
}
[Guid("B196B287-BAB4-101A-B69C-00AA00341D07")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport]
public interface IEnumConnections
{
[PreserveSig]
int Next(int celt, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0), Out] CONNECTDATA[] rgelt, IntPtr pceltFetched);
[PreserveSig]
int Skip(int celt);
void Reset();
void Clone(out IEnumConnections ppenum);
}
}
|