// ------------------------------------------------------------------------------ // <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,SYSLIB1092,CS3021,CS3019 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.287+85e3fa26dd.RR")] internal static partial class UI_Shell_IFileOperationProgressSink_Extensions { /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> internal static unsafe winmdroot.Foundation.HRESULT PreRenameItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, string pszNewName) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PreRenameItem(dwFlags, psiItem, pszNewNameLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PostRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> internal static unsafe winmdroot.Foundation.HRESULT PostRenameItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, string pszNewName, winmdroot.Foundation.HRESULT hrRename, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PostRenameItem(dwFlags, psiItem, pszNewNameLocal, hrRename, psiNewlyCreated); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreMoveItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> internal static unsafe winmdroot.Foundation.HRESULT PreMoveItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PreMoveItem(dwFlags, psiItem, psiDestinationFolder, pszNewNameLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PostMoveItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> internal static unsafe winmdroot.Foundation.HRESULT PostMoveItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, winmdroot.Foundation.HRESULT hrMove, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PostMoveItem(dwFlags, psiItem, psiDestinationFolder, pszNewNameLocal, hrMove, psiNewlyCreated); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreCopyItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> internal static unsafe winmdroot.Foundation.HRESULT PreCopyItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PreCopyItem(dwFlags, psiItem, psiDestinationFolder, pszNewNameLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PostCopyItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> internal static unsafe winmdroot.Foundation.HRESULT PostCopyItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, winmdroot.Foundation.HRESULT hrCopy, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PostCopyItem(dwFlags, psiItem, psiDestinationFolder, pszNewNameLocal, hrCopy, psiNewlyCreated); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreNewItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> internal static unsafe winmdroot.Foundation.HRESULT PreNewItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PreNewItem(dwFlags, psiDestinationFolder, pszNewNameLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PostNewItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, uint, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> internal static unsafe winmdroot.Foundation.HRESULT PostNewItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, string pszTemplateName, uint dwFileAttributes, winmdroot.Foundation.HRESULT hrNew, winmdroot.UI.Shell.IShellItem* psiNewItem) { fixed (char* pszTemplateNameLocal = pszTemplateName) { fixed (char* pszNewNameLocal = pszNewName) { winmdroot.Foundation.HRESULT __result = @this.PostNewItem(dwFlags, psiDestinationFolder, pszNewNameLocal, pszTemplateNameLocal, dwFileAttributes, hrNew, psiNewItem); return __result; } } } } }