27 Dec
2022
27 Dec
'22
8:42 p.m.
Esme Povirk (@madewokherd) commented about dlls/comdlg32/navbar.c:
static LRESULT NAVBAR_Destroy(HWND hwnd, NAVBAR_INFO *info, UINT msg, WPARAM wparam, LPARAM lparam) { + struct crumb *crumb1, *crumb2; + + LIST_FOR_EACH_ENTRY_SAFE(crumb1, crumb2, &info->crumbs, struct crumb, entry) + { + ITEMIDLIST *pidl = NULL; + pidl = (ITEMIDLIST*)GetWindowLongPtrW(crumb1->hwnd, GWLP_USERDATA);
According to MSDN, child windows are destroyed by the system before WM_NCDESTROY is sent, so I don't think this can work. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1857#note_20163