You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. #if NETFX
  2. using System;
  3. using System.Collections;
  4. using System.Reflection;
  5. using System.Runtime.CompilerServices;
  6. using System.Runtime.InteropServices;
  7. using System.Runtime.InteropServices.CustomMarshalers;
  8. namespace IWshRuntimeLibrary
  9. {
  10. // Token: 0x02000004 RID: 4
  11. [Guid("F935DC27-1CF0-11D0-ADB9-00C04FD58A0B")]
  12. [DefaultMember("Item")]
  13. [TypeLibType(4160)]
  14. [ComImport]
  15. internal interface IWshCollection : IEnumerable
  16. {
  17. // Token: 0x06000017 RID: 23
  18. [DispId(0)]
  19. [MethodImpl(MethodImplOptions.InternalCall)]
  20. [return: MarshalAs(UnmanagedType.Struct)]
  21. object Item([MarshalAs(UnmanagedType.Struct)] [In] ref object Index);
  22. // Token: 0x06000018 RID: 24
  23. [DispId(1)]
  24. [MethodImpl(MethodImplOptions.InternalCall)]
  25. int Count();
  26. // Token: 0x17000007 RID: 7
  27. // (get) Token: 0x06000019 RID: 25
  28. [DispId(2)]
  29. int length { [DispId(2)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
  30. // Token: 0x0600001A RID: 26
  31. [DispId(-4)]
  32. [MethodImpl(MethodImplOptions.InternalCall)]
  33. [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(EnumeratorToEnumVariantMarshaler))]
  34. IEnumerator GetEnumerator();
  35. }
  36. }
  37. #endif