|
// ------------------------------------------------------------------------------
// <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 System_Ole_IOleObject_Extensions
{
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.SetHostNames(winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetHostNames(this winmdroot.System.Ole.IOleObject.Interface @this, string szContainerApp, string szContainerObj)
{
fixed (char* szContainerObjLocal = szContainerObj)
{
fixed (char* szContainerAppLocal = szContainerApp)
{
winmdroot.Foundation.HRESULT __result = @this.SetHostNames(szContainerAppLocal, szContainerObjLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT DoVerb(this winmdroot.System.Ole.IOleObject.Interface @this, int iVerb, in winmdroot.UI.WindowsAndMessaging.MSG lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, in winmdroot.Foundation.RECT lprcPosRect)
{
fixed (winmdroot.Foundation.RECT* lprcPosRectLocal = &lprcPosRect)
{
fixed (winmdroot.UI.WindowsAndMessaging.MSG* lpmsgLocal = &lpmsg)
{
winmdroot.Foundation.HRESULT __result = @this.DoVerb(iVerb, lpmsgLocal, pActiveSite, lindex, hwndParent, lprcPosRectLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.GetUserClassID(global::System.Guid*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetUserClassID(this winmdroot.System.Ole.IOleObject.Interface @this, out global::System.Guid pClsid)
{
fixed (global::System.Guid* pClsidLocal = &pClsid)
{
winmdroot.Foundation.HRESULT __result = @this.GetUserClassID(pClsidLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.GetUserType(uint, winmdroot.Foundation.PWSTR*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetUserType(this winmdroot.System.Ole.IOleObject.Interface @this, uint dwFormOfType, out winmdroot.Foundation.PWSTR pszUserType)
{
fixed (winmdroot.Foundation.PWSTR* pszUserTypeLocal = &pszUserType)
{
winmdroot.Foundation.HRESULT __result = @this.GetUserType(dwFormOfType, pszUserTypeLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.SetExtent(winmdroot.System.Com.DVASPECT, winmdroot.Foundation.SIZE*)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetExtent(this winmdroot.System.Ole.IOleObject.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, in winmdroot.Foundation.SIZE psizel)
{
fixed (winmdroot.Foundation.SIZE* psizelLocal = &psizel)
{
winmdroot.Foundation.HRESULT __result = @this.SetExtent(dwDrawAspect, psizelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.GetExtent(winmdroot.System.Com.DVASPECT, winmdroot.Foundation.SIZE*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetExtent(this winmdroot.System.Ole.IOleObject.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, out winmdroot.Foundation.SIZE psizel)
{
fixed (winmdroot.Foundation.SIZE* psizelLocal = &psizel)
{
winmdroot.Foundation.HRESULT __result = @this.GetExtent(dwDrawAspect, psizelLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.Advise(winmdroot.System.Com.IAdviseSink*, uint*)"/>
internal static unsafe winmdroot.Foundation.HRESULT Advise(this winmdroot.System.Ole.IOleObject.Interface @this, winmdroot.System.Com.IAdviseSink* pAdvSink, out uint pdwConnection)
{
fixed (uint* pdwConnectionLocal = &pdwConnection)
{
winmdroot.Foundation.HRESULT __result = @this.Advise(pAdvSink, pdwConnectionLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.GetMiscStatus(winmdroot.System.Com.DVASPECT, winmdroot.System.Ole.OLEMISC*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetMiscStatus(this winmdroot.System.Ole.IOleObject.Interface @this, winmdroot.System.Com.DVASPECT dwAspect, out winmdroot.System.Ole.OLEMISC pdwStatus)
{
fixed (winmdroot.System.Ole.OLEMISC* pdwStatusLocal = &pdwStatus)
{
winmdroot.Foundation.HRESULT __result = @this.GetMiscStatus(dwAspect, pdwStatusLocal);
return __result;
}
}
}
}
|