https://bugs.winehq.org/show_bug.cgi?id=54655
--- Comment #1 from Esme Povirk madewokherd@gmail.com --- Very strange, that implies the flags changed from ISMEX_SEND to ISMEX_NOTIFY|ISMEX_REPLIED in between the two calls. And that combination of flags doesn't make sense, since a notify message doesn't get a reply, as the test shows.
I think this behavior should be considered broken().