IEnumSTATSTG.cs 868 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Runtime.InteropServices;
  5. namespace Biff8Excel.COM
  6. {
  7. [ComImport, Guid("0000000d-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  8. public interface IEnumStatStg
  9. {
  10. [PreserveSig]
  11. int Next(int celt, [MarshalAs(UnmanagedType.LPArray), Out] STATSTG[] rgelt, out int pceltFetched);
  12. void Skip(int celt);
  13. void Reset();
  14. [return: MarshalAs(UnmanagedType.Interface)]
  15. IEnumStatStg Clone();
  16. }
  17. [FlagsAttribute]
  18. public enum StorageMode
  19. {
  20. Read = 0x0,
  21. Write = 0x1,
  22. ReadWrite = 0x2,
  23. ShareDenyNone = 0x40,
  24. ShareDenyRead = 0x30,
  25. ShareDenyWrite = 0x20,
  26. ShareExclusive = 0x10,
  27. Priority = 0x40000,
  28. Create = 0x1000,
  29. }
  30. }