File: Windows.Win32.UI_Shell_IShellItem_Extensions.g.cs
Project: src\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
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_IShellItem_Extensions
	{
		/// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.BindToHandler(winmdroot.System.Com.IBindCtx*, global::System.Guid*, global::System.Guid*, void**)"/>
		internal static unsafe winmdroot.Foundation.HRESULT BindToHandler(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.System.Com.IBindCtx* pbc, in global::System.Guid bhid, in global::System.Guid riid, out void* ppv)
		{
			fixed (void** ppvLocal = &ppv)
			{
				fixed (global::System.Guid* riidLocal = &riid)
				{
					fixed (global::System.Guid* bhidLocal = &bhid)
					{
						winmdroot.Foundation.HRESULT __result = @this.BindToHandler(pbc, bhidLocal, riidLocal, ppvLocal);
						return __result;
					}
				}
			}
		}

		/// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.GetDisplayName(winmdroot.UI.Shell.SIGDN, winmdroot.Foundation.PWSTR*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT GetDisplayName(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.UI.Shell.SIGDN sigdnName, out winmdroot.Foundation.PWSTR ppszName)
		{
			fixed (winmdroot.Foundation.PWSTR* ppszNameLocal = &ppszName)
			{
				winmdroot.Foundation.HRESULT __result = @this.GetDisplayName(sigdnName, ppszNameLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.GetAttributes(winmdroot.System.SystemServices.SFGAO_FLAGS, winmdroot.System.SystemServices.SFGAO_FLAGS*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT GetAttributes(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.System.SystemServices.SFGAO_FLAGS sfgaoMask, out winmdroot.System.SystemServices.SFGAO_FLAGS psfgaoAttribs)
		{
			fixed (winmdroot.System.SystemServices.SFGAO_FLAGS* psfgaoAttribsLocal = &psfgaoAttribs)
			{
				winmdroot.Foundation.HRESULT __result = @this.GetAttributes(sfgaoMask, psfgaoAttribsLocal);
				return __result;
			}
		}

		/// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.Compare(winmdroot.UI.Shell.IShellItem*, uint, int*)"/>
		internal static unsafe winmdroot.Foundation.HRESULT Compare(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.UI.Shell.IShellItem* psi, uint hint, out int piOrder)
		{
			fixed (int* piOrderLocal = &piOrder)
			{
				winmdroot.Foundation.HRESULT __result = @this.Compare(psi, hint, piOrderLocal);
				return __result;
			}
		}
	}
}