Author: gadamopoulos Date: Sat Feb 25 22:28:47 2017 New Revision: 73913 URL: http://svn.reactos.org/svn/reactos?rev=73913&view=rev Log: [COMCTL32_APITEST] -Add one more test.
Modified: trunk/rostests/apitests/comctl32/button.c Modified: trunk/rostests/apitests/comctl32/button.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/comctl32/button.c?rev=73913&r1=73912&r2=73913&view=diff ============================================================================== --- trunk/rostests/apitests/comctl32/button.c [iso-8859-1] (original) +++ trunk/rostests/apitests/comctl32/button.c [iso-8859-1] Sat Feb 25 22:28:47 2017 @@ -79,6 +79,10 @@ ok (imlData.himl == (HIMAGELIST)0xdead, "Expected 0 himl\n"); ok (imlData.uAlign == 0, "Expected 0 uAlign\n"); ok_rect(imlData.margin, 0, 0, 0, 1); + + imlData.himl = 0; + ret = SendMessageW(hwnd1, BCM_SETIMAGELIST, 0, (LPARAM)&imlData); + ok (ret == FALSE, "Expected BCM_SETIMAGELIST to fail\n"); /* This works in win10 */ } START_TEST(button)