1 | /*
|
---|
2 | * Copyright (C) 2005 Peter Berg Larsen
|
---|
3 | * Copyright (C) 2010 Christian Costa
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Lesser General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Lesser General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Lesser General Public
|
---|
16 | * License along with this library; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | #ifndef __D3DRM_H__
|
---|
30 | #define __D3DRM_H__
|
---|
31 |
|
---|
32 | #include <ddraw.h>
|
---|
33 |
|
---|
34 | typedef struct IDirect3DRM *LPDIRECT3DRM;
|
---|
35 |
|
---|
36 | #include <d3drmobj.h>
|
---|
37 |
|
---|
38 |
|
---|
39 | /* Direct3DRM Object CLSID */
|
---|
40 | DEFINE_GUID(CLSID_CDirect3DRM, 0x4516ec41, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
|
---|
41 |
|
---|
42 | /* Direct3DRM Interface GUIDs */
|
---|
43 | DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
|
---|
44 | DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
|
---|
45 | DEFINE_GUID(IID_IDirect3DRM3, 0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
|
---|
46 |
|
---|
47 | HRESULT WINAPI Direct3DRMCreate(LPDIRECT3DRM* ppDirect3DRM);
|
---|
48 |
|
---|
49 | /*****************************************************************************
|
---|
50 | * IDirect3DRMObject interface
|
---|
51 | */
|
---|
52 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
53 | #undef GetClassName
|
---|
54 | #endif
|
---|
55 | #define INTERFACE IDirect3DRM
|
---|
56 | DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
|
---|
57 | {
|
---|
58 | /*** IUnknown methods ***/
|
---|
59 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
|
---|
60 | STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
---|
61 | STDMETHOD_(ULONG,Release)(THIS) PURE;
|
---|
62 | /*** IDirect3DRM methods ***/
|
---|
63 | STDMETHOD(CreateObject)(THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) PURE;
|
---|
64 | STDMETHOD(CreateFrame)(THIS_ LPDIRECT3DRMFRAME, LPDIRECT3DRMFRAME *) PURE;
|
---|
65 | STDMETHOD(CreateMesh)(THIS_ LPDIRECT3DRMMESH *) PURE;
|
---|
66 | STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER *) PURE;
|
---|
67 | STDMETHOD(CreateFace)(THIS_ LPDIRECT3DRMFACE *) PURE;
|
---|
68 | STDMETHOD(CreateAnimation)(THIS_ LPDIRECT3DRMANIMATION *) PURE;
|
---|
69 | STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET *) PURE;
|
---|
70 | STDMETHOD(CreateTexture)(THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE *) PURE;
|
---|
71 | STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
|
---|
72 | STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
|
---|
73 | STDMETHOD(CreateMaterial)(THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL *) PURE;
|
---|
74 | STDMETHOD(CreateDevice)(THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE *) PURE;
|
---|
75 | STDMETHOD(CreateDeviceFromSurface)(THIS_ LPGUID pGUID, LPDIRECTDRAW pDD, LPDIRECTDRAWSURFACE pDDSBack,
|
---|
76 | LPDIRECT3DRMDEVICE *) PURE;
|
---|
77 | STDMETHOD(CreateDeviceFromD3D)(THIS_ LPDIRECT3D pD3D, LPDIRECT3DDEVICE pD3DDev, LPDIRECT3DRMDEVICE *) PURE;
|
---|
78 | STDMETHOD(CreateDeviceFromClipper)(THIS_ LPDIRECTDRAWCLIPPER pDDClipper, LPGUID pGUID, int width, int height,
|
---|
79 | LPDIRECT3DRMDEVICE *) PURE;
|
---|
80 | STDMETHOD(CreateShadow)(THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMLIGHT, D3DVALUE px, D3DVALUE py, D3DVALUE pz,
|
---|
81 | D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, LPDIRECT3DRMVISUAL *) PURE;
|
---|
82 | STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE pDDS, LPDIRECT3DRMTEXTURE *) PURE;
|
---|
83 | STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DRMDEVICE, LPDIRECT3DRMFRAME, DWORD, DWORD, DWORD, DWORD,
|
---|
84 | LPDIRECT3DRMVIEWPORT *) PURE;
|
---|
85 | STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
|
---|
86 | D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov,
|
---|
87 | D3DVALUE su, D3DVALUE sv, LPDIRECT3DRMWRAP *) PURE;
|
---|
88 | STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK, LPVOID pArg, LPDIRECT3DRMUSERVISUAL *) PURE;
|
---|
89 | STDMETHOD(LoadTexture)(THIS_ const char *, LPDIRECT3DRMTEXTURE *) PURE;
|
---|
90 | STDMETHOD(LoadTextureFromResource)(THIS_ HRSRC rs, LPDIRECT3DRMTEXTURE *) PURE;
|
---|
91 | STDMETHOD(SetSearchPath)(THIS_ LPCSTR) PURE;
|
---|
92 | STDMETHOD(AddSearchPath)(THIS_ LPCSTR) PURE;
|
---|
93 | STDMETHOD(GetSearchPath)(THIS_ DWORD *size_return, LPSTR path_return) PURE;
|
---|
94 | STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
|
---|
95 | STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
|
---|
96 | STDMETHOD(GetDevices)(THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
|
---|
97 | STDMETHOD(GetNamedObject)(THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
|
---|
98 | STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
|
---|
99 | STDMETHOD(Load)(THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS, D3DRMLOADCALLBACK, LPVOID,
|
---|
100 | D3DRMLOADTEXTURECALLBACK, LPVOID, LPDIRECT3DRMFRAME) PURE;
|
---|
101 | STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
|
---|
102 | };
|
---|
103 | #undef INTERFACE
|
---|
104 |
|
---|
105 | #if !defined(__cplusplus) || defined(CINTERFACE)
|
---|
106 | /*** IUnknown methods ***/
|
---|
107 | #define IDirect3DRM_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
---|
108 | #define IDirect3DRM_AddRef(p) (p)->lpVtbl->AddRef(p)
|
---|
109 | #define IDirect3DRM_Release(p) (p)->lpVtbl->Release(p)
|
---|
110 | /*** IDirect3DRM methods ***/
|
---|
111 | #define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
|
---|
112 | #define IDirect3DRM_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
|
---|
113 | #define IDirect3DRM_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
|
---|
114 | #define IDirect3DRM_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
|
---|
115 | #define IDirect3DRM_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
|
---|
116 | #define IDirect3DRM_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
|
---|
117 | #define IDirect3DRM_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
|
---|
118 | #define IDirect3DRM_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
|
---|
119 | #define IDirect3DRM_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
|
---|
120 | #define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
|
---|
121 | #define IDirect3DRM_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
|
---|
122 | #define IDirect3DRM_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
|
---|
123 | #define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
|
---|
124 | #define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
|
---|
125 | #define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
|
---|
126 | #define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
|
---|
127 | #define IDirect3DRM_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i)
|
---|
128 | #define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
|
---|
129 | #define IDirect3DRM_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q)
|
---|
130 | #define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
|
---|
131 | #define IDirect3DRM_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
|
---|
132 | #define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->lpVtbl->LoadTextureFromResource(p,a,b)
|
---|
133 | #define IDirect3DRM_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
|
---|
134 | #define IDirect3DRM_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
|
---|
135 | #define IDirect3DRM_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
|
---|
136 | #define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
|
---|
137 | #define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
|
---|
138 | #define IDirect3DRM_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
|
---|
139 | #define IDirect3DRM_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
|
---|
140 | #define IDirect3DRM_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
|
---|
141 | #define IDirect3DRM_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j)
|
---|
142 | #define IDirect3DRM_Tick(p,a) (p)->lpVtbl->Tick(p,a)
|
---|
143 | #else
|
---|
144 | /*** IUnknown methods ***/
|
---|
145 | #define IDirect3DRM_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
|
---|
146 | #define IDirect3DRM_AddRef(p) (p)->AddRef()
|
---|
147 | #define IDirect3DRM_Release(p) (p)->Release()
|
---|
148 | /*** IDirect3DRM methods ***/
|
---|
149 | #define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
|
---|
150 | #define IDirect3DRM_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
|
---|
151 | #define IDirect3DRM_CreateMesh(p,a) (p)->CreateMesh(a)
|
---|
152 | #define IDirect3DRM_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
|
---|
153 | #define IDirect3DRM_CreateFace(p,a) (p)->CreateFace(a)
|
---|
154 | #define IDirect3DRM_CreateAnimation(p,a) (p)->CreateAnimation(a)
|
---|
155 | #define IDirect3DRM_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
|
---|
156 | #define IDirect3DRM_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
|
---|
157 | #define IDirect3DRM_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
|
---|
158 | #define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
|
---|
159 | #define IDirect3DRM_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
|
---|
160 | #define IDirect3DRM_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
|
---|
161 | #define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
|
---|
162 | #define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
|
---|
163 | #define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
|
---|
164 | #define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
|
---|
165 | #define IDirect3DRM_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
|
---|
166 | #define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
|
---|
167 | #define IDirect3DRM_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
|
---|
168 | #define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
|
---|
169 | #define IDirect3DRM_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
|
---|
170 | #define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->LoadTextureFromResource(a,b)
|
---|
171 | #define IDirect3DRM_SetSearchPath(p,a) (p)->SetSearchPath(a)
|
---|
172 | #define IDirect3DRM_AddSearchPath(p,a) (p)->AddSearchPath(a)
|
---|
173 | #define IDirect3DRM_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
|
---|
174 | #define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
|
---|
175 | #define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
|
---|
176 | #define IDirect3DRM_GetDevices(p,a) (p)->GetDevices(a)
|
---|
177 | #define IDirect3DRM_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
|
---|
178 | #define IDirect3DRM_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
|
---|
179 | #define IDirect3DRM_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j)
|
---|
180 | #define IDirect3DRM_Tick(p,a) (p)->Tick(a)
|
---|
181 | #endif
|
---|
182 |
|
---|
183 | /*****************************************************************************
|
---|
184 | * IDirect3DRM2 interface
|
---|
185 | */
|
---|
186 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
187 | #undef GetClassName
|
---|
188 | #endif
|
---|
189 | #define INTERFACE IDirect3DRM2
|
---|
190 | DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
|
---|
191 | {
|
---|
192 | /*** IUnknown methods ***/
|
---|
193 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
|
---|
194 | STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
---|
195 | STDMETHOD_(ULONG,Release)(THIS) PURE;
|
---|
196 | /*** IDirect3DRM2 methods ***/
|
---|
197 | STDMETHOD(CreateObject)(THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) PURE;
|
---|
198 | STDMETHOD(CreateFrame)(THIS_ LPDIRECT3DRMFRAME, LPDIRECT3DRMFRAME2 *) PURE;
|
---|
199 | STDMETHOD(CreateMesh)(THIS_ LPDIRECT3DRMMESH *) PURE;
|
---|
200 | STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER2 *) PURE;
|
---|
201 | STDMETHOD(CreateFace)(THIS_ LPDIRECT3DRMFACE *) PURE;
|
---|
202 | STDMETHOD(CreateAnimation)(THIS_ LPDIRECT3DRMANIMATION *) PURE;
|
---|
203 | STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET *) PURE;
|
---|
204 | STDMETHOD(CreateTexture)(THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE2 *) PURE;
|
---|
205 | STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
|
---|
206 | STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
|
---|
207 | STDMETHOD(CreateMaterial)(THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL *) PURE;
|
---|
208 | STDMETHOD(CreateDevice)(THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE2 *) PURE;
|
---|
209 | STDMETHOD(CreateDeviceFromSurface)(THIS_ LPGUID pGUID, LPDIRECTDRAW pDD, LPDIRECTDRAWSURFACE pDDSBack,
|
---|
210 | LPDIRECT3DRMDEVICE2 *) PURE;
|
---|
211 | STDMETHOD(CreateDeviceFromD3D)(THIS_ LPDIRECT3D2 pD3D, LPDIRECT3DDEVICE2 pD3DDev, LPDIRECT3DRMDEVICE2 *) PURE;
|
---|
212 | STDMETHOD(CreateDeviceFromClipper)(THIS_ LPDIRECTDRAWCLIPPER pDDClipper, LPGUID pGUID, int width, int height,
|
---|
213 | LPDIRECT3DRMDEVICE2 *) PURE;
|
---|
214 | STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE pDDS, LPDIRECT3DRMTEXTURE2 *) PURE;
|
---|
215 | STDMETHOD(CreateShadow)(THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMLIGHT, D3DVALUE px, D3DVALUE py, D3DVALUE pz,
|
---|
216 | D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, LPDIRECT3DRMVISUAL *) PURE;
|
---|
217 | STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DRMDEVICE, LPDIRECT3DRMFRAME, DWORD, DWORD, DWORD, DWORD,
|
---|
218 | LPDIRECT3DRMVIEWPORT *) PURE;
|
---|
219 | STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
|
---|
220 | D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov,
|
---|
221 | D3DVALUE su, D3DVALUE sv, LPDIRECT3DRMWRAP *) PURE;
|
---|
222 | STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK, LPVOID pArg, LPDIRECT3DRMUSERVISUAL *) PURE;
|
---|
223 | STDMETHOD(LoadTexture)(THIS_ const char *, LPDIRECT3DRMTEXTURE2 *) PURE;
|
---|
224 | STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE hModule, LPCSTR /* LPCTSTR */ strName, LPCSTR /* LPCTSTR */ strType, LPDIRECT3DRMTEXTURE2 *) PURE;
|
---|
225 | STDMETHOD(SetSearchPath)(THIS_ LPCSTR) PURE;
|
---|
226 | STDMETHOD(AddSearchPath)(THIS_ LPCSTR) PURE;
|
---|
227 | STDMETHOD(GetSearchPath)(THIS_ DWORD *size_return, LPSTR path_return) PURE;
|
---|
228 | STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
|
---|
229 | STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
|
---|
230 | STDMETHOD(GetDevices)(THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
|
---|
231 | STDMETHOD(GetNamedObject)(THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
|
---|
232 | STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
|
---|
233 | STDMETHOD(Load)(THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS, D3DRMLOADCALLBACK, LPVOID,
|
---|
234 | D3DRMLOADTEXTURECALLBACK, LPVOID, LPDIRECT3DRMFRAME) PURE;
|
---|
235 | STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
|
---|
236 | STDMETHOD(CreateProgressiveMesh)(THIS_ LPDIRECT3DRMPROGRESSIVEMESH) PURE;
|
---|
237 | };
|
---|
238 | #undef INTERFACE
|
---|
239 |
|
---|
240 | #if !defined(__cplusplus) || defined(CINTERFACE)
|
---|
241 | /*** IUnknown methods ***/
|
---|
242 | #define IDirect3DRM2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
---|
243 | #define IDirect3DRM2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
---|
244 | #define IDirect3DRM2_Release(p) (p)->lpVtbl->Release(p)
|
---|
245 | /*** IDirect3DRM2 methods ***/
|
---|
246 | #define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
|
---|
247 | #define IDirect3DRM2_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
|
---|
248 | #define IDirect3DRM2_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
|
---|
249 | #define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
|
---|
250 | #define IDirect3DRM2_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
|
---|
251 | #define IDirect3DRM2_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
|
---|
252 | #define IDirect3DRM2_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
|
---|
253 | #define IDirect3DRM2_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
|
---|
254 | #define IDirect3DRM2_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
|
---|
255 | #define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
|
---|
256 | #define IDirect3DRM2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
|
---|
257 | #define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
|
---|
258 | #define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
|
---|
259 | #define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
|
---|
260 | #define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
|
---|
261 | #define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
|
---|
262 | #define IDirect3DRM2_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i)
|
---|
263 | #define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
|
---|
264 | #define IDirect3DRM2_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q)
|
---|
265 | #define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
|
---|
266 | #define IDirect3DRM2_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
|
---|
267 | #define IDirect3DRM2_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d)
|
---|
268 | #define IDirect3DRM2_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
|
---|
269 | #define IDirect3DRM2_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
|
---|
270 | #define IDirect3DRM2_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
|
---|
271 | #define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
|
---|
272 | #define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
|
---|
273 | #define IDirect3DRM2_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
|
---|
274 | #define IDirect3DRM2_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
|
---|
275 | #define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
|
---|
276 | #define IDirect3DRM2_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j)
|
---|
277 | #define IDirect3DRM2_Tick(p,a) (p)->lpVtbl->Tick(p,a)
|
---|
278 | #define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a)
|
---|
279 | #else
|
---|
280 | /*** IUnknown methods ***/
|
---|
281 | #define IDirect3DRM2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
|
---|
282 | #define IDirect3DRM2_AddRef(p) (p)->AddRef()
|
---|
283 | #define IDirect3DRM2_Release(p) (p)->Release()
|
---|
284 | /*** IDirect3DRM2 methods ***/
|
---|
285 | #define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
|
---|
286 | #define IDirect3DRM2_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
|
---|
287 | #define IDirect3DRM2_CreateMesh(p,a) (p)->CreateMesh(a)
|
---|
288 | #define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
|
---|
289 | #define IDirect3DRM2_CreateFace(p,a) (p)->CreateFace(a)
|
---|
290 | #define IDirect3DRM2_CreateAnimation(p,a) (p)->CreateAnimation(a)
|
---|
291 | #define IDirect3DRM2_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
|
---|
292 | #define IDirect3DRM2_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
|
---|
293 | #define IDirect3DRM2_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
|
---|
294 | #define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
|
---|
295 | #define IDirect3DRM2_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
|
---|
296 | #define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
|
---|
297 | #define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
|
---|
298 | #define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
|
---|
299 | #define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
|
---|
300 | #define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
|
---|
301 | #define IDirect3DRM2_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
|
---|
302 | #define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
|
---|
303 | #define IDirect3DRM2_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
|
---|
304 | #define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
|
---|
305 | #define IDirect3DRM2_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
|
---|
306 | #define IDirect3DRM2_LoadTextureFromResource(p,a,b) (p)->LoadTextureFromResource(a,b)
|
---|
307 | #define IDirect3DRM2_SetSearchPath(p,a) (p)->SetSearchPath(a)
|
---|
308 | #define IDirect3DRM2_AddSearchPath(p,a) (p)->AddSearchPath(a)
|
---|
309 | #define IDirect3DRM2_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
|
---|
310 | #define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
|
---|
311 | #define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
|
---|
312 | #define IDirect3DRM2_GetDevices(p,a) (p)->GetDevices(a)
|
---|
313 | #define IDirect3DRM2_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
|
---|
314 | #define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
|
---|
315 | #define IDirect3DRM2_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j)
|
---|
316 | #define IDirect3DRM2_Tick(p,a) (p)->Tick(a)
|
---|
317 | #define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a)
|
---|
318 | #endif
|
---|
319 |
|
---|
320 | /*****************************************************************************
|
---|
321 | * IDirect3DRM3 interface
|
---|
322 | */
|
---|
323 | #ifdef WINE_NO_UNICODE_MACROS
|
---|
324 | #undef GetClassName
|
---|
325 | #endif
|
---|
326 | #define INTERFACE IDirect3DRM3
|
---|
327 | DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
|
---|
328 | {
|
---|
329 | /*** IUnknown methods ***/
|
---|
330 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
|
---|
331 | STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
---|
332 | STDMETHOD_(ULONG,Release)(THIS) PURE;
|
---|
333 | /*** IDirect3DRM2 methods ***/
|
---|
334 | STDMETHOD(CreateObject)(THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *ppvObj) PURE;
|
---|
335 | STDMETHOD(CreateFrame)(THIS_ LPDIRECT3DRMFRAME3, LPDIRECT3DRMFRAME3 *) PURE;
|
---|
336 | STDMETHOD(CreateMesh)(THIS_ LPDIRECT3DRMMESH *) PURE;
|
---|
337 | STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER3 *) PURE;
|
---|
338 | STDMETHOD(CreateFace)(THIS_ LPDIRECT3DRMFACE2 *) PURE;
|
---|
339 | STDMETHOD(CreateAnimation)(THIS_ LPDIRECT3DRMANIMATION2 *) PURE;
|
---|
340 | STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET2 *) PURE;
|
---|
341 | STDMETHOD(CreateTexture)(THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE3 *) PURE;
|
---|
342 | STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
|
---|
343 | STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
|
---|
344 | STDMETHOD(CreateMaterial)(THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL2 *) PURE;
|
---|
345 | STDMETHOD(CreateDevice)(THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE3 *) PURE;
|
---|
346 | STDMETHOD(CreateDeviceFromSurface)(THIS_ LPGUID pGUID, LPDIRECTDRAW pDD, LPDIRECTDRAWSURFACE pDDSBack,
|
---|
347 | LPDIRECT3DRMDEVICE3 *) PURE;
|
---|
348 | STDMETHOD(CreateDeviceFromD3D)(THIS_ LPDIRECT3D2 pD3D, LPDIRECT3DDEVICE2 pD3DDev, LPDIRECT3DRMDEVICE3 *) PURE;
|
---|
349 | STDMETHOD(CreateDeviceFromClipper)(THIS_ LPDIRECTDRAWCLIPPER pDDClipper, LPGUID pGUID, int width, int height,
|
---|
350 | LPDIRECT3DRMDEVICE3 *) PURE;
|
---|
351 | STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE pDDS, LPDIRECT3DRMTEXTURE3 *) PURE;
|
---|
352 | STDMETHOD(CreateShadow)(THIS_ LPUNKNOWN, LPDIRECT3DRMLIGHT, D3DVALUE px, D3DVALUE py, D3DVALUE pz,
|
---|
353 | D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, LPDIRECT3DRMSHADOW2 *) PURE;
|
---|
354 | STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DRMDEVICE3, LPDIRECT3DRMFRAME3, DWORD, DWORD, DWORD, DWORD,
|
---|
355 | LPDIRECT3DRMVIEWPORT2 *) PURE;
|
---|
356 | STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME3, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
|
---|
357 | D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov,
|
---|
358 | D3DVALUE su, D3DVALUE sv, LPDIRECT3DRMWRAP *) PURE;
|
---|
359 | STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK, LPVOID pArg, LPDIRECT3DRMUSERVISUAL *) PURE;
|
---|
360 | STDMETHOD(LoadTexture)(THIS_ const char *, LPDIRECT3DRMTEXTURE3 *) PURE;
|
---|
361 | STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE hModule, LPCSTR /* LPCTSTR */ strName, LPCSTR /* LPCTSTR */ strType, LPDIRECT3DRMTEXTURE3 *) PURE;
|
---|
362 | STDMETHOD(SetSearchPath)(THIS_ LPCSTR) PURE;
|
---|
363 | STDMETHOD(AddSearchPath)(THIS_ LPCSTR) PURE;
|
---|
364 | STDMETHOD(GetSearchPath)(THIS_ DWORD *size_return, LPSTR path_return) PURE;
|
---|
365 | STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
|
---|
366 | STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
|
---|
367 | STDMETHOD(GetDevices)(THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
|
---|
368 | STDMETHOD(GetNamedObject)(THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
|
---|
369 | STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
|
---|
370 | STDMETHOD(Load)(THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS, D3DRMLOADCALLBACK, LPVOID,
|
---|
371 | D3DRMLOADTEXTURECALLBACK, LPVOID, LPDIRECT3DRMFRAME3) PURE;
|
---|
372 | STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
|
---|
373 | STDMETHOD(CreateProgressiveMesh)(THIS_ LPDIRECT3DRMPROGRESSIVEMESH) PURE;
|
---|
374 | STDMETHOD(RegisterClient)(THIS_ REFGUID rguid, LPDWORD lpdwID) PURE;
|
---|
375 | STDMETHOD(UnregisterClient)(THIS_ REFGUID rguid) PURE;
|
---|
376 | STDMETHOD(CreateClippedVisual)(THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMCLIPPEDVISUAL *) PURE;
|
---|
377 | STDMETHOD(SetOptions)(THIS_ DWORD) PURE;
|
---|
378 | STDMETHOD(GetOptions)(THIS_ LPDWORD) PURE;
|
---|
379 | };
|
---|
380 | #undef INTERFACE
|
---|
381 |
|
---|
382 | #if !defined(__cplusplus) || defined(CINTERFACE)
|
---|
383 | /*** IUnknown methods ***/
|
---|
384 | #define IDirect3DRM3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
---|
385 | #define IDirect3DRM3_AddRef(p) (p)->lpVtbl->AddRef(p)
|
---|
386 | #define IDirect3DRM3_Release(p) (p)->lpVtbl->Release(p)
|
---|
387 | /*** IDirect3DRM3 methods ***/
|
---|
388 | #define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
|
---|
389 | #define IDirect3DRM3_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
|
---|
390 | #define IDirect3DRM3_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
|
---|
391 | #define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
|
---|
392 | #define IDirect3DRM3_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
|
---|
393 | #define IDirect3DRM3_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
|
---|
394 | #define IDirect3DRM3_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
|
---|
395 | #define IDirect3DRM3_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
|
---|
396 | #define IDirect3DRM3_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
|
---|
397 | #define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
|
---|
398 | #define IDirect3DRM3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
|
---|
399 | #define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
|
---|
400 | #define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
|
---|
401 | #define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
|
---|
402 | #define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
|
---|
403 | #define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
|
---|
404 | #define IDirect3DRM3_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateShadow(p,a,b,c,d,e,f,g,h,i)
|
---|
405 | #define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
|
---|
406 | #define IDirect3DRM3_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q) (p)->lpVtbl->CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q)
|
---|
407 | #define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
|
---|
408 | #define IDirect3DRM3_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
|
---|
409 | #define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d)
|
---|
410 | #define IDirect3DRM3_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
|
---|
411 | #define IDirect3DRM3_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
|
---|
412 | #define IDirect3DRM3_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
|
---|
413 | #define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
|
---|
414 | #define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
|
---|
415 | #define IDirect3DRM3_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
|
---|
416 | #define IDirect3DRM3_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
|
---|
417 | #define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
|
---|
418 | #define IDirect3DRM3_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g,h,i,j)
|
---|
419 | #define IDirect3DRM3_Tick(p,a) (p)->lpVtbl->Tick(p,a)
|
---|
420 | #define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a)
|
---|
421 | #define IDirect3DRM3_RegisterClient(p,a,b) (p)->lpVtbl->RegisterClient(p,a,b)
|
---|
422 | #define IDirect3DRM3_UnregisterClient(p,a) (p)->lpVtbl->UnregisterClient(p,a)
|
---|
423 | #define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->lpVtbl->CreateClippedVisual(p,a,b)
|
---|
424 | #define IDirect3DRM3_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
|
---|
425 | #define IDirect3DRM3_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
|
---|
426 | #else
|
---|
427 | /*** IUnknown methods ***/
|
---|
428 | #define IDirect3DRM3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
|
---|
429 | #define IDirect3DRM3_AddRef(p) (p)->AddRef()
|
---|
430 | #define IDirect3DRM3_Release(p) (p)->Release()
|
---|
431 | /*** IDirect3DRM3 methods ***/
|
---|
432 | #define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
|
---|
433 | #define IDirect3DRM3_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
|
---|
434 | #define IDirect3DRM3_CreateMesh(p,a) (p)->CreateMesh(a)
|
---|
435 | #define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
|
---|
436 | #define IDirect3DRM3_CreateFace(p,a) (p)->CreateFace(a)
|
---|
437 | #define IDirect3DRM3_CreateAnimation(p,a) (p)->CreateAnimation(a)
|
---|
438 | #define IDirect3DRM3_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
|
---|
439 | #define IDirect3DRM3_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
|
---|
440 | #define IDirect3DRM3_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
|
---|
441 | #define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
|
---|
442 | #define IDirect3DRM3_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
|
---|
443 | #define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
|
---|
444 | #define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
|
---|
445 | #define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
|
---|
446 | #define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
|
---|
447 | #define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
|
---|
448 | #define IDirect3DRM3_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
|
---|
449 | #define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
|
---|
450 | #define IDirect3DRM3_CreateWrap(p,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) (p)->CreateWrap(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
|
---|
451 | #define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
|
---|
452 | #define IDirect3DRM3_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
|
---|
453 | #define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->LoadTextureFromResource(a,b,c,d)
|
---|
454 | #define IDirect3DRM3_SetSearchPath(p,a) (p)->SetSearchPath(a)
|
---|
455 | #define IDirect3DRM3_AddSearchPath(p,a) (p)->AddSearchPath(a)
|
---|
456 | #define IDirect3DRM3_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
|
---|
457 | #define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
|
---|
458 | #define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
|
---|
459 | #define IDirect3DRM3_GetDevices(p,a) (p)->GetDevices(a)
|
---|
460 | #define IDirect3DRM3_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
|
---|
461 | #define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
|
---|
462 | #define IDirect3DRM3_Load(p,a,b,c,d,e,f,g,h,i,j) (p)->Load(a,b,c,d,e,f,g,h,i,j)
|
---|
463 | #define IDirect3DRM3_Tick(p,a) (p)->Tick(a)
|
---|
464 | #define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a)
|
---|
465 | #define IDirect3DRM3_RegisterClient(p,a,b) (p)->RegisterClient(p,a,b)
|
---|
466 | #define IDirect3DRM3_UnregisterClient(p,a) (p)->UnregisterClient(p,a)
|
---|
467 | #define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->CreateClippedVisual(p,a,b)
|
---|
468 | #define IDirect3DRM3_SetOptions(p,a) (p)->SetOptions(p,a)
|
---|
469 | #define IDirect3DRM3_GetOptions(p,a) (p)->GetOptions(p,a)
|
---|
470 | #endif
|
---|
471 |
|
---|
472 | #define D3DRM_OK DD_OK
|
---|
473 | #define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781)
|
---|
474 | #define D3DRMERR_BADTYPE MAKE_DDHRESULT(782)
|
---|
475 | #define D3DRMERR_BADALLOC MAKE_DDHRESULT(783)
|
---|
476 | #define D3DRMERR_FACEUSED MAKE_DDHRESULT(784)
|
---|
477 | #define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785)
|
---|
478 | #define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786)
|
---|
479 | #define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787)
|
---|
480 | #define D3DRMERR_BADFILE MAKE_DDHRESULT(788)
|
---|
481 | #define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789)
|
---|
482 | #define D3DRMERR_BADVALUE MAKE_DDHRESULT(790)
|
---|
483 | #define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791)
|
---|
484 | #define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792)
|
---|
485 | #define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793)
|
---|
486 | #define D3DRMERR_LIBRARYNOTFOUND MAKE_DDHRESULT(794)
|
---|
487 | #define D3DRMERR_INVALIDLIBRARY MAKE_DDHRESULT(795)
|
---|
488 | #define D3DRMERR_PENDING MAKE_DDHRESULT(796)
|
---|
489 | #define D3DRMERR_NOTENOUGHDATA MAKE_DDHRESULT(797)
|
---|
490 | #define D3DRMERR_REQUESTTOOLARGE MAKE_DDHRESULT(798)
|
---|
491 | #define D3DRMERR_REQUESTTOOSMALL MAKE_DDHRESULT(799)
|
---|
492 | #define D3DRMERR_CONNECTIONLOST MAKE_DDHRESULT(800)
|
---|
493 | #define D3DRMERR_LOADABORTED MAKE_DDHRESULT(801)
|
---|
494 | #define D3DRMERR_NOINTERNET MAKE_DDHRESULT(802)
|
---|
495 | #define D3DRMERR_BADCACHEFILE MAKE_DDHRESULT(803)
|
---|
496 | #define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804)
|
---|
497 | #define D3DRMERR_BADPMDATA MAKE_DDHRESULT(805)
|
---|
498 | #define D3DRMERR_CLIENTNOTREGISTERED MAKE_DDHRESULT(806)
|
---|
499 | #define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807)
|
---|
500 | #define D3DRMERR_NOSUCHKEY MAKE_DDHRESULT(808)
|
---|
501 | #define D3DRMERR_INCOMPATABLEKEY MAKE_DDHRESULT(809)
|
---|
502 | #define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810)
|
---|
503 | #define D3DRMERR_TEXTUREFORMATNOTFOUND MAKE_DDHRESULT(811)
|
---|
504 | #define D3DRMERR_NOTAGGREGATED MAKE_DDHRESULT(812)
|
---|
505 |
|
---|
506 | #endif /* __D3DRM_H__ */
|
---|