|
// ------------------------------------------------------------------------------
// <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_IWebBrowser2_Extensions
{
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.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.IWebBrowser2.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.IWebBrowser2.Interface.Refresh2(winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT Refresh2(this winmdroot.UI.Shell.IWebBrowser2.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.IWebBrowser2.Interface.get_Busy(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_Busy(this winmdroot.UI.Shell.IWebBrowser2.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.IWebBrowser2.Interface.ClientToWindow(int*, int*)"/>
internal static unsafe winmdroot.Foundation.HRESULT ClientToWindow(this winmdroot.UI.Shell.IWebBrowser2.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.IWebBrowser2.Interface.GetProperty(winmdroot.Foundation.BSTR, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetProperty(this winmdroot.UI.Shell.IWebBrowser2.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;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.Navigate2(winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT Navigate2(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, in winmdroot.System.Variant.VARIANT URL, winmdroot.System.Variant.VARIANT? Flags, winmdroot.System.Variant.VARIANT? TargetFrameName, winmdroot.System.Variant.VARIANT? PostData, winmdroot.System.Variant.VARIANT? Headers)
{
fixed (winmdroot.System.Variant.VARIANT* URLLocal = &URL)
{
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.Navigate2(URLLocal, Flags.HasValue ? &FlagsLocal : null, TargetFrameName.HasValue ? &TargetFrameNameLocal : null, PostData.HasValue ? &PostDataLocal : null, Headers.HasValue ? &HeadersLocal : null);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.QueryStatusWB(winmdroot.System.Ole.OLECMDID, winmdroot.System.Ole.OLECMDF*)"/>
internal static unsafe winmdroot.Foundation.HRESULT QueryStatusWB(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, winmdroot.System.Ole.OLECMDID cmdID, out winmdroot.System.Ole.OLECMDF pcmdf)
{
fixed (winmdroot.System.Ole.OLECMDF* pcmdfLocal = &pcmdf)
{
winmdroot.Foundation.HRESULT __result = @this.QueryStatusWB(cmdID, pcmdfLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.ExecWB(winmdroot.System.Ole.OLECMDID, winmdroot.System.Ole.OLECMDEXECOPT, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT ExecWB(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, winmdroot.System.Ole.OLECMDID cmdID, winmdroot.System.Ole.OLECMDEXECOPT cmdexecopt, winmdroot.System.Variant.VARIANT? pvaIn, winmdroot.System.Variant.VARIANT* pvaOut)
{
winmdroot.System.Variant.VARIANT pvaInLocal = pvaIn ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.Foundation.HRESULT __result = @this.ExecWB(cmdID, cmdexecopt, pvaIn.HasValue ? &pvaInLocal : null, pvaOut);
return __result;
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.ShowBrowserBar(winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT ShowBrowserBar(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, in winmdroot.System.Variant.VARIANT pvaClsid, winmdroot.System.Variant.VARIANT? pvarShow, winmdroot.System.Variant.VARIANT? pvarSize)
{
fixed (winmdroot.System.Variant.VARIANT* pvaClsidLocal = &pvaClsid)
{
winmdroot.System.Variant.VARIANT pvarShowLocal = pvarShow ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.System.Variant.VARIANT pvarSizeLocal = pvarSize ?? default(winmdroot.System.Variant.VARIANT);
winmdroot.Foundation.HRESULT __result = @this.ShowBrowserBar(pvaClsidLocal, pvarShow.HasValue ? &pvarShowLocal : null, pvarSize.HasValue ? &pvarSizeLocal : null);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.get_ReadyState(winmdroot.System.Ole.READYSTATE*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_ReadyState(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, out winmdroot.System.Ole.READYSTATE plReadyState)
{
fixed (winmdroot.System.Ole.READYSTATE* plReadyStateLocal = &plReadyState)
{
winmdroot.Foundation.HRESULT __result = @this.get_ReadyState(plReadyStateLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.get_Offline(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_Offline(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, out winmdroot.Foundation.VARIANT_BOOL pbOffline)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pbOfflineLocal = &pbOffline)
{
winmdroot.Foundation.HRESULT __result = @this.get_Offline(pbOfflineLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.get_Silent(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_Silent(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, out winmdroot.Foundation.VARIANT_BOOL pbSilent)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pbSilentLocal = &pbSilent)
{
winmdroot.Foundation.HRESULT __result = @this.get_Silent(pbSilentLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IWebBrowser2.Interface.get_RegisterAsDropTarget(winmdroot.Foundation.VARIANT_BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT get_RegisterAsDropTarget(this winmdroot.UI.Shell.IWebBrowser2.Interface @this, out winmdroot.Foundation.VARIANT_BOOL pbRegister)
{
fixed (winmdroot.Foundation.VARIANT_BOOL* pbRegisterLocal = &pbRegister)
{
winmdroot.Foundation.HRESULT __result = @this.get_RegisterAsDropTarget(pbRegisterLocal);
return __result;
}
}
}
}
|