|
// ------------------------------------------------------------------------------
// <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_IShellFolder_Extensions
{
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.ParseDisplayName(winmdroot.Foundation.HWND, winmdroot.System.Com.IBindCtx*, winmdroot.Foundation.PWSTR, uint*, winmdroot.UI.Shell.Common.ITEMIDLIST**, uint*)"/>
internal static unsafe winmdroot.Foundation.HRESULT ParseDisplayName(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwnd, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, out winmdroot.UI.Shell.Common.ITEMIDLIST* ppidl, ref uint pdwAttributes)
{
fixed (uint* pdwAttributesLocal = &pdwAttributes)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST** ppidlLocal = &ppidl)
{
winmdroot.Foundation.HRESULT __result = @this.ParseDisplayName(hwnd, pbc, pszDisplayName, default, ppidlLocal, pdwAttributesLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.BindToObject(winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.System.Com.IBindCtx*, global::System.Guid*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT BindToObject(this winmdroot.UI.Shell.IShellFolder.Interface @this, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, winmdroot.System.Com.IBindCtx* pbc, in global::System.Guid riid, out void* ppv)
{
fixed (void** ppvLocal = &ppv)
{
fixed (global::System.Guid* riidLocal = &riid)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidlLocal = &pidl)
{
winmdroot.Foundation.HRESULT __result = @this.BindToObject(pidlLocal, pbc, riidLocal, ppvLocal);
return __result;
}
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.BindToStorage(winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.System.Com.IBindCtx*, global::System.Guid*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT BindToStorage(this winmdroot.UI.Shell.IShellFolder.Interface @this, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, winmdroot.System.Com.IBindCtx* pbc, in global::System.Guid riid, out void* ppv)
{
fixed (void** ppvLocal = &ppv)
{
fixed (global::System.Guid* riidLocal = &riid)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidlLocal = &pidl)
{
winmdroot.Foundation.HRESULT __result = @this.BindToStorage(pidlLocal, pbc, riidLocal, ppvLocal);
return __result;
}
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.CompareIDs(winmdroot.Foundation.LPARAM, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.Common.ITEMIDLIST*)"/>
internal static unsafe winmdroot.Foundation.HRESULT CompareIDs(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.LPARAM lParam, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl1, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl2)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidl2Local = &pidl2)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidl1Local = &pidl1)
{
winmdroot.Foundation.HRESULT __result = @this.CompareIDs(lParam, pidl1Local, pidl2Local);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.CreateViewObject(winmdroot.Foundation.HWND, global::System.Guid*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT CreateViewObject(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwndOwner, in global::System.Guid riid, out void* ppv)
{
fixed (void** ppvLocal = &ppv)
{
fixed (global::System.Guid* riidLocal = &riid)
{
winmdroot.Foundation.HRESULT __result = @this.CreateViewObject(hwndOwner, riidLocal, ppvLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.GetAttributesOf(uint, winmdroot.UI.Shell.Common.ITEMIDLIST**, uint*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetAttributesOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, ref uint rgfInOut)
{
fixed (uint* rgfInOutLocal = &rgfInOut)
{
winmdroot.Foundation.HRESULT __result = @this.GetAttributesOf(cidl, apidl, rgfInOutLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.GetUIObjectOf(winmdroot.Foundation.HWND, uint, winmdroot.UI.Shell.Common.ITEMIDLIST**, global::System.Guid*, uint*, void**)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetUIObjectOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwndOwner, uint cidl, winmdroot.UI.Shell.Common.ITEMIDLIST** apidl, in global::System.Guid riid, out void* ppv)
{
fixed (void** ppvLocal = &ppv)
{
fixed (global::System.Guid* riidLocal = &riid)
{
winmdroot.Foundation.HRESULT __result = @this.GetUIObjectOf(hwndOwner, cidl, apidl, riidLocal, default, ppvLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.GetDisplayNameOf(winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.STRRET*)"/>
internal static unsafe winmdroot.Foundation.HRESULT GetDisplayNameOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, winmdroot.UI.Shell.SHGDNF uFlags, out winmdroot.UI.Shell.Common.STRRET pName)
{
fixed (winmdroot.UI.Shell.Common.STRRET* pNameLocal = &pName)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidlLocal = &pidl)
{
winmdroot.Foundation.HRESULT __result = @this.GetDisplayNameOf(pidlLocal, uFlags, pNameLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.SetNameOf(winmdroot.Foundation.HWND, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.Foundation.PCWSTR, winmdroot.UI.Shell.SHGDNF, winmdroot.UI.Shell.Common.ITEMIDLIST**)"/>
internal static unsafe winmdroot.Foundation.HRESULT SetNameOf(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.HWND hwnd, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, string pszName, winmdroot.UI.Shell.SHGDNF uFlags, winmdroot.UI.Shell.Common.ITEMIDLIST** ppidlOut)
{
fixed (char* pszNameLocal = pszName)
{
fixed (winmdroot.UI.Shell.Common.ITEMIDLIST* pidlLocal = &pidl)
{
winmdroot.Foundation.HRESULT __result = @this.SetNameOf(hwnd, pidlLocal, pszNameLocal, uFlags, ppidlOut);
return __result;
}
}
}
}
}
|