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.
85 lines
2.2 KiB
85 lines
2.2 KiB
#if NETFX
|
|
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace IWshRuntimeLibrary
|
|
{
|
|
// Token: 0x02000002 RID: 2
|
|
[TypeLibType(4304)]
|
|
[Guid("53BAD8C1-E718-11CF-893D-00A0C9054228")]
|
|
[ComImport]
|
|
internal interface ITextStream
|
|
{
|
|
// Token: 0x17000001 RID: 1
|
|
// (get) Token: 0x06000001 RID: 1
|
|
[DispId(10000)]
|
|
int Line { [DispId(10000)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000002 RID: 2
|
|
// (get) Token: 0x06000002 RID: 2
|
|
[DispId(-529)]
|
|
int Column { [DispId(-529)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000003 RID: 3
|
|
// (get) Token: 0x06000003 RID: 3
|
|
[DispId(10002)]
|
|
bool AtEndOfStream { [DispId(10002)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x17000004 RID: 4
|
|
// (get) Token: 0x06000004 RID: 4
|
|
[DispId(10003)]
|
|
bool AtEndOfLine { [DispId(10003)] [MethodImpl(MethodImplOptions.InternalCall)] get; }
|
|
|
|
// Token: 0x06000005 RID: 5
|
|
[DispId(10004)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.BStr)]
|
|
string Read([In] int Characters);
|
|
|
|
// Token: 0x06000006 RID: 6
|
|
[DispId(10005)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.BStr)]
|
|
string ReadLine();
|
|
|
|
// Token: 0x06000007 RID: 7
|
|
[DispId(10006)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
[return: MarshalAs(UnmanagedType.BStr)]
|
|
string ReadAll();
|
|
|
|
// Token: 0x06000008 RID: 8
|
|
[DispId(10007)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Write([MarshalAs(UnmanagedType.BStr)] [In] string Text);
|
|
|
|
// Token: 0x06000009 RID: 9
|
|
[DispId(10008)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void WriteLine([MarshalAs(UnmanagedType.BStr)] [In] string Text = "");
|
|
|
|
// Token: 0x0600000A RID: 10
|
|
[DispId(10009)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void WriteBlankLines([In] int Lines);
|
|
|
|
// Token: 0x0600000B RID: 11
|
|
[DispId(10010)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Skip([In] int Characters);
|
|
|
|
// Token: 0x0600000C RID: 12
|
|
[DispId(10011)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void SkipLine();
|
|
|
|
// Token: 0x0600000D RID: 13
|
|
[DispId(10012)]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
void Close();
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|