[1/5] D3D9: Document a Microsoft header bug

Adam Petaccia adam at tpetaccia.com
Wed Nov 26 19:02:03 CST 2008


On Thu, 2008-11-27 at 01:30 +0100, Stefan Dösinger wrote:
> 
> +
> +    /* Note: Microsoft's d3d9.h does not declare
> IDirect3D9Ex::RegisterSoftwareDevice . This would mean that
> +     * the offsets of the other methods in the Vtable change too.
> This, however, seems wrong. In Microsoft's
> +     * d3d9.dll, the offsets for the other functions are still
> compatible with IDirect3D9.
> +     * (This is probably because even in MS's header IDirect3D9Ex
> inherits from IDirect3D9, which makes the
> +     * C++ inferface compatible, and nobody uses the C interface in
> Windows world
> +     */

Maybe this should be documented via Wine's API doc "BUGS: " declaration
as well: http://www.winehq.org/site/docs/winedev-guide/api-docs





More information about the wine-devel mailing list