d3d8: Fix QueryInterface.
commitd06aa8d8578f1cf2af1e5170294a194606a2df61
authorH. Verbeet <hverbeet@gmail.com>
Wed, 7 Jun 2006 13:13:29 +0000 (7 15:13 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 7 Jun 2006 13:28:06 +0000 (7 15:28 +0200)
tree8602dc19dfba4c2ea04b012dd4e9bfc243e1f465
parent034fc473ecac9ec489ccf0a8e406121cfdc393c3
d3d8: Fix QueryInterface.

QueryInterface should return S_OK on success and set the object
pointer to NULL on failure. This is similar to the patch Ivan
submitted a while ago for wined3d.
15 files changed:
dlls/d3d8/basetexture.c
dlls/d3d8/cubetexture.c
dlls/d3d8/device.c
dlls/d3d8/directx.c
dlls/d3d8/indexbuffer.c
dlls/d3d8/pixelshader.c
dlls/d3d8/resource.c
dlls/d3d8/stateblock.c
dlls/d3d8/surface.c
dlls/d3d8/swapchain.c
dlls/d3d8/texture.c
dlls/d3d8/vertexbuffer.c
dlls/d3d8/vertexshader.c
dlls/d3d8/volume.c
dlls/d3d8/volumetexture.c