// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ------------------------------------------------------------------------------ #pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981,SYSLIB1092,CS3021,CS3019 using global::System; using global::System.Diagnostics; using global::System.Diagnostics.CodeAnalysis; using global::System.Runtime.CompilerServices; using global::System.Runtime.InteropServices; using global::System.Runtime.Versioning; using winmdroot = global::Windows.Win32; namespace Windows.Win32 { namespace Web.MsHtml { [Guid("332C4425-26CB-11D0-B483-00C04FD90119")] [CLSCompliant(false)] [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal unsafe partial struct IHTMLDocument2 :winmdroot.IVTable<IHTMLDocument2,IHTMLDocument2.Vtbl>,IComIID { /// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT QueryInterface(in global::System.Guid riid, out void* ppvObject) { fixed (void** ppvObjectLocal = &ppvObject) { fixed (global::System.Guid* riidLocal = &riid) { winmdroot.Foundation.HRESULT __result = this.QueryInterface(riidLocal, ppvObjectLocal); return __result; } } } public unsafe winmdroot.Foundation.HRESULT QueryInterface(global::System.Guid* riid, void** ppvObject) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IHTMLDocument2*)Unsafe.AsPointer(ref this), riid, ppvObject); } public uint AddRef() { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint>)lpVtbl[1])((IHTMLDocument2*)Unsafe.AsPointer(ref this)); } public uint Release() { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint>)lpVtbl[2])((IHTMLDocument2*)Unsafe.AsPointer(ref this)); } /// <inheritdoc cref="GetTypeInfoCount(uint*)"/> [OverloadResolutionPriority(1)] internal unsafe void GetTypeInfoCount(out uint pctinfo) { fixed (uint* pctinfoLocal = &pctinfo) { this.GetTypeInfoCount(pctinfoLocal); } } public unsafe void GetTypeInfoCount(uint* pctinfo) { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IHTMLDocument2*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure(); } public unsafe void GetTypeInfo(uint iTInfo, uint lcid, winmdroot.System.Com.ITypeInfo** ppTInfo) { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IHTMLDocument2*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure(); } /// <inheritdoc cref="GetIDsOfNames(global::System.Guid*, winmdroot.Foundation.PWSTR*, uint, uint, int*)"/> internal unsafe void GetIDsOfNames(in global::System.Guid riid, ReadOnlySpan<winmdroot.Foundation.PWSTR> rgszNames, uint lcid, Span<int> rgDispId) { fixed (int* rgDispIdLocal = rgDispId) { fixed (winmdroot.Foundation.PWSTR* rgszNamesLocal = rgszNames) { fixed (global::System.Guid* riidLocal = &riid) { if (!rgszNames.IsEmpty && !rgDispId.IsEmpty && rgszNames.Length != rgDispId.Length) throw new ArgumentException(); this.GetIDsOfNames(riidLocal, rgszNamesLocal, (uint )(rgDispId.IsEmpty ? rgszNames.Length : rgDispId.Length), lcid, rgDispIdLocal); } } } } public unsafe void GetIDsOfNames(global::System.Guid* riid, winmdroot.Foundation.PWSTR* rgszNames, uint cNames, uint lcid, int* rgDispId) { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IHTMLDocument2*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure(); } /// <inheritdoc cref="Invoke(int, global::System.Guid*, uint, winmdroot.System.Com.DISPATCH_FLAGS, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, uint*)"/> [OverloadResolutionPriority(1)] internal unsafe void Invoke(int dispIdMember, in global::System.Guid riid, uint lcid, winmdroot.System.Com.DISPATCH_FLAGS wFlags, in winmdroot.System.Com.DISPPARAMS pDispParams, out winmdroot.System.Variant.VARIANT pVarResult, out winmdroot.System.Com.EXCEPINFO pExcepInfo, out uint puArgErr) { fixed (uint* puArgErrLocal = &puArgErr) { fixed (winmdroot.System.Com.EXCEPINFO* pExcepInfoLocal = &pExcepInfo) { fixed (winmdroot.System.Variant.VARIANT* pVarResultLocal = &pVarResult) { fixed (winmdroot.System.Com.DISPPARAMS* pDispParamsLocal = &pDispParams) { fixed (global::System.Guid* riidLocal = &riid) { this.Invoke(dispIdMember, riidLocal, lcid, wFlags, pDispParamsLocal, pVarResultLocal, pExcepInfoLocal, puArgErrLocal); } } } } } } /// <inheritdoc cref="Invoke(int, global::System.Guid*, uint, winmdroot.System.Com.DISPATCH_FLAGS, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, uint*)"/> internal unsafe void Invoke(int dispIdMember, in global::System.Guid riid, uint lcid, winmdroot.System.Com.DISPATCH_FLAGS wFlags, in winmdroot.System.Com.DISPPARAMS pDispParams) { fixed (winmdroot.System.Com.DISPPARAMS* pDispParamsLocal = &pDispParams) { fixed (global::System.Guid* riidLocal = &riid) { this.Invoke(dispIdMember, riidLocal, lcid, wFlags, pDispParamsLocal, default(winmdroot.System.Variant.VARIANT* ), default(winmdroot.System.Com.EXCEPINFO* ), default(uint* )); } } } public unsafe void Invoke(int dispIdMember, global::System.Guid* riid, uint lcid, winmdroot.System.Com.DISPATCH_FLAGS wFlags, winmdroot.System.Com.DISPPARAMS* pDispParams, [Optional] winmdroot.System.Variant.VARIANT* pVarResult, [Optional] winmdroot.System.Com.EXCEPINFO* pExcepInfo, [Optional] uint* puArgErr) { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,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])((IHTMLDocument2*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure(); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_Script(IHTMLDocument2* pThis, winmdroot.System.Com.IDispatch** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_Script(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_Script(winmdroot.System.Com.IDispatch** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_all(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_all(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_all(winmdroot.Web.MsHtml.IHTMLElementCollection** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_body(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElement** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_body(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_body(winmdroot.Web.MsHtml.IHTMLElement** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_activeElement(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElement** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_activeElement(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_activeElement(winmdroot.Web.MsHtml.IHTMLElement** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_images(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_images(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_images(winmdroot.Web.MsHtml.IHTMLElementCollection** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_applets(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.applets; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* applets { get { winmdroot.Web.MsHtml.IHTMLElementCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_links(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_links(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_links(winmdroot.Web.MsHtml.IHTMLElementCollection** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_forms(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_forms(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_forms(winmdroot.Web.MsHtml.IHTMLElementCollection** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_anchors(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.anchors; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* anchors { get { winmdroot.Web.MsHtml.IHTMLElementCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_title(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_title(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_title(winmdroot.Foundation.BSTR v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_title(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_title(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_title(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_title(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_title(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_title(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_scripts(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.scripts; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* scripts { get { winmdroot.Web.MsHtml.IHTMLElementCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_designMode(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.designMode = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR designMode { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_designMode(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.designMode; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_selection(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLSelectionObject** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.selection; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLSelectionObject* selection { get { winmdroot.Web.MsHtml.IHTMLSelectionObject* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLSelectionObject** ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_readyState(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.readyState; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR readyState { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[22])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_frames(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLFramesCollection2** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.frames; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLFramesCollection2* frames { get { winmdroot.Web.MsHtml.IHTMLFramesCollection2* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLFramesCollection2** ,winmdroot.Foundation.HRESULT>)lpVtbl[23])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_embeds(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.embeds; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* embeds { get { winmdroot.Web.MsHtml.IHTMLElementCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[24])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_plugins(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLElementCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.plugins; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* plugins { get { winmdroot.Web.MsHtml.IHTMLElementCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[25])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_alinkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_alinkColor(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_alinkColor(winmdroot.System.Variant.VARIANT v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_alinkColor(winmdroot.System.Variant.VARIANT*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_alinkColor(out winmdroot.System.Variant.VARIANT p) { fixed (winmdroot.System.Variant.VARIANT* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_alinkColor(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_alinkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_alinkColor(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_alinkColor(winmdroot.System.Variant.VARIANT* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[27])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_bgColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_bgColor(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_bgColor(winmdroot.System.Variant.VARIANT v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[28])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_bgColor(winmdroot.System.Variant.VARIANT*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_bgColor(out winmdroot.System.Variant.VARIANT p) { fixed (winmdroot.System.Variant.VARIANT* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_bgColor(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_bgColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_bgColor(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_bgColor(winmdroot.System.Variant.VARIANT* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[29])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_fgColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_fgColor(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_fgColor(winmdroot.System.Variant.VARIANT v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[30])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_fgColor(winmdroot.System.Variant.VARIANT*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_fgColor(out winmdroot.System.Variant.VARIANT p) { fixed (winmdroot.System.Variant.VARIANT* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_fgColor(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_fgColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_fgColor(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_fgColor(winmdroot.System.Variant.VARIANT* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[31])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_linkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_linkColor(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_linkColor(winmdroot.System.Variant.VARIANT v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[32])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_linkColor(winmdroot.System.Variant.VARIANT*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_linkColor(out winmdroot.System.Variant.VARIANT p) { fixed (winmdroot.System.Variant.VARIANT* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_linkColor(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_linkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_linkColor(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_linkColor(winmdroot.System.Variant.VARIANT* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[33])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_vlinkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_vlinkColor(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_vlinkColor(winmdroot.System.Variant.VARIANT v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[34])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_vlinkColor(winmdroot.System.Variant.VARIANT*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_vlinkColor(out winmdroot.System.Variant.VARIANT p) { fixed (winmdroot.System.Variant.VARIANT* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_vlinkColor(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_vlinkColor(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_vlinkColor(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_vlinkColor(winmdroot.System.Variant.VARIANT* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[35])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_referrer(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.referrer; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR referrer { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[36])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_location(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLLocation** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_location(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_location(winmdroot.Web.MsHtml.IHTMLLocation** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLLocation** ,winmdroot.Foundation.HRESULT>)lpVtbl[37])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_lastModified(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.lastModified; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR lastModified { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[38])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_URL(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.URL = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR URL { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[39])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[40])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_URL(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.URL; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_domain(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_domain(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_domain(winmdroot.Foundation.BSTR v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[41])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_domain(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_domain(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_domain(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_domain(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_domain(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_domain(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[42])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_cookie(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_cookie(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_cookie(winmdroot.Foundation.BSTR v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[43])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_cookie(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_cookie(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_cookie(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_cookie(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_cookie(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_cookie(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[44])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_expando(IHTMLDocument2* pThis, winmdroot.Foundation.VARIANT_BOOL v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.expando = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.VARIANT_BOOL expando { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[45])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.Foundation.VARIANT_BOOL __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[46])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_expando(IHTMLDocument2* pThis, winmdroot.Foundation.VARIANT_BOOL* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.expando; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_charset(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_charset(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_charset(winmdroot.Foundation.BSTR v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[47])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_charset(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_charset(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_charset(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_charset(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_charset(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_charset(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[48])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_defaultCharset(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.put_defaultCharset(v); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.HRESULT put_defaultCharset(winmdroot.Foundation.BSTR v) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[49])((IHTMLDocument2*)Unsafe.AsPointer(ref this), v); } /// <inheritdoc cref="get_defaultCharset(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_defaultCharset(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_defaultCharset(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_defaultCharset(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_defaultCharset(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_defaultCharset(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[50])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } /// <inheritdoc cref="get_mimeType(winmdroot.Foundation.BSTR*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT get_mimeType(out winmdroot.Foundation.BSTR p) { fixed (winmdroot.Foundation.BSTR* pLocal = &p) { winmdroot.Foundation.HRESULT __result = this.get_mimeType(pLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_mimeType(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_mimeType(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_mimeType(winmdroot.Foundation.BSTR* p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[51])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_fileSize(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.fileSize; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR fileSize { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[52])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_fileCreatedDate(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.fileCreatedDate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR fileCreatedDate { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[53])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_fileModifiedDate(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.fileModifiedDate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR fileModifiedDate { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[54])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_fileUpdatedDate(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.fileUpdatedDate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR fileUpdatedDate { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[55])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_security(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.security; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR security { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[56])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_protocol(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.protocol; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR protocol { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[57])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_nameProp(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.nameProp; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.Foundation.BSTR nameProp { get { winmdroot.Foundation.BSTR __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[58])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT write(IHTMLDocument2* pThis, winmdroot.System.Com.SAFEARRAY* psarray) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.write(psarray); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT write(winmdroot.System.Com.SAFEARRAY* psarray) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[59])((IHTMLDocument2*)Unsafe.AsPointer(ref this), psarray); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT writeln(IHTMLDocument2* pThis, winmdroot.System.Com.SAFEARRAY* psarray) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.writeln(psarray); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe void writeln(winmdroot.System.Com.SAFEARRAY* psarray) { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[60])((IHTMLDocument2*)Unsafe.AsPointer(ref this), psarray).ThrowOnFailure(); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT open(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT name, winmdroot.System.Variant.VARIANT features, winmdroot.System.Variant.VARIANT replace, winmdroot.System.Com.IDispatch** pomWindowResult) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.open(url, name, features, replace, pomWindowResult); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT open(winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT name, winmdroot.System.Variant.VARIANT features, winmdroot.System.Variant.VARIANT replace, winmdroot.System.Com.IDispatch** pomWindowResult) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[61])((IHTMLDocument2*)Unsafe.AsPointer(ref this), url, name, features, replace, pomWindowResult); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT close(IHTMLDocument2* pThis) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.close(); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public void close() { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.HRESULT>)lpVtbl[62])((IHTMLDocument2*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT clear(IHTMLDocument2* pThis) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.clear(); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public void clear() { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.HRESULT>)lpVtbl[63])((IHTMLDocument2*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandSupported(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandSupported(cmdID, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.VARIANT_BOOL queryCommandSupported(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[64])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandEnabled(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandEnabled(cmdID, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.VARIANT_BOOL queryCommandEnabled(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[65])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandState(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandState(cmdID, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.VARIANT_BOOL queryCommandState(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[66])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandIndeterm(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandIndeterm(cmdID, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.VARIANT_BOOL queryCommandIndeterm(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[67])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandText(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.BSTR* pcmdText) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandText(cmdID, pcmdText); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.BSTR queryCommandText(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.BSTR __retVal = default(winmdroot.Foundation.BSTR); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[68])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT queryCommandValue(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.System.Variant.VARIANT* pcmdValue) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.queryCommandValue(cmdID, pcmdValue); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.System.Variant.VARIANT queryCommandValue(winmdroot.Foundation.BSTR cmdID) { winmdroot.System.Variant.VARIANT __retVal = default(winmdroot.System.Variant.VARIANT); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[69])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } /// <inheritdoc cref="execCommand(winmdroot.Foundation.BSTR, winmdroot.Foundation.VARIANT_BOOL, winmdroot.System.Variant.VARIANT, winmdroot.Foundation.VARIANT_BOOL*)"/> [OverloadResolutionPriority(1)] internal unsafe winmdroot.Foundation.HRESULT execCommand(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL showUI, winmdroot.System.Variant.VARIANT value, out winmdroot.Foundation.VARIANT_BOOL pfRet) { fixed (winmdroot.Foundation.VARIANT_BOOL* pfRetLocal = &pfRet) { winmdroot.Foundation.HRESULT __result = this.execCommand(cmdID, showUI, value, pfRetLocal); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT execCommand(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL showUI, winmdroot.System.Variant.VARIANT value, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.execCommand(cmdID, showUI, value, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT execCommand(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL showUI, winmdroot.System.Variant.VARIANT value, winmdroot.Foundation.VARIANT_BOOL* pfRet) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[70])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, showUI, value, pfRet); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT execCommandShowHelp(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.execCommandShowHelp(cmdID, pfRet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.VARIANT_BOOL execCommandShowHelp(winmdroot.Foundation.BSTR cmdID) { winmdroot.Foundation.VARIANT_BOOL __retVal = default(winmdroot.Foundation.VARIANT_BOOL); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[71])((IHTMLDocument2*)Unsafe.AsPointer(ref this), cmdID, &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT createElement(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR eTag, winmdroot.Web.MsHtml.IHTMLElement** newElem) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.createElement(eTag, newElem); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT createElement(winmdroot.Foundation.BSTR eTag, winmdroot.Web.MsHtml.IHTMLElement** newElem) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[72])((IHTMLDocument2*)Unsafe.AsPointer(ref this), eTag, newElem); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onhelp(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onhelp = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onhelp { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[73])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[74])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onhelp(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onhelp; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onclick(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onclick = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onclick { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[75])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[76])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onclick(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onclick; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_ondblclick(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.ondblclick = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT ondblclick { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[77])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[78])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_ondblclick(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.ondblclick; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onkeyup(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onkeyup = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onkeyup { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[79])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[80])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onkeyup(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onkeyup; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onkeydown(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onkeydown = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onkeydown { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[81])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[82])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onkeydown(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onkeydown; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onkeypress(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onkeypress = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onkeypress { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[83])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[84])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onkeypress(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onkeypress; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onmouseup(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onmouseup = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onmouseup { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[85])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[86])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onmouseup(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onmouseup; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onmousedown(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onmousedown = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onmousedown { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[87])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[88])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onmousedown(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onmousedown; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onmousemove(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onmousemove = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onmousemove { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[89])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[90])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onmousemove(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onmousemove; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onmouseout(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onmouseout = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onmouseout { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[91])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[92])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onmouseout(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onmouseout; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onmouseover(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onmouseover = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onmouseover { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[93])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[94])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onmouseover(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onmouseover; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onreadystatechange(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onreadystatechange = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onreadystatechange { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[95])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[96])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onreadystatechange(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onreadystatechange; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onafterupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onafterupdate = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onafterupdate { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[97])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[98])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onafterupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onafterupdate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onrowexit(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onrowexit = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onrowexit { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[99])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[100])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onrowexit(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onrowexit; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onrowenter(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onrowenter = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onrowenter { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[101])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[102])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onrowenter(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onrowenter; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_ondragstart(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.ondragstart = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT ondragstart { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[103])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[104])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_ondragstart(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.ondragstart; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onselectstart(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onselectstart = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onselectstart { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[105])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[106])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onselectstart(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onselectstart; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT elementFromPoint(IHTMLDocument2* pThis, int x, int y, winmdroot.Web.MsHtml.IHTMLElement** elementHit) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.elementFromPoint(x, y, elementHit); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT elementFromPoint(int x, int y, winmdroot.Web.MsHtml.IHTMLElement** elementHit) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,int ,int ,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[107])((IHTMLDocument2*)Unsafe.AsPointer(ref this), x, y, elementHit); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_parentWindow(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLWindow2** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.get_parentWindow(p); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Foundation.HRESULT get_parentWindow(winmdroot.Web.MsHtml.IHTMLWindow2** p) { return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLWindow2** ,winmdroot.Foundation.HRESULT>)lpVtbl[108])((IHTMLDocument2*)Unsafe.AsPointer(ref this), p); } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_styleSheets(IHTMLDocument2* pThis, winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection** p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.styleSheets; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal unsafe winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection* styleSheets { get { winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection* __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection** ,winmdroot.Foundation.HRESULT>)lpVtbl[109])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onbeforeupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onbeforeupdate = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onbeforeupdate { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[110])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[111])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onbeforeupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onbeforeupdate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT put_onerrorupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT v) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } __object.onerrorupdate = v; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } internal winmdroot.System.Variant.VARIANT onerrorupdate { set { ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[112])((IHTMLDocument2*)Unsafe.AsPointer(ref this), value).ThrowOnFailure(); } get { winmdroot.System.Variant.VARIANT __result; ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[113])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); return __result; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT get_onerrorupdate(IHTMLDocument2* pThis, winmdroot.System.Variant.VARIANT* p) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } *p = __object.onerrorupdate; return winmdroot.Foundation.HRESULT.S_OK; } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT toString(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR* String) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.toString(String); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public winmdroot.Foundation.BSTR toString() { winmdroot.Foundation.BSTR __retVal = default(winmdroot.Foundation.BSTR); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[114])((IHTMLDocument2*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); return __retVal; } [UnmanagedCallersOnly(CallConvs = new []{ typeof(CallConvStdcall)} )] private static winmdroot.Foundation.HRESULT createStyleSheet(IHTMLDocument2* pThis, winmdroot.Foundation.BSTR bstrHref, int lIndex, winmdroot.Web.MsHtml.IHTMLStyleSheet** ppnewStyleSheet) { try { winmdroot.Foundation.HRESULT __hr = winmdroot.ComHelpers.UnwrapCCW(pThis, out Interface __object); if (__hr.Failed) { return __hr; } return __object.createStyleSheet(bstrHref, lIndex, ppnewStyleSheet); } catch (Exception ex) { return (winmdroot.Foundation.HRESULT)ex.HResult; } } public unsafe winmdroot.Web.MsHtml.IHTMLStyleSheet* createStyleSheet(winmdroot.Foundation.BSTR bstrHref, int lIndex) { winmdroot.Web.MsHtml.IHTMLStyleSheet* __retVal = default(winmdroot.Web.MsHtml.IHTMLStyleSheet*); ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,int ,winmdroot.Web.MsHtml.IHTMLStyleSheet** ,winmdroot.Foundation.HRESULT>)lpVtbl[115])((IHTMLDocument2*)Unsafe.AsPointer(ref this), bstrHref, lIndex, &__retVal).ThrowOnFailure(); return __retVal; } internal unsafe global::Windows.Win32.Foundation.HRESULT QueryInterface<T>(out T* ppv) where T : unmanaged { Guid guid = typeof(T).GUID; void* pv; var hr = this.QueryInterface(&guid, &pv); if (hr.Succeeded) { ppv = (T*)pv; } else { ppv = null; } return hr; } internal struct Vtbl { internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint> AddRef_2; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint> Release_3; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,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; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> get_Script_8; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_all_9; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT> get_body_10; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT> get_activeElement_11; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_images_12; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_applets_13; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_links_14; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_forms_15; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_anchors_16; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_title_17; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_title_18; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_scripts_19; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_designMode_20; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_designMode_21; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLSelectionObject** ,winmdroot.Foundation.HRESULT> get_selection_22; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_readyState_23; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLFramesCollection2** ,winmdroot.Foundation.HRESULT> get_frames_24; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_embeds_25; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLElementCollection** ,winmdroot.Foundation.HRESULT> get_plugins_26; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_alinkColor_27; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_alinkColor_28; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_bgColor_29; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_bgColor_30; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_fgColor_31; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_fgColor_32; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_linkColor_33; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_linkColor_34; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_vlinkColor_35; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_vlinkColor_36; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_referrer_37; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLLocation** ,winmdroot.Foundation.HRESULT> get_location_38; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_lastModified_39; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_URL_40; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_URL_41; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_domain_42; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_domain_43; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_cookie_44; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_cookie_45; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.Foundation.HRESULT> put_expando_46; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> get_expando_47; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_charset_48; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_charset_49; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_defaultCharset_50; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_defaultCharset_51; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_mimeType_52; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileSize_53; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileCreatedDate_54; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileModifiedDate_55; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_fileUpdatedDate_56; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_security_57; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_protocol_58; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_nameProp_59; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> write_60; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> writeln_61; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> open_62; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.HRESULT> close_63; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.HRESULT> clear_64; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> queryCommandSupported_65; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> queryCommandEnabled_66; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> queryCommandState_67; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> queryCommandIndeterm_68; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> queryCommandText_69; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> queryCommandValue_70; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> execCommand_71; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> execCommandShowHelp_72; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT> createElement_73; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onhelp_74; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onhelp_75; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onclick_76; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onclick_77; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_ondblclick_78; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_ondblclick_79; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onkeyup_80; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onkeyup_81; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onkeydown_82; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onkeydown_83; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onkeypress_84; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onkeypress_85; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmouseup_86; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmouseup_87; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmousedown_88; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmousedown_89; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmousemove_90; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmousemove_91; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmouseout_92; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmouseout_93; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onmouseover_94; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onmouseover_95; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onreadystatechange_96; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onreadystatechange_97; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onafterupdate_98; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onafterupdate_99; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onrowexit_100; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onrowexit_101; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onrowenter_102; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onrowenter_103; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_ondragstart_104; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_ondragstart_105; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onselectstart_106; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onselectstart_107; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,int ,int ,winmdroot.Web.MsHtml.IHTMLElement** ,winmdroot.Foundation.HRESULT> elementFromPoint_108; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLWindow2** ,winmdroot.Foundation.HRESULT> get_parentWindow_109; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection** ,winmdroot.Foundation.HRESULT> get_styleSheets_110; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onbeforeupdate_111; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onbeforeupdate_112; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onerrorupdate_113; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onerrorupdate_114; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> toString_115; internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.Foundation.BSTR ,int ,winmdroot.Web.MsHtml.IHTMLStyleSheet** ,winmdroot.Foundation.HRESULT> createStyleSheet_116; } public static void PopulateVTable(Vtbl* vtable) { vtable->get_Script_8 = &get_Script; vtable->get_all_9 = &get_all; vtable->get_body_10 = &get_body; vtable->get_activeElement_11 = &get_activeElement; vtable->get_images_12 = &get_images; vtable->get_applets_13 = &get_applets; vtable->get_links_14 = &get_links; vtable->get_forms_15 = &get_forms; vtable->get_anchors_16 = &get_anchors; vtable->put_title_17 = &put_title; vtable->get_title_18 = &get_title; vtable->get_scripts_19 = &get_scripts; vtable->put_designMode_20 = &put_designMode; vtable->get_designMode_21 = &get_designMode; vtable->get_selection_22 = &get_selection; vtable->get_readyState_23 = &get_readyState; vtable->get_frames_24 = &get_frames; vtable->get_embeds_25 = &get_embeds; vtable->get_plugins_26 = &get_plugins; vtable->put_alinkColor_27 = &put_alinkColor; vtable->get_alinkColor_28 = &get_alinkColor; vtable->put_bgColor_29 = &put_bgColor; vtable->get_bgColor_30 = &get_bgColor; vtable->put_fgColor_31 = &put_fgColor; vtable->get_fgColor_32 = &get_fgColor; vtable->put_linkColor_33 = &put_linkColor; vtable->get_linkColor_34 = &get_linkColor; vtable->put_vlinkColor_35 = &put_vlinkColor; vtable->get_vlinkColor_36 = &get_vlinkColor; vtable->get_referrer_37 = &get_referrer; vtable->get_location_38 = &get_location; vtable->get_lastModified_39 = &get_lastModified; vtable->put_URL_40 = &put_URL; vtable->get_URL_41 = &get_URL; vtable->put_domain_42 = &put_domain; vtable->get_domain_43 = &get_domain; vtable->put_cookie_44 = &put_cookie; vtable->get_cookie_45 = &get_cookie; vtable->put_expando_46 = &put_expando; vtable->get_expando_47 = &get_expando; vtable->put_charset_48 = &put_charset; vtable->get_charset_49 = &get_charset; vtable->put_defaultCharset_50 = &put_defaultCharset; vtable->get_defaultCharset_51 = &get_defaultCharset; vtable->get_mimeType_52 = &get_mimeType; vtable->get_fileSize_53 = &get_fileSize; vtable->get_fileCreatedDate_54 = &get_fileCreatedDate; vtable->get_fileModifiedDate_55 = &get_fileModifiedDate; vtable->get_fileUpdatedDate_56 = &get_fileUpdatedDate; vtable->get_security_57 = &get_security; vtable->get_protocol_58 = &get_protocol; vtable->get_nameProp_59 = &get_nameProp; vtable->write_60 = &write; vtable->writeln_61 = &writeln; vtable->open_62 = &open; vtable->close_63 = &close; vtable->clear_64 = &clear; vtable->queryCommandSupported_65 = &queryCommandSupported; vtable->queryCommandEnabled_66 = &queryCommandEnabled; vtable->queryCommandState_67 = &queryCommandState; vtable->queryCommandIndeterm_68 = &queryCommandIndeterm; vtable->queryCommandText_69 = &queryCommandText; vtable->queryCommandValue_70 = &queryCommandValue; vtable->execCommand_71 = &execCommand; vtable->execCommandShowHelp_72 = &execCommandShowHelp; vtable->createElement_73 = &createElement; vtable->put_onhelp_74 = &put_onhelp; vtable->get_onhelp_75 = &get_onhelp; vtable->put_onclick_76 = &put_onclick; vtable->get_onclick_77 = &get_onclick; vtable->put_ondblclick_78 = &put_ondblclick; vtable->get_ondblclick_79 = &get_ondblclick; vtable->put_onkeyup_80 = &put_onkeyup; vtable->get_onkeyup_81 = &get_onkeyup; vtable->put_onkeydown_82 = &put_onkeydown; vtable->get_onkeydown_83 = &get_onkeydown; vtable->put_onkeypress_84 = &put_onkeypress; vtable->get_onkeypress_85 = &get_onkeypress; vtable->put_onmouseup_86 = &put_onmouseup; vtable->get_onmouseup_87 = &get_onmouseup; vtable->put_onmousedown_88 = &put_onmousedown; vtable->get_onmousedown_89 = &get_onmousedown; vtable->put_onmousemove_90 = &put_onmousemove; vtable->get_onmousemove_91 = &get_onmousemove; vtable->put_onmouseout_92 = &put_onmouseout; vtable->get_onmouseout_93 = &get_onmouseout; vtable->put_onmouseover_94 = &put_onmouseover; vtable->get_onmouseover_95 = &get_onmouseover; vtable->put_onreadystatechange_96 = &put_onreadystatechange; vtable->get_onreadystatechange_97 = &get_onreadystatechange; vtable->put_onafterupdate_98 = &put_onafterupdate; vtable->get_onafterupdate_99 = &get_onafterupdate; vtable->put_onrowexit_100 = &put_onrowexit; vtable->get_onrowexit_101 = &get_onrowexit; vtable->put_onrowenter_102 = &put_onrowenter; vtable->get_onrowenter_103 = &get_onrowenter; vtable->put_ondragstart_104 = &put_ondragstart; vtable->get_ondragstart_105 = &get_ondragstart; vtable->put_onselectstart_106 = &put_onselectstart; vtable->get_onselectstart_107 = &get_onselectstart; vtable->elementFromPoint_108 = &elementFromPoint; vtable->get_parentWindow_109 = &get_parentWindow; vtable->get_styleSheets_110 = &get_styleSheets; vtable->put_onbeforeupdate_111 = &put_onbeforeupdate; vtable->get_onbeforeupdate_112 = &get_onbeforeupdate; vtable->put_onerrorupdate_113 = &put_onerrorupdate; vtable->get_onerrorupdate_114 = &get_onerrorupdate; vtable->toString_115 = &toString; vtable->createStyleSheet_116 = &createStyleSheet; } private void** lpVtbl; /// <summary>The IID guid for this interface.</summary> /// <value>{332c4425-26cb-11d0-b483-00c04fd90119}</value> internal static readonly Guid IID_Guid = new Guid(0x332C4425, 0x26CB, 0x11D0, 0xB4, 0x83, 0x00, 0xC0, 0x4F, 0xD9, 0x01, 0x19); static ref readonly Guid IComIID.Guid { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { ReadOnlySpan<byte> data = new byte[] { 0x25,0x44,0x2C,0x33,0xCB,0x26,0xD0,0x11,0xB4,0x83,0x00,0xC0,0x4F,0xD9,0x01,0x19 }; return ref Unsafe.As<byte,Guid>(ref MemoryMarshal.GetReference(data)); } } [Guid("332C4425-26CB-11D0-B483-00C04FD90119"),InterfaceType(ComInterfaceType.InterfaceIsDual),ComImport()] internal interface Interface :winmdroot.Web.MsHtml.IHTMLDocument.Interface { [PreserveSig()] unsafe new winmdroot.Foundation.HRESULT get_Script(winmdroot.System.Com.IDispatch** p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_all(winmdroot.Web.MsHtml.IHTMLElementCollection** p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_body(winmdroot.Web.MsHtml.IHTMLElement** p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_activeElement(winmdroot.Web.MsHtml.IHTMLElement** p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_images(winmdroot.Web.MsHtml.IHTMLElementCollection** p); unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* applets { get; } [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_links(winmdroot.Web.MsHtml.IHTMLElementCollection** p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_forms(winmdroot.Web.MsHtml.IHTMLElementCollection** p); unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* anchors { get; } [PreserveSig()] winmdroot.Foundation.HRESULT put_title(winmdroot.Foundation.BSTR v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_title(winmdroot.Foundation.BSTR* p); unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* scripts { get; } winmdroot.Foundation.BSTR designMode { set; get; } unsafe winmdroot.Web.MsHtml.IHTMLSelectionObject* selection { get; } winmdroot.Foundation.BSTR readyState { get; } unsafe winmdroot.Web.MsHtml.IHTMLFramesCollection2* frames { get; } unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* embeds { get; } unsafe winmdroot.Web.MsHtml.IHTMLElementCollection* plugins { get; } [PreserveSig()] winmdroot.Foundation.HRESULT put_alinkColor(winmdroot.System.Variant.VARIANT v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_alinkColor(winmdroot.System.Variant.VARIANT* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_bgColor(winmdroot.System.Variant.VARIANT v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_bgColor(winmdroot.System.Variant.VARIANT* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_fgColor(winmdroot.System.Variant.VARIANT v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_fgColor(winmdroot.System.Variant.VARIANT* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_linkColor(winmdroot.System.Variant.VARIANT v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_linkColor(winmdroot.System.Variant.VARIANT* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_vlinkColor(winmdroot.System.Variant.VARIANT v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_vlinkColor(winmdroot.System.Variant.VARIANT* p); winmdroot.Foundation.BSTR referrer { get; } [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_location(winmdroot.Web.MsHtml.IHTMLLocation** p); winmdroot.Foundation.BSTR lastModified { get; } winmdroot.Foundation.BSTR URL { set; get; } [PreserveSig()] winmdroot.Foundation.HRESULT put_domain(winmdroot.Foundation.BSTR v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_domain(winmdroot.Foundation.BSTR* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_cookie(winmdroot.Foundation.BSTR v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_cookie(winmdroot.Foundation.BSTR* p); winmdroot.Foundation.VARIANT_BOOL expando { set; get; } [PreserveSig()] winmdroot.Foundation.HRESULT put_charset(winmdroot.Foundation.BSTR v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_charset(winmdroot.Foundation.BSTR* p); [PreserveSig()] winmdroot.Foundation.HRESULT put_defaultCharset(winmdroot.Foundation.BSTR v); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_defaultCharset(winmdroot.Foundation.BSTR* p); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_mimeType(winmdroot.Foundation.BSTR* p); winmdroot.Foundation.BSTR fileSize { get; } winmdroot.Foundation.BSTR fileCreatedDate { get; } winmdroot.Foundation.BSTR fileModifiedDate { get; } winmdroot.Foundation.BSTR fileUpdatedDate { get; } winmdroot.Foundation.BSTR security { get; } winmdroot.Foundation.BSTR protocol { get; } winmdroot.Foundation.BSTR nameProp { get; } [PreserveSig()] unsafe winmdroot.Foundation.HRESULT write(winmdroot.System.Com.SAFEARRAY* psarray); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT writeln(winmdroot.System.Com.SAFEARRAY* psarray); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT open(winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT name, winmdroot.System.Variant.VARIANT features, winmdroot.System.Variant.VARIANT replace, winmdroot.System.Com.IDispatch** pomWindowResult); [PreserveSig()] winmdroot.Foundation.HRESULT close(); [PreserveSig()] winmdroot.Foundation.HRESULT clear(); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandSupported(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandEnabled(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandState(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandIndeterm(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandText(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.BSTR* pcmdText); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT queryCommandValue(winmdroot.Foundation.BSTR cmdID, winmdroot.System.Variant.VARIANT* pcmdValue); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT execCommand(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL showUI, winmdroot.System.Variant.VARIANT value, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT execCommandShowHelp(winmdroot.Foundation.BSTR cmdID, winmdroot.Foundation.VARIANT_BOOL* pfRet); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT createElement(winmdroot.Foundation.BSTR eTag, winmdroot.Web.MsHtml.IHTMLElement** newElem); winmdroot.System.Variant.VARIANT onhelp { set; get; } winmdroot.System.Variant.VARIANT onclick { set; get; } winmdroot.System.Variant.VARIANT ondblclick { set; get; } winmdroot.System.Variant.VARIANT onkeyup { set; get; } winmdroot.System.Variant.VARIANT onkeydown { set; get; } winmdroot.System.Variant.VARIANT onkeypress { set; get; } winmdroot.System.Variant.VARIANT onmouseup { set; get; } winmdroot.System.Variant.VARIANT onmousedown { set; get; } winmdroot.System.Variant.VARIANT onmousemove { set; get; } winmdroot.System.Variant.VARIANT onmouseout { set; get; } winmdroot.System.Variant.VARIANT onmouseover { set; get; } winmdroot.System.Variant.VARIANT onreadystatechange { set; get; } winmdroot.System.Variant.VARIANT onafterupdate { set; get; } winmdroot.System.Variant.VARIANT onrowexit { set; get; } winmdroot.System.Variant.VARIANT onrowenter { set; get; } winmdroot.System.Variant.VARIANT ondragstart { set; get; } winmdroot.System.Variant.VARIANT onselectstart { set; get; } [PreserveSig()] unsafe winmdroot.Foundation.HRESULT elementFromPoint(int x, int y, winmdroot.Web.MsHtml.IHTMLElement** elementHit); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT get_parentWindow(winmdroot.Web.MsHtml.IHTMLWindow2** p); unsafe winmdroot.Web.MsHtml.IHTMLStyleSheetsCollection* styleSheets { get; } winmdroot.System.Variant.VARIANT onbeforeupdate { set; get; } winmdroot.System.Variant.VARIANT onerrorupdate { set; get; } [PreserveSig()] unsafe winmdroot.Foundation.HRESULT toString(winmdroot.Foundation.BSTR* String); [PreserveSig()] unsafe winmdroot.Foundation.HRESULT createStyleSheet(winmdroot.Foundation.BSTR bstrHref, int lIndex, winmdroot.Web.MsHtml.IHTMLStyleSheet** ppnewStyleSheet); } } } }