VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/d3drm.h@ 78046

Last change on this file since 78046 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 38.6 KB
Line 
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 * Oracle 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, Oracle 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
34typedef struct IDirect3DRM *LPDIRECT3DRM, **LPLPDIRECT3DRM;
35
36#include <d3drmobj.h>
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/* Direct3DRM Object CLSID */
43DEFINE_GUID(CLSID_CDirect3DRM, 0x4516ec41, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
44
45/* Direct3DRM Interface GUIDs */
46DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
47DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
48DEFINE_GUID(IID_IDirect3DRM3, 0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
49
50typedef struct IDirect3DRM2 *LPDIRECT3DRM2, **LPLPDIRECT3DRM2;
51typedef struct IDirect3DRM3 *LPDIRECT3DRM3, **LPLPDIRECT3DRM3;
52
53HRESULT WINAPI Direct3DRMCreate(struct IDirect3DRM **d3drm);
54
55/*****************************************************************************
56 * IDirect3DRMObject interface
57 */
58#ifdef WINE_NO_UNICODE_MACROS
59#undef GetClassName
60#endif
61#define INTERFACE IDirect3DRM
62DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
63{
64 /*** IUnknown methods ***/
65 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
66 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
67 STDMETHOD_(ULONG,Release)(THIS) PURE;
68 /*** IDirect3DRM methods ***/
69 STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE;
70 STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame *parent, IDirect3DRMFrame **frame) PURE;
71 STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE;
72 STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder **mesh_builder) PURE;
73 STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE;
74 STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation **animation) PURE;
75 STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet **set) PURE;
76 STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture **texture) PURE;
77 STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE;
78 STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b,
79 IDirect3DRMLight **light) PURE;
80 STDMETHOD(CreateMaterial)(THIS_ D3DVALUE power, IDirect3DRMMaterial **material) PURE;
81 STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice **device) PURE;
82 STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw,
83 IDirectDrawSurface *surface, IDirect3DRMDevice **device) PURE;
84 STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D *d3d, IDirect3DDevice *d3d_device,
85 IDirect3DRMDevice **device) PURE;
86 STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid,
87 int width, int height, IDirect3DRMDevice **device) PURE;
88 STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface,
89 IDirect3DRMTexture **texture) PURE;
90 STDMETHOD(CreateShadow)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMLight *light,
91 D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz,
92 IDirect3DRMVisual **shadow) PURE;
93 STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice *device, IDirect3DRMFrame *camera,
94 DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport **viewport) PURE;
95 STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame *reference, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
96 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov,
97 D3DVALUE su, D3DVALUE sv, IDirect3DRMWrap **wrap) PURE;
98 STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE;
99 STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture **texture) PURE;
100 STDMETHOD(LoadTextureFromResource)(THIS_ HRSRC resource, IDirect3DRMTexture **texture) PURE;
101 STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE;
102 STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE;
103 STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE;
104 STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
105 STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
106 STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE;
107 STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE;
108 STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE;
109 STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags,
110 D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx,
111 IDirect3DRMFrame *parent_frame) PURE;
112 STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
113};
114#undef INTERFACE
115
116#if !defined(__cplusplus) || defined(CINTERFACE)
117/*** IUnknown methods ***/
118#define IDirect3DRM_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
119#define IDirect3DRM_AddRef(p) (p)->lpVtbl->AddRef(p)
120#define IDirect3DRM_Release(p) (p)->lpVtbl->Release(p)
121/*** IDirect3DRM methods ***/
122#define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
123#define IDirect3DRM_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
124#define IDirect3DRM_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
125#define IDirect3DRM_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
126#define IDirect3DRM_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
127#define IDirect3DRM_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
128#define IDirect3DRM_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
129#define IDirect3DRM_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
130#define IDirect3DRM_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
131#define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
132#define IDirect3DRM_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
133#define IDirect3DRM_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
134#define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
135#define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
136#define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
137#define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
138#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)
139#define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
140#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)
141#define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
142#define IDirect3DRM_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
143#define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->lpVtbl->LoadTextureFromResource(p,a,b)
144#define IDirect3DRM_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
145#define IDirect3DRM_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
146#define IDirect3DRM_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
147#define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
148#define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
149#define IDirect3DRM_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
150#define IDirect3DRM_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
151#define IDirect3DRM_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
152#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)
153#define IDirect3DRM_Tick(p,a) (p)->lpVtbl->Tick(p,a)
154#else
155/*** IUnknown methods ***/
156#define IDirect3DRM_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
157#define IDirect3DRM_AddRef(p) (p)->AddRef()
158#define IDirect3DRM_Release(p) (p)->Release()
159/*** IDirect3DRM methods ***/
160#define IDirect3DRM_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
161#define IDirect3DRM_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
162#define IDirect3DRM_CreateMesh(p,a) (p)->CreateMesh(a)
163#define IDirect3DRM_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
164#define IDirect3DRM_CreateFace(p,a) (p)->CreateFace(a)
165#define IDirect3DRM_CreateAnimation(p,a) (p)->CreateAnimation(a)
166#define IDirect3DRM_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
167#define IDirect3DRM_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
168#define IDirect3DRM_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
169#define IDirect3DRM_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
170#define IDirect3DRM_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
171#define IDirect3DRM_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
172#define IDirect3DRM_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
173#define IDirect3DRM_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
174#define IDirect3DRM_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
175#define IDirect3DRM_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
176#define IDirect3DRM_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
177#define IDirect3DRM_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
178#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)
179#define IDirect3DRM_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
180#define IDirect3DRM_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
181#define IDirect3DRM_LoadTextureFromResource(p,a,b) (p)->LoadTextureFromResource(a,b)
182#define IDirect3DRM_SetSearchPath(p,a) (p)->SetSearchPath(a)
183#define IDirect3DRM_AddSearchPath(p,a) (p)->AddSearchPath(a)
184#define IDirect3DRM_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
185#define IDirect3DRM_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
186#define IDirect3DRM_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
187#define IDirect3DRM_GetDevices(p,a) (p)->GetDevices(a)
188#define IDirect3DRM_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
189#define IDirect3DRM_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
190#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)
191#define IDirect3DRM_Tick(p,a) (p)->Tick(a)
192#endif
193
194/*****************************************************************************
195 * IDirect3DRM2 interface
196 */
197#ifdef WINE_NO_UNICODE_MACROS
198#undef GetClassName
199#endif
200#define INTERFACE IDirect3DRM2
201DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
202{
203 /*** IUnknown methods ***/
204 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
205 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
206 STDMETHOD_(ULONG,Release)(THIS) PURE;
207 /*** IDirect3DRM2 methods ***/
208 STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE;
209 STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame *parent, IDirect3DRMFrame2 **frame) PURE;
210 STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE;
211 STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder2 **mesh_builder) PURE;
212 STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace **face) PURE;
213 STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation **animation) PURE;
214 STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet **set) PURE;
215 STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture2 **texture) PURE;
216 STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE;
217 STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b,
218 IDirect3DRMLight **light) PURE;
219 STDMETHOD(CreateMaterial)(THIS_ D3DVALUE power, IDirect3DRMMaterial **material) PURE;
220 STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice2 **device) PURE;
221 STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw,
222 IDirectDrawSurface *surface, IDirect3DRMDevice2 **device) PURE;
223 STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *d3d_device,
224 IDirect3DRMDevice2 **device) PURE;
225 STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid,
226 int width, int height, IDirect3DRMDevice2 **device) PURE;
227 STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface,
228 IDirect3DRMTexture2 **texture) PURE;
229 STDMETHOD(CreateShadow)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMLight *light,
230 D3DVALUE px, D3DVALUE py, D3DVALUE pz, D3DVALUE nx, D3DVALUE ny, D3DVALUE nz,
231 IDirect3DRMVisual **shadow) PURE;
232 STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice *device, IDirect3DRMFrame *camera,
233 DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport **viewport) PURE;
234 STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame *reference, D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
235 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz, D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov,
236 D3DVALUE su, D3DVALUE sv, IDirect3DRMWrap **wrap) PURE;
237 STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE;
238 STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture2 **texture) PURE;
239 STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE module, const char *resource_name,
240 const char *resource_type, IDirect3DRMTexture2 **texture) PURE;
241 STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE;
242 STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE;
243 STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE;
244 STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
245 STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
246 STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE;
247 STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE;
248 STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE;
249 STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags,
250 D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx,
251 IDirect3DRMFrame *parent_frame) PURE;
252 STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
253 STDMETHOD(CreateProgressiveMesh)(THIS_ IDirect3DRMProgressiveMesh **mesh) PURE;
254};
255#undef INTERFACE
256
257#if !defined(__cplusplus) || defined(CINTERFACE)
258/*** IUnknown methods ***/
259#define IDirect3DRM2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
260#define IDirect3DRM2_AddRef(p) (p)->lpVtbl->AddRef(p)
261#define IDirect3DRM2_Release(p) (p)->lpVtbl->Release(p)
262/*** IDirect3DRM2 methods ***/
263#define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
264#define IDirect3DRM2_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
265#define IDirect3DRM2_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
266#define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
267#define IDirect3DRM2_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
268#define IDirect3DRM2_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
269#define IDirect3DRM2_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
270#define IDirect3DRM2_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
271#define IDirect3DRM2_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
272#define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
273#define IDirect3DRM2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
274#define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
275#define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
276#define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
277#define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
278#define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
279#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)
280#define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
281#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)
282#define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
283#define IDirect3DRM2_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
284#define IDirect3DRM2_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d)
285#define IDirect3DRM2_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
286#define IDirect3DRM2_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
287#define IDirect3DRM2_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
288#define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
289#define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
290#define IDirect3DRM2_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
291#define IDirect3DRM2_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
292#define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
293#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)
294#define IDirect3DRM2_Tick(p,a) (p)->lpVtbl->Tick(p,a)
295#define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a)
296#else
297/*** IUnknown methods ***/
298#define IDirect3DRM2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
299#define IDirect3DRM2_AddRef(p) (p)->AddRef()
300#define IDirect3DRM2_Release(p) (p)->Release()
301/*** IDirect3DRM2 methods ***/
302#define IDirect3DRM2_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
303#define IDirect3DRM2_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
304#define IDirect3DRM2_CreateMesh(p,a) (p)->CreateMesh(a)
305#define IDirect3DRM2_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
306#define IDirect3DRM2_CreateFace(p,a) (p)->CreateFace(a)
307#define IDirect3DRM2_CreateAnimation(p,a) (p)->CreateAnimation(a)
308#define IDirect3DRM2_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
309#define IDirect3DRM2_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
310#define IDirect3DRM2_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
311#define IDirect3DRM2_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
312#define IDirect3DRM2_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
313#define IDirect3DRM2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
314#define IDirect3DRM2_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
315#define IDirect3DRM2_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
316#define IDirect3DRM2_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
317#define IDirect3DRM2_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
318#define IDirect3DRM2_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
319#define IDirect3DRM2_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
320#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)
321#define IDirect3DRM2_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
322#define IDirect3DRM2_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
323#define IDirect3DRM2_LoadTextureFromResource(p,a,b,c,d) (p)->LoadTextureFromResource(a,b,c,d)
324#define IDirect3DRM2_SetSearchPath(p,a) (p)->SetSearchPath(a)
325#define IDirect3DRM2_AddSearchPath(p,a) (p)->AddSearchPath(a)
326#define IDirect3DRM2_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
327#define IDirect3DRM2_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
328#define IDirect3DRM2_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
329#define IDirect3DRM2_GetDevices(p,a) (p)->GetDevices(a)
330#define IDirect3DRM2_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
331#define IDirect3DRM2_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
332#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)
333#define IDirect3DRM2_Tick(p,a) (p)->Tick(a)
334#define IDirect3DRM2_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a)
335#endif
336
337/*****************************************************************************
338 * IDirect3DRM3 interface
339 */
340#ifdef WINE_NO_UNICODE_MACROS
341#undef GetClassName
342#endif
343#define INTERFACE IDirect3DRM3
344DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
345{
346 /*** IUnknown methods ***/
347 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
348 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
349 STDMETHOD_(ULONG,Release)(THIS) PURE;
350 /*** IDirect3DRM2 methods ***/
351 STDMETHOD(CreateObject)(THIS_ REFCLSID clsid, IUnknown *outer, REFIID iid, void **out) PURE;
352 STDMETHOD(CreateFrame)(THIS_ IDirect3DRMFrame3 *parent, IDirect3DRMFrame3 **frame) PURE;
353 STDMETHOD(CreateMesh)(THIS_ IDirect3DRMMesh **mesh) PURE;
354 STDMETHOD(CreateMeshBuilder)(THIS_ IDirect3DRMMeshBuilder3 **mesh_builder) PURE;
355 STDMETHOD(CreateFace)(THIS_ IDirect3DRMFace2 **face) PURE;
356 STDMETHOD(CreateAnimation)(THIS_ IDirect3DRMAnimation2 **animation) PURE;
357 STDMETHOD(CreateAnimationSet)(THIS_ IDirect3DRMAnimationSet2 **set) PURE;
358 STDMETHOD(CreateTexture)(THIS_ D3DRMIMAGE *image, IDirect3DRMTexture3 **texture) PURE;
359 STDMETHOD(CreateLight)(THIS_ D3DRMLIGHTTYPE type, D3DCOLOR color, IDirect3DRMLight **light) PURE;
360 STDMETHOD(CreateLightRGB)(THIS_ D3DRMLIGHTTYPE type, D3DVALUE r, D3DVALUE g, D3DVALUE b,
361 IDirect3DRMLight **light) PURE;
362 STDMETHOD(CreateMaterial)(THIS_ D3DVALUE, IDirect3DRMMaterial2 **material) PURE;
363 STDMETHOD(CreateDevice)(THIS_ DWORD width, DWORD height, IDirect3DRMDevice3 **device) PURE;
364 STDMETHOD(CreateDeviceFromSurface)(THIS_ GUID *guid, IDirectDraw *ddraw,
365 IDirectDrawSurface *surface, IDirect3DRMDevice3 **device) PURE;
366 STDMETHOD(CreateDeviceFromD3D)(THIS_ IDirect3D2 *d3d, IDirect3DDevice2 *d3d_device,
367 IDirect3DRMDevice3 **device) PURE;
368 STDMETHOD(CreateDeviceFromClipper)(THIS_ IDirectDrawClipper *clipper, GUID *guid,
369 int width, int height, IDirect3DRMDevice3 **device) PURE;
370 STDMETHOD(CreateTextureFromSurface)(THIS_ IDirectDrawSurface *surface,
371 IDirect3DRMTexture3 **texture) PURE;
372 STDMETHOD(CreateShadow)(THIS_ IUnknown *object, IDirect3DRMLight *light, D3DVALUE px, D3DVALUE py, D3DVALUE pz,
373 D3DVALUE nx, D3DVALUE ny, D3DVALUE nz, IDirect3DRMShadow2 **shadow) PURE;
374 STDMETHOD(CreateViewport)(THIS_ IDirect3DRMDevice3 *device, IDirect3DRMFrame3 *camera,
375 DWORD x, DWORD y, DWORD width, DWORD height, IDirect3DRMViewport2 **viewport) PURE;
376 STDMETHOD(CreateWrap)(THIS_ D3DRMWRAPTYPE type, IDirect3DRMFrame3 *reference,
377 D3DVALUE ox, D3DVALUE oy, D3DVALUE oz, D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
378 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz, D3DVALUE ou, D3DVALUE ov, D3DVALUE su, D3DVALUE sv,
379 IDirect3DRMWrap **wrap) PURE;
380 STDMETHOD(CreateUserVisual)(THIS_ D3DRMUSERVISUALCALLBACK cb, void *ctx, IDirect3DRMUserVisual **visual) PURE;
381 STDMETHOD(LoadTexture)(THIS_ const char *filename, IDirect3DRMTexture3 **texture) PURE;
382 STDMETHOD(LoadTextureFromResource)(THIS_ HMODULE module, const char *resource_name,
383 const char *resource_type, IDirect3DRMTexture3 **texture) PURE;
384 STDMETHOD(SetSearchPath)(THIS_ const char *path) PURE;
385 STDMETHOD(AddSearchPath)(THIS_ const char *path) PURE;
386 STDMETHOD(GetSearchPath)(THIS_ DWORD *size, char *path) PURE;
387 STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
388 STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
389 STDMETHOD(GetDevices)(THIS_ IDirect3DRMDeviceArray **array) PURE;
390 STDMETHOD(GetNamedObject)(THIS_ const char *name, IDirect3DRMObject **object) PURE;
391 STDMETHOD(EnumerateObjects)(THIS_ D3DRMOBJECTCALLBACK cb, void *ctx) PURE;
392 STDMETHOD(Load)(THIS_ void *source, void *object_id, IID **iids, DWORD iid_count, D3DRMLOADOPTIONS flags,
393 D3DRMLOADCALLBACK load_cb, void *load_ctx, D3DRMLOADTEXTURECALLBACK load_tex_cb, void *load_tex_ctx,
394 IDirect3DRMFrame3 *parent_frame) PURE;
395 STDMETHOD(Tick)(THIS_ D3DVALUE) PURE;
396 STDMETHOD(CreateProgressiveMesh)(THIS_ IDirect3DRMProgressiveMesh **mesh) PURE;
397 STDMETHOD(RegisterClient)(THIS_ REFGUID guid, DWORD *id) PURE;
398 STDMETHOD(UnregisterClient)(THIS_ REFGUID rguid) PURE;
399 STDMETHOD(CreateClippedVisual)(THIS_ IDirect3DRMVisual *visual, IDirect3DRMClippedVisual **clipped_visual) PURE;
400 STDMETHOD(SetOptions)(THIS_ DWORD) PURE;
401 STDMETHOD(GetOptions)(THIS_ DWORD *flags) PURE;
402};
403#undef INTERFACE
404
405#if !defined(__cplusplus) || defined(CINTERFACE)
406/*** IUnknown methods ***/
407#define IDirect3DRM3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
408#define IDirect3DRM3_AddRef(p) (p)->lpVtbl->AddRef(p)
409#define IDirect3DRM3_Release(p) (p)->lpVtbl->Release(p)
410/*** IDirect3DRM3 methods ***/
411#define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->lpVtbl->CreateObject(p,a,b,d)
412#define IDirect3DRM3_CreateFrame(p,a,b) (p)->lpVtbl->CreateFrame(p,a,b)
413#define IDirect3DRM3_CreateMesh(p,a) (p)->lpVtbl->CreateMesh(p,a)
414#define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->lpVtbl->CreateMeshBuilder(p,a)
415#define IDirect3DRM3_CreateFace(p,a) (p)->lpVtbl->CreateFace(p,a)
416#define IDirect3DRM3_CreateAnimation(p,a) (p)->lpVtbl->CreateAnimation(p,a)
417#define IDirect3DRM3_CreateAnimationSet(p,a) (p)->lpVtbl->CreateAnimationSet(p,a)
418#define IDirect3DRM3_CreateTexture(p,a,b) (p)->lpVtbl->CreateTexture(p,a,b)
419#define IDirect3DRM3_CreateLight(p,a,b,c) (p)->lpVtbl->CreateLight(p,a,b,c)
420#define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->lpVtbl->CreateLightRGB(p,a,b,c,d,e)
421#define IDirect3DRM3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
422#define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
423#define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d) (p)->lpVtbl->CreateDeviceFromSurface(p,a,b,c,d)
424#define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->lpVtbl->CreateDeviceFromD3D(p,a,b,c)
425#define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->lpVtbl->CreateDeviceFromClipper(p,a,b,c,d,e)
426#define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->lpVtbl->CreateTextureFromSurface(p,a,b)
427#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)
428#define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateViewport(p,a,b,c,d,e,f,g)
429#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)
430#define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->lpVtbl->CreateUserVisual(p,a,b,c)
431#define IDirect3DRM3_LoadTexture(p,a,b) (p)->lpVtbl->LoadTexture(p,a,b)
432#define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->lpVtbl->LoadTextureFromResource(p,a,b,c,d)
433#define IDirect3DRM3_SetSearchPath(p,a) (p)->lpVtbl->SetSearchPath(p,a)
434#define IDirect3DRM3_AddSearchPath(p,a) (p)->lpVtbl->AddSearchPath(p,a)
435#define IDirect3DRM3_GetSearchPath(p,a,b) (p)->lpVtbl->GetSearchPath(p,a,b)
436#define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->lpVtbl->SetDefaultTextureColors(p,a)
437#define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->lpVtbl->SetDefaultTextureShades(p,a)
438#define IDirect3DRM3_GetDevices(p,a) (p)->lpVtbl->GetDevices(p,a)
439#define IDirect3DRM3_GetNamedObject(p,a,b) (p)->lpVtbl->GetNamedObject(p,a,b)
440#define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->lpVtbl->EnumerateObjects(p,a,b)
441#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)
442#define IDirect3DRM3_Tick(p,a) (p)->lpVtbl->Tick(p,a)
443#define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->lpVtbl->CreateProgressiveMesh(p,a)
444#define IDirect3DRM3_RegisterClient(p,a,b) (p)->lpVtbl->RegisterClient(p,a,b)
445#define IDirect3DRM3_UnregisterClient(p,a) (p)->lpVtbl->UnregisterClient(p,a)
446#define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->lpVtbl->CreateClippedVisual(p,a,b)
447#define IDirect3DRM3_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
448#define IDirect3DRM3_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
449#else
450/*** IUnknown methods ***/
451#define IDirect3DRM3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
452#define IDirect3DRM3_AddRef(p) (p)->AddRef()
453#define IDirect3DRM3_Release(p) (p)->Release()
454/*** IDirect3DRM3 methods ***/
455#define IDirect3DRM3_CreateObject(p,a,b,c,d) (p)->CreateObject(a,b,d)
456#define IDirect3DRM3_CreateFrame(p,a,b) (p)->CreateFrame(a,b)
457#define IDirect3DRM3_CreateMesh(p,a) (p)->CreateMesh(a)
458#define IDirect3DRM3_CreateMeshBuilder(p,a) (p)->CreateMeshBuilder(a)
459#define IDirect3DRM3_CreateFace(p,a) (p)->CreateFace(a)
460#define IDirect3DRM3_CreateAnimation(p,a) (p)->CreateAnimation(a)
461#define IDirect3DRM3_CreateAnimationSet(p,a) (p)->CreateAnimationSet(a)
462#define IDirect3DRM3_CreateTexture(p,a,b) (p)->CreateTexture(a,b)
463#define IDirect3DRM3_CreateLight(p,a,b,c) (p)->CreateLight(a,b,c)
464#define IDirect3DRM3_CreateLightRGB(p,a,b,c,d,e) (p)->CreateLightRGB(a,b,c,d,e)
465#define IDirect3DRM3_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
466#define IDirect3DRM3_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
467#define IDirect3DRM3_CreateDeviceFromSurface(p,a,b,c,d) (p)->CreateDeviceFromSurface(a,b,c,d)
468#define IDirect3DRM3_CreateDeviceFromD3D(p,a,b,c) (p)->CreateDeviceFromD3D(a,b,c)
469#define IDirect3DRM3_CreateDeviceFromClipper(p,a,b,c,d,e) (p)->CreateDeviceFromClipper(a,b,c,d,e)
470#define IDirect3DRM3_CreateTextureFromSurface(p,a,b) (p)->CreateTextureFromSurface(a,b)
471#define IDirect3DRM3_CreateShadow(p,a,b,c,d,e,f,g,h,i) (p)->CreateShadow(a,b,c,d,e,f,g,h,i)
472#define IDirect3DRM3_CreateViewport(p,a,b,c,d,e,f,g) (p)->CreateViewport(a,b,c,d,e,f,g)
473#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)
474#define IDirect3DRM3_CreateUserVisual(p,a,b,c) (p)->CreateUserVisual(a,b,c)
475#define IDirect3DRM3_LoadTexture(p,a,b) (p)->LoadTexture(a,b)
476#define IDirect3DRM3_LoadTextureFromResource(p,a,b,c,d) (p)->LoadTextureFromResource(a,b,c,d)
477#define IDirect3DRM3_SetSearchPath(p,a) (p)->SetSearchPath(a)
478#define IDirect3DRM3_AddSearchPath(p,a) (p)->AddSearchPath(a)
479#define IDirect3DRM3_GetSearchPath(p,a,b) (p)->GetSearchPath(a,b)
480#define IDirect3DRM3_SetDefaultTextureColors(p,a) (p)->SetDefaultTextureColors(a)
481#define IDirect3DRM3_SetDefaultTextureShades(p,a) (p)->SetDefaultTextureShades(a)
482#define IDirect3DRM3_GetDevices(p,a) (p)->GetDevices(a)
483#define IDirect3DRM3_GetNamedObject(p,a,b) (p)->GetNamedObject(a,b)
484#define IDirect3DRM3_EnumerateObjects(p,a,b) (p)->EnumerateObjects(a,b)
485#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)
486#define IDirect3DRM3_Tick(p,a) (p)->Tick(a)
487#define IDirect3DRM3_CreateProgressiveMesh(p,a) (p)->CreateProgressiveMesh(p,a)
488#define IDirect3DRM3_RegisterClient(p,a,b) (p)->RegisterClient(p,a,b)
489#define IDirect3DRM3_UnregisterClient(p,a) (p)->UnregisterClient(p,a)
490#define IDirect3DRM3_CreateClippedVisual(p,ab) (p)->CreateClippedVisual(p,a,b)
491#define IDirect3DRM3_SetOptions(p,a) (p)->SetOptions(p,a)
492#define IDirect3DRM3_GetOptions(p,a) (p)->GetOptions(p,a)
493#endif
494
495#define D3DRM_OK DD_OK
496#define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781)
497#define D3DRMERR_BADTYPE MAKE_DDHRESULT(782)
498#define D3DRMERR_BADALLOC MAKE_DDHRESULT(783)
499#define D3DRMERR_FACEUSED MAKE_DDHRESULT(784)
500#define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785)
501#define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786)
502#define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787)
503#define D3DRMERR_BADFILE MAKE_DDHRESULT(788)
504#define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789)
505#define D3DRMERR_BADVALUE MAKE_DDHRESULT(790)
506#define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791)
507#define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792)
508#define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793)
509#define D3DRMERR_LIBRARYNOTFOUND MAKE_DDHRESULT(794)
510#define D3DRMERR_INVALIDLIBRARY MAKE_DDHRESULT(795)
511#define D3DRMERR_PENDING MAKE_DDHRESULT(796)
512#define D3DRMERR_NOTENOUGHDATA MAKE_DDHRESULT(797)
513#define D3DRMERR_REQUESTTOOLARGE MAKE_DDHRESULT(798)
514#define D3DRMERR_REQUESTTOOSMALL MAKE_DDHRESULT(799)
515#define D3DRMERR_CONNECTIONLOST MAKE_DDHRESULT(800)
516#define D3DRMERR_LOADABORTED MAKE_DDHRESULT(801)
517#define D3DRMERR_NOINTERNET MAKE_DDHRESULT(802)
518#define D3DRMERR_BADCACHEFILE MAKE_DDHRESULT(803)
519#define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804)
520#define D3DRMERR_BADPMDATA MAKE_DDHRESULT(805)
521#define D3DRMERR_CLIENTNOTREGISTERED MAKE_DDHRESULT(806)
522#define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807)
523#define D3DRMERR_NOSUCHKEY MAKE_DDHRESULT(808)
524#define D3DRMERR_INCOMPATABLEKEY MAKE_DDHRESULT(809)
525#define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810)
526#define D3DRMERR_TEXTUREFORMATNOTFOUND MAKE_DDHRESULT(811)
527#define D3DRMERR_NOTAGGREGATED MAKE_DDHRESULT(812)
528
529#ifdef __cplusplus
530}
531#endif
532
533#endif /* __D3DRM_H__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette