Currently shell32 only transfers the plain icon for `Shell_NotifyIcon` calls, ignoring balloon icons. This patch allows transferring both images to explorer.exe tray.
--
v7: shell32: add support for balloon icon copying
https://gitlab.winehq.org/wine/wine/-/merge_requests/2875
> virtual monitor is different than physical monitor,it has no builtin resolution. it is a window on host. for example, wine explorer.exe /desktop=123x456 can also show. so it has no need for apply builtin mode.
Of course, the virtual monitor window doesn't have any real resolution. However, it's a virtual monitor, its purpose is to simulate a physical monitor. That's why we added a bunch of fake resolutions so that functions like ChangeDisplaySettings() can succeed. The initial resolution/size of the virtual monitor should be the one specified by the user, either via the registry or command line.
> we can chat by weixin, my weixinhao fan-wenjie
You can use #winehackers at libera IRC. So that others can see and maybe join the conversation.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6150#note_77734
Rémi Bernon (@rbernon) commented about dlls/winebus.sys/main.c:
> RtlEnterCriticalSection(&ext->cs);
> list_add_tail(&ext->reports, &report->entry);
>
> - if (!ext->collection_desc.ReportIDs[0].ReportID) last_report = ext->last_reports[0];
> + for ( i = 0; i < ext->collection_desc.CollectionDescLength; ++i )
> + {
> + HIDP_COLLECTION_DESC *desc = &ext->collection_desc.CollectionDesc[i];
> + for ( j = 0; j < ext->collection_desc.ReportIDsLength; ++j )
> + {
> + if (ext->collection_desc.ReportIDs[j].CollectionNumber != desc->CollectionNumber) continue;
> + if (!ext->collection_desc.ReportIDs[j].ReportID) last_report = ext->last_reports[0];
> else last_report = ext->last_reports[report_buf[0]];
> memcpy(last_report->buffer, report_buf, report_len);
> + break;
> + }
> + }
I'm not sure to understand this. Is it to cover the case where some of the TLC use report IDs while other don't, and I don't think that can happen?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6074#note_77776