Author: gadamopoulos
Date: Wed Mar 8 14:54:02 2017
New Revision: 74126
URL:
http://svn.reactos.org/svn/reactos?rev=74126&view=rev
Log:
[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.
Modified:
trunk/rostests/apitests/uxtheme/DrawThemeParentBackground.c
Modified: trunk/rostests/apitests/uxtheme/DrawThemeParentBackground.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/uxtheme/DrawThem…
==============================================================================
--- trunk/rostests/apitests/uxtheme/DrawThemeParentBackground.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/uxtheme/DrawThemeParentBackground.c [iso-8859-1] Wed Mar 8
14:54:02 2017
@@ -173,6 +173,9 @@
hr = DrawThemeParentBackground(hWnd1, hdc, NULL);
ok (hr == S_OK, "Expected success got 0x%lx error\n", hr);
+ hr = DrawThemeParentBackground(hWnd1, (HDC)0xdeaddead, NULL);
+ ok (hr == S_OK, "Expected success got 0x%lx error\n", hr);
+
pVEH = AddVectoredExceptionHandler(1, VEHandler_2);
hr = DrawThemeParentBackground(hWnd1, hdc, (RECT*)0xdeaddead);
ok (hr == E_POINTER, "Expected success got 0x%lx error\n", hr);