quartz: Compare a file handle to INVALID_HANDLE_VALUE and not NULL.

This commit is contained in:
Michael Stefaniuc 2008-07-09 23:54:28 +02:00 committed by Alexandre Julliard
parent c086429465
commit 310b58994c
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ static void test_threads()
file = CreateFileW(wfile, GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE,
NULL, OPEN_EXISTING, 0, NULL);
if (!file)
if (file == INVALID_HANDLE_VALUE)
{
skip("Could not read test file \"%s\", skipping test\n", afile);
return;