Removed compilation warnings + some fixes.
[wine] / dlls / d3dxof / d3dxof_private.h
1 /*
2  *      DirectX File private interfaces (D3DXOF.DLL)
3  *
4  * Copyright 2004 Christian Costa
5  *
6  * This file contains the (internal) driver registration functions,
7  * driver enumeration APIs and DirectDraw creation functions.
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23
24 #ifndef __D3DXOF_PRIVATE_INCLUDED__
25 #define __D3DXOF_PRIVATE_INCLUDED__
26
27 #include <stdarg.h>
28
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wtypes.h"
32 #include "wingdi.h"
33 #include "winuser.h"
34 #include "dxfile.h"
35
36 typedef struct {
37     IDirectXFile lpVtbl;
38     int ref;
39 } IDirectXFileImpl;
40
41 typedef struct {
42     IDirectXFileBinary lpVtbl;
43     int ref;
44 } IDirectXFileBinaryImpl;
45
46 typedef struct {
47     IDirectXFileData lpVtbl;
48     int ref;
49 } IDirectXFileDataImpl;
50
51 typedef struct {
52     IDirectXFileDataReference lpVtbl;
53     int ref;
54 } IDirectXFileDataReferenceImpl;
55
56 typedef struct {
57     IDirectXFileObject lpVtbl;
58     int ref;
59 } IDirectXFileObjectImpl;
60
61 typedef struct {
62     IDirectXFileEnumObject lpVtbl;
63     int ref;
64 } IDirectXFileEnumObjectImpl;
65
66 typedef struct {
67     IDirectXFileSaveObject lpVtbl;
68     int ref;
69 } IDirectXFileSaveObjectImpl;
70
71 HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj);
72 HRESULT IDirectXFileBinaryImpl_Create(IDirectXFileBinaryImpl** ppObj);
73 HRESULT IDirectXFileDataImpl_Create(IDirectXFileDataImpl** ppObj);
74 HRESULT IDirectXFileDataReferenceImpl_Create(IDirectXFileDataReferenceImpl** ppObj);
75 HRESULT IDirectXFileEnumObjectImpl_Create(IDirectXFileEnumObjectImpl** ppObj);
76 HRESULT IDirectXFileFileObjectImpl_Create(IDirectXFileObjectImpl** ppObj);
77 HRESULT IDirectXFileFileSaveObjectImpl_Create(IDirectXFileSaveObjectImpl** ppObj);
78
79 #endif /* __D3DXOF_PRIVATE_INCLUDED__ */