| File: _generated\610\Windows.Win32.UI_Shell_IWebBrowserApp_Extensions.g.cs | Web Access |
| Project: src\winforms\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,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 { [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal static partial class UI_Shell_IWebBrowserApp_Extensions { /// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowserApp.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.IWebBrowserApp.Interface @this, winmdroot.Foundation.BSTR URL, [Optional] winmdroot.System.Variant.VARIANT? Flags, [Optional] winmdroot.System.Variant.VARIANT? TargetFrameName, [Optional] winmdroot.System.Variant.VARIANT? PostData, [Optional] 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.IWebBrowserApp.Interface.Refresh2(winmdroot.System.Variant.VARIANT*)"/> internal static unsafe winmdroot.Foundation.HRESULT Refresh2(this winmdroot.UI.Shell.IWebBrowserApp.Interface @this, [Optional] 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.IWebBrowserApp.Interface.get_LocationName(winmdroot.Foundation.BSTR*)"/> internal static unsafe winmdroot.Foundation.HRESULT get_LocationName(this winmdroot.UI.Shell.IWebBrowserApp.Interface @this, out winmdroot.Foundation.BSTR LocationName) { fixed (winmdroot.Foundation.BSTR* LocationNameLocal = &LocationName) { winmdroot.Foundation.HRESULT __result = @this.get_LocationName(LocationNameLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowserApp.Interface.get_LocationURL(winmdroot.Foundation.BSTR*)"/> internal static unsafe winmdroot.Foundation.HRESULT get_LocationURL(this winmdroot.UI.Shell.IWebBrowserApp.Interface @this, out winmdroot.Foundation.BSTR LocationURL) { fixed (winmdroot.Foundation.BSTR* LocationURLLocal = &LocationURL) { winmdroot.Foundation.HRESULT __result = @this.get_LocationURL(LocationURLLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowserApp.Interface.get_Busy(winmdroot.Foundation.VARIANT_BOOL*)"/> internal static unsafe winmdroot.Foundation.HRESULT get_Busy(this winmdroot.UI.Shell.IWebBrowserApp.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; } } /// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowserApp.Interface.ClientToWindow(int*, int*)"/> internal static unsafe winmdroot.Foundation.HRESULT ClientToWindow(this winmdroot.UI.Shell.IWebBrowserApp.Interface @this, ref int pcx, ref int pcy) { fixed (int* pcyLocal = &pcy) { fixed (int* pcxLocal = &pcx) { winmdroot.Foundation.HRESULT __result = @this.ClientToWindow(pcxLocal, pcyLocal); return __result; } } } /// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowserApp.Interface.GetProperty(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetProperty(this winmdroot.UI.Shell.IWebBrowserApp.Interface @this, winmdroot.Foundation.BSTR Property, out winmdroot.System.Variant.VARIANT pvtValue) { fixed (winmdroot.System.Variant.VARIANT* pvtValueLocal = &pvtValue) { winmdroot.Foundation.HRESULT __result = @this.GetProperty(Property, pvtValueLocal); return __result; } } } }