COM inheritance Q

Raphael fenix at club-internet.fr
Thu Jan 13 15:13:35 CST 2005


On Thursday 13 January 2005 22:09, you wrote:
> >Jason seems to have:
> >- IWineD3DSurface inherits from IWineD3DResource
> >- IWineD3DResource inherits from IUnknown
>
> Yep...
>
> >Jason, why IWineD3DSurface inherits from IWineD3DResource ?
>
> Well wine has
>
> /**************************************************************************
>* **
>  * IDirect3DSurface9 interface
>  */
> #define INTERFACE IDirect3DSurface9
> DECLARE_INTERFACE_(IDirect3DSurface9,IDirect3DResource9)
> {
>
> and the dxsdk
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c
>/
> directx/graphics/reference/d3d/interfaces/idirect3dsurface9/_idirect3dsurfa
>c e9.asp
>
> states
>
> Inherits from IDirect3DResource9
>
> (See the table)
>
> I think the sdk includes also do it this way
>
> Jason

Well my SDK headers are out-dated :(

Regards,
Raphael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050113/3c5247e2/attachment.pgp


More information about the wine-devel mailing list