d3dx9: Add stubs for D3DXCreateText.

This commit is contained in:
Dylan Smith 2011-02-21 09:29:56 -05:00 committed by Alexandre Julliard
parent 6ef4e78027
commit 5fe7522ba1
3 changed files with 45 additions and 2 deletions

View File

@ -90,8 +90,8 @@
@ stdcall D3DXCreateSphere(ptr float long long ptr ptr) @ stdcall D3DXCreateSphere(ptr float long long ptr ptr)
@ stdcall D3DXCreateSprite(ptr ptr) @ stdcall D3DXCreateSprite(ptr ptr)
@ stdcall D3DXCreateTeapot(ptr ptr ptr) @ stdcall D3DXCreateTeapot(ptr ptr ptr)
@ stub D3DXCreateTextA @ stdcall D3DXCreateTextA(ptr long str float float ptr ptr ptr)
@ stub D3DXCreateTextW @ stdcall D3DXCreateTextW(ptr long wstr float float ptr ptr ptr)
@ stdcall D3DXCreateTexture(ptr long long long long long long ptr) @ stdcall D3DXCreateTexture(ptr long long long long long long ptr)
@ stdcall D3DXCreateTextureFromFileA(ptr str ptr) @ stdcall D3DXCreateTextureFromFileA(ptr str ptr)
@ stdcall D3DXCreateTextureFromFileExA(ptr str long long long long long long long long long ptr ptr ptr) @ stdcall D3DXCreateTextureFromFileExA(ptr str long long long long long long long long long ptr ptr ptr)

View File

@ -1499,3 +1499,27 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device, LPD3DXMESH *mesh, LPD3
return E_NOTIMPL; 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;
}

View File

@ -52,6 +52,25 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
LPD3DXMESH *mesh, LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency); 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 #ifdef __cplusplus
} }
#endif #endif