|
// ------------------------------------------------------------------------------
// <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 UI_Shell_IWebBrowser_Extensions
{
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser.Interface.Navigate(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT Navigate(this winmdroot.UI.Shell.IWebBrowser.Interface @this, winmdroot.Foundation.BSTR URL, winmdroot.System.Variant.VARIANT? Flags, winmdroot.System.Variant.VARIANT? TargetFrameName, winmdroot.System.Variant.VARIANT? PostData, winmdroot.System.Variant.VARIANT? Headers)
{
winmdroot.System.Variant.VARIANT FlagsLocal = Flags ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.System.Variant.VARIANT TargetFrameNameLocal = TargetFrameName ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.System.Variant.VARIANT PostDataLocal = PostData ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.System.Variant.VARIANT HeadersLocal = Headers ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.Foundation.HRESULT __result = @this.Navigate(URL, Flags.HasValue ? &FlagsLocal : null, TargetFrameName.HasValue ? &TargetFrameNameLocal : null, PostData.HasValue ? &PostDataLocal : null, Headers.HasValue ? &HeadersLocal : null);
return __result;
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser.Interface.Refresh2(winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT Refresh2(this winmdroot.UI.Shell.IWebBrowser.Interface @this, winmdroot.System.Variant.VARIANT? Level)
{
winmdroot.System.Variant.VARIANT LevelLocal = Level ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.Foundation.HRESULT __result = @this.Refresh2(Level.HasValue ? &LevelLocal : null);
return __result;
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser.Interface.get_Busy(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_Busy(this winmdroot.UI.Shell.IWebBrowser.Interface @this, out winmdroot.Foundation.VARIANT_BOOL pBool)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pBoolLocal = &pBool)
{
winmdroot.Foundation.HRESULT __result = @this.get_Busy(pBoolLocal);
return __result;
}
}
}
}
|