File: Windows.Win32.System_Ole_IPicture_Extensions.g.cs
Project: src\src\System.Private.Windows.Core\src\System.Private.Windows.Core.csproj (System.Private.Windows.Core)
// ------------------------------------------------------------------------------
// <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_IPicture_Extensions
	{
		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Handle(winmdroot.System.Ole.OLE_HANDLE*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_Handle(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.System.Ole.OLE_HANDLE pHandle)
		{
			fixed (winmdroot.System.Ole.OLE_HANDLE* pHandleLocal = &pHandle)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_Handle(pHandleLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_hPal(winmdroot.System.Ole.OLE_HANDLE*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_hPal(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.System.Ole.OLE_HANDLE phPal)
		{
			fixed (winmdroot.System.Ole.OLE_HANDLE* phPalLocal = &phPal)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_hPal(phPalLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Type(winmdroot.System.Ole.PICTYPE*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_Type(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.System.Ole.PICTYPE pType)
		{
			fixed (winmdroot.System.Ole.PICTYPE* pTypeLocal = &pType)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_Type(pTypeLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Width(int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_Width(this winmdroot.System.Ole.IPicture.Interface @this, out int pWidth)
		{
			fixed (int* pWidthLocal = &pWidth)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_Width(pWidthLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Height(int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_Height(this winmdroot.System.Ole.IPicture.Interface @this, out int pHeight)
		{
			fixed (int* pHeightLocal = &pHeight)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_Height(pHeightLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.Render(winmdroot.Graphics.Gdi.HDC, int, int, int, int, int, int, int, int, winmdroot.Foundation.RECT*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT Render(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.Graphics.Gdi.HDC hDC, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, in winmdroot.Foundation.RECT pRcWBounds)
		{
			fixed (winmdroot.Foundation.RECT* pRcWBoundsLocal = &pRcWBounds)
			{
				winmdroot.Foundation.HRESULT __result = @this.Render(hDC, x, y, cx, cy, xSrc, ySrc, cxSrc, cySrc, pRcWBoundsLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_CurDC(winmdroot.Graphics.Gdi.HDC*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_CurDC(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.Graphics.Gdi.HDC phDC)
		{
			fixed (winmdroot.Graphics.Gdi.HDC* phDCLocal = &phDC)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_CurDC(phDCLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.SelectPicture(winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.HDC*, winmdroot.System.Ole.OLE_HANDLE*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT SelectPicture(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.Graphics.Gdi.HDC hDCIn, out winmdroot.Graphics.Gdi.HDC phDCOut, out winmdroot.System.Ole.OLE_HANDLE phBmpOut)
		{
			fixed (winmdroot.System.Ole.OLE_HANDLE* phBmpOutLocal = &phBmpOut)
			{
				fixed (winmdroot.Graphics.Gdi.HDC* phDCOutLocal = &phDCOut)
				{
					winmdroot.Foundation.HRESULT __result = @this.SelectPicture(hDCIn, phDCOutLocal, phBmpOutLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_KeepOriginalFormat(winmdroot.Foundation.BOOL*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_KeepOriginalFormat(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.Foundation.BOOL pKeep)
		{
			fixed (winmdroot.Foundation.BOOL* pKeepLocal = &pKeep)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_KeepOriginalFormat(pKeepLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.SaveAsFile(winmdroot.System.Com.IStream*, winmdroot.Foundation.BOOL, int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT SaveAsFile(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.System.Com.IStream* pStream, winmdroot.Foundation.BOOL fSaveMemCopy, out int pCbSize)
		{
			fixed (int* pCbSizeLocal = &pCbSize)
			{
				winmdroot.Foundation.HRESULT __result = @this.SaveAsFile(pStream, fSaveMemCopy, pCbSizeLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Attributes(uint*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT get_Attributes(this winmdroot.System.Ole.IPicture.Interface @this, out uint pDwAttr)
		{
			fixed (uint* pDwAttrLocal = &pDwAttr)
			{
				winmdroot.Foundation.HRESULT __result = @this.get_Attributes(pDwAttrLocal);
				return __result;
			}
		}
	}
}