reactos/sdk/include/reactos
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
..
appcompat [APPHELP][APPHELP_APITEST] Implement SdbGetDatabaseInformation 2019-02-25 20:00:34 +01:00
arc
arm
chew
debug [SDK] Add a driverdbg header for helper debug function to put into drivers 2020-08-30 03:58:37 +03:00
dll [NEWDEV] Add InstallDevInstEx 2018-10-14 18:19:52 +02:00
drivers [XBOX] Move NV2A XGPU definitions into header file 2020-08-26 16:58:01 +03:00
elf
idl [Printing] Update and Add Functions 2020-08-26 17:12:20 -05:00
kjk
libs [LIBMPG123] Update to version 1.26.2. CORE-17158 2020-07-12 12:28:05 +02:00
mc [MC] Update Polish translation of netmsgmsg.mc (#2691) 2020-05-23 15:42:11 +02:00
services [SERVICES] On service start control message, send the service tag 2018-12-30 21:44:25 +01:00
subsys [CSRSRV] s/LPWSTR/PWSTR/ as the former is not NT type. 2020-04-15 02:06:57 +02:00
wine [REACTOS] Remove forced _WIN32_IE defines 2020-03-30 13:47:09 +03:00
winsock
browseui_undoc.h [SDK][INCLUDE] Improve EXPLORER_CMDLINE_PARSE_RESULTS structure 2020-09-02 12:47:19 +09:00
buildno.h.cmake
comctl32_undoc.h [SDK][INCLUDE] Improve <comctl32_undoc.h> more 2020-02-13 11:26:40 +09:00
compat_undoc.h [LDR][APPHELP] Add a shim that disables manifest compatibility version parsing 2019-08-19 12:08:06 +02:00
compatguid_undoc.h [NTDLL] Check the process manifest at startup for a compatibility section. 2018-04-09 19:36:09 +02:00
debug.h [SDK] Silence a GCC warning on RtlAssert 2020-02-08 22:09:14 +01:00
exeformat.h
kddll.h
kdros.h [SDK] Enforce callback type for KdRosRegisterCliCallback(), KdRosDeregisterCliCallback(). 2018-04-29 12:33:14 +02:00
manifest.xml
manifest_dll.rc
manifest_exe.rc
manifest_hosted.rc [TELEPHON.CPL] Include winuser.h in the rc which is needed for manifest_hosted.rc 2018-03-01 10:05:54 +02:00
msgdump.h [SDK][INCLUDE] Update winxx.h and msgdump.h 2019-11-21 18:18:47 +09:00
msvctarget.h
probe.h [INCLUDE] Safely handle odd & large lengths in ProbeAndCaptureUnicodeString. 2019-12-29 15:22:10 +01:00
reactx.h
rosctrls.h [EXPLORER][INCLUDE] Fix wrong title on taskbar about ampersand (&) (#2266) 2020-01-22 09:58:43 +09:00
rosdlgs.h
rosioctl.h [USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since PARTITION_EXT2 is just an alias to PARTITION_LINUX 2018-11-07 23:16:29 +01:00
rossym.h
shellutils.h [SHELLUTILS] Fix Win32DbgPrint's result 2020-05-17 17:09:05 +02:00
shlguid_undoc.h [SDK][INCLUDE] Add CLSID_CopyToMenu and CLSID_MoveToMenu (#3032) 2020-08-11 17:26:05 +09:00
shlobj_undoc.h
shlwapi_undoc.h [SHELL32][SHLWAPI] Forward shell32.ShellMessageBoxW directly to shlwapi.ShellMessageBoxWrapW. (#3179) 2020-09-13 22:44:58 +02:00
srmp.h
stubs.h [SPEC2DEF] Fix compilation of generated stub C files with int64 parameters 2019-01-08 18:58:56 +01:00
svc.h [SDK][SVCHOST] Move all global svchost declarations to public header. 2020-06-27 14:54:22 +02:00
tcpip_undoc.h
undocelfapi.h [SDK] Add a header for the user-mode NT EventLog API. Addendum to commit dca4fd46 (SVN r71384). 2018-03-25 00:28:04 +01:00
undocgdi.h [FONTEXT] Initial implementation of CFontExt::DoGetFontTitle (#3127) 2020-09-12 09:40:48 +09:00
undocmpr.h [WINLOGON] Fix build 2018-09-14 08:15:08 +02:00
undocshell.h [Printing] Update and Add Functions 2020-08-26 17:12:20 -05:00
undocuser.h [WINLOGON] Fix build 2018-09-14 08:15:08 +02:00
uxundoc.h
verifier.h [SDK] Add initial verifier header. 2018-05-12 13:34:36 +02:00
version.cmake [SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 15 in the version.cmake 2020-04-24 22:22:22 +02:00
version.h.cmake
version.rc
windbgkd.h
windns_undoc.h [DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable() 2019-12-22 11:21:04 +01:00
winxx.h [SDK][INCLUDE] Update winxx.h and msgdump.h 2019-11-21 18:18:47 +09:00
wmiioctl.h