https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eaac1cc75f6f8edb54482…
commit eaac1cc75f6f8edb5448222220502756eba8d2bf
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 1 12:44:53 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Oct 1 12:44:53 2018 +0100
[COMDLG32] Sync with Wine Staging 3.17. CORE-15127
---
dll/win32/comdlg32/filedlg.c | 4 ++++
dll/win32/comdlg32/itemdlg.c | 10 ++++++++++
media/doc/README.WINE | 2 +-
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/dll/win32/comdlg32/filedlg.c b/dll/win32/comdlg32/filedlg.c
index cd856471f8..33cbd5e436 100644
--- a/dll/win32/comdlg32/filedlg.c
+++ b/dll/win32/comdlg32/filedlg.c
@@ -1263,6 +1263,10 @@ static LRESULT FILEDLG95_OnWMSize(HWND hwnd, WPARAM wParam)
rc.bottom - rc.top + chgy,
SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER);
break;
+ case IDC_TOOLBARPLACES:
+ DeferWindowPos( hdwp, ctrl, NULL, 0, 0, rc.right - rc.left, rc.bottom
- rc.top + chgy,
+ SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER);
+ break;
}
}
}
diff --git a/dll/win32/comdlg32/itemdlg.c b/dll/win32/comdlg32/itemdlg.c
index f1f0492353..f306aaf8d8 100644
--- a/dll/win32/comdlg32/itemdlg.c
+++ b/dll/win32/comdlg32/itemdlg.c
@@ -2507,6 +2507,16 @@ static HRESULT WINAPI IFileDialog2_fnSetOptions(IFileDialog2
*iface, FILEOPENDIA
FileDialogImpl *This = impl_from_IFileDialog2(iface);
TRACE("%p (0x%x)\n", This, fos);
+ if (fos & ~(FOS_OVERWRITEPROMPT | FOS_STRICTFILETYPES | FOS_NOCHANGEDIR |
FOS_PICKFOLDERS | FOS_FORCEFILESYSTEM
+ | FOS_ALLNONSTORAGEITEMS | FOS_NOVALIDATE | FOS_ALLOWMULTISELECT |
FOS_PATHMUSTEXIST | FOS_FILEMUSTEXIST
+ | FOS_CREATEPROMPT | FOS_SHAREAWARE | FOS_NOREADONLYRETURN |
FOS_NOTESTFILECREATE | FOS_HIDEMRUPLACES
+ | FOS_HIDEPINNEDPLACES | FOS_NODEREFERENCELINKS | FOS_DONTADDTORECENT |
FOS_FORCESHOWHIDDEN
+ | FOS_DEFAULTNOMINIMODE | FOS_FORCEPREVIEWPANEON |
FOS_SUPPORTSTREAMABLEITEMS))
+ {
+ WARN("Invalid option %#x\n", fos);
+ return E_INVALIDARG;
+ }
+
if( !(This->options & FOS_PICKFOLDERS) && (fos & FOS_PICKFOLDERS)
)
{
WCHAR buf[30];
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index c3651a9123..c7989ab02e 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -55,7 +55,7 @@ reactos/dll/win32/cabinet # Synced to WineStaging-3.3
reactos/dll/win32/clusapi # Synced to WineStaging-3.3
reactos/dll/win32/comcat # Synced to WineStaging-3.3
reactos/dll/win32/comctl32 # Synced to Wine-3.0
-reactos/dll/win32/comdlg32 # Synced to WineStaging-3.9
+reactos/dll/win32/comdlg32 # Synced to WineStaging-3.17
reactos/dll/win32/compstui # Synced to WineStaging-3.3
reactos/dll/win32/credui # Synced to WineStaging-3.3
reactos/dll/win32/crypt32 # Synced to WineStaging-3.9