kernel32/tests: Add a couple of last error codes for Win7.

This commit is contained in:
Alexandre Julliard 2010-02-23 11:24:08 +01:00
parent 47abab12a0
commit 25718e1af3
1 changed files with 3 additions and 1 deletions

View File

@ -709,6 +709,7 @@ static void test_message_from_hmodule(void)
ok(ret == 0, "FormatMessageA returned %u instead of 0\n", ret);
ok(error == ERROR_RESOURCE_LANG_NOT_FOUND ||
error == ERROR_MR_MID_NOT_FOUND ||
error == ERROR_MUI_FILE_NOT_FOUND ||
error == ERROR_MUI_FILE_NOT_LOADED,
"last error %u\n", error);
@ -719,7 +720,8 @@ static void test_message_from_hmodule(void)
ok(ret == 0, "FormatMessageA returned %u instead of 0\n", ret);
ok(error == ERROR_RESOURCE_LANG_NOT_FOUND ||
error == ERROR_MR_MID_NOT_FOUND ||
error == ERROR_MUI_FILE_NOT_FOUND,
error == ERROR_MUI_FILE_NOT_FOUND ||
error == ERROR_MUI_FILE_NOT_LOADED,
"last error %u\n", error);
}