Commit 5fe7522b authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

d3dx9: Add stubs for D3DXCreateText.

parent 6ef4e780
......@@ -90,8 +90,8 @@
@ stdcall D3DXCreateSphere(ptr float long long ptr ptr)
@ stdcall D3DXCreateSprite(ptr ptr)
@ stdcall D3DXCreateTeapot(ptr ptr ptr)
@ stub D3DXCreateTextA
@ stub D3DXCreateTextW
@ stdcall D3DXCreateTextA(ptr long str float float ptr ptr ptr)
@ stdcall D3DXCreateTextW(ptr long wstr float float ptr ptr ptr)
@ stdcall D3DXCreateTexture(ptr long long long long long long ptr)
@ stdcall D3DXCreateTextureFromFileA(ptr str ptr)
@ stdcall D3DXCreateTextureFromFileExA(ptr str long long long long long long long long long ptr ptr ptr)
......
......@@ -1499,3 +1499,27 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device, LPD3DXMESH *mesh, LPD3
return E_NOTIMPL;
}
HRESULT WINAPI D3DXCreateTextA(LPDIRECT3DDEVICE9 device,
HDC hdc, LPCSTR text,
FLOAT deviation, FLOAT extrusion,
LPD3DXMESH *mesh, LPD3DXBUFFER *adjacency,
LPGLYPHMETRICSFLOAT glyphmetrics)
{
FIXME("(%p, %p, %s, %f, %f, %p, %p, %p): stub\n", device, hdc,
debugstr_a(text), deviation, extrusion, mesh, adjacency, glyphmetrics);
return E_NOTIMPL;
}
HRESULT WINAPI D3DXCreateTextW(LPDIRECT3DDEVICE9 device,
HDC hdc, LPCWSTR text,
FLOAT deviation, FLOAT extrusion,
LPD3DXMESH *mesh, LPD3DXBUFFER *adjacency,
LPGLYPHMETRICSFLOAT glyphmetrics)
{
FIXME("(%p, %p, %s, %f, %f, %p, %p, %p): stub\n", device, hdc,
debugstr_w(text), deviation, extrusion, mesh, adjacency, glyphmetrics);
return E_NOTIMPL;
}
......@@ -52,6 +52,25 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency);
HRESULT WINAPI D3DXCreateTextA(LPDIRECT3DDEVICE9 device,
HDC hdc,
LPCSTR text,
FLOAT deviation,
FLOAT extrusion,
LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency,
LPGLYPHMETRICSFLOAT glyphmetrics);
HRESULT WINAPI D3DXCreateTextW(LPDIRECT3DDEVICE9 device,
HDC hdc,
LPCWSTR text,
FLOAT deviation,
FLOAT extrusion,
LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency,
LPGLYPHMETRICSFLOAT glyphmetrics);
#define D3DXCreateText WINELIB_NAME_AW(D3DXCreateText)
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment