diff options
Diffstat (limited to 'Decompiler/IWshRuntimeLibrary')
| -rw-r--r-- | Decompiler/IWshRuntimeLibrary/IWshShell.cs | 12 | ||||
| -rw-r--r-- | Decompiler/IWshRuntimeLibrary/IWshShell2.cs | 12 | ||||
| -rw-r--r-- | Decompiler/IWshRuntimeLibrary/IWshShell3.cs | 18 | ||||
| -rw-r--r-- | Decompiler/IWshRuntimeLibrary/IWshShortcut.cs | 102 | ||||
| -rw-r--r-- | Decompiler/IWshRuntimeLibrary/WshShell.cs | 13 |
5 files changed, 157 insertions, 0 deletions
diff --git a/Decompiler/IWshRuntimeLibrary/IWshShell.cs b/Decompiler/IWshRuntimeLibrary/IWshShell.cs new file mode 100644 index 0000000..b3475be --- /dev/null +++ b/Decompiler/IWshRuntimeLibrary/IWshShell.cs @@ -0,0 +1,12 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace IWshRuntimeLibrary; + +[ComImport] +[CompilerGenerated] +[Guid("F935DC21-1CF0-11D0-ADB9-00C04FD58A0B")] +[TypeIdentifier] +public interface IWshShell +{ +} diff --git a/Decompiler/IWshRuntimeLibrary/IWshShell2.cs b/Decompiler/IWshRuntimeLibrary/IWshShell2.cs new file mode 100644 index 0000000..53975b4 --- /dev/null +++ b/Decompiler/IWshRuntimeLibrary/IWshShell2.cs @@ -0,0 +1,12 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace IWshRuntimeLibrary; + +[ComImport] +[CompilerGenerated] +[Guid("24BE5A30-EDFE-11D2-B933-00104B365C9F")] +[TypeIdentifier] +public interface IWshShell2 : IWshShell +{ +} diff --git a/Decompiler/IWshRuntimeLibrary/IWshShell3.cs b/Decompiler/IWshRuntimeLibrary/IWshShell3.cs new file mode 100644 index 0000000..5ead586 --- /dev/null +++ b/Decompiler/IWshRuntimeLibrary/IWshShell3.cs @@ -0,0 +1,18 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace IWshRuntimeLibrary; + +[ComImport] +[CompilerGenerated] +[Guid("41904400-BE18-11D3-A28B-00104BD35090")] +[TypeIdentifier] +public interface IWshShell3 : IWshShell2 +{ + void _VtblGap1_4(); + + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1002)] + [return: MarshalAs(UnmanagedType.IDispatch)] + object CreateShortcut([In][MarshalAs(UnmanagedType.BStr)] string PathLink); +} diff --git a/Decompiler/IWshRuntimeLibrary/IWshShortcut.cs b/Decompiler/IWshRuntimeLibrary/IWshShortcut.cs new file mode 100644 index 0000000..65516b5 --- /dev/null +++ b/Decompiler/IWshRuntimeLibrary/IWshShortcut.cs @@ -0,0 +1,102 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace IWshRuntimeLibrary; + +[ComImport] +[CompilerGenerated] +[DefaultMember("FullName")] +[Guid("F935DC23-1CF0-11D0-ADB9-00C04FD58A0B")] +[TypeIdentifier] +public interface IWshShortcut +{ + [DispId(0)] + string FullName + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(0)] + [return: MarshalAs(UnmanagedType.BStr)] + get; + } + + void _VtblGap1_2(); + + [DispId(1001)] + string Description + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1001)] + [return: MarshalAs(UnmanagedType.BStr)] + get; + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1001)] + [param: In] + [param: MarshalAs(UnmanagedType.BStr)] + set; + } + + void _VtblGap2_2(); + + [DispId(1003)] + string IconLocation + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1003)] + [return: MarshalAs(UnmanagedType.BStr)] + get; + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1003)] + [param: In] + [param: MarshalAs(UnmanagedType.BStr)] + set; + } + + void _VtblGap3_1(); + + [DispId(1005)] + string TargetPath + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1005)] + [return: MarshalAs(UnmanagedType.BStr)] + get; + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1005)] + [param: In] + [param: MarshalAs(UnmanagedType.BStr)] + set; + } + + [DispId(1006)] + int WindowStyle + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1006)] + get; + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1006)] + [param: In] + set; + } + + [DispId(1007)] + string WorkingDirectory + { + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1007)] + [return: MarshalAs(UnmanagedType.BStr)] + get; + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(1007)] + [param: In] + [param: MarshalAs(UnmanagedType.BStr)] + set; + } + + void _VtblGap4_1(); + + [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] + [DispId(2001)] + void Save(); +} diff --git a/Decompiler/IWshRuntimeLibrary/WshShell.cs b/Decompiler/IWshRuntimeLibrary/WshShell.cs new file mode 100644 index 0000000..ebb0a18 --- /dev/null +++ b/Decompiler/IWshRuntimeLibrary/WshShell.cs @@ -0,0 +1,13 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace IWshRuntimeLibrary; + +[ComImport] +[CompilerGenerated] +[Guid("41904400-BE18-11D3-A28B-00104BD35090")] +[CoClass(typeof(object))] +[TypeIdentifier] +public interface WshShell : IWshShell3 +{ +} |