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 [SHELL32] Use the same definitions for shell32 and it's static libs 2019-04-18 19:21:37 +02:00
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 [SHELL32] Add line bar to About dialog for consistence 2019-03-23 19:11:28 +01:00
CActiveDesktop.cpp [SHELL32] Add IActiveDesktop stub 2018-12-12 19:29:09 +01:00
CActiveDesktop.h [SHELL32] Add IActiveDesktop stub 2018-12-12 19:29:09 +01:00
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 [SHELL32] Modify context menu to include Align To Grid, and remove Line Up Icons 2020-04-20 23:13:09 +03:00
CDefViewDual.cpp
CDropTargetHelper.cpp
CDropTargetHelper.h
CEnumIDListBase.cpp
CEnumIDListBase.h
CExtractIcon.cpp [SHELL32] Follow-up of #2076 (#2091) 2019-11-26 21:45:58 +09:00
CFileSysBindData.cpp
CFolder.cpp [SHELL32] Sync CShellDispatch and family with wine. 2018-04-14 15:47:13 +02:00
CFolder.h [SHELL32] Sync CShellDispatch and family with wine. 2018-04-14 15:47:13 +02:00
CFolderItems.cpp [SHELL32] Handle BYREF variants in CFolderItems::Item. 2019-09-22 11:41:57 +02:00
CFolderItems.h [SHELL32] Sync CShellDispatch and family with wine. 2018-04-14 15:47:13 +02:00
CFolderItemVerbs.cpp [SHELL32] Sync CShellDispatch and family with wine. 2018-04-14 15:47:13 +02:00
CFolderItemVerbs.h
CFolderOptions.cpp [SHELL] IShellExtInit::Initialize uses PCIDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:02 +02:00
CFolderOptions.h [SHELL] IShellExtInit::Initialize uses PCIDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:02 +02:00
changenotify.cpp [SHELL32] Make 'hwndServer == NULL' spams quiet 2020-09-06 22:48:29 +09:00
CIDLDataObj.cpp [SHELL32] Ensure CIDLDataObject::GetData always returns an STGMEDIUM that is safe for use with ReleaseStgMedium 2020-04-20 17:36:43 +03:00
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 [SHELL32] Delete unused CNewMenu::m_wszPath 2019-12-03 13:46:35 +09:00
CNewMenu.h [SHELL32] Delete unused CNewMenu::m_wszPath 2019-12-03 13:46:35 +09:00
COpenWithMenu.cpp [BOOT][DIRECTX][SHELL32] Unneeded semicolons (trivial) (#3133) 2020-09-08 21:57:13 +02:00
COpenWithMenu.h [SHELL] IShellExtInit::Initialize uses PCIDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:02 +02:00
CQueryAssociations.cpp
CQueryAssociations.h
CSendToMenu.cpp [SENDMAIL][ZIPFLDR][MYDOCS] Fix creation of SendTo files (#2616) 2020-04-23 04:19:20 +09:00
CSendToMenu.h [SENDMAIL][ZIPFLDR][MYDOCS] Fix creation of SendTo files (#2616) 2020-04-23 04:19:20 +09:00
CShellDispatch.cpp [HEADERS] Move some helpers from undocshell.h to shellutils.h as they didn't cover anything undocumented. Merge traycmd.h in undocshell.h as both contain just undocumented shell definitions. 2019-08-25 12:20:52 +03:00
CShellDispatch.h [SHELL32] Sync CShellDispatch and family with wine. 2018-04-14 15:47:13 +02:00
CShellItem.cpp [PSDK] Support STRICT_TYPED_ITEMIDS in shlobj.h. CORE-16385 2020-01-03 22:42:34 +01:00
CShellItem.h [SHELL] IPersistIDList/IShellLink use P(C)IDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:39 +02:00
CShellLink.cpp [SHELL32] Watch for common desktop and SHCNE_CREATE for IShellLink::Save (#2515) 2020-04-09 16:56:54 +09:00
CShellLink.h [SHELL32] Implement 'Open file location' of shortcut files (#2028) 2019-11-12 16:47:36 +09:00
CUserNotification.cpp [SHELL32] Implement the CUserNotification class, which implements the IUserNotification interface. CORE-13177 2018-02-15 22:38:22 +01:00
CUserNotification.h [SHELL32] Implement the CUserNotification class, which implements the IUserNotification interface. CORE-13177 2018-02-15 22:38:22 +01:00
debughlp.cpp
debughlp.h
folders.cpp
icon_res.rc
iconcache.cpp [SHELL32] Do not return -1 if a file is not valid or not found - ExtractIconEx() (#2113) 2019-12-12 08:24:20 +09:00
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 [TRANSLATION] Add/Update Indonesian translations (#1904) 2019-10-08 17:03:14 +02:00
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 [SHELL32] Command 'start C:' should open 'C:\' (#2642) 2020-04-25 11:01:20 +09:00
shlfileop.cpp [SHELL32] Improve the displayed error on file copy / displacement + simplify code. 2019-12-24 18:30:54 +01:00
shlfolder.cpp [SHELL] Add SHOpenFolderAndSelectItems to shlobj.h. 2020-01-18 13:10:35 +01:00
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 [Explorer|Shell32] 2020-03-21 19:13:55 -05:00
vista.c [DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412 2018-12-17 22:01:49 +01:00