On 18 April 2016 at 15:15, Aaryaman Vasishta <jem456.vasishta@gmail.com> wrote:
> On Mon, Apr 18, 2016 at 4:17 PM, Henri Verbeet <hverbeet@gmail.com> wrote:
>> Why do you need "object_struct"?
>
> I need it to store the object's address, from which the IUnknown interface
> is obtained which in turn is used to QI the required object using iid.
>
> Am I missing something? Is there a better way? I suppose I could re-use
> object and keep it as a void * instead of IUnknown..
>
What's wrong with using a d3drm_texture structure?