reactos/dll/win32/shell32
Hermès Bélusca-Maïto 14599b0a37
[SHELL32][SHLWAPI] Forward shell32.ShellMessageBoxW directly to shlwapi.ShellMessageBoxWrapW. (#3179)
This makes ShellMessageBoxW use the correct implementation where the
text buffer size is dynamic, instead of having a too small hardcoded
size.

Fixes CORE-17271.
See also PR #3172 by Kyle Katarn, supplemented with some ideas from
Mark Jansen.

However we cannot straightforwardly implement ShellMessageBoxA around
ShellMessageBoxW, by converting some parameters from ANSI to UNICODE,
because there may be some variadic ANSI strings, associated with '%s'
printf-like formatters inside the format string, that would also need
to be converted; however there is no way for us to find these and perform
the conversion ourselves.
Therefore, we re-implement ShellMessageBoxA by doing a copy-paste ANSI
adaptation of the shlwapi.ShellMessageBoxWrapW function.

Note that, on Vista+ onwards, shlwapi implements both ShellMessageBoxA/W,
and shell32 directly forwards these exports to shlwapi, thus avoiding
these workarounds.

[PSDK] Explicily use WINAPIV for the variadic ShellMessageBoxA/W functions.

[INCLUDE/REACTOS] Add ShellMessageBoxWrapW in shlwapi_undoc.h .
2020-09-13 22:44:58 +02:00
..
dialogs [SHELL32] Show "size on disk" in file/folder properties (#3107) 2020-09-10 20:48:40 +02:00
droptargets [SHELL32] Demote noisy ERR() to TRACE() in CRecyclerDropTarget (#3093) 2020-08-25 19:12:17 +03:00
folders [SHELL32] Fix regression CORE-12364 2020-09-11 02:24:42 +02:00
lang [SHELL32][PAINT][DRIVERS][SHELLEXT] French translation update (#3092) 2020-09-03 15:16:44 +02:00
res [SHELL32] Implement Move To Folder (#3056) 2020-08-18 05:30:54 +09:00
shelldesktop [SHELL32] Big fix for change notification (#3048) 2020-09-03 13:36:31 +09:00
shellmenu [SHELL32] Delete IDM_RECENTMENUHEAD resource menu (#2705) 2020-05-01 15:58:58 +09:00
shellrecyclebin
wine [SHELL32][SHLWAPI] Forward shell32.ShellMessageBoxW directly to shlwapi.ShellMessageBoxWrapW. (#3179) 2020-09-13 22:44:58 +02:00
avi_res.rc
bitmap_res.rc
CActiveDesktop.cpp
CActiveDesktop.h
CCopyToMenu.cpp [SHELL32] Enable CopyTo/MoveTo textbox functionality (#3075) 2020-08-20 11:35:14 +09:00
CCopyToMoveToMenu.h [SHELL32] Enable CopyTo/MoveTo textbox functionality (#3075) 2020-08-20 11:35:14 +09:00
CDefaultContextMenu.cpp [BROWSEUI][SHELL32] Implement MoveTo/CopyTo buttons (#3128) 2020-09-07 09:42:43 +09:00
CDefView.cpp [SHELL32] Big fix for change notification (#3048) 2020-09-03 13:36:31 +09:00
CDefViewBckgrndMenu.cpp
CDefViewDual.cpp
CDropTargetHelper.cpp
CDropTargetHelper.h
CEnumIDListBase.cpp
CEnumIDListBase.h
CExtractIcon.cpp
CFileSysBindData.cpp
CFolder.cpp
CFolder.h
CFolderItems.cpp
CFolderItems.h
CFolderItemVerbs.cpp
CFolderItemVerbs.h
CFolderOptions.cpp
CFolderOptions.h
changenotify.cpp [SHELL32] Make 'hwndServer == NULL' spams quiet 2020-09-06 22:48:29 +09:00
CIDLDataObj.cpp
CMakeLists.txt [SHELL32] Implement Move To Folder (#3056) 2020-08-18 05:30:54 +09:00
CMoveToMenu.cpp [SHELL32] Enable CopyTo/MoveTo textbox functionality (#3075) 2020-08-20 11:35:14 +09:00
CNewMenu.cpp
CNewMenu.h
COpenWithMenu.cpp [BOOT][DIRECTX][SHELL32] Unneeded semicolons (trivial) (#3133) 2020-09-08 21:57:13 +02:00
COpenWithMenu.h
CQueryAssociations.cpp
CQueryAssociations.h
CSendToMenu.cpp
CSendToMenu.h
CShellDispatch.cpp
CShellDispatch.h
CShellItem.cpp
CShellItem.h
CShellLink.cpp
CShellLink.h
CUserNotification.cpp
CUserNotification.h
debughlp.cpp
debughlp.h
folders.cpp
icon_res.rc
iconcache.cpp
precomp.h [SHELL32][SHLWAPI] Forward shell32.ShellMessageBoxW directly to shlwapi.ShellMessageBoxWrapW. (#3179) 2020-09-13 22:44:58 +02:00
rgs_res.rc [SHELL32] Implement Move To Folder (#3056) 2020-08-18 05:30:54 +09:00
shell32.cpp [SHELL32] Implement Move To Folder (#3056) 2020-08-18 05:30:54 +09:00
shell32.rc
shell32.spec [SHELL32][SHLWAPI] Forward shell32.ShellMessageBoxW directly to shlwapi.ShellMessageBoxWrapW. (#3179) 2020-09-13 22:44:58 +02:00
shell32_shldisp.idl
shell32_version.h
shell32_version.rc
shfldr.h
shlexec.cpp
shlfileop.cpp
shlfolder.cpp
shobjidl_local.idl
shresdef.h [BROWSEUI][SHELL32] Implement MoveTo/CopyTo buttons (#3128) 2020-09-07 09:42:43 +09:00
stubs.cpp [SHELL32] Big fix for change notification (#3048) 2020-09-03 13:36:31 +09:00
systray.cpp
vista.c