18 Nov
2025
18 Nov
'25
10:32 a.m.
Sven Baars (@sbaars) commented about dlls/shell32/shlview_cmenu.c:
+ ERR("SetIDList failed\n"); + IShellLinkW_Release(shelllink); + return hr; + } + + if (!_ILSimpleGetTextW(This->apidl[0], (LPVOID)filename, MAX_PATH)) + { + ERR("Failed to get Path Text\n"); + IShellLinkW_Release(shelllink); + return E_FAIL; + } + + if (!SHGetPathFromIDListW(This->pidl, root)) + { + /* Special PIDL, use the desktop */ + if (FAILED(SHGetFolderPathW(NULL, CSIDL_DESKTOP, NULL, 0, root))) { This could use a test.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5373#note_122749