5 Sep
2022
5 Sep
'22
2:51 p.m.
Used window name to check whether window is created using MCIWndCreateA/W. The window name is currently the legible "MCIWndCreateWineInternal", but we can go with something much more random/arbitrary if we fear that apps may end up with this name.
Except that we know that it does not work like that on Windows. Not that I have a better solution, except for using some global mutex like @epo suggested earlier. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/726#note_7690