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