100 references to IHTMLDocument4
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (2)
298
using var htmlDoc4 = GetHtmlDocument<
IHTMLDocument4
>();
442
using var htmlDoc4 = GetHtmlDocument<
IHTMLDocument4
>();
System.Windows.Forms.Primitives (85)
Windows.Win32.IHTMLDocument4.g.cs (79)
25
:IVTable<
IHTMLDocument4
,
IHTMLDocument4
.Vtbl>,IComIID {
41
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), riid, ppvObject);
46
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint>)lpVtbl[1])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this));
51
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint>)lpVtbl[2])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this));
65
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure();
70
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure();
91
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure();
108
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,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])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure();
114
private static winmdroot.Foundation.HRESULT focus(
IHTMLDocument4
* pThis)
133
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this));
149
private static winmdroot.Foundation.HRESULT hasFocus(
IHTMLDocument4
* pThis, winmdroot.Foundation.VARIANT_BOOL* pfFocus)
168
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), pfFocus);
174
private static winmdroot.Foundation.HRESULT put_onselectionchange(
IHTMLDocument4
* pThis, winmdroot.System.Variant.VARIANT v)
196
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
201
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
209
private static winmdroot.Foundation.HRESULT get_onselectionchange(
IHTMLDocument4
* pThis, winmdroot.System.Variant.VARIANT* p)
230
private static winmdroot.Foundation.HRESULT get_namespaces(
IHTMLDocument4
* pThis, winmdroot.System.Com.IDispatch** p)
253
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
261
private static winmdroot.Foundation.HRESULT createDocumentFromUrl(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR bstrUrl, winmdroot.Foundation.BSTR bstrOptions, winmdroot.Web.MsHtml.IHTMLDocument2** newDoc)
281
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLDocument2** ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), bstrUrl, bstrOptions, &__retVal).ThrowOnFailure();
288
private static winmdroot.Foundation.HRESULT put_media(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR v)
310
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
315
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
323
private static winmdroot.Foundation.HRESULT get_media(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR* p)
354
private static winmdroot.Foundation.HRESULT createEventObject(
IHTMLDocument4
* pThis, winmdroot.System.Variant.VARIANT* pvarEventObject, winmdroot.Web.MsHtml.IHTMLEventObj** ppEventObj)
374
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Web.MsHtml.IHTMLEventObj** ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), pvarEventObject, &__retVal).ThrowOnFailure();
394
private static winmdroot.Foundation.HRESULT fireEvent(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR bstrEventName, winmdroot.System.Variant.VARIANT* pvarEventObject, winmdroot.Foundation.VARIANT_BOOL* pfCancelled)
413
return ((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), bstrEventName, pvarEventObject, pfCancelled);
419
private static winmdroot.Foundation.HRESULT createRenderStyle(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR v, winmdroot.Web.MsHtml.IHTMLRenderStyle** ppIHTMLRenderStyle)
439
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLRenderStyle** ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), v, &__retVal).ThrowOnFailure();
446
private static winmdroot.Foundation.HRESULT put_oncontrolselect(
IHTMLDocument4
* pThis, winmdroot.System.Variant.VARIANT v)
468
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
473
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
481
private static winmdroot.Foundation.HRESULT get_oncontrolselect(
IHTMLDocument4
* pThis, winmdroot.System.Variant.VARIANT* p)
502
private static winmdroot.Foundation.HRESULT get_URLUnencoded(
IHTMLDocument4
* pThis, winmdroot.Foundation.BSTR* p)
525
((delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((
IHTMLDocument4
*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
551
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
553
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint> AddRef_2;
555
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint> Release_3;
557
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;
559
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
561
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;
563
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,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;
565
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.HRESULT> focus_8;
567
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> hasFocus_9;
569
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onselectionchange_10;
571
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onselectionchange_11;
573
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> get_namespaces_12;
575
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLDocument2** ,winmdroot.Foundation.HRESULT> createDocumentFromUrl_13;
577
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_media_14;
579
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_media_15;
581
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Web.MsHtml.IHTMLEventObj** ,winmdroot.Foundation.HRESULT> createEventObject_16;
583
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> fireEvent_17;
585
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLRenderStyle** ,winmdroot.Foundation.HRESULT> createRenderStyle_18;
587
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_oncontrolselect_19;
589
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_oncontrolselect_20;
591
internal delegate *unmanaged [Stdcall]<
IHTMLDocument4
*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_URLUnencoded_21;
Windows.Win32.Web_MsHtml_IHTMLDocument4_Extensions.g.cs (6)
23
/// <inheritdoc cref="winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface.hasFocus(winmdroot.Foundation.VARIANT_BOOL*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT hasFocus(this winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface @this, out winmdroot.Foundation.VARIANT_BOOL pfFocus)
33
/// <inheritdoc cref="winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface.createEventObject(winmdroot.System.Variant.VARIANT*, winmdroot.Web.MsHtml.IHTMLEventObj**)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT createEventObject(this winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface @this, in winmdroot.System.Variant.VARIANT pvarEventObject, winmdroot.Web.MsHtml.IHTMLEventObj** ppEventObj)
43
/// <inheritdoc cref="winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface.fireEvent(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*, winmdroot.Foundation.VARIANT_BOOL*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT fireEvent(this winmdroot.Web.MsHtml.
IHTMLDocument4
.Interface @this, winmdroot.Foundation.BSTR bstrEventName, in winmdroot.System.Variant.VARIANT pvarEventObject, out winmdroot.Foundation.VARIANT_BOOL pfCancelled)
System.Windows.Forms.Tests (13)
System\Windows\Forms\HtmlDocumentTests.cs (13)
571
Assert.True(domDocument is
IHTMLDocument4
.Interface);
704
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
1489
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2017
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2056
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2094
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2132
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2170
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2208
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2246
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2284
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2322
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);
2360
using var iHTMLDocument4 = ComHelpers.GetComScope<
IHTMLDocument4
>(document.DomDocument);