[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Wed, 8 Mar 2017 14:54:02 +0000 (14:54 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Wed, 8 Mar 2017 14:54:02 +0000 (14:54 +0000)
svn path=/trunk/; revision=74126

rostests/apitests/uxtheme/DrawThemeParentBackground.c

index 9560d94..28abdb8 100644 (file)
@@ -173,6 +173,9 @@ void Test_Params()
     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);