reactos/dll/win32/shell32
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
..
dialogs [SHELL32] Fix exception on modifying deleted file type (#5996) 2023-11-20 09:27:06 +09:00
droptargets [SHELL32] Add two missing GlobalUnlock() calls (#5625) 2023-08-28 21:56:02 +02:00
folders [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
lang [DESK][SHELL32] Improve French (fr-FR) translation 2024-01-27 15:06:12 +03:00
res [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
shelldesktop [SHELL32][SDK] Implement SHIsTempDisplayMode (#5523) 2023-08-07 09:50:30 +09:00
shellmenu
shellrecyclebin
wine [SHELL32] Sync HCR_RegGetIconW() function to Wine 9.1 (#6418) 2024-02-02 18:10:36 +03:00
avi_res.rc
bitmap_res.rc
CActiveDesktop.cpp
CActiveDesktop.h
CCopyMoveToMenu.cpp [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CCopyMoveToMenu.h [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CDefaultContextMenu.cpp [SHELL32] AddStaticContextMenusToMenu(): Fix 3 MSVC 'warning C4805' (#6177) 2023-12-17 22:20:06 +01:00
CDefView.cpp [SHELL32] Fix status bar part sizes (#6243) 2023-12-29 13:34:23 +09:00
CDefViewBckgrndMenu.cpp
CDefViewDual.cpp
CDropTargetHelper.cpp
CDropTargetHelper.h
CEnumIDListBase.cpp [SHELL32][SHELLEXT] IEnumIDList::Next must handle pceltFetched and memory errors correctly (#5820) 2023-11-13 16:31:37 +01:00
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] SHChangeRegistrationReceive just returns FALSE 2023-09-21 12:09:28 +09:00
CIDLDataObj.cpp
CMakeLists.txt [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CNewMenu.cpp [SHELL32] Add IDS_NEWITEMFORMAT and retry FCIDM_SHVIEW_NEW (#5412) 2023-07-07 17:24:25 +09:00
CNewMenu.h
COpenWithMenu.cpp [SHELL32] Don't display missing applications in "Open with..." (#5587) 2023-11-15 11:20:04 +01:00
COpenWithMenu.h
CQueryAssociations.cpp
CQueryAssociations.h
CSendToMenu.cpp
CSendToMenu.h
CShellDispatch.cpp [SHELL32] ShellDispatch::ShellExecute must default to displaying the window (#6143) 2023-12-17 15:48:24 +03:00
CShellDispatch.h
CShellItem.cpp
CShellItem.h
CShellLink.cpp [SHELL32] Enable Apply button when shortcut show mode is changed (#5807) 2023-10-20 13:02:14 +02:00
CShellLink.h
CUserNotification.cpp
CUserNotification.h
debughlp.cpp [SHELL32] Enable Network Connection Rename (#5073) 2023-04-30 15:40:10 +02:00
debughlp.h
folders.cpp
icon_res.rc
iconcache.cpp [SHELL32] Move SheRemoveQuotesA/W to utils.cpp (#5535) 2023-08-06 13:07:39 +02:00
precomp.h [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
rgs_res.rc
shell32.cpp [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
shell32.rc
shell32.spec [SHELL32][SDK] Implement CopyStreamUI (#5848) 2023-10-31 22:32:02 +09:00
shell32_shldisp.idl
shell32_version.h
shell32_version.rc
shfldr.h
shldataobject.cpp
shlexec.cpp [SHELL32] Fix for shlexec.cpp regressions (#5282) 2023-09-24 20:35:28 +00:00
shlfileop.cpp [SHELL32] Improve error message on copying files (#6290) 2024-01-12 16:01:21 +09:00
shlfolder.cpp GetDetailsOf does not support column flags (#5755) 2023-10-03 10:43:44 +02:00
shobjidl_local.idl
shresdef.h [SHELL32] Handle HotKey and ShowCmd on the shortcut property page (#5638) 2023-09-02 21:16:22 +03:00
stubs.cpp [SHELL32][SHELL32_APITEST][SDK] Implement PathIsEqualOrSubFolder (#5714) 2023-11-29 22:50:01 +09:00
systray.cpp
utils.cpp [SHELL32][SHELL32_APITEST][SDK] Implement PathIsEqualOrSubFolder (#5714) 2023-11-29 22:50:01 +09:00
vista.c