Commit 9532de88 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent 6ab47275
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment