File: Windows.Win32.System_Com_IDataObject_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_Com_IDataObject_Extensions
	{
		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT GetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetcIn, out winmdroot.System.Com.STGMEDIUM pmedium)
		{
			fixed (winmdroot.System.Com.STGMEDIUM* pmediumLocal = &pmedium)
			{
				fixed (winmdroot.System.Com.FORMATETC* pformatetcInLocal = &pformatetcIn)
				{
					winmdroot.Foundation.HRESULT __result = @this.GetData(pformatetcInLocal, pmediumLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetDataHere(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT GetDataHere(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, ref winmdroot.System.Com.STGMEDIUM pmedium)
		{
			fixed (winmdroot.System.Com.STGMEDIUM* pmediumLocal = &pmedium)
			{
				fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc)
				{
					winmdroot.Foundation.HRESULT __result = @this.GetDataHere(pformatetcLocal, pmediumLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.QueryGetData(winmdroot.System.Com.FORMATETC*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT QueryGetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc)
		{
			fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc)
			{
				winmdroot.Foundation.HRESULT __result = @this.QueryGetData(pformatetcLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.GetCanonicalFormatEtc(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.FORMATETC*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT GetCanonicalFormatEtc(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatectIn, out winmdroot.System.Com.FORMATETC pformatetcOut)
		{
			fixed (winmdroot.System.Com.FORMATETC* pformatetcOutLocal = &pformatetcOut)
			{
				fixed (winmdroot.System.Com.FORMATETC* pformatectInLocal = &pformatectIn)
				{
					winmdroot.Foundation.HRESULT __result = @this.GetCanonicalFormatEtc(pformatectInLocal, pformatetcOutLocal);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.SetData(winmdroot.System.Com.FORMATETC*, winmdroot.System.Com.STGMEDIUM*, winmdroot.Foundation.BOOL)"/>
		internal static unsafe winmdroot.Foundation.HRESULT SetData(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, in winmdroot.System.Com.STGMEDIUM pmedium, winmdroot.Foundation.BOOL fRelease)
		{
			fixed (winmdroot.System.Com.STGMEDIUM* pmediumLocal = &pmedium)
			{
				fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc)
				{
					winmdroot.Foundation.HRESULT __result = @this.SetData(pformatetcLocal, pmediumLocal, fRelease);
					return __result;
				}
			}
		}

		/// <inheritdoc cref="winmdroot.System.Com.IDataObject.Interface.DAdvise(winmdroot.System.Com.FORMATETC*, uint, winmdroot.System.Com.IAdviseSink*, uint*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT DAdvise(this winmdroot.System.Com.IDataObject.Interface @this, in winmdroot.System.Com.FORMATETC pformatetc, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink, out uint pdwConnection)
		{
			fixed (uint* pdwConnectionLocal = &pdwConnection)
			{
				fixed (winmdroot.System.Com.FORMATETC* pformatetcLocal = &pformatetc)
				{
					winmdroot.Foundation.HRESULT __result = @this.DAdvise(pformatetcLocal, advf, pAdvSink, pdwConnectionLocal);
					return __result;
				}
			}
		}
	}
}