14 Sep
2022
14 Sep
'22
9:43 a.m.
On Wed Sep 14 14:28:07 2022 +0000, Esme Povirk wrote:
If possible, it should be checked by using it. In this case, I think SendMessage would fail with an error indicating an invalid handle. My thinking here was to try to avoid doing any work around allocating/starting the client thread if we know that the HWND passed in is invalid early on. But if that's an unnecessary optimization, I can change it to a check of SendMessage.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/832#note_8422