[WINED3D] QueryInterface corrections

H. Verbeet hverbeet at gmail.com
Sun May 7 04:40:40 CDT 2006

On 07/05/06, Stefan Dösinger <stefan at codeweavers.com> wrote:
> > - Even if GetContainer should return D3DERR_INVALIDCALL (not
> Well, WINED3DERR_INVALIDCALL == D3DERR_INVALIDCALL. I've added those return
> values to the wined3d headers so I can check in ddraw for the return values.
> A lot of retvals from wined3d are in d3d8 / d3d9 and do not exist in ddraw.
> Just wanted to point that out.
> Stefan
Yes, it does work. But it's still technically wrong, just like S_OK vs
WINED3D_OK is. The correct way would be to translate wined3d return
codes in d3d7/8/9, although it could be considered a bit excessive.

More information about the wine-devel mailing list