mscoree/tests: Broken return value is a HRESULT_FROM_WIN32.

This commit is contained in:
André Hentschel 2011-06-04 18:35:00 +02:00 committed by Alexandre Julliard
parent 909794a2cb
commit 79a5153366
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,8 @@ static void test_createconfigstream(void)
GetFullPathNameW(file, MAX_PATH, path, NULL);
hr = pCreateConfigStream(NULL, &stream);
todo_wine ok(hr == E_FAIL || broken(hr == ERROR_PROC_NOT_FOUND), /* some WinXP, Win2K3 and Win7 */
todo_wine ok(hr == E_FAIL ||
broken(hr == HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND)), /* some WinXP, Win2K3 and Win7 */
"CreateConfigStream returned %x\n", hr);
hr = pCreateConfigStream(path, NULL);