35 references to IHTMLDocument
System.Windows.Forms (6)
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (1)
42using var document = container.TryQuery<IHTMLDocument>(out HRESULT hr);
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (2)
29internal HtmlDocument(HtmlShimManager shimManager, IHTMLDocument* doc) 487using var htmlDoc = dispatch.TryQuery<IHTMLDocument>(out HRESULT hr);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
128using var htmlDocument = dispatch.TryQuery<IHTMLDocument>(out HRESULT hr);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
81using var htmlDoc = htmlDoc2.TryQuery<IHTMLDocument>(out HRESULT hr);
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
238using var htmlDoc = dispatch.TryQuery<IHTMLDocument>(out hr);
System.Windows.Forms.Primitives (28)
Windows.Win32.IHTMLDocument.g.cs (27)
25 :IVTable<IHTMLDocument,IHTMLDocument.Vtbl>,IComIID { 41 return ((delegate *unmanaged [Stdcall]<IHTMLDocument*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IHTMLDocument*)Unsafe.AsPointer(ref this), riid, ppvObject); 46 return ((delegate *unmanaged [Stdcall]<IHTMLDocument*,uint>)lpVtbl[1])((IHTMLDocument*)Unsafe.AsPointer(ref this)); 51 return ((delegate *unmanaged [Stdcall]<IHTMLDocument*,uint>)lpVtbl[2])((IHTMLDocument*)Unsafe.AsPointer(ref this)); 65 ((delegate *unmanaged [Stdcall]<IHTMLDocument*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IHTMLDocument*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure(); 70 ((delegate *unmanaged [Stdcall]<IHTMLDocument*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IHTMLDocument*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure(); 91 ((delegate *unmanaged [Stdcall]<IHTMLDocument*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IHTMLDocument*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure(); 108 ((delegate *unmanaged [Stdcall]<IHTMLDocument*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IHTMLDocument*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure(); 114 private static winmdroot.Foundation.HRESULT get_Script(IHTMLDocument* pThis, winmdroot.System.Com.IDispatch** p) 133 return ((delegate *unmanaged [Stdcall]<IHTMLDocument*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IHTMLDocument*)Unsafe.AsPointer(ref this), p); 157 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 159 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,uint> AddRef_2; 161 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,uint> Release_3; 163 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4; 165 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5; 167 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6; 169 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT> Invoke_7; 171 internal delegate *unmanaged [Stdcall]<IHTMLDocument*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> get_Script_8;
Windows.Win32.IHTMLDocument2.g.cs (1)
3537 :winmdroot.Web.MsHtml.IHTMLDocument.Interface {
System.Windows.Forms.Tests (1)
System\Windows\Forms\HtmlDocumentTests.cs (1)
568Assert.True(domDocument is IHTMLDocument.Interface);