Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW.

This commit is contained in:
Hans Leidekker 2003-12-08 22:20:25 +00:00 committed by Alexandre Julliard
parent 477023768e
commit 2402f21b41

View file

@ -311,6 +311,9 @@ static void test_RemoveDirectoryW(void)
GetTempPathW(MAX_PATH, tmpdir);
lstrcatW(tmpdir, tmp_dir_name);
ret = CreateDirectoryW(tmpdir, NULL);
if (!ret && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
return;
ok(ret == TRUE, "CreateDirectoryW should always succeed");
ret = RemoveDirectoryW(tmpdir);