d3dx9: Add stubs for the D3DXGetImageInfo function group.
This commit is contained in:
parent
c1f161a678
commit
bf353f180d
|
@ -12,7 +12,8 @@ C_SRCS = \
|
|||
math.c \
|
||||
mesh.c \
|
||||
shader.c \
|
||||
sprite.c
|
||||
sprite.c \
|
||||
surface.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
||||
|
|
|
@ -151,11 +151,11 @@
|
|||
@ stub D3DXGetDeclVertexSize
|
||||
@ stdcall D3DXGetDriverLevel(ptr)
|
||||
@ stdcall D3DXGetFVFVertexSize(long)
|
||||
@ stdcall D3DXGetImageInfoFromFileA(ptr ptr) d3dx8.D3DXGetImageInfoFromFileA
|
||||
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr) d3dx8.D3DXGetImageInfoFromFileInMemory
|
||||
@ stdcall D3DXGetImageInfoFromFileW(ptr ptr) d3dx8.D3DXGetImageInfoFromFileW
|
||||
@ stdcall D3DXGetImageInfoFromResourceA(long ptr ptr) d3dx8.D3DXGetImageInfoFromResourceA
|
||||
@ stdcall D3DXGetImageInfoFromResourceW(long ptr ptr) d3dx8.D3DXGetImageInfoFromResourceW
|
||||
@ stdcall D3DXGetImageInfoFromFileA(str ptr)
|
||||
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr)
|
||||
@ stdcall D3DXGetImageInfoFromFileW(wstr ptr)
|
||||
@ stdcall D3DXGetImageInfoFromResourceA(long str ptr)
|
||||
@ stdcall D3DXGetImageInfoFromResourceW(long wstr ptr)
|
||||
@ stdcall D3DXGetPixelShaderProfile(ptr)
|
||||
@ stub D3DXGetShaderConstantTable
|
||||
@ stub D3DXGetShaderConstantTableEx
|
||||
|
|
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
* Copyright (C) 2009 Tony Wasserka
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* 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 "wine/debug.h"
|
||||
#include "d3dx9_36_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
|
||||
|
||||
|
||||
/************************************************************
|
||||
* D3DXGetImageInfoFromFileInMemory
|
||||
*
|
||||
* Fills a D3DXIMAGE_INFO structure with info about an image
|
||||
*
|
||||
* PARAMS
|
||||
* data [I] pointer to the image file data
|
||||
* datasize [I] size of the passed data
|
||||
* info [O] pointer to the destination structure
|
||||
*
|
||||
* RETURNS
|
||||
* Success: D3D_OK
|
||||
* Failure: D3DERR_INVALIDCALL
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID data, UINT datasize, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXGetImageInfoFromFileA(LPCSTR file, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXGetImageInfoFromFileW(LPCWSTR file, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXGetImageInfoFromResourceA(HMODULE module, LPCSTR resource, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DXGetImageInfoFromResourceW(HMODULE module, LPCWSTR resource, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
Loading…
Reference in New Issue