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