Fixed GetFileVersionInfoSizeA tests on WinME.

This commit is contained in:
Stefan Leichter 2005-01-19 16:59:35 +00:00 committed by Alexandre Julliard
parent d91ba25a03
commit 7ed3f41c98
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ static void test_info(void)
boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, 0);
ok (!boolret, "GetFileVersionInfoA should have failed: GetLastError = 0x%08lx\n", GetLastError());
ok (GetLastError() == ERROR_INVALID_DATA,
"Last error wrong! ERROR_INVALID_DATA expected, got 0x%08lx\n",
ok ((GetLastError() == ERROR_INVALID_DATA) || (GetLastError() == ERROR_BAD_PATHNAME),
"Last error wrong! ERROR_INVALID_DATA/ERROR_BAD_PATHNAME (ME) expected, got 0x%08lx\n",
GetLastError());
boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, pVersionInfo );