gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL.

This commit is contained in:
Dmitry Timoshkov 2013-01-23 15:10:29 +08:00 committed by Alexandre Julliard
parent 6ab47275aa
commit 9532de882f
1 changed files with 1 additions and 3 deletions

View File

@ -2274,10 +2274,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
TRACE("(%p, %p, %p)\n", hdc, hDevice, graphics);
if(hDevice != NULL) {
if(hDevice != NULL)
FIXME("Don't know how to handle parameter hDevice\n");
return NotImplemented;
}
if(hdc == NULL)
return OutOfMemory;