Commit 22a314e7 authored by Saulius Krasuckas's avatar Saulius Krasuckas Committed by Alexandre Julliard

Get the version and language ID of ADVPACK.DLL too.

parent 9bf1fe62
...@@ -41,7 +41,6 @@ static void version_test(void) ...@@ -41,7 +41,6 @@ static void version_test(void)
hr = pGetVersionFromFile("kernel32.dll", &major, &minor, FALSE); hr = pGetVersionFromFile("kernel32.dll", &major, &minor, FALSE);
ok (hr == S_OK, "GetVersionFromFileEx(kernel32.dll) failed, returned " ok (hr == S_OK, "GetVersionFromFileEx(kernel32.dll) failed, returned "
"0x%08lx\n", hr); "0x%08lx\n", hr);
trace("kernel32.dll Language ID: 0x%08lx, Codepage ID: 0x%08lx\n", trace("kernel32.dll Language ID: 0x%08lx, Codepage ID: 0x%08lx\n",
major, minor); major, minor);
...@@ -49,9 +48,23 @@ static void version_test(void) ...@@ -49,9 +48,23 @@ static void version_test(void)
hr = pGetVersionFromFile("kernel32.dll", &major, &minor, TRUE); hr = pGetVersionFromFile("kernel32.dll", &major, &minor, TRUE);
ok (hr == S_OK, "GetVersionFromFileEx(kernel32.dll) failed, returned " ok (hr == S_OK, "GetVersionFromFileEx(kernel32.dll) failed, returned "
"0x%08lx\n", hr); "0x%08lx\n", hr);
trace("kernel32.dll version: %d.%d.%d.%d\n", HIWORD(major), LOWORD(major), trace("kernel32.dll version: %d.%d.%d.%d\n", HIWORD(major), LOWORD(major),
HIWORD(minor), LOWORD(minor)); HIWORD(minor), LOWORD(minor));
major = minor = 0;
hr = pGetVersionFromFile("advpack.dll", &major, &minor, FALSE);
ok (hr == S_OK, "GetVersionFromFileEx(advpack.dll) failed, returned "
"0x%08lx\n", hr);
trace("advpack.dll Language ID: 0x%08lx, Codepage ID: 0x%08lx\n",
major, minor);
major = minor = 0;
hr = pGetVersionFromFile("advpack.dll", &major, &minor, TRUE);
todo_wine
ok (hr == S_OK, "GetVersionFromFileEx(advpack.dll) failed, returned "
"0x%08lx\n", hr);
trace("advpack.dll version: %d.%d.%d.%d\n", HIWORD(major), LOWORD(major),
HIWORD(minor), LOWORD(minor));
} }
static void delnode_test(void) static void delnode_test(void)
......
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