d2d1: Implement d2d_d3d_render_target_EndDraw().

Tag1/tag2 are "error tags". You set them with SetTags(), and if a subsequent
drawing operation generates an error, EndDraw() will return the error code and
tags that were set when the error occurred.
This commit is contained in:
Henri Verbeet 2014-09-03 07:48:22 +02:00 committed by Alexandre Julliard
parent 5981ddab4d
commit 53d0c20526
1 changed files with 7 additions and 2 deletions

View File

@ -440,9 +440,14 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_BeginDraw(ID2D1RenderTarget
static HRESULT STDMETHODCALLTYPE d2d_d3d_render_target_EndDraw(ID2D1RenderTarget *iface,
D2D1_TAG *tag1, D2D1_TAG *tag2)
{
FIXME("iface %p, tag1 %p, tag2 %p stub!\n", iface, tag1, tag2);
TRACE("iface %p, tag1 %p, tag2 %p.\n", iface, tag1, tag2);
return E_NOTIMPL;
if (tag1)
*tag1 = 0;
if (tag2)
*tag2 = 0;
return S_OK;
}
static D2D1_PIXEL_FORMAT STDMETHODCALLTYPE d2d_d3d_render_target_GetPixelFormat(ID2D1RenderTarget *iface)