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.

53 lines
1.6 KiB

  1. #if NETFX
  2. using System;
  3. using System.Runtime.CompilerServices;
  4. using System.Runtime.InteropServices;
  5. namespace IWshRuntimeLibrary
  6. {
  7. // Token: 0x02000008 RID: 8
  8. [Guid("08FED190-BE19-11D3-A28B-00104BD35090")]
  9. [TypeLibType(4160)]
  10. [ComImport]
  11. internal interface IWshExec
  12. {
  13. // Token: 0x1700000F RID: 15
  14. // (get) Token: 0x0600003C RID: 60
  15. [ComAliasName("IWshRuntimeLibrary.WshExecStatus")]
  16. [DispId(1)]
  17. WshExecStatus Status { [DispId(1)] [MethodImpl(MethodImplOptions.InternalCall)] [return: ComAliasName("IWshRuntimeLibrary.WshExecStatus")] get; }
  18. // Token: 0x17000010 RID: 16
  19. // (get) Token: 0x0600003D RID: 61
  20. [DispId(3)]
  21. TextStream StdIn { [DispId(3)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }
  22. // Token: 0x17000011 RID: 17
  23. // (get) Token: 0x0600003E RID: 62
  24. [DispId(4)]
  25. TextStream StdOut { [DispId(4)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }
  26. // Token: 0x17000012 RID: 18
  27. // (get) Token: 0x0600003F RID: 63
  28. [DispId(5)]
  29. TextStream StdErr { [DispId(5)] [MethodImpl(MethodImplOptions.InternalCall)] [return: MarshalAs(UnmanagedType.Interface)] get; }
  30. // Token: 0x17000013 RID: 19
  31. // (get) Token: 0x06000040 RID: 64
  32. [DispId(6)]
  33. int ProcessID { [DispId(6)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
  34. // Token: 0x17000014 RID: 20
  35. // (get) Token: 0x06000041 RID: 65
  36. [DispId(7)]
  37. int ExitCode { [DispId(7)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
  38. // Token: 0x06000042 RID: 66
  39. [DispId(8)]
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. void Terminate();
  42. }
  43. }
  44. #endif