uxtheme: Implement GetBufferedPaintDC().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9d4a003995
commit
fac941680e
|
@ -199,10 +199,13 @@ HRESULT WINAPI GetBufferedPaintBits(HPAINTBUFFER hBufferedPaint, RGBQUAD **ppbBu
|
|||
/***********************************************************************
|
||||
* GetBufferedPaintDC (UXTHEME.@)
|
||||
*/
|
||||
HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER hBufferedPaint)
|
||||
HDC WINAPI GetBufferedPaintDC(HPAINTBUFFER bufferhandle)
|
||||
{
|
||||
FIXME("Stub (%p)\n", hBufferedPaint);
|
||||
return NULL;
|
||||
struct paintbuffer *buffer = get_buffer_obj(bufferhandle);
|
||||
|
||||
TRACE("(%p)\n", buffer);
|
||||
|
||||
return buffer ? buffer->memorydc : NULL;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -614,7 +614,6 @@ todo_wine
|
|||
|
||||
/* access buffer attributes */
|
||||
hdc = pGetBufferedPaintDC(buffer);
|
||||
todo_wine
|
||||
ok(hdc == src, "Unexpected hdc, %p, buffered dc %p\n", hdc, src);
|
||||
|
||||
hdc = pGetBufferedPaintTargetDC(buffer);
|
||||
|
|
Loading…
Reference in New Issue