uxtheme: Implement GetBufferedPaintDC().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-02-09 01:42:36 +03:00 committed by Alexandre Julliard
parent 9d4a003995
commit fac941680e
2 changed files with 6 additions and 4 deletions

View File

@ -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;
}
/***********************************************************************

View File

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