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