d3dx8: Implement D3DX*CatmullRom.
[wine] / dlls / d3dx8 / d3dx8core_private.h
1 /*
2  * Direct3D X 8 private include file
3  *
4  * Copyright 2002 Raphael Junqueira
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef __WINE_D3DX8CORE_PRIVATE_H
22 #define __WINE_D3DX8CORE_PRIVATE_H
23
24 #include <stdarg.h>
25
26 #include "windef.h"
27 #include "winbase.h"
28 #include "d3dx8core.h"
29
30 /* Interfaces */
31 typedef struct ID3DXBufferImpl ID3DXBufferImpl;
32 typedef struct ID3DXFontImpl   ID3DXFontImpl;
33
34 /* ----------- */
35 /* ID3DXBuffer */
36 /* ----------- */
37
38 /*****************************************************************************
39  * Predeclare the interface implementation structures
40  */
41 extern const ID3DXBufferVtbl D3DXBuffer_Vtbl;
42
43 /*****************************************************************************
44  * ID3DXBufferImpl implementation structure
45  */
46 struct ID3DXBufferImpl
47 {
48   /* IUnknown fields */
49   const ID3DXBufferVtbl *lpVtbl;
50   LONG           ref;
51
52   /* ID3DXBuffer fields */
53   DWORD         *buffer;
54   DWORD          bufferSize;
55 };
56
57 /* --------- */
58 /* ID3DXFont */
59 /* --------- */
60
61 /*****************************************************************************
62  * ID3DXFontImpl implementation structure
63  */
64 struct ID3DXFontImpl
65 {
66   /* IUnknown fields */
67   const ID3DXFontVtbl *lpVtbl;
68   LONG           ref;
69
70   /* ID3DXFont fields */
71 };
72
73 #endif /*__WINE_D3DX8CORE_PRIVATE_H */