stateblock.c revision 058c0c53c37f5cb271aeb3c385c10766f84f4aef
/*
* IDirect3DStateBlock9 implementation
*
* Copyright 2002-2003 Raphael Junqueira
* Copyright 2002-2003 Jason Edmeades
* Copyright 2005 Oliver Stieber
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "d3d9_private.h"
{
}
static HRESULT WINAPI d3d9_stateblock_QueryInterface(IDirect3DStateBlock9 *iface, REFIID riid, void **out)
{
{
return S_OK;
}
return E_NOINTERFACE;
}
{
return refcount;
}
{
if (!refcount)
{
}
return refcount;
}
static HRESULT WINAPI d3d9_stateblock_GetDevice(IDirect3DStateBlock9 *iface, IDirect3DDevice9 **device)
{
return D3D_OK;
}
{
return D3D_OK;
}
{
return D3D_OK;
}
static const struct IDirect3DStateBlock9Vtbl d3d9_stateblock_vtbl =
{
/* IUnknown */
/* IDirect3DStateBlock9 */
};
{
if (wined3d_stateblock)
{
}
else
{
{
return hr;
}
}
return D3D_OK;
}