https://bugs.winehq.org/show_bug.cgi?id=37038
--- Comment #11 from zengt zt20055453@163.com --- (In reply to Sebastian Lackner from comment #9)
And can you please check if adding
WaitForSingleObjectEx(GetCurrentProcess(), 0, TRUE);
at some places in your programs works around the issue?
Sorry, my program uses the SDK of the camera device, I can't add WaitForSingleObjectEx() in the SDK.