Austin English austinenglish@gmail.com wrote:
alarmThread = CreateThread(NULL, 0, alarmThreadMain, (void *) 20000, 0, &alarmThreadId);
- ok(alarmThread != INVALID_HANDLE_VALUE, "CreateThread\n");
CreateThread doesn't return INVALID_HANDLE_VALUE on failure. Clarifying the error message and printing last error (in decimal) would be better.