[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.

svn path=/trunk/; revision=74126
This commit is contained in:
Giannis Adamopoulos 2017-03-08 14:54:02 +00:00
parent eb86e8afd5
commit 761c932726

View 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);