directmanipulation: Return S_OK form viewport_SetViewportOptions stub.
[wine/zf.git] / dlls / d3dx11_43 / texture.c
blobee6808d76d603baff2452d1470f5e15d6b3b5f98
1 /*
2 * Copyright 2016 Andrey Gusev
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "d3dx11.h"
20 #include "d3dcompiler.h"
22 #include "wine/debug.h"
24 WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
26 HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, const void *data,
27 SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
28 ID3D11ShaderResourceView **view, HRESULT *hresult)
30 FIXME("device %p, data %p, data_size %lu, load_info %p, pump %p, view %p, hresult %p stub!\n",
31 device, data, data_size, load_info, pump, view, hresult);
33 return E_NOTIMPL;
36 HRESULT WINAPI D3DX11CreateTextureFromFileA(ID3D11Device *device, const char *filename,
37 D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
38 HRESULT *hresult)
40 FIXME("device %p, filename %s, load_info %p, pump %p, texture %p, hresult %p stub.\n",
41 device, debugstr_a(filename), load_info, pump, texture, hresult);
43 return E_NOTIMPL;
46 HRESULT WINAPI D3DX11CreateTextureFromFileW(ID3D11Device *device, const WCHAR *filename,
47 D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
48 HRESULT *hresult)
50 FIXME("device %p, filename %s, load_info %p, pump %p, texture %p, hresult %p stub.\n",
51 device, debugstr_w(filename), load_info, pump, texture, hresult);
53 return E_NOTIMPL;
56 HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *device, const void *data,
57 SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
58 ID3D11Resource **texture, HRESULT *hresult)
60 FIXME("device %p, data %p, data_size %lu, load_info %p, pump %p, texture %p, hresult %p stub.\n",
61 device, data, data_size, load_info, pump, texture, hresult);
63 return E_NOTIMPL;
66 HRESULT WINAPI D3DX11SaveTextureToFileW(ID3D11DeviceContext *context, ID3D11Resource *texture,
67 D3DX11_IMAGE_FILE_FORMAT format, const WCHAR *filename)
69 FIXME("context %p, texture %p, format %u, filename %s stub!\n",
70 context, texture, format, debugstr_w(filename));
72 return E_NOTIMPL;
75 HRESULT WINAPI D3DX11SaveTextureToFileA(ID3D11DeviceContext *context, ID3D11Resource *texture,
76 D3DX11_IMAGE_FILE_FORMAT format, const char *filename)
78 FIXME("context %p, texture %p, format %u, filename %s stub!\n",
79 context, texture, format, debugstr_a(filename));
81 return E_NOTIMPL;
84 HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *context, ID3D11Resource *texture,
85 D3DX11_IMAGE_FILE_FORMAT format, ID3D10Blob **buffer, UINT flags)
87 FIXME("context %p, texture %p, format %u, buffer %p, flags %#x stub!\n",
88 context, texture, format, buffer, flags);
90 return E_NOTIMPL;