Austin English austinenglish@gmail.com wrote:
ValidateRect( hwnd, &rc); ret = GetUpdateRect( child, &rc2, 0);
- ok(!ret, "GetUpdateRect failed %08x\n", GetLastError()); ok( rc2.left == 0 && rc2.top == 0 && rc2.right == 0 && rc2.bottom == 0, "Update rectangle %d,%d-%d,%d is not empty!\n", rc2.left, rc2.top, rc2.right, rc2.bottom);
@@ -3228,6 +3230,7 @@ static void test_validatergn(HWND hwnd) rgn = CreateRectRgnIndirect( &rc); ValidateRgn( hwnd, rgn); ret = GetUpdateRect( child, &rc2, 0);
- ok(!ret, "GetUpdateRect failed %08x\n", GetLastError());
Please set last error to 0xdeadbeef prior checking it, and print last error value in decimal.