https://bugs.winehq.org/show_bug.cgi?id=36838
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Olivier F. R. Dierick from comment #11)
Created attachment 54262 [details] patch fix ERROR_CALL_NOT_IMPLEMENTED error leaking.
This looks like depending on a side effect, in any case you don't need to call IsWow64Process() every time.