IEnumFORMATETC.cs 790 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace LYFZ.OtherExpansion.SkinControl
  4. {
  5. [ComVisible(true), Guid("00000103-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  6. [ComImport]
  7. public interface IEnumFORMATETC
  8. {
  9. [PreserveSig]
  10. [return: MarshalAs(UnmanagedType.I4)]
  11. int Next([MarshalAs(UnmanagedType.U4)] [In] int celt, [Out] FORMATETC rgelt, [MarshalAs(UnmanagedType.LPArray)] [In] [Out] int[] pceltFetched);
  12. [PreserveSig]
  13. [return: MarshalAs(UnmanagedType.I4)]
  14. int Skip([MarshalAs(UnmanagedType.U4)] [In] int celt);
  15. [PreserveSig]
  16. [return: MarshalAs(UnmanagedType.I4)]
  17. int Reset();
  18. [PreserveSig]
  19. [return: MarshalAs(UnmanagedType.I4)]
  20. int Clone([MarshalAs(UnmanagedType.LPArray)] [Out] IEnumFORMATETC[] ppenum);
  21. }
  22. }