kernel32: CreateThread returns NULL on error, not INVALID_HANDLE_VALUE.
[wine] / include / msvcrt / dirent.h
1 #include <direct.h>