March 11, 2026
5:35 a.m.
On Sat Mar 7 10:11:55 2026 +0000, Akihiro Sagawa wrote:
The RegisterDragDrop function requires OleInitialize to be called beforehand, and this check ensures that the resources initialized by OleInitialize are still allocated and have not been released. In the v2 patch, I added an InternalIsProcessInitialized call to explicitly verify that COM have been initialized by OleInitialize or CoInitializeEx. Thanks for reviewing. Could we check it in a more direct fashion, using COM_CurrentInfo()->ole_inits for example?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10245#note_131809