[user32_apitest]

0x%lu does not mean anything correct.

svn path=/trunk/; revision=69434
This commit is contained in:
Sylvain Petreolle
2015-10-03 21:41:10 +00:00
parent 7015fd7b50
commit 4aa8ae13c2
+3 -3
View File
@@ -180,13 +180,13 @@ void Test_DesktopAccess()
ret = GetCursorPos(&curPoint);
ok(ret == FALSE, "GetCursorPos should fail\n");
ok(GetLastError() == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED got 0x%lu\n", GetLastError());
ok(GetLastError() == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED got 0x%lx\n", GetLastError());
SetLastError(0xdeadbeef);
ret = SetCursorPos(2,2);
ok(ret == FALSE, "SetCursorPos should fail\n");
ok(GetLastError() == 0xdeadbeef, "Wrong last error, got 0x%lu\n", GetLastError());
ok(GetLastError() == 0xdeadbeef, "Wrong last error, got 0x%lx\n", GetLastError());
ret = GetCursorPos(&curPoint);
ok(ret == FALSE, "GetCursorPos should fail\n");
@@ -202,4 +202,4 @@ START_TEST(SetCursorPos)
{
Test_DesktopAccess();
Test_SetCursorPos();
}
}