<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: Conformance test for bug #7286</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I copied and pasted that code straight from the StartNotificationThread function in the same<BR>
file (well, minus the fact that I am waiting for two events, which is how the refcount problem<BR>
is brought about), that is dlls/kernel32/tests/change.c. I will change it in my patch, do I also<BR>
need to change it in the existing StartNotificationThread function?<BR>
<BR>
Misha<BR>
<BR>
-----Original Message-----<BR>
From: Dmitry Timoshkov [<A HREF="mailto:dmitry@codeweavers.com">mailto:dmitry@codeweavers.com</A>]<BR>
Sent: Thu 2/1/2007 11:15 PM<BR>
To: Koshelev, Misha Vladislavo<BR>
Cc: wine-devel@winehq.org<BR>
Subject: Re: Conformance test for bug #7286<BR>
<BR>
&quot;Misha Koshelev&quot; &lt;mk144210@bcm.tmc.edu&gt; wrote:<BR>
<BR>
&gt; +&nbsp;&nbsp;&nbsp; /* Now create the notification thread */<BR>
&gt; +&nbsp;&nbsp;&nbsp; events[1] = CreateThread(NULL, 0, NotificationThread, (LPVOID)events[0],<BR>
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0, &amp;threadId);<BR>
&gt; +&nbsp;&nbsp;&nbsp; ok(events[1] != INVALID_HANDLE_VALUE, &quot;CreateThread error: %d\n&quot;, GetLastError());<BR>
<BR>
CreateThread returns NULL on error, not INVALID_HANDLE_VALUE.<BR>
<BR>
--<BR>
Dmitry.<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>