d2d1: Implement d2d_rectangle_geometry_GetFactory().

This commit is contained in:
Henri Verbeet 2015-08-02 18:56:05 +02:00 committed by Alexandre Julliard
parent c0646664d4
commit 47f9f09c73
1 changed files with 4 additions and 2 deletions

View File

@ -1629,9 +1629,11 @@ static ULONG STDMETHODCALLTYPE d2d_rectangle_geometry_Release(ID2D1RectangleGeom
static void STDMETHODCALLTYPE d2d_rectangle_geometry_GetFactory(ID2D1RectangleGeometry *iface, ID2D1Factory **factory)
{
FIXME("iface %p, factory %p stub!\n", iface, factory);
struct d2d_geometry *geometry = impl_from_ID2D1RectangleGeometry(iface);
*factory = NULL;
TRACE("iface %p, factory %p.\n", iface, factory);
ID2D1Factory_AddRef(*factory = geometry->factory);
}
static HRESULT STDMETHODCALLTYPE d2d_rectangle_geometry_GetBounds(ID2D1RectangleGeometry *iface,