389 references to IShellItem
System.Windows.Forms (11)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (2)
64using ComScope<IShellItem> initialDirectory = new(PInvoke.SHCreateShellItem(InitialDirectory)); 239private protected static unsafe string GetFilePathFromShellItem(IShellItem* item)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.VistaDialogEvents.cs (3)
24public HRESULT OnFolderChanging(IFileDialog* pfd, IShellItem* psiFolder) 39public unsafe HRESULT OnShareViolation(IFileDialog* pfd, IShellItem* psi, FDE_SHAREVIOLATION_RESPONSE* pResponse) 55public unsafe HRESULT OnOverwrite(IFileDialog* pfd, IShellItem* psi, FDE_OVERWRITE_RESPONSE* pResponse)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (3)
357using ComScope<IShellItem> initialDirectory = new(PInvoke.SHCreateShellItem(_initialDirectory)); 412using ComScope<IShellItem> item = new(null); 426using ComScope<IShellItem> item = new(null);
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (2)
139using ComScope<IShellItem> item = new(null); 158using ComScope<IShellItem> item = new(null);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (1)
159using ComScope<IShellItem> item = new(null);
System.Windows.Forms.Primitives (378)
_generated\124\Windows.Win32.IEnumShellItems.g.cs (9)
57 /// <inheritdoc cref="Next(uint, winmdroot.UI.Shell.IShellItem**, uint*)"/> 59 internal unsafe void Next(uint celt, winmdroot.UI.Shell.IShellItem** rgelt, out uint pceltFetched) 67 /// <inheritdoc cref="Next(uint, winmdroot.UI.Shell.IShellItem**, uint*)"/> 68 internal unsafe void Next(uint celt, winmdroot.UI.Shell.IShellItem** rgelt) 76 private static winmdroot.Foundation.HRESULT Next(IEnumShellItems* pThis, uint celt, winmdroot.UI.Shell.IShellItem** rgelt, [Optional] uint* pceltFetched) 113 public unsafe void Next(uint celt, winmdroot.UI.Shell.IShellItem** rgelt, [Optional] uint* pceltFetched) 115 ((delegate *unmanaged [Stdcall]<IEnumShellItems*,uint ,winmdroot.UI.Shell.IShellItem** ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IEnumShellItems*)Unsafe.AsPointer(ref this), celt, rgelt, pceltFetched).ThrowOnFailure(); 251 internal delegate *unmanaged [Stdcall]<IEnumShellItems*,uint ,winmdroot.UI.Shell.IShellItem** ,uint* ,winmdroot.Foundation.HRESULT> Next_4; 287 unsafe winmdroot.Foundation.HRESULT Next(uint celt, winmdroot.UI.Shell.IShellItem** rgelt, [Optional] uint* pceltFetched);
_generated\129\Windows.Win32.IFileDialog.g.cs (30)
380 private static winmdroot.Foundation.HRESULT SetDefaultFolder(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 408 public unsafe void SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi) 410 ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IFileDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 416 private static winmdroot.Foundation.HRESULT SetFolder(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 445 public unsafe void SetFolder(winmdroot.UI.Shell.IShellItem* psi) 447 ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IFileDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 453 private static winmdroot.Foundation.HRESULT GetFolder(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 479 public unsafe void GetFolder(winmdroot.UI.Shell.IShellItem** ppsi) 481 ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IFileDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 487 private static winmdroot.Foundation.HRESULT GetCurrentSelection(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 513 public unsafe void GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi) 515 ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IFileDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 752 private static winmdroot.Foundation.HRESULT GetResult(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 782 public unsafe winmdroot.Foundation.HRESULT GetResult(winmdroot.UI.Shell.IShellItem** ppsi) 784 return ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IFileDialog*)Unsafe.AsPointer(ref this), ppsi); 790 private static winmdroot.Foundation.HRESULT AddPlace(IFileDialog* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 820 public unsafe void AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 822 ((delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IFileDialog*)Unsafe.AsPointer(ref this), psi, fdap).ThrowOnFailure(); 1066 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetDefaultFolder_12; 1068 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetFolder_13; 1070 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetFolder_14; 1072 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetCurrentSelection_15; 1084 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetResult_21; 1086 internal delegate *unmanaged [Stdcall]<IFileDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT> AddPlace_22; 1170 unsafe winmdroot.Foundation.HRESULT SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi); 1173 unsafe winmdroot.Foundation.HRESULT SetFolder(winmdroot.UI.Shell.IShellItem* psi); 1176 unsafe winmdroot.Foundation.HRESULT GetFolder(winmdroot.UI.Shell.IShellItem** ppsi); 1179 unsafe winmdroot.Foundation.HRESULT GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi); 1197 unsafe winmdroot.Foundation.HRESULT GetResult(winmdroot.UI.Shell.IShellItem** ppsi); 1200 unsafe winmdroot.Foundation.HRESULT AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap);
_generated\131\Windows.Win32.IFileDialogEvents.g.cs (19)
97 private static winmdroot.Foundation.HRESULT OnFolderChanging(IFileDialogEvents* pThis, winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psiFolder) 130 public unsafe void OnFolderChanging(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psiFolder) 132 ((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd, psiFolder).ThrowOnFailure(); 205 /// <inheritdoc cref="OnShareViolation(winmdroot.UI.Shell.IFileDialog*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE*)"/> 207 internal unsafe void OnShareViolation(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE pResponse) 218 private static winmdroot.Foundation.HRESULT OnShareViolation(IFileDialogEvents* pThis, winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* pResponse) 255 public unsafe void OnShareViolation(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* pResponse) 257 ((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd, psi, pResponse).ThrowOnFailure(); 294 /// <inheritdoc cref="OnOverwrite(winmdroot.UI.Shell.IFileDialog*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE*)"/> 296 internal unsafe void OnOverwrite(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE pResponse) 307 private static winmdroot.Foundation.HRESULT OnOverwrite(IFileDialogEvents* pThis, winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* pResponse) 341 public unsafe void OnOverwrite(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* pResponse) 343 ((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd, psi, pResponse).ThrowOnFailure(); 377 internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> OnFolderChanging_5; 383 internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* ,winmdroot.Foundation.HRESULT> OnShareViolation_8; 387 internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.IFileDialog* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* ,winmdroot.Foundation.HRESULT> OnOverwrite_10; 423 unsafe winmdroot.Foundation.HRESULT OnFolderChanging(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psiFolder); 432 unsafe winmdroot.Foundation.HRESULT OnShareViolation(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* pResponse); 438 unsafe winmdroot.Foundation.HRESULT OnOverwrite(winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* pResponse);
_generated\132\Windows.Win32.IFileOpenDialog.g.cs (30)
299 private static winmdroot.Foundation.HRESULT SetDefaultFolder(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 316 public unsafe void SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi) 318 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IFileOpenDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 324 private static winmdroot.Foundation.HRESULT SetFolder(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 341 public unsafe void SetFolder(winmdroot.UI.Shell.IShellItem* psi) 343 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IFileOpenDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 349 private static winmdroot.Foundation.HRESULT GetFolder(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 366 public unsafe void GetFolder(winmdroot.UI.Shell.IShellItem** ppsi) 368 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IFileOpenDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 374 private static winmdroot.Foundation.HRESULT GetCurrentSelection(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 391 public unsafe void GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi) 393 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IFileOpenDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 574 private static winmdroot.Foundation.HRESULT GetResult(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 591 public unsafe void GetResult(winmdroot.UI.Shell.IShellItem** ppsi) 593 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IFileOpenDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 599 private static winmdroot.Foundation.HRESULT AddPlace(IFileOpenDialog* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 616 public unsafe void AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 618 ((delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IFileOpenDialog*)Unsafe.AsPointer(ref this), psi, fdap).ThrowOnFailure(); 883 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetDefaultFolder_12; 885 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetFolder_13; 887 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetFolder_14; 889 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetCurrentSelection_15; 901 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetResult_21; 903 internal delegate *unmanaged [Stdcall]<IFileOpenDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT> AddPlace_22; 993 unsafe new winmdroot.Foundation.HRESULT SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi); 996 unsafe new winmdroot.Foundation.HRESULT SetFolder(winmdroot.UI.Shell.IShellItem* psi); 999 unsafe new winmdroot.Foundation.HRESULT GetFolder(winmdroot.UI.Shell.IShellItem** ppsi); 1002 unsafe new winmdroot.Foundation.HRESULT GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi); 1020 unsafe new winmdroot.Foundation.HRESULT GetResult(winmdroot.UI.Shell.IShellItem** ppsi); 1023 unsafe new winmdroot.Foundation.HRESULT AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap);
_generated\133\Windows.Win32.IFileOperationProgressSink.g.cs (127)
123 /// <inheritdoc cref="PreRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 125 internal unsafe void PreRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, string pszNewName) 136 private static winmdroot.Foundation.HRESULT PreRenameItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName) 172 public unsafe void PreRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName) 174 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, pszNewName).ThrowOnFailure(); 177 /// <inheritdoc cref="PostRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> 179 internal unsafe void PostRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, string pszNewName, winmdroot.Foundation.HRESULT hrRename, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 190 private static winmdroot.Foundation.HRESULT PostRenameItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrRename, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 234 public unsafe void PostRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrRename, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 236 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, pszNewName, hrRename, psiNewlyCreated).ThrowOnFailure(); 239 /// <inheritdoc cref="PreMoveItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 241 internal unsafe void PreMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) 252 private static winmdroot.Foundation.HRESULT PreMoveItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 292 public unsafe void PreMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 294 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, psiDestinationFolder, pszNewName).ThrowOnFailure(); 297 /// <inheritdoc cref="PostMoveItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> 299 internal unsafe void PostMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, winmdroot.Foundation.HRESULT hrMove, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 310 private static winmdroot.Foundation.HRESULT PostMoveItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrMove, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 358 public unsafe void PostMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrMove, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 360 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, psiDestinationFolder, pszNewName, hrMove, psiNewlyCreated).ThrowOnFailure(); 363 /// <inheritdoc cref="PreCopyItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 365 internal unsafe void PreCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) 376 private static winmdroot.Foundation.HRESULT PreCopyItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 416 public unsafe void PreCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 418 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, psiDestinationFolder, pszNewName).ThrowOnFailure(); 421 /// <inheritdoc cref="PostCopyItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> 423 internal unsafe void PostCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, winmdroot.Foundation.HRESULT hrCopy, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 434 private static winmdroot.Foundation.HRESULT PostCopyItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrCopy, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 482 public unsafe void PostCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrCopy, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 484 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, psiDestinationFolder, pszNewName, hrCopy, psiNewlyCreated).ThrowOnFailure(); 490 private static winmdroot.Foundation.HRESULT PreDeleteItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem) 522 public unsafe void PreDeleteItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem) 524 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem).ThrowOnFailure(); 530 private static winmdroot.Foundation.HRESULT PostDeleteItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.HRESULT hrDelete, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 570 public unsafe void PostDeleteItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.HRESULT hrDelete, winmdroot.UI.Shell.IShellItem* psiNewlyCreated) 572 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiItem, hrDelete, psiNewlyCreated).ThrowOnFailure(); 575 /// <inheritdoc cref="PreNewItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 577 internal unsafe void PreNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) 588 private static winmdroot.Foundation.HRESULT PreNewItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 624 public unsafe void PreNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName) 626 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiDestinationFolder, pszNewName).ThrowOnFailure(); 629 /// <inheritdoc cref="PostNewItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, uint, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> 631 internal unsafe void PostNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName, string pszTemplateName, uint dwFileAttributes, winmdroot.Foundation.HRESULT hrNew, winmdroot.UI.Shell.IShellItem* psiNewItem) 645 private static winmdroot.Foundation.HRESULT PostNewItem(IFileOperationProgressSink* pThis, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.PCWSTR pszTemplateName, uint dwFileAttributes, winmdroot.Foundation.HRESULT hrNew, winmdroot.UI.Shell.IShellItem* psiNewItem) 699 public unsafe void PostNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.PCWSTR pszTemplateName, uint dwFileAttributes, winmdroot.Foundation.HRESULT hrNew, winmdroot.UI.Shell.IShellItem* psiNewItem) 701 ((delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,uint ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IFileOperationProgressSink*)Unsafe.AsPointer(ref this), dwFlags, psiDestinationFolder, pszNewName, pszTemplateName, dwFileAttributes, hrNew, psiNewItem).ThrowOnFailure(); 865 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> PreRenameItem_6; 867 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PostRenameItem_7; 869 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> PreMoveItem_8; 871 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PostMoveItem_9; 873 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> PreCopyItem_10; 875 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PostCopyItem_11; 877 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PreDeleteItem_12; 879 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PostDeleteItem_13; 881 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> PreNewItem_14; 883 internal delegate *unmanaged [Stdcall]<IFileOperationProgressSink*,uint ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.PCWSTR ,uint ,winmdroot.Foundation.HRESULT ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> PostNewItem_15; 939 unsafe winmdroot.Foundation.HRESULT PreRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName); 942 unsafe winmdroot.Foundation.HRESULT PostRenameItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrRename, winmdroot.UI.Shell.IShellItem* psiNewlyCreated); 945 unsafe winmdroot.Foundation.HRESULT PreMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName); 948 unsafe winmdroot.Foundation.HRESULT PostMoveItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrMove, winmdroot.UI.Shell.IShellItem* psiNewlyCreated); 951 unsafe winmdroot.Foundation.HRESULT PreCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName); 954 unsafe winmdroot.Foundation.HRESULT PostCopyItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.HRESULT hrCopy, winmdroot.UI.Shell.IShellItem* psiNewlyCreated); 957 unsafe winmdroot.Foundation.HRESULT PreDeleteItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem); 960 unsafe winmdroot.Foundation.HRESULT PostDeleteItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, winmdroot.Foundation.HRESULT hrDelete, winmdroot.UI.Shell.IShellItem* psiNewlyCreated); 963 unsafe winmdroot.Foundation.HRESULT PreNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName); 966 unsafe winmdroot.Foundation.HRESULT PostNewItem(uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, winmdroot.Foundation.PCWSTR pszNewName, winmdroot.Foundation.PCWSTR pszTemplateName, uint dwFileAttributes, winmdroot.Foundation.HRESULT hrNew, winmdroot.UI.Shell.IShellItem* psiNewItem);
_generated\134\Windows.Win32.IFileSaveDialog.g.cs (40)
299 private static winmdroot.Foundation.HRESULT SetDefaultFolder(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 316 public unsafe void SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi) 318 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 324 private static winmdroot.Foundation.HRESULT SetFolder(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 341 public unsafe void SetFolder(winmdroot.UI.Shell.IShellItem* psi) 343 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 349 private static winmdroot.Foundation.HRESULT GetFolder(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 366 public unsafe void GetFolder(winmdroot.UI.Shell.IShellItem** ppsi) 368 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IFileSaveDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 374 private static winmdroot.Foundation.HRESULT GetCurrentSelection(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 391 public unsafe void GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi) 393 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IFileSaveDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 574 private static winmdroot.Foundation.HRESULT GetResult(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 591 public unsafe void GetResult(winmdroot.UI.Shell.IShellItem** ppsi) 593 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IFileSaveDialog*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 599 private static winmdroot.Foundation.HRESULT AddPlace(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 616 public unsafe void AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap) 618 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi, fdap).ThrowOnFailure(); 769 private static winmdroot.Foundation.HRESULT SetSaveAsItem(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi) 795 public unsafe void SetSaveAsItem(winmdroot.UI.Shell.IShellItem* psi) 797 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[27])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 918 private static winmdroot.Foundation.HRESULT ApplyProperties(IFileSaveDialog* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink) 959 public unsafe void ApplyProperties(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink) 961 ((delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* ,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.IFileOperationProgressSink* ,winmdroot.Foundation.HRESULT>)lpVtbl[31])((IFileSaveDialog*)Unsafe.AsPointer(ref this), psi, pStore, hwnd, pSink).ThrowOnFailure(); 1009 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetDefaultFolder_12; 1011 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetFolder_13; 1013 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetFolder_14; 1015 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetCurrentSelection_15; 1027 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetResult_21; 1029 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT> AddPlace_22; 1041 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetSaveAsItem_28; 1049 internal delegate *unmanaged [Stdcall]<IFileSaveDialog*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* ,winmdroot.Foundation.HWND ,winmdroot.UI.Shell.IFileOperationProgressSink* ,winmdroot.Foundation.HRESULT> ApplyProperties_32; 1128 unsafe new winmdroot.Foundation.HRESULT SetDefaultFolder(winmdroot.UI.Shell.IShellItem* psi); 1131 unsafe new winmdroot.Foundation.HRESULT SetFolder(winmdroot.UI.Shell.IShellItem* psi); 1134 unsafe new winmdroot.Foundation.HRESULT GetFolder(winmdroot.UI.Shell.IShellItem** ppsi); 1137 unsafe new winmdroot.Foundation.HRESULT GetCurrentSelection(winmdroot.UI.Shell.IShellItem** ppsi); 1155 unsafe new winmdroot.Foundation.HRESULT GetResult(winmdroot.UI.Shell.IShellItem** ppsi); 1158 unsafe new winmdroot.Foundation.HRESULT AddPlace(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap); 1176 unsafe winmdroot.Foundation.HRESULT SetSaveAsItem(winmdroot.UI.Shell.IShellItem* psi); 1188 unsafe winmdroot.Foundation.HRESULT ApplyProperties(winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.PropertiesSystem.IPropertyStore* pStore, winmdroot.Foundation.HWND hwnd, winmdroot.UI.Shell.IFileOperationProgressSink* pSink);
_generated\242\Windows.Win32.IShellItem.g.cs (43)
27 :winmdroot.IVTable<IShellItem,IShellItem.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<IShellItem*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IShellItem*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<IShellItem*,uint>)lpVtbl[1])((IShellItem*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<IShellItem*,uint>)lpVtbl[2])((IShellItem*)Unsafe.AsPointer(ref this)); 76 private static winmdroot.Foundation.HRESULT BindToHandler(IShellItem* pThis, winmdroot.System.Com.IBindCtx* pbc, global::System.Guid* bhid, global::System.Guid* riid, void** ppv) 115 ((delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.System.Com.IBindCtx* ,global::System.Guid* ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IShellItem*)Unsafe.AsPointer(ref this), pbc, bhid, riid, ppv).ThrowOnFailure(); 121 private static winmdroot.Foundation.HRESULT GetParent(IShellItem* pThis, winmdroot.UI.Shell.IShellItem** ppsi) 149 public unsafe void GetParent(winmdroot.UI.Shell.IShellItem** ppsi) 151 ((delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IShellItem*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure(); 167 private static winmdroot.Foundation.HRESULT GetDisplayName(IShellItem* pThis, winmdroot.UI.Shell.SIGDN sigdnName, winmdroot.Foundation.PWSTR* ppszName) 199 ((delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.SIGDN ,winmdroot.Foundation.PWSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IShellItem*)Unsafe.AsPointer(ref this), sigdnName, ppszName).ThrowOnFailure(); 215 private static winmdroot.Foundation.HRESULT GetAttributes(IShellItem* pThis, winmdroot.System.SystemServices.SFGAO_FLAGS sfgaoMask, winmdroot.System.SystemServices.SFGAO_FLAGS* psfgaoAttribs) 249 ((delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.System.SystemServices.SFGAO_FLAGS ,winmdroot.System.SystemServices.SFGAO_FLAGS* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IShellItem*)Unsafe.AsPointer(ref this), sfgaoMask, psfgaoAttribs).ThrowOnFailure(); 252 /// <inheritdoc cref="Compare(winmdroot.UI.Shell.IShellItem*, uint, int*)"/> 254 internal unsafe void Compare(winmdroot.UI.Shell.IShellItem* psi, uint hint, out int piOrder) 265 private static winmdroot.Foundation.HRESULT Compare(IShellItem* pThis, winmdroot.UI.Shell.IShellItem* psi, uint hint, int* piOrder) 304 public unsafe void Compare(winmdroot.UI.Shell.IShellItem* psi, uint hint, int* piOrder) 306 ((delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.IShellItem* ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IShellItem*)Unsafe.AsPointer(ref this), psi, hint, piOrder).ThrowOnFailure(); 332 internal delegate *unmanaged [Stdcall]<IShellItem*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 334 internal delegate *unmanaged [Stdcall]<IShellItem*,uint> AddRef_2; 336 internal delegate *unmanaged [Stdcall]<IShellItem*,uint> Release_3; 338 internal delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.System.Com.IBindCtx* ,global::System.Guid* ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> BindToHandler_4; 340 internal delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetParent_5; 342 internal delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.SIGDN ,winmdroot.Foundation.PWSTR* ,winmdroot.Foundation.HRESULT> GetDisplayName_6; 344 internal delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.System.SystemServices.SFGAO_FLAGS ,winmdroot.System.SystemServices.SFGAO_FLAGS* ,winmdroot.Foundation.HRESULT> GetAttributes_7; 346 internal delegate *unmanaged [Stdcall]<IShellItem*,winmdroot.UI.Shell.IShellItem* ,uint ,int* ,winmdroot.Foundation.HRESULT> Compare_8; 380 unsafe winmdroot.Foundation.HRESULT GetParent(winmdroot.UI.Shell.IShellItem** ppsi); 389 unsafe winmdroot.Foundation.HRESULT Compare(winmdroot.UI.Shell.IShellItem* psi, uint hint, int* piOrder);
_generated\243\Windows.Win32.IShellItemArray.g.cs (5)
341 private static winmdroot.Foundation.HRESULT GetItemAt(IShellItemArray* pThis, uint dwIndex, winmdroot.UI.Shell.IShellItem** ppsi) 371 public unsafe void GetItemAt(uint dwIndex, winmdroot.UI.Shell.IShellItem** ppsi) 373 ((delegate *unmanaged [Stdcall]<IShellItemArray*,uint ,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IShellItemArray*)Unsafe.AsPointer(ref this), dwIndex, ppsi).ThrowOnFailure(); 451 internal delegate *unmanaged [Stdcall]<IShellItemArray*,uint ,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetItemAt_9; 501 unsafe winmdroot.Foundation.HRESULT GetItemAt(uint dwIndex, winmdroot.UI.Shell.IShellItem** ppsi);
_generated\244\Windows.Win32.IShellItemFilter.g.cs (12)
60 private static winmdroot.Foundation.HRESULT IncludeItem(IShellItemFilter* pThis, winmdroot.UI.Shell.IShellItem* psi) 86 public unsafe void IncludeItem(winmdroot.UI.Shell.IShellItem* psi) 88 ((delegate *unmanaged [Stdcall]<IShellItemFilter*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IShellItemFilter*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure(); 91 /// <inheritdoc cref="GetEnumFlagsForItem(winmdroot.UI.Shell.IShellItem*, uint*)"/> 93 internal unsafe void GetEnumFlagsForItem(winmdroot.UI.Shell.IShellItem* psi, out uint pgrfFlags) 104 private static winmdroot.Foundation.HRESULT GetEnumFlagsForItem(IShellItemFilter* pThis, winmdroot.UI.Shell.IShellItem* psi, uint* pgrfFlags) 136 public unsafe void GetEnumFlagsForItem(winmdroot.UI.Shell.IShellItem* psi, uint* pgrfFlags) 138 ((delegate *unmanaged [Stdcall]<IShellItemFilter*,winmdroot.UI.Shell.IShellItem* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IShellItemFilter*)Unsafe.AsPointer(ref this), psi, pgrfFlags).ThrowOnFailure(); 170 internal delegate *unmanaged [Stdcall]<IShellItemFilter*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> IncludeItem_4; 172 internal delegate *unmanaged [Stdcall]<IShellItemFilter*,winmdroot.UI.Shell.IShellItem* ,uint* ,winmdroot.Foundation.HRESULT> GetEnumFlagsForItem_5; 200 unsafe winmdroot.Foundation.HRESULT IncludeItem(winmdroot.UI.Shell.IShellItem* psi); 203 unsafe winmdroot.Foundation.HRESULT GetEnumFlagsForItem(winmdroot.UI.Shell.IShellItem* psi, uint* pgrfFlags);
_generated\422\Windows.Win32.PInvoke.SHELL32.dll.g.cs (3)
148 /// <inheritdoc cref="SHCreateShellItem(winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.IShellFolder*, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.IShellItem**)"/> 151 internal static unsafe winmdroot.Foundation.HRESULT SHCreateShellItem([Optional] winmdroot.UI.Shell.Common.ITEMIDLIST? pidlParent, [Optional] winmdroot.UI.Shell.IShellFolder* psfParent, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl, winmdroot.UI.Shell.IShellItem** ppsi) 189 internal static extern unsafe winmdroot.Foundation.HRESULT SHCreateShellItem([Optional] winmdroot.UI.Shell.Common.ITEMIDLIST* pidlParent, [Optional] winmdroot.UI.Shell.IShellFolder* psfParent, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl, winmdroot.UI.Shell.IShellItem** ppsi);
_generated\598\Windows.Win32.UI_Shell_IEnumShellItems_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IEnumShellItems.Interface.Next(uint, winmdroot.UI.Shell.IShellItem**, uint*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.UI.Shell.IEnumShellItems.Interface @this, uint celt, winmdroot.UI.Shell.IShellItem** rgelt, out uint pceltFetched) 33 /// <inheritdoc cref="winmdroot.UI.Shell.IEnumShellItems.Interface.Next(uint, winmdroot.UI.Shell.IShellItem**, uint*)"/> 35 internal static unsafe winmdroot.Foundation.HRESULT Next(this winmdroot.UI.Shell.IEnumShellItems.Interface @this, uint celt, winmdroot.UI.Shell.IShellItem** rgelt)
_generated\600\Windows.Win32.UI_Shell_IFileDialogEvents_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogEvents.Interface.OnShareViolation(winmdroot.UI.Shell.IFileDialog*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT OnShareViolation(this winmdroot.UI.Shell.IFileDialogEvents.Interface @this, winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE pResponse) 33 /// <inheritdoc cref="winmdroot.UI.Shell.IFileDialogEvents.Interface.OnOverwrite(winmdroot.UI.Shell.IFileDialog*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT OnOverwrite(this winmdroot.UI.Shell.IFileDialogEvents.Interface @this, winmdroot.UI.Shell.IFileDialog* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE pResponse)
_generated\603\Windows.Win32.UI_Shell_IFileOperationProgressSink_Extensions.g.cs (32)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT PreRenameItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiItem, string pszNewName) 33 /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PostRenameItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HRESULT, winmdroot.UI.Shell.IShellItem*)"/> 34 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) 43 /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreMoveItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 44 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) 53 /// <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*)"/> 54 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) 63 /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreCopyItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 64 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) 73 /// <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*)"/> 74 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) 83 /// <inheritdoc cref="winmdroot.UI.Shell.IFileOperationProgressSink.Interface.PreNewItem(uint, winmdroot.UI.Shell.IShellItem*, winmdroot.Foundation.PCWSTR)"/> 84 internal static unsafe winmdroot.Foundation.HRESULT PreNewItem(this winmdroot.UI.Shell.IFileOperationProgressSink.Interface @this, uint dwFlags, winmdroot.UI.Shell.IShellItem* psiDestinationFolder, string pszNewName) 93 /// <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*)"/> 94 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)
_generated\607\Windows.Win32.UI_Shell_IShellItemFilter_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IShellItemFilter.Interface.GetEnumFlagsForItem(winmdroot.UI.Shell.IShellItem*, uint*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetEnumFlagsForItem(this winmdroot.UI.Shell.IShellItemFilter.Interface @this, winmdroot.UI.Shell.IShellItem* psi, out uint pgrfFlags)
_generated\608\Windows.Win32.UI_Shell_IShellItem_Extensions.g.cs (10)
23 /// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.BindToHandler(winmdroot.System.Com.IBindCtx*, global::System.Guid*, global::System.Guid*, void**)"/> 24 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) 39 /// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.GetDisplayName(winmdroot.UI.Shell.SIGDN, winmdroot.Foundation.PWSTR*)"/> 40 internal static unsafe winmdroot.Foundation.HRESULT GetDisplayName(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.UI.Shell.SIGDN sigdnName, out winmdroot.Foundation.PWSTR ppszName) 49 /// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.GetAttributes(winmdroot.System.SystemServices.SFGAO_FLAGS, winmdroot.System.SystemServices.SFGAO_FLAGS*)"/> 50 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) 59 /// <inheritdoc cref="winmdroot.UI.Shell.IShellItem.Interface.Compare(winmdroot.UI.Shell.IShellItem*, uint, int*)"/> 60 internal static unsafe winmdroot.Foundation.HRESULT Compare(this winmdroot.UI.Shell.IShellItem.Interface @this, winmdroot.UI.Shell.IShellItem* psi, uint hint, out int piOrder)
System\Windows\Forms\FileDialogCustomPlace.cs (1)
58internal unsafe IShellItem* GetNativePath()
System\Windows\Forms\FileDialogCustomPlacesCollection.cs (1)
15using ComScope<IShellItem> shellItem = new(customPlace.GetNativePath());
Windows\Win32\PInvoke.SHCreateItemFromParsingName.cs (3)
11public static unsafe IShellItem* SHCreateItemFromParsingName(string path) 13HRESULT hr = SHCreateItemFromParsingName(path, pbc: null, in IID.GetRef<IShellItem>(), out void* ppv); 19return (IShellItem*)ppv;
Windows\Win32\PInvoke.SHCreateShellItem.cs (3)
8/// <inheritdoc cref="SHCreateShellItem(ITEMIDLIST*, IShellFolder*, ITEMIDLIST*, IShellItem**)"/> 9public static unsafe IShellItem* SHCreateShellItem(string path) 11IShellItem* ppsi = default;