196 references to IFileDialog
System.Windows.Forms (19)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (6)
21
private protected abstract unsafe ComScope<
IFileDialog
> CreateVistaDialog();
25
using ComScope<
IFileDialog
> dialog = CreateVistaDialog();
50
private unsafe void OnBeforeVistaDialog(
IFileDialog
* dialog)
123
private protected abstract unsafe string[] ProcessVistaFiles(
IFileDialog
* dialog);
125
private unsafe bool HandleVistaFileOk(
IFileDialog
* dialog)
184
private unsafe void SetFileTypes(
IFileDialog
* dialog)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.VistaDialogEvents.cs (7)
19
public HRESULT OnFileOk(
IFileDialog
* pfd)
24
public HRESULT OnFolderChanging(
IFileDialog
* pfd, IShellItem* psiFolder)
29
public HRESULT OnFolderChange(
IFileDialog
* pfd)
34
public HRESULT OnSelectionChange(
IFileDialog
* pfd)
39
public unsafe HRESULT OnShareViolation(
IFileDialog
* pfd, IShellItem* psi, FDE_SHAREVIOLATION_RESPONSE* pResponse)
50
public HRESULT OnTypeChange(
IFileDialog
* pfd)
55
public unsafe HRESULT OnOverwrite(
IFileDialog
* pfd, IShellItem* psi, FDE_OVERWRITE_RESPONSE* pResponse)
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (3)
135
private protected override unsafe string[] ProcessVistaFiles(
IFileDialog
* dialog)
166
private protected override unsafe ComScope<
IFileDialog
> CreateVistaDialog()
172
out
IFileDialog
* fileDialog);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (3)
157
private protected override unsafe string[] ProcessVistaFiles(
IFileDialog
* dialog)
164
private protected override unsafe ComScope<
IFileDialog
> CreateVistaDialog()
170
out
IFileDialog
* fileDialog);
System.Windows.Forms.Primitives (175)
System\Windows\Forms\FileDialogCustomPlacesCollection.cs (1)
10
internal unsafe void Apply(
IFileDialog
* dialog)
Windows.Win32.IFileDialog.g.cs (107)
26
:IVTable<
IFileDialog
,
IFileDialog
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IFileDialog
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IFileDialog
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint>)lpVtbl[1])((
IFileDialog
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint>)lpVtbl[2])((
IFileDialog
*)Unsafe.AsPointer(ref this));
58
private static winmdroot.Foundation.HRESULT Show(
IFileDialog
* pThis, winmdroot.Foundation.HWND hwndOwner)
77
return ((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IFileDialog
*)Unsafe.AsPointer(ref this), hwndOwner);
92
private static winmdroot.Foundation.HRESULT SetFileTypes(
IFileDialog
* pThis, uint cFileTypes, winmdroot.UI.Shell.Common.COMDLG_FILTERSPEC* rgFilterSpec)
128
((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.UI.Shell.Common.COMDLG_FILTERSPEC* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IFileDialog
*)Unsafe.AsPointer(ref this), cFileTypes, rgFilterSpec).ThrowOnFailure();
134
private static winmdroot.Foundation.HRESULT SetFileTypeIndex(
IFileDialog
* pThis, uint iFileType)
162
((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IFileDialog
*)Unsafe.AsPointer(ref this), iFileType).ThrowOnFailure();
177
private static winmdroot.Foundation.HRESULT GetFileTypeIndex(
IFileDialog
* pThis, uint* piFileType)
205
((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IFileDialog
*)Unsafe.AsPointer(ref this), piFileType).ThrowOnFailure();
220
private static winmdroot.Foundation.HRESULT Advise(
IFileDialog
* pThis, winmdroot.UI.Shell.IFileDialogEvents* pfde, uint* pdwCookie)
254
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IFileDialogEvents* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IFileDialog
*)Unsafe.AsPointer(ref this), pfde, pdwCookie).ThrowOnFailure();
260
private static winmdroot.Foundation.HRESULT Unadvise(
IFileDialog
* pThis, uint dwCookie)
290
((delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IFileDialog
*)Unsafe.AsPointer(ref this), dwCookie).ThrowOnFailure();
296
private static winmdroot.Foundation.HRESULT SetOptions(
IFileDialog
* pThis, winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS fos)
324
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IFileDialog
*)Unsafe.AsPointer(ref this), fos).ThrowOnFailure();
339
private static winmdroot.Foundation.HRESULT GetOptions(
IFileDialog
* pThis, winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS* pfos)
369
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
IFileDialog
*)Unsafe.AsPointer(ref this), pfos).ThrowOnFailure();
375
private static winmdroot.Foundation.HRESULT SetDefaultFolder(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem* psi)
405
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
IFileDialog
*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure();
411
private static winmdroot.Foundation.HRESULT SetFolder(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem* psi)
442
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((
IFileDialog
*)Unsafe.AsPointer(ref this), psi).ThrowOnFailure();
448
private static winmdroot.Foundation.HRESULT GetFolder(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem** ppsi)
476
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((
IFileDialog
*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure();
482
private static winmdroot.Foundation.HRESULT GetCurrentSelection(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem** ppsi)
510
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((
IFileDialog
*)Unsafe.AsPointer(ref this), ppsi).ThrowOnFailure();
525
private static winmdroot.Foundation.HRESULT SetFileName(
IFileDialog
* pThis, winmdroot.Foundation.PCWSTR pszName)
555
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszName).ThrowOnFailure();
570
private static winmdroot.Foundation.HRESULT GetFileName(
IFileDialog
* pThis, winmdroot.Foundation.PWSTR* pszName)
601
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PWSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszName).ThrowOnFailure();
616
private static winmdroot.Foundation.HRESULT SetTitle(
IFileDialog
* pThis, winmdroot.Foundation.PCWSTR pszTitle)
646
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszTitle).ThrowOnFailure();
661
private static winmdroot.Foundation.HRESULT SetOkButtonLabel(
IFileDialog
* pThis, winmdroot.Foundation.PCWSTR pszText)
691
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszText).ThrowOnFailure();
706
private static winmdroot.Foundation.HRESULT SetFileNameLabel(
IFileDialog
* pThis, winmdroot.Foundation.PCWSTR pszLabel)
736
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszLabel).ThrowOnFailure();
742
private static winmdroot.Foundation.HRESULT GetResult(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem** ppsi)
774
return ((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((
IFileDialog
*)Unsafe.AsPointer(ref this), ppsi);
780
private static winmdroot.Foundation.HRESULT AddPlace(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDAP fdap)
812
((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();
827
private static winmdroot.Foundation.HRESULT SetDefaultExtension(
IFileDialog
* pThis, winmdroot.Foundation.PCWSTR pszDefaultExtension)
855
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[22])((
IFileDialog
*)Unsafe.AsPointer(ref this), pszDefaultExtension).ThrowOnFailure();
861
private static winmdroot.Foundation.HRESULT Close(
IFileDialog
* pThis, winmdroot.Foundation.HRESULT hr)
892
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HRESULT ,winmdroot.Foundation.HRESULT>)lpVtbl[23])((
IFileDialog
*)Unsafe.AsPointer(ref this), hr).ThrowOnFailure();
907
private static winmdroot.Foundation.HRESULT SetClientGuid(
IFileDialog
* pThis, global::System.Guid* guid)
939
((delegate *unmanaged [Stdcall]<
IFileDialog
*,global::System.Guid* ,winmdroot.Foundation.HRESULT>)lpVtbl[24])((
IFileDialog
*)Unsafe.AsPointer(ref this), guid).ThrowOnFailure();
945
private static winmdroot.Foundation.HRESULT ClearClientData(
IFileDialog
* pThis)
969
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HRESULT>)lpVtbl[25])((
IFileDialog
*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
975
private static winmdroot.Foundation.HRESULT SetFilter(
IFileDialog
* pThis, winmdroot.UI.Shell.IShellItemFilter* pFilter)
1006
((delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItemFilter* ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((
IFileDialog
*)Unsafe.AsPointer(ref this), pFilter).ThrowOnFailure();
1030
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
1032
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint> AddRef_2;
1034
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint> Release_3;
1036
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HWND ,winmdroot.Foundation.HRESULT> Show_4;
1038
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.UI.Shell.Common.COMDLG_FILTERSPEC* ,winmdroot.Foundation.HRESULT> SetFileTypes_5;
1040
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.Foundation.HRESULT> SetFileTypeIndex_6;
1042
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint* ,winmdroot.Foundation.HRESULT> GetFileTypeIndex_7;
1044
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IFileDialogEvents* ,uint* ,winmdroot.Foundation.HRESULT> Advise_8;
1046
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,uint ,winmdroot.Foundation.HRESULT> Unadvise_9;
1048
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS ,winmdroot.Foundation.HRESULT> SetOptions_10;
1050
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS* ,winmdroot.Foundation.HRESULT> GetOptions_11;
1052
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetDefaultFolder_12;
1054
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> SetFolder_13;
1056
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetFolder_14;
1058
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetCurrentSelection_15;
1060
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> SetFileName_16;
1062
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PWSTR* ,winmdroot.Foundation.HRESULT> GetFileName_17;
1064
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> SetTitle_18;
1066
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> SetOkButtonLabel_19;
1068
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> SetFileNameLabel_20;
1070
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem** ,winmdroot.Foundation.HRESULT> GetResult_21;
1072
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDAP ,winmdroot.Foundation.HRESULT> AddPlace_22;
1074
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.PCWSTR ,winmdroot.Foundation.HRESULT> SetDefaultExtension_23;
1076
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HRESULT ,winmdroot.Foundation.HRESULT> Close_24;
1078
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,global::System.Guid* ,winmdroot.Foundation.HRESULT> SetClientGuid_25;
1080
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.Foundation.HRESULT> ClearClientData_26;
1082
internal delegate *unmanaged [Stdcall]<
IFileDialog
*,winmdroot.UI.Shell.IShellItemFilter* ,winmdroot.Foundation.HRESULT> SetFilter_27;
Windows.Win32.IFileDialogEvents.g.cs (39)
58
private static winmdroot.Foundation.HRESULT OnFileOk(IFileDialogEvents* pThis, winmdroot.UI.Shell.
IFileDialog
* pfd)
87
public unsafe void OnFileOk(winmdroot.UI.Shell.
IFileDialog
* pfd)
89
((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd).ThrowOnFailure();
95
private static winmdroot.Foundation.HRESULT OnFolderChanging(IFileDialogEvents* pThis, winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psiFolder)
128
public unsafe void OnFolderChanging(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psiFolder)
130
((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();
136
private static winmdroot.Foundation.HRESULT OnFolderChange(IFileDialogEvents* pThis, winmdroot.UI.Shell.
IFileDialog
* pfd)
162
public unsafe void OnFolderChange(winmdroot.UI.Shell.
IFileDialog
* pfd)
164
((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd).ThrowOnFailure();
170
private static winmdroot.Foundation.HRESULT OnSelectionChange(IFileDialogEvents* pThis, winmdroot.UI.Shell.
IFileDialog
* pfd)
198
public unsafe void OnSelectionChange(winmdroot.UI.Shell.
IFileDialog
* pfd)
200
((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd).ThrowOnFailure();
203
/// <inheritdoc cref="OnShareViolation(winmdroot.UI.Shell.
IFileDialog
*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE*)"/>
204
internal unsafe void OnShareViolation(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE pResponse)
215
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)
252
public unsafe void OnShareViolation(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* pResponse)
254
((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();
260
private static winmdroot.Foundation.HRESULT OnTypeChange(IFileDialogEvents* pThis, winmdroot.UI.Shell.
IFileDialog
* pfd)
286
public unsafe void OnTypeChange(winmdroot.UI.Shell.
IFileDialog
* pfd)
288
((delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IFileDialogEvents*)Unsafe.AsPointer(ref this), pfd).ThrowOnFailure();
291
/// <inheritdoc cref="OnOverwrite(winmdroot.UI.Shell.
IFileDialog
*, winmdroot.UI.Shell.IShellItem*, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE*)"/>
292
internal unsafe void OnOverwrite(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, out winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE pResponse)
303
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)
337
public unsafe void OnOverwrite(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* pResponse)
339
((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();
369
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT> OnFileOk_4;
371
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.Foundation.HRESULT> OnFolderChanging_5;
373
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT> OnFolderChange_6;
375
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT> OnSelectionChange_7;
377
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* ,winmdroot.Foundation.HRESULT> OnShareViolation_8;
379
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.Foundation.HRESULT> OnTypeChange_9;
381
internal delegate *unmanaged [Stdcall]<IFileDialogEvents*,winmdroot.UI.Shell.
IFileDialog
* ,winmdroot.UI.Shell.IShellItem* ,winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* ,winmdroot.Foundation.HRESULT> OnOverwrite_10;
414
unsafe winmdroot.Foundation.HRESULT OnFileOk(winmdroot.UI.Shell.
IFileDialog
* pfd);
417
unsafe winmdroot.Foundation.HRESULT OnFolderChanging(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psiFolder);
420
unsafe winmdroot.Foundation.HRESULT OnFolderChange(winmdroot.UI.Shell.
IFileDialog
* pfd);
423
unsafe winmdroot.Foundation.HRESULT OnSelectionChange(winmdroot.UI.Shell.
IFileDialog
* pfd);
426
unsafe winmdroot.Foundation.HRESULT OnShareViolation(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_SHAREVIOLATION_RESPONSE* pResponse);
429
unsafe winmdroot.Foundation.HRESULT OnTypeChange(winmdroot.UI.Shell.
IFileDialog
* pfd);
432
unsafe winmdroot.Foundation.HRESULT OnOverwrite(winmdroot.UI.Shell.
IFileDialog
* pfd, winmdroot.UI.Shell.IShellItem* psi, winmdroot.UI.Shell.FDE_OVERWRITE_RESPONSE* pResponse);
Windows.Win32.IFileOpenDialog.g.cs (1)
953
:winmdroot.UI.Shell.IModalWindow.Interface,winmdroot.UI.Shell.
IFileDialog
.Interface {
Windows.Win32.IFileSaveDialog.g.cs (1)
1088
:winmdroot.UI.Shell.IModalWindow.Interface,winmdroot.UI.Shell.
IFileDialog
.Interface {
Windows.Win32.UI_Shell_IFileDialog_Extensions.g.cs (22)
23
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetFileTypes(uint, winmdroot.UI.Shell.Common.COMDLG_FILTERSPEC*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT SetFileTypes(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, ReadOnlySpan<winmdroot.UI.Shell.Common.COMDLG_FILTERSPEC> rgFilterSpec)
33
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.GetFileTypeIndex(uint*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetFileTypeIndex(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, out uint piFileType)
43
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.Advise(winmdroot.UI.Shell.IFileDialogEvents*, uint*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT Advise(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, winmdroot.UI.Shell.IFileDialogEvents* pfde, out uint pdwCookie)
53
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.GetOptions(winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS*)"/>
54
internal static unsafe winmdroot.Foundation.HRESULT GetOptions(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, out winmdroot.UI.Shell.FILEOPENDIALOGOPTIONS pfos)
63
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetFileName(winmdroot.Foundation.PCWSTR)"/>
64
internal static unsafe winmdroot.Foundation.HRESULT SetFileName(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, string pszName)
73
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.GetFileName(winmdroot.Foundation.PWSTR*)"/>
74
internal static unsafe winmdroot.Foundation.HRESULT GetFileName(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, out winmdroot.Foundation.PWSTR pszName)
83
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetTitle(winmdroot.Foundation.PCWSTR)"/>
84
internal static unsafe winmdroot.Foundation.HRESULT SetTitle(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, string pszTitle)
93
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetOkButtonLabel(winmdroot.Foundation.PCWSTR)"/>
94
internal static unsafe winmdroot.Foundation.HRESULT SetOkButtonLabel(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, string pszText)
103
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetFileNameLabel(winmdroot.Foundation.PCWSTR)"/>
104
internal static unsafe winmdroot.Foundation.HRESULT SetFileNameLabel(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, string pszLabel)
113
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetDefaultExtension(winmdroot.Foundation.PCWSTR)"/>
114
internal static unsafe winmdroot.Foundation.HRESULT SetDefaultExtension(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, string pszDefaultExtension)
123
/// <inheritdoc cref="winmdroot.UI.Shell.
IFileDialog
.Interface.SetClientGuid(global::System.Guid*)"/>
124
internal static unsafe winmdroot.Foundation.HRESULT SetClientGuid(this winmdroot.UI.Shell.
IFileDialog
.Interface @this, in global::System.Guid guid)
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)
System.Windows.Forms.Tests (2)
System\Windows\Forms\FileDialogTests.cs (2)
847
private protected override ComScope<
IFileDialog
> CreateVistaDialog() => default;
849
private protected override string[] ProcessVistaFiles(
IFileDialog
* dialog) => null;