File: Windows.Win32.IHTMLWindow3.g.cs
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// ------------------------------------------------------------------------------
// <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
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("3050F4AE-98B5-11CF-BB82-00AA00BDCE0B")]
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal unsafe partial struct IHTMLWindow3
			:IVTable<IHTMLWindow3,IHTMLWindow3.Vtbl>,IComIID		{
			/// <inheritdoc cref="QueryInterface(global::System.Guid*, void**)"/>
			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]<IHTMLWindow3*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IHTMLWindow3*)Unsafe.AsPointer(ref this), riid, ppvObject);
			}

			public uint AddRef()
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint>)lpVtbl[1])((IHTMLWindow3*)Unsafe.AsPointer(ref this));
			}

			public uint Release()
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint>)lpVtbl[2])((IHTMLWindow3*)Unsafe.AsPointer(ref this));
			}

			/// <inheritdoc cref="GetTypeInfoCount(uint*)"/>
			internal unsafe void GetTypeInfoCount(out uint pctinfo)
			{
				fixed (uint* pctinfoLocal = &pctinfo)
				{
					this.GetTypeInfoCount(pctinfoLocal);
				}
			}

			public unsafe void GetTypeInfoCount(uint* pctinfo)
			{
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IHTMLWindow3*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure();
			}

			public unsafe void GetTypeInfo(uint iTInfo, uint lcid, winmdroot.System.Com.ITypeInfo** ppTInfo)
			{
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IHTMLWindow3*)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.Length != rgDispId.Length)								throw new ArgumentException();
							this.GetIDsOfNames(riidLocal, rgszNamesLocal, (uint )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]<IHTMLWindow3*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IHTMLWindow3*)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*)"/>
			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, winmdroot.System.Variant.VARIANT* pVarResult, winmdroot.System.Com.EXCEPINFO* pExcepInfo, uint* puArgErr)
			{
				fixed (winmdroot.System.Com.DISPPARAMS* pDispParamsLocal = &pDispParams)
				{
					fixed (global::System.Guid* riidLocal = &riid)
					{
						this.Invoke(dispIdMember, riidLocal, lcid, wFlags, pDispParamsLocal, pVarResult, pExcepInfo, puArgErr);
					}
				}
			}

			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]<IHTMLWindow3*,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])((IHTMLWindow3*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure();
			}

			/// <inheritdoc cref="get_screenLeft(int*)"/>
			internal unsafe winmdroot.Foundation.HRESULT get_screenLeft(out int p)
			{
				fixed (int* pLocal = &p)
				{
					winmdroot.Foundation.HRESULT __result = this.get_screenLeft(pLocal);
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_screenLeft(IHTMLWindow3* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.get_screenLeft(p);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe winmdroot.Foundation.HRESULT get_screenLeft(int* p)
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IHTMLWindow3*)Unsafe.AsPointer(ref this), p);
			}

			/// <inheritdoc cref="get_screenTop(int*)"/>
			internal unsafe winmdroot.Foundation.HRESULT get_screenTop(out int p)
			{
				fixed (int* pLocal = &p)
				{
					winmdroot.Foundation.HRESULT __result = this.get_screenTop(pLocal);
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_screenTop(IHTMLWindow3* pThis, int* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.get_screenTop(p);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe winmdroot.Foundation.HRESULT get_screenTop(int* p)
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IHTMLWindow3*)Unsafe.AsPointer(ref this), p);
			}

			/// <inheritdoc cref="attachEvent(winmdroot.Foundation.BSTR, winmdroot.System.Com.IDispatch*, winmdroot.Foundation.VARIANT_BOOL*)"/>
			internal unsafe winmdroot.Foundation.HRESULT attachEvent(winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp, out winmdroot.Foundation.VARIANT_BOOL pfResult)
			{
				fixed (winmdroot.Foundation.VARIANT_BOOL* pfResultLocal = &pfResult)
				{
					winmdroot.Foundation.HRESULT __result = this.attachEvent(@event, pDisp, pfResultLocal);
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT attachEvent(IHTMLWindow3* pThis, winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp, winmdroot.Foundation.VARIANT_BOOL* pfResult)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.attachEvent(@event, pDisp, pfResult);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe winmdroot.Foundation.HRESULT attachEvent(winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp, winmdroot.Foundation.VARIANT_BOOL* pfResult)
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Com.IDispatch* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IHTMLWindow3*)Unsafe.AsPointer(ref this), @event, pDisp, pfResult);
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT detachEvent(IHTMLWindow3* pThis, winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.detachEvent(@event, pDisp);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe winmdroot.Foundation.HRESULT detachEvent(winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp)
			{
				return ((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Com.IDispatch* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IHTMLWindow3*)Unsafe.AsPointer(ref this), @event, pDisp);
			}

			/// <inheritdoc cref="setTimeout(winmdroot.System.Variant.VARIANT*, int, winmdroot.System.Variant.VARIANT*)"/>
			internal unsafe int setTimeout(in winmdroot.System.Variant.VARIANT expression, int msec, in winmdroot.System.Variant.VARIANT language)
			{
				fixed (winmdroot.System.Variant.VARIANT* languageLocal = &language)
				{
					fixed (winmdroot.System.Variant.VARIANT* expressionLocal = &expression)
					{
						int __result = this.setTimeout(expressionLocal, msec, languageLocal);
						return __result;
					}
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT setTimeout(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language, int* timerID)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.setTimeout(expression, msec, language, timerID);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe int setTimeout(winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language)
			{
				int __retVal = default(int);
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,int ,winmdroot.System.Variant.VARIANT* ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IHTMLWindow3*)Unsafe.AsPointer(ref this), expression, msec, language, &__retVal).ThrowOnFailure();
				return __retVal;
			}

			/// <inheritdoc cref="setInterval(winmdroot.System.Variant.VARIANT*, int, winmdroot.System.Variant.VARIANT*)"/>
			internal unsafe int setInterval(in winmdroot.System.Variant.VARIANT expression, int msec, in winmdroot.System.Variant.VARIANT language)
			{
				fixed (winmdroot.System.Variant.VARIANT* languageLocal = &language)
				{
					fixed (winmdroot.System.Variant.VARIANT* expressionLocal = &expression)
					{
						int __result = this.setInterval(expressionLocal, msec, languageLocal);
						return __result;
					}
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT setInterval(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language, int* timerID)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.setInterval(expression, msec, language, timerID);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe int setInterval(winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language)
			{
				int __retVal = default(int);
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,int ,winmdroot.System.Variant.VARIANT* ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IHTMLWindow3*)Unsafe.AsPointer(ref this), expression, msec, language, &__retVal).ThrowOnFailure();
				return __retVal;
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT print(IHTMLWindow3* pThis)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.print();
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public void print()
			{
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IHTMLWindow3*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT put_onbeforeprint(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.onbeforeprint = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT onbeforeprint
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IHTMLWindow3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IHTMLWindow3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_onbeforeprint(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.onbeforeprint;
					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_onafterprint(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT v)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					__object.onafterprint = v;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal winmdroot.System.Variant.VARIANT onafterprint
			{
				set
				{
					((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((IHTMLWindow3*)Unsafe.AsPointer(ref this), value).ThrowOnFailure();
				}
				get
				{
					winmdroot.System.Variant.VARIANT __result;
					((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((IHTMLWindow3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT get_onafterprint(IHTMLWindow3* pThis, winmdroot.System.Variant.VARIANT* p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.onafterprint;
					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_clipboardData(IHTMLWindow3* pThis, winmdroot.Web.MsHtml.IHTMLDataTransfer** p)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					*p = __object.clipboardData;
					return winmdroot.Foundation.HRESULT.S_OK;
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			internal unsafe winmdroot.Web.MsHtml.IHTMLDataTransfer* clipboardData
			{
				get
				{
					winmdroot.Web.MsHtml.IHTMLDataTransfer* __result;
					((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Web.MsHtml.IHTMLDataTransfer** ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((IHTMLWindow3*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure();
					return __result;
				}
			}

			/// <inheritdoc cref="showModelessDialog(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
			internal unsafe winmdroot.Web.MsHtml.IHTMLWindow2* showModelessDialog(winmdroot.Foundation.BSTR url, in winmdroot.System.Variant.VARIANT varArgIn, in winmdroot.System.Variant.VARIANT options)
			{
				fixed (winmdroot.System.Variant.VARIANT* optionsLocal = &options)
				{
					fixed (winmdroot.System.Variant.VARIANT* varArgInLocal = &varArgIn)
					{
						winmdroot.Web.MsHtml.IHTMLWindow2* __result = this.showModelessDialog(url, varArgInLocal, optionsLocal);
						return __result;
					}
				}
			}

			[UnmanagedCallersOnly(CallConvs = new []{
typeof(CallConvStdcall)}
)]
			private static winmdroot.Foundation.HRESULT showModelessDialog(IHTMLWindow3* pThis, winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT* varArgIn, winmdroot.System.Variant.VARIANT* options, winmdroot.Web.MsHtml.IHTMLWindow2** pDialog)
			{
				try
				{
					winmdroot.Foundation.HRESULT __hr = ComHelpers.UnwrapCCW(pThis, out Interface __object);
					if (__hr.Failed)
					{
						return __hr;
					}
					return __object.showModelessDialog(url, varArgIn, options, pDialog);
				}
				catch (Exception ex)
				{
					return (winmdroot.Foundation.HRESULT)ex.HResult;
				}
			}

			public unsafe winmdroot.Web.MsHtml.IHTMLWindow2* showModelessDialog(winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT* varArgIn, winmdroot.System.Variant.VARIANT* options)
			{
				winmdroot.Web.MsHtml.IHTMLWindow2* __retVal = default(winmdroot.Web.MsHtml.IHTMLWindow2*);
				((delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Variant.VARIANT* ,winmdroot.Web.MsHtml.IHTMLWindow2** ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((IHTMLWindow3*)Unsafe.AsPointer(ref this), url, varArgIn, options, &__retVal).ThrowOnFailure();
				return __retVal;
			}

			internal unsafe global::Windows.Win32.Foundation.HRESULT QueryInterface<T>(out T* ppv)
where T : unmanaged

			{
				var hr = this.QueryInterface(typeof(T).GUID, out void* pv);
				if (hr.Succeeded)

				{
					ppv = (T*)pv;
				}
				else

				{
					ppv = null;
				}

				return hr;
			}

			internal struct Vtbl
			{
				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint> AddRef_2;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint> Release_3;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,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]<IHTMLWindow3*,int* ,winmdroot.Foundation.HRESULT> get_screenLeft_8;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,int* ,winmdroot.Foundation.HRESULT> get_screenTop_9;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Com.IDispatch* ,winmdroot.Foundation.VARIANT_BOOL* ,winmdroot.Foundation.HRESULT> attachEvent_10;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Com.IDispatch* ,winmdroot.Foundation.HRESULT> detachEvent_11;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,int ,winmdroot.System.Variant.VARIANT* ,int* ,winmdroot.Foundation.HRESULT> setTimeout_12;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,int ,winmdroot.System.Variant.VARIANT* ,int* ,winmdroot.Foundation.HRESULT> setInterval_13;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.HRESULT> print_14;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onbeforeprint_15;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onbeforeprint_16;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> put_onafterprint_17;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_onafterprint_18;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Web.MsHtml.IHTMLDataTransfer** ,winmdroot.Foundation.HRESULT> get_clipboardData_19;

				internal delegate *unmanaged [Stdcall]<IHTMLWindow3*,winmdroot.Foundation.BSTR ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Variant.VARIANT* ,winmdroot.Web.MsHtml.IHTMLWindow2** ,winmdroot.Foundation.HRESULT> showModelessDialog_20;
			} 
			public static void PopulateVTable(Vtbl* vtable)
			{
				vtable->get_screenLeft_8 = &get_screenLeft;
				vtable->get_screenTop_9 = &get_screenTop;
				vtable->attachEvent_10 = &attachEvent;
				vtable->detachEvent_11 = &detachEvent;
				vtable->setTimeout_12 = &setTimeout;
				vtable->setInterval_13 = &setInterval;
				vtable->print_14 = &print;
				vtable->put_onbeforeprint_15 = &put_onbeforeprint;
				vtable->get_onbeforeprint_16 = &get_onbeforeprint;
				vtable->put_onafterprint_17 = &put_onafterprint;
				vtable->get_onafterprint_18 = &get_onafterprint;
				vtable->get_clipboardData_19 = &get_clipboardData;
				vtable->showModelessDialog_20 = &showModelessDialog;
			}

			private void** lpVtbl;

			/// <summary>The IID guid for this interface.</summary>
			/// <value>{3050f4ae-98b5-11cf-bb82-00aa00bdce0b}</value>
			internal static readonly Guid IID_Guid = new Guid(0x3050F4AE, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B);

			static ref readonly Guid IComIID.Guid			{
								[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
				{
					ReadOnlySpan<byte> data = new byte[]					{
0xAE,0xF4,0x50,0x30,0xB5,0x98,0xCF,0x11,0xBB,0x82,0x00,0xAA,0x00,0xBD,0xCE,0x0B					};
					return ref Unsafe.As<byte,Guid>(ref MemoryMarshal.GetReference(data));
				}
			}
			[Guid("3050F4AE-98B5-11CF-BB82-00AA00BDCE0B"),InterfaceType(ComInterfaceType.InterfaceIsDual),ComImport()]
			internal interface Interface
			{
				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT get_screenLeft(int* p);

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT get_screenTop(int* p);

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT attachEvent(winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp, winmdroot.Foundation.VARIANT_BOOL* pfResult);

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT detachEvent(winmdroot.Foundation.BSTR @event, winmdroot.System.Com.IDispatch* pDisp);

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT setTimeout(winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language, int* timerID);

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT setInterval(winmdroot.System.Variant.VARIANT* expression, int msec, winmdroot.System.Variant.VARIANT* language, int* timerID);

								[PreserveSig()]
winmdroot.Foundation.HRESULT print();

				winmdroot.System.Variant.VARIANT onbeforeprint
				{
					set;
					get;
				}

				winmdroot.System.Variant.VARIANT onafterprint
				{
					set;
					get;
				}

				unsafe winmdroot.Web.MsHtml.IHTMLDataTransfer* clipboardData
				{
					get;
				}

				[PreserveSig()]
				unsafe winmdroot.Foundation.HRESULT showModelessDialog(winmdroot.Foundation.BSTR url, winmdroot.System.Variant.VARIANT* varArgIn, winmdroot.System.Variant.VARIANT* options, winmdroot.Web.MsHtml.IHTMLWindow2** pDialog);
			}
		}
	}
}