Commit 78983d9f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

user32/tests: Add a test to show that released cache DCs are disabled.

parent 2dcfd128
......@@ -110,6 +110,12 @@ static void test_dc_attributes(void)
}
while (i > 0) ReleaseDC( hwnd_cache, hdcs[--i] );
/* Released cache DCs are 'disabled' */
rop = SetROP2( old_hdc, R2_BLACK );
todo_wine ok( rop == 0, "got %d\n", rop );
rop = GetROP2( old_hdc );
todo_wine ok( rop == 0, "got %d\n", rop );
/* test own DC */
hdc = GetDC( hwnd_owndc );
......
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