Commit 7ed3f41c authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Fixed GetFileVersionInfoSizeA tests on WinME.

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