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:
parent
308447324f
commit
7eb54616ff
|
@ -1206,7 +1206,7 @@ static void test_GetPhysicallyInstalledSystemMemory(void)
|
||||||
|
|
||||||
total_memory = 0;
|
total_memory = 0;
|
||||||
ret = pGetPhysicallyInstalledSystemMemory(&total_memory);
|
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");
|
ok(total_memory != 0, "expected total_memory != 0\n");
|
||||||
|
|
||||||
memstatus.dwLength = sizeof(memstatus);
|
memstatus.dwLength = sizeof(memstatus);
|
||||||
|
|
Loading…
Reference in New Issue