[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: d3d [1]: Remove AddRef from IWineD3DDevice_GetVertexDeclaration.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2006-11-29 9:22:38
Message-ID: 87d576sj35.fsf () wine ! dyndns ! org
[Download RAW message or body]

Stefan Dösinger <stefandoesinger@gmx.at> writes:

> Well, GetParent isn't part of IUnknown(its a wined3d invention), so from the 
> COM point of view we're fine to do whatever we want with it. (Just 
> QueryInterface has the rule that it addrefs the returned interface)

The COM rules are not limited to QueryInterface, any call that returns
an interface pointer needs to addref it.

-- 
Alexandre Julliard
julliard@winehq.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic