[1/2] mciqtz32: Guarantees that CoInitialize and CoUninitialize run on the same thread. (try 2)

Akihiro Sagawa sagawa.aki at gmail.com
Thu May 7 10:37:21 CDT 2015

Try 2: Rebased latest git. Rename some variable names.

Fixes bug #38241.
mciOpen and mciClose (both for the same MCI device instance) can call in different
threads. Without this patch, mciqtz32 can call CoUninitialize (in mciClose) from
another thread which doesn't call CoInitialize (in mciOpen) before.

 dlls/mciqtz32/mciqtz.c         | 147 ++++++++++++++++++++++++++++++++++++-----
 dlls/mciqtz32/mciqtz_private.h |  13 ++++
 2 files changed, 145 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mciqtz32-Guarantees-that-CoInitialize-and-CoUninitia.patch
Type: text/x-patch
Size: 9759 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150508/98a9ff34/attachment.bin>

More information about the wine-patches mailing list