d3dx10: Add D3DX10GetImageInfoFromFile{A, W}() stub implementation.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
56aeb4591b
commit
4d0f38b86c
|
@ -49,8 +49,8 @@
|
|||
@ stub D3DX10CreateTextureFromResourceW(ptr long wstr ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10FilterTexture(ptr long long)
|
||||
@ stdcall D3DX10GetFeatureLevel1(ptr ptr)
|
||||
@ stub D3DX10GetImageInfoFromFileA(str ptr ptr ptr)
|
||||
@ stub D3DX10GetImageInfoFromFileW(wstr ptr ptr ptr)
|
||||
@ stdcall D3DX10GetImageInfoFromFileA(str ptr ptr ptr)
|
||||
@ stdcall D3DX10GetImageInfoFromFileW(wstr ptr ptr ptr)
|
||||
@ stdcall D3DX10GetImageInfoFromMemory(ptr long ptr ptr ptr)
|
||||
@ stub D3DX10GetImageInfoFromResourceA(long str ptr ptr ptr)
|
||||
@ stub D3DX10GetImageInfoFromResourceW(long wstr ptr ptr ptr)
|
||||
|
|
|
@ -297,6 +297,22 @@ HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *device, ID3D10Device1 **devi
|
|||
return ID3D10Device_QueryInterface(device, &IID_ID3D10Device1, (void **)device1);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromFileA(const char *src_file, ID3DX10ThreadPump *pump, D3DX10_IMAGE_INFO *info,
|
||||
HRESULT *result)
|
||||
{
|
||||
FIXME("src_file %s, pump %p, info %p, result %p\n", debugstr_a(src_file), pump, info, result);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromFileW(const WCHAR *src_file, ID3DX10ThreadPump *pump, D3DX10_IMAGE_INFO *info,
|
||||
HRESULT *result)
|
||||
{
|
||||
FIXME("src_file %s, pump %p, info %p, result %p\n", debugstr_w(src_file), pump, info, result);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX10ThreadPump *pump,
|
||||
D3DX10_IMAGE_INFO *img_info, HRESULT *hresult)
|
||||
{
|
||||
|
|
|
@ -140,8 +140,16 @@ extern "C" {
|
|||
HRESULT WINAPI D3DX10CreateTextureFromMemory(ID3D10Device *device, const void *src_data, SIZE_T src_data_size,
|
||||
D3DX10_IMAGE_LOAD_INFO *loadinfo, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult);
|
||||
HRESULT WINAPI D3DX10FilterTexture(ID3D10Resource *texture, UINT src_level, UINT filter);
|
||||
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromFileA(const char *src_file, ID3DX10ThreadPump *pump, D3DX10_IMAGE_INFO *info,
|
||||
HRESULT *result);
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromFileW(const WCHAR *src_file, ID3DX10ThreadPump *pump, D3DX10_IMAGE_INFO *info,
|
||||
HRESULT *result);
|
||||
#define D3DX10GetImageInfoFromFile WINELIB_NAME_AW(D3DX10GetImageInfoFromFile)
|
||||
|
||||
HRESULT WINAPI D3DX10GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX10ThreadPump *pump,
|
||||
D3DX10_IMAGE_INFO *img_info, HRESULT *hresult);
|
||||
|
||||
HRESULT WINAPI D3DX10LoadTextureFromTexture(ID3D10Resource *src_texture, D3DX10_TEXTURE_LOAD_INFO *load_info,
|
||||
ID3D10Resource *dst_texture);
|
||||
|
||||
|
|
Loading…
Reference in New Issue