Commit 9f9842ba authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

uxtheme: Implement GetBufferedPaintTargetDC().

parent fac94168
......@@ -211,10 +211,13 @@ HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER bufferhandle)
/***********************************************************************
* GetBufferedPaintTargetDC (UXTHEME.@)
*/
HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER hBufferedPaint)
HDC WINAPI GetBufferedPaintTargetDC(HPAINTBUFFER bufferhandle)
{
FIXME("Stub (%p)\n", hBufferedPaint);
return NULL;
struct paintbuffer *buffer = get_buffer_obj(bufferhandle);
TRACE("(%p)\n", buffer);
return buffer ? buffer->targetdc : NULL;
}
/***********************************************************************
......
......@@ -617,7 +617,6 @@ todo_wine
ok(hdc == src, "Unexpected hdc, %p, buffered dc %p\n", hdc, src);
hdc = pGetBufferedPaintTargetDC(buffer);
todo_wine
ok(hdc == target, "Unexpected target hdc %p, original %p\n", hdc, target);
hr = pGetBufferedPaintTargetRect(buffer, NULL);
......
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