Jinoh Kang (@iamahuman) commented about dlls/user32/tests/msg.c:
DeleteObject( hrgn2 );
}
+static void visualize_region_differences( HWND hwnd, HWND hother, HRGN hrgn_expect, HRGN hrgn_actual )
I included this function since it was really helpful for me while testing debugging the implementation--it eliminates the need to interpret the rectangle list manually. I can remove this if it clutters the test, though.