File: Windows.Win32.Web_MsHtml_IHTMLWindow2_Extensions.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
{
	[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
	internal static partial class Web_MsHtml_IHTMLWindow2_Extensions
	{
		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.item(winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT item(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, in winmdroot.System.Variant.VARIANT pvarIndex, out winmdroot.System.Variant.VARIANT pvarResult)
		{
			fixed (winmdroot.System.Variant.VARIANT* pvarResultLocal = &pvarResult)
			{
				fixed (winmdroot.System.Variant.VARIANT* pvarIndexLocal = &pvarIndex)
				{
					winmdroot.Foundation.HRESULT __result = @this.item(pvarIndexLocal, pvarResultLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.get_length(int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_length(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, out int p)
		{
			fixed (int* pLocal = &p)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_length(pLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.setTimeout(winmdroot.Foundation.BSTR, int, winmdroot.System.Variant.VARIANT*, int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT setTimeout(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR expression, int msec, in winmdroot.System.Variant.VARIANT language, out int timerID)
		{
			fixed (int* timerIDLocal = &timerID)
			{
				fixed (winmdroot.System.Variant.VARIANT* languageLocal = &language)
				{
					winmdroot.Foundation.HRESULT __result = @this.setTimeout(expression, msec, languageLocal, timerIDLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.confirm(winmdroot.Foundation.BSTR, winmdroot.Foundation.VARIANT_BOOL*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT confirm(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR message, out winmdroot.Foundation.VARIANT_BOOL confirmed)
		{
			fixed (winmdroot.Foundation.VARIANT_BOOL* confirmedLocal = &confirmed)
			{
				winmdroot.Foundation.HRESULT __result = @this.confirm(message, confirmedLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.prompt(winmdroot.Foundation.BSTR, winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT prompt(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR message, winmdroot.Foundation.BSTR defstr, out winmdroot.System.Variant.VARIANT textdata)
		{
			fixed (winmdroot.System.Variant.VARIANT* textdataLocal = &textdata)
			{
				winmdroot.Foundation.HRESULT __result = @this.prompt(message, defstr, textdataLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.get_opener(winmdroot.System.Variant.VARIANT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_opener(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, out winmdroot.System.Variant.VARIANT p)
		{
			fixed (winmdroot.System.Variant.VARIANT* pLocal = &p)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_opener(pLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.showModalDialog(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT showModalDialog(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR dialog, in winmdroot.System.Variant.VARIANT varArgIn, in winmdroot.System.Variant.VARIANT varOptions, out winmdroot.System.Variant.VARIANT varArgOut)
		{
			fixed (winmdroot.System.Variant.VARIANT* varArgOutLocal = &varArgOut)
			{
				fixed (winmdroot.System.Variant.VARIANT* varOptionsLocal = &varOptions)
				{
					fixed (winmdroot.System.Variant.VARIANT* varArgInLocal = &varArgIn)
					{
						winmdroot.Foundation.HRESULT __result = @this.showModalDialog(dialog, varArgInLocal, varOptionsLocal, varArgOutLocal);
						return __result;
					}
				}
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.get_closed(winmdroot.Foundation.VARIANT_BOOL*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_closed(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, out winmdroot.Foundation.VARIANT_BOOL p)
		{
			fixed (winmdroot.Foundation.VARIANT_BOOL* pLocal = &p)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_closed(pLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.setInterval(winmdroot.Foundation.BSTR, int, winmdroot.System.Variant.VARIANT*, int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT setInterval(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR expression, int msec, in winmdroot.System.Variant.VARIANT language, out int timerID)
		{
			fixed (int* timerIDLocal = &timerID)
			{
				fixed (winmdroot.System.Variant.VARIANT* languageLocal = &language)
				{
					winmdroot.Foundation.HRESULT __result = @this.setInterval(expression, msec, languageLocal, timerIDLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.Web.MsHtml.IHTMLWindow2.Interface.execScript(winmdroot.Foundation.BSTR, winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT execScript(this winmdroot.Web.MsHtml.IHTMLWindow2.Interface @this, winmdroot.Foundation.BSTR code, winmdroot.Foundation.BSTR language, out winmdroot.System.Variant.VARIANT pvarRet)
		{
			fixed (winmdroot.System.Variant.VARIANT* pvarRetLocal = &pvarRet)
			{
				winmdroot.Foundation.HRESULT __result = @this.execScript(code, language, pvarRetLocal);
				return __result;
			}
		}
	}
}