Commit 8f032165 authored by Alexandre Julliard's avatar Alexandre Julliard

Reimplemented FindFirstFile/FindNextFile on top of

NtQueryDirectoryFile.
parent f5e1c130
......@@ -270,9 +270,8 @@ static void test__lcreat( void )
} else { /* only NT succeeds */
_lclose(filehandle);
find=FindFirstFileA (slashname, &search_results);
if (INVALID_HANDLE_VALUE==find)
ok (0, "file \"%s\" not found\n", slashname);
else {
if (INVALID_HANDLE_VALUE!=find)
{
ok (0!=FindClose (find), "FindClose complains (%ld)\n", GetLastError ());
slashname[strlen(slashname)-1]=0;
ok (!strcmp (slashname, search_results.cFileName),
......
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