summaryrefslogtreecommitdiff
path: root/Decompiler/mshtml
diff options
context:
space:
mode:
Diffstat (limited to 'Decompiler/mshtml')
-rw-r--r--Decompiler/mshtml/DispHTMLDocument.cs85
-rw-r--r--Decompiler/mshtml/HTMLDocument.cs13
-rw-r--r--Decompiler/mshtml/HTMLDocumentEvents.cs13
-rw-r--r--Decompiler/mshtml/HTMLDocumentEvents_Event.cs12
-rw-r--r--Decompiler/mshtml/IHTMLElement.cs41
-rw-r--r--Decompiler/mshtml/IHTMLSelectionObject.cs16
-rw-r--r--Decompiler/mshtml/IHTMLTxtRange.cs26
7 files changed, 206 insertions, 0 deletions
diff --git a/Decompiler/mshtml/DispHTMLDocument.cs b/Decompiler/mshtml/DispHTMLDocument.cs
new file mode 100644
index 0000000..c839c26
--- /dev/null
+++ b/Decompiler/mshtml/DispHTMLDocument.cs
@@ -0,0 +1,85 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[InterfaceType(2)]
+[Guid("3050F55F-98B5-11CF-BB82-00AA00BDCE0B")]
+[TypeIdentifier]
+public interface DispHTMLDocument
+{
+ void _VtblGap1_2();
+
+ [DispId(1004)]
+ IHTMLElement body
+ {
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1004)]
+ [return: MarshalAs(UnmanagedType.Interface)]
+ get;
+ }
+
+ void _VtblGap2_9();
+
+ [DispId(1014)]
+ string designMode
+ {
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1014)]
+ [return: MarshalAs(UnmanagedType.BStr)]
+ get;
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1014)]
+ [param: MarshalAs(UnmanagedType.BStr)]
+ set;
+ }
+
+ [DispId(1017)]
+ IHTMLSelectionObject selection
+ {
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1017)]
+ [return: MarshalAs(UnmanagedType.Interface)]
+ get;
+ }
+
+ void _VtblGap3_25();
+
+ [DispId(1032)]
+ string charset
+ {
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1032)]
+ [return: MarshalAs(UnmanagedType.BStr)]
+ get;
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1032)]
+ [param: MarshalAs(UnmanagedType.BStr)]
+ set;
+ }
+
+ void _VtblGap4_14();
+
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1058)]
+ void clear();
+
+ void _VtblGap5_6();
+
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1065)]
+ bool execCommand([In][MarshalAs(UnmanagedType.BStr)] string cmdID, [In] bool showUI = false, [Optional][In][MarshalAs(UnmanagedType.Struct)] object value);
+
+ void _VtblGap6_48();
+
+ [DispId(1075)]
+ IHTMLElement documentElement
+ {
+ [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1075)]
+ [return: MarshalAs(UnmanagedType.Interface)]
+ get;
+ }
+}
diff --git a/Decompiler/mshtml/HTMLDocument.cs b/Decompiler/mshtml/HTMLDocument.cs
new file mode 100644
index 0000000..acd8fe8
--- /dev/null
+++ b/Decompiler/mshtml/HTMLDocument.cs
@@ -0,0 +1,13 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[Guid("3050F55F-98B5-11CF-BB82-00AA00BDCE0B")]
+[CoClass(typeof(object))]
+[TypeIdentifier]
+public interface HTMLDocument : DispHTMLDocument, HTMLDocumentEvents_Event
+{
+}
diff --git a/Decompiler/mshtml/HTMLDocumentEvents.cs b/Decompiler/mshtml/HTMLDocumentEvents.cs
new file mode 100644
index 0000000..5118a08
--- /dev/null
+++ b/Decompiler/mshtml/HTMLDocumentEvents.cs
@@ -0,0 +1,13 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[InterfaceType(2)]
+[Guid("3050F260-98B5-11CF-BB82-00AA00BDCE0B")]
+[TypeIdentifier]
+public interface HTMLDocumentEvents
+{
+}
diff --git a/Decompiler/mshtml/HTMLDocumentEvents_Event.cs b/Decompiler/mshtml/HTMLDocumentEvents_Event.cs
new file mode 100644
index 0000000..64315c3
--- /dev/null
+++ b/Decompiler/mshtml/HTMLDocumentEvents_Event.cs
@@ -0,0 +1,12 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[ComEventInterface(typeof(HTMLDocumentEvents), typeof(HTMLDocumentEvents))]
+[TypeIdentifier("3050f1c5-98b5-11cf-bb82-00aa00bdce0b", "mshtml.HTMLDocumentEvents_Event")]
+public interface HTMLDocumentEvents_Event
+{
+}
diff --git a/Decompiler/mshtml/IHTMLElement.cs b/Decompiler/mshtml/IHTMLElement.cs
new file mode 100644
index 0000000..1cfbc05
--- /dev/null
+++ b/Decompiler/mshtml/IHTMLElement.cs
@@ -0,0 +1,41 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[Guid("3050F1FF-98B5-11CF-BB82-00AA00BDCE0B")]
+[TypeIdentifier]
+public interface IHTMLElement
+{
+ void _VtblGap1_50();
+
+ [DispId(-2147417086)]
+ string innerHTML
+ {
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(-2147417086)]
+ [return: MarshalAs(UnmanagedType.BStr)]
+ get;
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(-2147417086)]
+ [param: In]
+ [param: MarshalAs(UnmanagedType.BStr)]
+ set;
+ }
+
+ [DispId(-2147417085)]
+ string innerText
+ {
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(-2147417085)]
+ [return: MarshalAs(UnmanagedType.BStr)]
+ get;
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(-2147417085)]
+ [param: In]
+ [param: MarshalAs(UnmanagedType.BStr)]
+ set;
+ }
+}
diff --git a/Decompiler/mshtml/IHTMLSelectionObject.cs b/Decompiler/mshtml/IHTMLSelectionObject.cs
new file mode 100644
index 0000000..25c6073
--- /dev/null
+++ b/Decompiler/mshtml/IHTMLSelectionObject.cs
@@ -0,0 +1,16 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[Guid("3050F25A-98B5-11CF-BB82-00AA00BDCE0B")]
+[TypeIdentifier]
+public interface IHTMLSelectionObject
+{
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1001)]
+ [return: MarshalAs(UnmanagedType.IDispatch)]
+ object createRange();
+}
diff --git a/Decompiler/mshtml/IHTMLTxtRange.cs b/Decompiler/mshtml/IHTMLTxtRange.cs
new file mode 100644
index 0000000..0149bad
--- /dev/null
+++ b/Decompiler/mshtml/IHTMLTxtRange.cs
@@ -0,0 +1,26 @@
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace mshtml;
+
+[ComImport]
+[CompilerGenerated]
+[Guid("3050F220-98B5-11CF-BB82-00AA00BDCE0B")]
+[TypeIdentifier]
+public interface IHTMLTxtRange
+{
+ [DispId(1003)]
+ string htmlText
+ {
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1003)]
+ [return: MarshalAs(UnmanagedType.BStr)]
+ get;
+ }
+
+ void _VtblGap1_13();
+
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
+ [DispId(1026)]
+ void pasteHTML([In][MarshalAs(UnmanagedType.BStr)] string html);
+}