Commit 68d4ca1f authored by Saulius Krasuckas's avatar Saulius Krasuckas Committed by Alexandre Julliard

Win98 returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) on failure.

parent 4a4e3810
......@@ -87,7 +87,8 @@ static void test_ParseDisplayName(void)
MultiByteToWideChar(CP_ACP, 0, cNonExistDir2A, -1, cTestDirW, MAX_PATH);
hr = IShellFolder_ParseDisplayName(IDesktopFolder,
NULL, NULL, cTestDirW, NULL, &newPIDL, 0);
ok((hr == E_FAIL), "ParseDisplayName returned %08lx, expected E_FAIL\n", hr);
ok((hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) || (hr == E_FAIL),
"ParseDisplayName returned %08lx, expected 80070002 or E_FAIL\n", hr);
}
/* creates a file with the specified name for tests */
......
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