d3dx8: Make d3dx8core.h C++ compatible.

This commit is contained in:
Francois Gouget 2008-02-05 00:04:37 +01:00 committed by Alexandre Julliard
parent 0894bf25dc
commit 91d3a794e8
1 changed files with 8 additions and 0 deletions

View File

@ -105,6 +105,10 @@ DECLARE_INTERFACE_(ID3DXFont,IUnknown)
/*************************************************************************************
* Define entrypoints
*/
#ifdef __cplusplus
extern "C" {
#endif
HRESULT WINAPI D3DXCreateBuffer(DWORD NumBytes, LPD3DXBUFFER* ppBuffer);
HRESULT WINAPI D3DXCreateFont(LPDIRECT3DDEVICE8 pDevice, HFONT hFont, LPD3DXFONT* ppFont);
UINT WINAPI D3DXGetFVFVertexSize(DWORD FVF);
@ -121,4 +125,8 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPWSTR pSrcFile, DWORD Flags,
LPD3DXBUFFER* ppCompiledShader,
LPD3DXBUFFER* ppCompilationErrors);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_D3DX8CORE_H */