"Misha Koshelev" mk144210@bcm.tmc.edu wrote:
- /* Now create the notification thread */
- events[1] = CreateThread(NULL, 0, NotificationThread, (LPVOID)events[0],
0, &threadId);
- ok(events[1] != INVALID_HANDLE_VALUE, "CreateThread error: %d\n", GetLastError());
CreateThread returns NULL on error, not INVALID_HANDLE_VALUE.