ddraw: Don't return a pointer to the implementation in ddraw7_QueryInterface().

This commit is contained in:
Henri Verbeet 2012-03-13 20:31:33 +01:00 committed by Alexandre Julliard
parent 66ea6464c2
commit f6bb0a9016
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static HRESULT WINAPI ddraw7_QueryInterface(IDirectDraw7 *iface, REFIID refiid,
if ( IsEqualGUID( &IID_IUnknown, refiid ) ||
IsEqualGUID( &IID_IDirectDraw7, refiid ) )
{
*obj = This;
*obj = &This->IDirectDraw7_iface;
TRACE("(%p) Returning IDirectDraw7 interface at %p\n", This, *obj);
}
else if ( IsEqualGUID( &IID_IDirectDraw4, refiid ) )