Commit 12e3d642 authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

kernel32: CreateThread returns NULL on error, not INVALID_HANDLE_VALUE.

parent 6f2dd767
......@@ -65,7 +65,7 @@ static HANDLE StartNotificationThread(LPCSTR path, BOOL subtree, DWORD flags)
thread = CreateThread(NULL, 0, NotificationThread, (LPVOID)change,
0, &threadId);
ok(thread != INVALID_HANDLE_VALUE, "CreateThread error: %d\n", GetLastError());
ok(thread != NULL, "CreateThread error: %d\n", GetLastError());
return thread;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment