reactos/dll
Oleg Dubinskiy 290221ef5b
[SHELL32] Sync HCR_RegGetIconW() function to Wine 9.1 (#6418)
Import the following fixes:
- Use the number of bytes instead of the number of characters in the length
  passed to RegQueryValueExW. Calculate this by multiplying the number of
  characters on the size of one wide character in bytes, since only length
  of characters is passed to the function. This fixes ERROR_MORE_DATA
  returned from RegQueryValueExW, because the passed number of bytes was
  less than the actual length of the output buffer, since it was calculated
  incorrectly, so the function failed even when it received the correct
  number of wide characters.
  This partially imports Wine commit:
  32584bb521.
- Limit the number of characters in registry icon index buffer from 7 to 5,
  as it done in ANSI version of this function, since registry index number
  can contain up to 4 digits + space for the null-terminator.

This fixes problems when loading custom (user-defined) icons from registry,
like icons defined by the current user or for all users, instead of just
default icons from the root classes.

CORE-14758

Co-authored-by: Zhiyi Zhang <zzhang@codeweavers.com>
2024-02-02 18:10:36 +03:00
..
3rdparty [LIBPNG] Update to version 1.6.39. CORE-18670 2022-11-27 10:10:53 -05:00
apisets [APISETS] Forward _seh_longjmp_unwind4() to msvcrt (#6176) 2023-12-17 22:19:00 +01:00
appcompat [APPHELP] Stop shimeng being initialized multiple times 2022-10-26 20:19:31 +02:00
cpl [DESK][SHELL32] Improve French (fr-FR) translation 2024-01-27 15:06:12 +03:00
directx [DSOUND_NEW][HDAUDBUS] Replace meaningless YDEBUG (#5857) 2023-11-01 13:39:05 +01:00
ime [MSCTFIME][MSUTB][SDK] cicuif.h: Add CUIFButton (#6320) 2024-01-09 16:57:30 +09:00
keyboard [KEYBOARD] Fix problems in our keyboard layouts 2022-10-05 21:28:15 +03:00
nls [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
np [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
ntdll [LDR][NDK] Fix inconsistent Cookie type (#6188) 2023-12-23 22:13:47 +01:00
opengl [MESA] Change reported OpenGL version to 1.1.0 (#5675) 2023-09-09 22:30:44 +03:00
shellext [NETPLWIZ] Update Romanian (ro-RO) translation (#6393) 2024-01-21 21:32:09 +01:00
win32 [SHELL32] Sync HCR_RegGetIconW() function to Wine 9.1 (#6418) 2024-02-02 18:10:36 +03:00
CMakeLists.txt [MSCTFIME][SDK][USER32] Add msctfime.ime (stub) (#6141) 2023-12-11 22:37:25 +09:00