kernel32/tests: Trace LastError when GetPhysicallyInstalledSystemMemory() fails.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2019-12-09 09:46:36 +01:00 committed by Alexandre Julliard
parent 308447324f
commit 7eb54616ff

View file

@ -1206,7 +1206,7 @@ static void test_GetPhysicallyInstalledSystemMemory(void)
total_memory = 0;
ret = pGetPhysicallyInstalledSystemMemory(&total_memory);
ok(ret, "GetPhysicallyInstalledSystemMemory unexpectedly failed\n");
ok(ret, "GetPhysicallyInstalledSystemMemory unexpectedly failed (%u)\n", GetLastError());
ok(total_memory != 0, "expected total_memory != 0\n");
memstatus.dwLength = sizeof(memstatus);