22#ifndef DIRECT3D_VERSION
23#define DIRECT3D_VERSION 0x0700
26#if (DIRECT3D_VERSION < 0x0800)
30#define COM_NO_WINDOWS_H
38DEFINE_GUID(IID_IDirect3D, 0x3BBA0080,0x2421,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56);
39DEFINE_GUID(IID_IDirect3D2, 0x6aae1ec1,0x662a,0x11d0,0x88,0x9d,0x00,0xaa,0x00,0xbb,0xb7,0x6a);
40DEFINE_GUID(IID_IDirect3D3, 0xbb223240,0xe72b,0x11d0,0xa9,0xb4,0x00,0xaa,0x00,0xc0,0x99,0x3e);
41DEFINE_GUID(IID_IDirect3D7, 0xf5049e77,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8);
43DEFINE_GUID(IID_IDirect3DRampDevice, 0xF2086B20,0x259F,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56);
44DEFINE_GUID(IID_IDirect3DRGBDevice, 0xA4665C60,0x2673,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56);
45DEFINE_GUID(IID_IDirect3DHALDevice, 0x84E63dE0,0x46AA,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E);
46DEFINE_GUID(IID_IDirect3DMMXDevice, 0x881949a1,0xd6f3,0x11d0,0x89,0xab,0x00,0xa0,0xc9,0x05,0x41,0x29);
47DEFINE_GUID(IID_IDirect3DRefDevice, 0x50936643,0x13e9,0x11d1,0x89,0xaa,0x00,0xa0,0xc9,0x05,0x41,0x29);
48DEFINE_GUID(IID_IDirect3DTnLHalDevice, 0xf5049e78,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8);
49DEFINE_GUID(IID_IDirect3DNullDevice, 0x8767df22,0xbacc,0x11d1,0x89,0x69,0x00,0xa0,0xc9,0x06,0x29,0xa8);
51DEFINE_GUID(IID_IDirect3DDevice, 0x64108800,0x957d,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29);
52DEFINE_GUID(IID_IDirect3DDevice2, 0x93281501,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29);
53DEFINE_GUID(IID_IDirect3DDevice3, 0xb0ab3b60,0x33d7,0x11d1,0xa9,0x81,0x00,0xc0,0x4f,0xd7,0xb1,0x74);
54DEFINE_GUID(IID_IDirect3DDevice7, 0xf5049e79,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8);
56DEFINE_GUID(IID_IDirect3DTexture, 0x2CDCD9E0,0x25A0,0x11CF,0xA3,0x1A,0x00,0xAA,0x00,0xB9,0x33,0x56);
57DEFINE_GUID(IID_IDirect3DTexture2, 0x93281502,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29);
59DEFINE_GUID(IID_IDirect3DLight, 0x4417C142,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E);
61DEFINE_GUID(IID_IDirect3DMaterial, 0x4417C144,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E);
62DEFINE_GUID(IID_IDirect3DMaterial2, 0x93281503,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29);
63DEFINE_GUID(IID_IDirect3DMaterial3, 0xca9c46f4,0xd3c5,0x11d1,0xb7,0x5a,0x00,0x60,0x08,0x52,0xb3,0x12);
65DEFINE_GUID(IID_IDirect3DExecuteBuffer, 0x4417C145,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E);
67DEFINE_GUID(IID_IDirect3DViewport, 0x4417C146,0x33AD,0x11CF,0x81,0x6F,0x00,0x00,0xC0,0x20,0x15,0x6E);
68DEFINE_GUID(IID_IDirect3DViewport2, 0x93281500,0x8CF8,0x11D0,0x89,0xAB,0x00,0xA0,0xC9,0x05,0x41,0x29);
69DEFINE_GUID(IID_IDirect3DViewport3, 0xb0ab3b61,0x33d7,0x11d1,0xa9,0x81,0x00,0xc0,0x4f,0xd7,0xb1,0x74);
71DEFINE_GUID(IID_IDirect3DVertexBuffer, 0x7a503555,0x4a83,0x11d1,0xa5,0xdb,0x00,0xa0,0xc9,0x03,0x67,0xf8);
72DEFINE_GUID(IID_IDirect3DVertexBuffer7, 0xf5049e7d,0x4861,0x11d2,0xa4,0x07,0x00,0xa0,0xc9,0x06,0x29,0xa8);
107#define D3DERR_BADMAJORVERSION MAKE_DDHRESULT(700)
108#define D3DERR_BADMINORVERSION MAKE_DDHRESULT(701)
109#define D3DERR_INVALID_DEVICE MAKE_DDHRESULT(705)
110#define D3DERR_INITFAILED MAKE_DDHRESULT(706)
111#define D3DERR_DEVICEAGGREGATED MAKE_DDHRESULT(707)
112#define D3DERR_EXECUTE_CREATE_FAILED MAKE_DDHRESULT(710)
113#define D3DERR_EXECUTE_DESTROY_FAILED MAKE_DDHRESULT(711)
114#define D3DERR_EXECUTE_LOCK_FAILED MAKE_DDHRESULT(712)
115#define D3DERR_EXECUTE_UNLOCK_FAILED MAKE_DDHRESULT(713)
116#define D3DERR_EXECUTE_LOCKED MAKE_DDHRESULT(714)
117#define D3DERR_EXECUTE_NOT_LOCKED MAKE_DDHRESULT(715)
118#define D3DERR_EXECUTE_FAILED MAKE_DDHRESULT(716)
119#define D3DERR_EXECUTE_CLIPPED_FAILED MAKE_DDHRESULT(717)
120#define D3DERR_TEXTURE_NO_SUPPORT MAKE_DDHRESULT(720)
121#define D3DERR_TEXTURE_CREATE_FAILED MAKE_DDHRESULT(721)
122#define D3DERR_TEXTURE_DESTROY_FAILED MAKE_DDHRESULT(722)
123#define D3DERR_TEXTURE_LOCK_FAILED MAKE_DDHRESULT(723)
124#define D3DERR_TEXTURE_UNLOCK_FAILED MAKE_DDHRESULT(724)
125#define D3DERR_TEXTURE_LOAD_FAILED MAKE_DDHRESULT(725)
126#define D3DERR_TEXTURE_SWAP_FAILED MAKE_DDHRESULT(726)
127#define D3DERR_TEXTURE_LOCKED MAKE_DDHRESULT(727)
128#define D3DERR_TEXTURE_NOT_LOCKED MAKE_DDHRESULT(728)
129#define D3DERR_TEXTURE_GETSURF_FAILED MAKE_DDHRESULT(729)
130#define D3DERR_MATRIX_CREATE_FAILED MAKE_DDHRESULT(730)
131#define D3DERR_MATRIX_DESTROY_FAILED MAKE_DDHRESULT(731)
132#define D3DERR_MATRIX_SETDATA_FAILED MAKE_DDHRESULT(732)
133#define D3DERR_MATRIX_GETDATA_FAILED MAKE_DDHRESULT(733)
134#define D3DERR_SETVIEWPORTDATA_FAILED MAKE_DDHRESULT(734)
135#define D3DERR_INVALIDCURRENTVIEWPORT MAKE_DDHRESULT(735)
136#define D3DERR_INVALIDPRIMITIVETYPE MAKE_DDHRESULT(736)
137#define D3DERR_INVALIDVERTEXTYPE MAKE_DDHRESULT(737)
138#define D3DERR_TEXTURE_BADSIZE MAKE_DDHRESULT(738)
139#define D3DERR_INVALIDRAMPTEXTURE MAKE_DDHRESULT(739)
140#define D3DERR_MATERIAL_CREATE_FAILED MAKE_DDHRESULT(740)
141#define D3DERR_MATERIAL_DESTROY_FAILED MAKE_DDHRESULT(741)
142#define D3DERR_MATERIAL_SETDATA_FAILED MAKE_DDHRESULT(742)
143#define D3DERR_MATERIAL_GETDATA_FAILED MAKE_DDHRESULT(743)
144#define D3DERR_INVALIDPALETTE MAKE_DDHRESULT(744)
145#define D3DERR_ZBUFF_NEEDS_SYSTEMMEMORY MAKE_DDHRESULT(745)
146#define D3DERR_ZBUFF_NEEDS_VIDEOMEMORY MAKE_DDHRESULT(746)
147#define D3DERR_SURFACENOTINVIDMEM MAKE_DDHRESULT(747)
148#define D3DERR_LIGHT_SET_FAILED MAKE_DDHRESULT(750)
149#define D3DERR_LIGHTHASVIEWPORT MAKE_DDHRESULT(751)
150#define D3DERR_LIGHTNOTINTHISVIEWPORT MAKE_DDHRESULT(752)
151#define D3DERR_SCENE_IN_SCENE MAKE_DDHRESULT(760)
152#define D3DERR_SCENE_NOT_IN_SCENE MAKE_DDHRESULT(761)
153#define D3DERR_SCENE_BEGIN_FAILED MAKE_DDHRESULT(762)
154#define D3DERR_SCENE_END_FAILED MAKE_DDHRESULT(763)
155#define D3DERR_INBEGIN MAKE_DDHRESULT(770)
156#define D3DERR_NOTINBEGIN MAKE_DDHRESULT(771)
157#define D3DERR_NOVIEWPORTS MAKE_DDHRESULT(772)
158#define D3DERR_VIEWPORTDATANOTSET MAKE_DDHRESULT(773)
159#define D3DERR_VIEWPORTHASNODEVICE MAKE_DDHRESULT(774)
160#define D3DERR_NOCURRENTVIEWPORT MAKE_DDHRESULT(775)
161#define D3DERR_INVALIDVERTEXFORMAT MAKE_DDHRESULT(2048)
162#define D3DERR_COLORKEYATTACHED MAKE_DDHRESULT(2050)
163#define D3DERR_VERTEXBUFFEROPTIMIZED MAKE_DDHRESULT(2060)
164#define D3DERR_VBUF_CREATE_FAILED MAKE_DDHRESULT(2061)
165#define D3DERR_VERTEXBUFFERLOCKED MAKE_DDHRESULT(2062)
166#define D3DERR_VERTEXBUFFERUNLOCKFAILED MAKE_DDHRESULT(2063)
167#define D3DERR_ZBUFFER_NOTPRESENT MAKE_DDHRESULT(2070)
168#define D3DERR_STENCILBUFFER_NOTPRESENT MAKE_DDHRESULT(2071)
170#define D3DERR_WRONGTEXTUREFORMAT MAKE_DDHRESULT(2072)
171#define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_DDHRESULT(2073)
172#define D3DERR_UNSUPPORTEDCOLORARG MAKE_DDHRESULT(2074)
173#define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_DDHRESULT(2075)
174#define D3DERR_UNSUPPORTEDALPHAARG MAKE_DDHRESULT(2076)
175#define D3DERR_TOOMANYOPERATIONS MAKE_DDHRESULT(2077)
176#define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_DDHRESULT(2078)
177#define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_DDHRESULT(2079)
178#define D3DERR_CONFLICTINGRENDERSTATE MAKE_DDHRESULT(2081)
179#define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_DDHRESULT(2082)
180#define D3DERR_TOOMANYPRIMITIVES MAKE_DDHRESULT(2083)
181#define D3DERR_INVALIDMATRIX MAKE_DDHRESULT(2084)
182#define D3DERR_TOOMANYVERTICES MAKE_DDHRESULT(2085)
183#define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_DDHRESULT(2086)
185#define D3DERR_INVALIDSTATEBLOCK MAKE_DDHRESULT(2100)
186#define D3DERR_INBEGINSTATEBLOCK MAKE_DDHRESULT(2101)
187#define D3DERR_NOTINBEGINSTATEBLOCK MAKE_DDHRESULT(2102)
192#define D3DNEXT_NEXT 0x01l
193#define D3DNEXT_HEAD 0x02l
194#define D3DNEXT_TAIL 0x04l
196#define D3DDP_WAIT 0x00000001l
197#define D3DDP_OUTOFORDER 0x00000002l
198#define D3DDP_DONOTCLIP 0x00000004l
199#define D3DDP_DONOTUPDATEEXTENTS 0x00000008l
200#define D3DDP_DONOTLIGHT 0x00000010l
212#define INTERFACE IDirect3D
229#if !defined(__cplusplus) || defined(CINTERFACE)
231#define IDirect3D_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
232#define IDirect3D_AddRef(p) (p)->lpVtbl->AddRef(p)
233#define IDirect3D_Release(p) (p)->lpVtbl->Release(p)
235#define IDirect3D_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
236#define IDirect3D_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
237#define IDirect3D_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
238#define IDirect3D_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
239#define IDirect3D_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
240#define IDirect3D_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
243#define IDirect3D_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
244#define IDirect3D_AddRef(p) (p)->AddRef()
245#define IDirect3D_Release(p) (p)->Release()
247#define IDirect3D_Initialize(p,a) (p)->Initialize(a)
248#define IDirect3D_EnumDevices(p,a,b) (p)->EnumDevices(a,b)
249#define IDirect3D_CreateLight(p,a,b) (p)->CreateLight(a,b)
250#define IDirect3D_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
251#define IDirect3D_CreateViewport(p,a,b) (p)->CreateViewport(a,b)
252#define IDirect3D_FindDevice(p,a,b) (p)->FindDevice(a,b)
259#define INTERFACE IDirect3D2
276#if !defined(__cplusplus) || defined(CINTERFACE)
278#define IDirect3D2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
279#define IDirect3D2_AddRef(p) (p)->lpVtbl->AddRef(p)
280#define IDirect3D2_Release(p) (p)->lpVtbl->Release(p)
282#define IDirect3D2_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
283#define IDirect3D2_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
284#define IDirect3D2_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
285#define IDirect3D2_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
286#define IDirect3D2_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
287#define IDirect3D2_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
290#define IDirect3D2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
291#define IDirect3D2_AddRef(p) (p)->AddRef()
292#define IDirect3D2_Release(p) (p)->Release()
294#define IDirect3D2_EnumDevices(p,a,b) (p)->EnumDevices(a,b)
295#define IDirect3D2_CreateLight(p,a,b) (p)->CreateLight(a,b)
296#define IDirect3D2_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
297#define IDirect3D2_CreateViewport(p,a,b) (p)->CreateViewport(a,b)
298#define IDirect3D2_FindDevice(p,a,b) (p)->FindDevice(a,b)
299#define IDirect3D2_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
306#define INTERFACE IDirect3D3
326#if !defined(__cplusplus) || defined(CINTERFACE)
328#define IDirect3D3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
329#define IDirect3D3_AddRef(p) (p)->lpVtbl->AddRef(p)
330#define IDirect3D3_Release(p) (p)->lpVtbl->Release(p)
332#define IDirect3D3_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
333#define IDirect3D3_CreateLight(p,a,b) (p)->lpVtbl->CreateLight(p,a,b)
334#define IDirect3D3_CreateMaterial(p,a,b) (p)->lpVtbl->CreateMaterial(p,a,b)
335#define IDirect3D3_CreateViewport(p,a,b) (p)->lpVtbl->CreateViewport(p,a,b)
336#define IDirect3D3_FindDevice(p,a,b) (p)->lpVtbl->FindDevice(p,a,b)
337#define IDirect3D3_CreateDevice(p,a,b,c,d) (p)->lpVtbl->CreateDevice(p,a,b,c,d)
338#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d)
339#define IDirect3D3_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c)
340#define IDirect3D3_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p)
343#define IDirect3D3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
344#define IDirect3D3_AddRef(p) (p)->AddRef()
345#define IDirect3D3_Release(p) (p)->Release()
347#define IDirect3D3_EnumDevices(p,a,b) (p)->EnumDevices(a,b)
348#define IDirect3D3_CreateLight(p,a,b) (p)->CreateLight(a,b)
349#define IDirect3D3_CreateMaterial(p,a,b) (p)->CreateMaterial(a,b)
350#define IDirect3D3_CreateViewport(p,a,b) (p)->CreateViewport(a,b)
351#define IDirect3D3_FindDevice(p,a,b) (p)->FindDevice(a,b)
352#define IDirect3D3_CreateDevice(p,a,b,c,d) (p)->CreateDevice(a,b,c,d)
353#define IDirect3D3_CreateVertexBuffer(p,a,b,c,d) (p)->CreateVertexBuffer(a,b,c,d)
354#define IDirect3D3_EnumZBufferFormats(p,a,b,c) (p)->EnumZBufferFormats(a,b,c)
355#define IDirect3D3_EvictManagedTextures(p) (p)->EvictManagedTextures()
361#define INTERFACE IDirect3D7
377#if !defined(__cplusplus) || defined(CINTERFACE)
379#define IDirect3D7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
380#define IDirect3D7_AddRef(p) (p)->lpVtbl->AddRef(p)
381#define IDirect3D7_Release(p) (p)->lpVtbl->Release(p)
383#define IDirect3D7_EnumDevices(p,a,b) (p)->lpVtbl->EnumDevices(p,a,b)
384#define IDirect3D7_CreateDevice(p,a,b,c) (p)->lpVtbl->CreateDevice(p,a,b,c)
385#define IDirect3D7_CreateVertexBuffer(p,a,b,c) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c)
386#define IDirect3D7_EnumZBufferFormats(p,a,b,c) (p)->lpVtbl->EnumZBufferFormats(p,a,b,c)
387#define IDirect3D7_EvictManagedTextures(p) (p)->lpVtbl->EvictManagedTextures(p)
390#define IDirect3D7_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
391#define IDirect3D7_AddRef(p) (p)->AddRef()
392#define IDirect3D7_Release(p) (p)->Release()
394#define IDirect3D7_EnumDevices(p,a,b) (p)->EnumDevices(a,b)
395#define IDirect3D7_CreateDevice(p,a,b,c) (p)->CreateDevice(a,b,c)
396#define IDirect3D7_CreateVertexBuffer(p,a,b,c) (p)->CreateVertexBuffer(a,b,c)
397#define IDirect3D7_EnumZBufferFormats(p,a,b,c) (p)->EnumZBufferFormats(a,b,c)
398#define IDirect3D7_EvictManagedTextures(p) (p)->EvictManagedTextures()
405#define INTERFACE IDirect3DLight
419#if !defined(__cplusplus) || defined(CINTERFACE)
421#define IDirect3DLight_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
422#define IDirect3DLight_AddRef(p) (p)->lpVtbl->AddRef(p)
423#define IDirect3DLight_Release(p) (p)->lpVtbl->Release(p)
425#define IDirect3DLight_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
426#define IDirect3DLight_SetLight(p,a) (p)->lpVtbl->SetLight(p,a)
427#define IDirect3DLight_GetLight(p,a) (p)->lpVtbl->GetLight(p,a)
430#define IDirect3DLight_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
431#define IDirect3DLight_AddRef(p) (p)->AddRef()
432#define IDirect3DLight_Release(p) (p)->Release()
434#define IDirect3DLight_Initialize(p,a) (p)->Initialize(a)
435#define IDirect3DLight_SetLight(p,a) (p)->SetLight(a)
436#define IDirect3DLight_GetLight(p,a) (p)->GetLight(a)
443#define INTERFACE IDirect3DMaterial
460#if !defined(__cplusplus) || defined(CINTERFACE)
462#define IDirect3DMaterial_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
463#define IDirect3DMaterial_AddRef(p) (p)->lpVtbl->AddRef(p)
464#define IDirect3DMaterial_Release(p) (p)->lpVtbl->Release(p)
466#define IDirect3DMaterial_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
467#define IDirect3DMaterial_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
468#define IDirect3DMaterial_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
469#define IDirect3DMaterial_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
470#define IDirect3DMaterial_Reserve(p) (p)->lpVtbl->Reserve(p)
471#define IDirect3DMaterial_Unreserve(p) (p)->lpVtbl->Unreserve(p)
474#define IDirect3DMaterial_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
475#define IDirect3DMaterial_AddRef(p) (p)->AddRef()
476#define IDirect3DMaterial_Release(p) (p)->Release()
478#define IDirect3DMaterial_Initialize(p,a) (p)->Initialize(a)
479#define IDirect3DMaterial_SetMaterial(p,a) (p)->SetMaterial(a)
480#define IDirect3DMaterial_GetMaterial(p,a) (p)->GetMaterial(a)
481#define IDirect3DMaterial_GetHandle(p,a,b) (p)->GetHandle(a,b)
482#define IDirect3DMaterial_Reserve(p) (p)->Reserve()
483#define IDirect3DMaterial_Unreserve(p) (p)->Unreserve()
490#define INTERFACE IDirect3DMaterial2
504#if !defined(__cplusplus) || defined(CINTERFACE)
506#define IDirect3DMaterial2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
507#define IDirect3DMaterial2_AddRef(p) (p)->lpVtbl->AddRef(p)
508#define IDirect3DMaterial2_Release(p) (p)->lpVtbl->Release(p)
510#define IDirect3DMaterial2_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
511#define IDirect3DMaterial2_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
512#define IDirect3DMaterial2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
515#define IDirect3DMaterial2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
516#define IDirect3DMaterial2_AddRef(p) (p)->AddRef()
517#define IDirect3DMaterial2_Release(p) (p)->Release()
519#define IDirect3DMaterial2_SetMaterial(p,a) (p)->SetMaterial(a)
520#define IDirect3DMaterial2_GetMaterial(p,a) (p)->GetMaterial(a)
521#define IDirect3DMaterial2_GetHandle(p,a,b) (p)->GetHandle(a,b)
528#define INTERFACE IDirect3DMaterial3
542#if !defined(__cplusplus) || defined(CINTERFACE)
544#define IDirect3DMaterial3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
545#define IDirect3DMaterial3_AddRef(p) (p)->lpVtbl->AddRef(p)
546#define IDirect3DMaterial3_Release(p) (p)->lpVtbl->Release(p)
548#define IDirect3DMaterial3_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
549#define IDirect3DMaterial3_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
550#define IDirect3DMaterial3_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
553#define IDirect3DMaterial3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
554#define IDirect3DMaterial3_AddRef(p) (p)->AddRef()
555#define IDirect3DMaterial3_Release(p) (p)->Release()
557#define IDirect3DMaterial3_SetMaterial(p,a) (p)->SetMaterial(a)
558#define IDirect3DMaterial3_GetMaterial(p,a) (p)->GetMaterial(a)
559#define IDirect3DMaterial3_GetHandle(p,a,b) (p)->GetHandle(a,b)
566#define INTERFACE IDirect3DTexture
582#if !defined(__cplusplus) || defined(CINTERFACE)
584#define IDirect3DTexture_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
585#define IDirect3DTexture_AddRef(p) (p)->lpVtbl->AddRef(p)
586#define IDirect3DTexture_Release(p) (p)->lpVtbl->Release(p)
588#define IDirect3DTexture_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
589#define IDirect3DTexture_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
590#define IDirect3DTexture_PaletteChanged(p,a,b) (p)->lpVtbl->PaletteChanged(p,a,b)
591#define IDirect3DTexture_Load(p,a) (p)->lpVtbl->Load(p,a)
592#define IDirect3DTexture_Unload(p) (p)->lpVtbl->Unload(p)
595#define IDirect3DTexture_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
596#define IDirect3DTexture_AddRef(p) (p)->AddRef()
597#define IDirect3DTexture_Release(p) (p)->Release()
599#define IDirect3DTexture_Initialize(p,a,b) (p)->Initialize(a,b)
600#define IDirect3DTexture_GetHandle(p,a,b) (p)->GetHandle(a,b)
601#define IDirect3DTexture_PaletteChanged(p,a,b) (p)->PaletteChanged(a,b)
602#define IDirect3DTexture_Load(p,a) (p)->Load(a)
603#define IDirect3DTexture_Unload(p) (p)->Unload()
610#define INTERFACE IDirect3DTexture2
624#if !defined(__cplusplus) || defined(CINTERFACE)
626#define IDirect3DTexture2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
627#define IDirect3DTexture2_AddRef(p) (p)->lpVtbl->AddRef(p)
628#define IDirect3DTexture2_Release(p) (p)->lpVtbl->Release(p)
630#define IDirect3DTexture2_GetHandle(p,a,b) (p)->lpVtbl->GetHandle(p,a,b)
631#define IDirect3DTexture2_PaletteChanged(p,a,b) (p)->lpVtbl->PaletteChanged(p,a,b)
632#define IDirect3DTexture2_Load(p,a) (p)->lpVtbl->Load(p,a)
635#define IDirect3DTexture2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
636#define IDirect3DTexture2_AddRef(p) (p)->AddRef()
637#define IDirect3DTexture2_Release(p) (p)->Release()
639#define IDirect3DTexture2_GetHandle(p,a,b) (p)->GetHandle(a,b)
640#define IDirect3DTexture2_PaletteChanged(p,a,b) (p)->PaletteChanged(a,b)
641#define IDirect3DTexture2_Load(p,a) (p)->Load(a)
648#define INTERFACE IDirect3DViewport
672#if !defined(__cplusplus) || defined(CINTERFACE)
674#define IDirect3DViewport_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
675#define IDirect3DViewport_AddRef(p) (p)->lpVtbl->AddRef(p)
676#define IDirect3DViewport_Release(p) (p)->lpVtbl->Release(p)
678#define IDirect3DViewport_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
679#define IDirect3DViewport_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
680#define IDirect3DViewport_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
681#define IDirect3DViewport_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d)
682#define IDirect3DViewport_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b)
683#define IDirect3DViewport_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a)
684#define IDirect3DViewport_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b)
685#define IDirect3DViewport_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a)
686#define IDirect3DViewport_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b)
687#define IDirect3DViewport_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c)
688#define IDirect3DViewport_AddLight(p,a) (p)->lpVtbl->AddLight(p,a)
689#define IDirect3DViewport_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a)
690#define IDirect3DViewport_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c)
693#define IDirect3DViewport_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
694#define IDirect3DViewport_AddRef(p) (p)->AddRef()
695#define IDirect3DViewport_Release(p) (p)->Release()
697#define IDirect3DViewport_Initialize(p,a) (p)->Initialize(a)
698#define IDirect3DViewport_GetViewport(p,a) (p)->GetViewport(a)
699#define IDirect3DViewport_SetViewport(p,a) (p)->SetViewport(a)
700#define IDirect3DViewport_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d)
701#define IDirect3DViewport_LightElements(p,a,b) (p)->LightElements(a,b)
702#define IDirect3DViewport_SetBackground(p,a) (p)->SetBackground(a)
703#define IDirect3DViewport_GetBackground(p,a,b) (p)->GetBackground(a,b)
704#define IDirect3DViewport_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a)
705#define IDirect3DViewport_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b)
706#define IDirect3DViewport_Clear(p,a,b,c) (p)->Clear(a,b,c)
707#define IDirect3DViewport_AddLight(p,a) (p)->AddLight(a)
708#define IDirect3DViewport_DeleteLight(p,a) (p)->DeleteLight(a)
709#define IDirect3DViewport_NextLight(p,a,b,c) (p)->NextLight(a,b,c)
716#define INTERFACE IDirect3DViewport2
743#if !defined(__cplusplus) || defined(CINTERFACE)
745#define IDirect3DViewport2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
746#define IDirect3DViewport2_AddRef(p) (p)->lpVtbl->AddRef(p)
747#define IDirect3DViewport2_Release(p) (p)->lpVtbl->Release(p)
749#define IDirect3DViewport2_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
750#define IDirect3DViewport2_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
751#define IDirect3DViewport2_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
752#define IDirect3DViewport2_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d)
753#define IDirect3DViewport2_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b)
754#define IDirect3DViewport2_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a)
755#define IDirect3DViewport2_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b)
756#define IDirect3DViewport2_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a)
757#define IDirect3DViewport2_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b)
758#define IDirect3DViewport2_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c)
759#define IDirect3DViewport2_AddLight(p,a) (p)->lpVtbl->AddLight(p,a)
760#define IDirect3DViewport2_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a)
761#define IDirect3DViewport2_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c)
763#define IDirect3DViewport2_GetViewport2(p,a) (p)->lpVtbl->GetViewport2(p,a)
764#define IDirect3DViewport2_SetViewport2(p,a) (p)->lpVtbl->SetViewport2(p,a)
767#define IDirect3DViewport2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
768#define IDirect3DViewport2_AddRef(p) (p)->AddRef()
769#define IDirect3DViewport2_Release(p) (p)->Release()
771#define IDirect3DViewport2_Initialize(p,a) (p)->Initialize(a)
772#define IDirect3DViewport2_GetViewport(p,a) (p)->GetViewport(a)
773#define IDirect3DViewport2_SetViewport(p,a) (p)->SetViewport(a)
774#define IDirect3DViewport2_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d)
775#define IDirect3DViewport2_LightElements(p,a,b) (p)->LightElements(a,b)
776#define IDirect3DViewport2_SetBackground(p,a) (p)->SetBackground(a)
777#define IDirect3DViewport2_GetBackground(p,a,b) (p)->GetBackground(a,b)
778#define IDirect3DViewport2_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a)
779#define IDirect3DViewport2_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b)
780#define IDirect3DViewport2_Clear(p,a,b,c) (p)->Clear(a,b,c)
781#define IDirect3DViewport2_AddLight(p,a) (p)->AddLight(a)
782#define IDirect3DViewport2_DeleteLight(p,a) (p)->DeleteLight(a)
783#define IDirect3DViewport2_NextLight(p,a,b,c) (p)->NextLight(a,b,c)
785#define IDirect3DViewport2_GetViewport2(p,a) (p)->GetViewport2(a)
786#define IDirect3DViewport2_SetViewport2(p,a) (p)->SetViewport2(a)
792#define INTERFACE IDirect3DViewport3
823#if !defined(__cplusplus) || defined(CINTERFACE)
825#define IDirect3DViewport3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
826#define IDirect3DViewport3_AddRef(p) (p)->lpVtbl->AddRef(p)
827#define IDirect3DViewport3_Release(p) (p)->lpVtbl->Release(p)
829#define IDirect3DViewport3_Initialize(p,a) (p)->lpVtbl->Initialize(p,a)
830#define IDirect3DViewport3_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
831#define IDirect3DViewport3_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
832#define IDirect3DViewport3_TransformVertices(p,a,b,c,d) (p)->lpVtbl->TransformVertices(p,a,b,c,d)
833#define IDirect3DViewport3_LightElements(p,a,b) (p)->lpVtbl->LightElements(p,a,b)
834#define IDirect3DViewport3_SetBackground(p,a) (p)->lpVtbl->SetBackground(p,a)
835#define IDirect3DViewport3_GetBackground(p,a,b) (p)->lpVtbl->GetBackground(p,a,b)
836#define IDirect3DViewport3_SetBackgroundDepth(p,a) (p)->lpVtbl->SetBackgroundDepth(p,a)
837#define IDirect3DViewport3_GetBackgroundDepth(p,a,b) (p)->lpVtbl->GetBackgroundDepth(p,a,b)
838#define IDirect3DViewport3_Clear(p,a,b,c) (p)->lpVtbl->Clear(p,a,b,c)
839#define IDirect3DViewport3_AddLight(p,a) (p)->lpVtbl->AddLight(p,a)
840#define IDirect3DViewport3_DeleteLight(p,a) (p)->lpVtbl->DeleteLight(p,a)
841#define IDirect3DViewport3_NextLight(p,a,b,c) (p)->lpVtbl->NextLight(p,a,b,c)
843#define IDirect3DViewport3_GetViewport2(p,a) (p)->lpVtbl->GetViewport2(p,a)
844#define IDirect3DViewport3_SetViewport2(p,a) (p)->lpVtbl->SetViewport2(p,a)
846#define IDirect3DViewport3_SetBackgroundDepth2(p,a) (p)->lpVtbl->SetBackgroundDepth2(p,a)
847#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) (p)->lpVtbl->GetBackgroundDepth2(p,a,b)
848#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) (p)->lpVtbl->Clear2(p,a,b,c,d,e,f)
851#define IDirect3DViewport3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
852#define IDirect3DViewport3_AddRef(p) (p)->AddRef()
853#define IDirect3DViewport3_Release(p) (p)->Release()
855#define IDirect3DViewport3_Initialize(p,a) (p)->Initialize(a)
856#define IDirect3DViewport3_GetViewport(p,a) (p)->GetViewport(a)
857#define IDirect3DViewport3_SetViewport(p,a) (p)->SetViewport(a)
858#define IDirect3DViewport3_TransformVertices(p,a,b,c,d) (p)->TransformVertices(a,b,c,d)
859#define IDirect3DViewport3_LightElements(p,a,b) (p)->LightElements(a,b)
860#define IDirect3DViewport3_SetBackground(p,a) (p)->SetBackground(a)
861#define IDirect3DViewport3_GetBackground(p,a,b) (p)->GetBackground(a,b)
862#define IDirect3DViewport3_SetBackgroundDepth(p,a) (p)->SetBackgroundDepth(a)
863#define IDirect3DViewport3_GetBackgroundDepth(p,a,b) (p)->GetBackgroundDepth(a,b)
864#define IDirect3DViewport3_Clear(p,a,b,c) (p)->Clear(a,b,c)
865#define IDirect3DViewport3_AddLight(p,a) (p)->AddLight(a)
866#define IDirect3DViewport3_DeleteLight(p,a) (p)->DeleteLight(a)
867#define IDirect3DViewport3_NextLight(p,a,b,c) (p)->NextLight(a,b,c)
869#define IDirect3DViewport3_GetViewport2(p,a) (p)->GetViewport2(a)
870#define IDirect3DViewport3_SetViewport2(p,a) (p)->SetViewport2(a)
872#define IDirect3DViewport3_SetBackgroundDepth2(p,a) (p)->SetBackgroundDepth2(a)
873#define IDirect3DViewport3_GetBackgroundDepth2(p,a,b) (p)->GetBackgroundDepth2(a,b)
874#define IDirect3DViewport3_Clear2(p,a,b,c,d,e,f) (p)->Clear2(a,b,c,d,e,f)
882#define INTERFACE IDirect3DExecuteBuffer
900#if !defined(__cplusplus) || defined(CINTERFACE)
902#define IDirect3DExecuteBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
903#define IDirect3DExecuteBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
904#define IDirect3DExecuteBuffer_Release(p) (p)->lpVtbl->Release(p)
906#define IDirect3DExecuteBuffer_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
907#define IDirect3DExecuteBuffer_Lock(p,a) (p)->lpVtbl->Lock(p,a)
908#define IDirect3DExecuteBuffer_Unlock(p) (p)->lpVtbl->Unlock(p)
909#define IDirect3DExecuteBuffer_SetExecuteData(p,a) (p)->lpVtbl->SetExecuteData(p,a)
910#define IDirect3DExecuteBuffer_GetExecuteData(p,a) (p)->lpVtbl->GetExecuteData(p,a)
911#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) (p)->lpVtbl->Validate(p,a,b,c,d)
912#define IDirect3DExecuteBuffer_Optimize(p,a) (p)->lpVtbl->Optimize(p,a)
915#define IDirect3DExecuteBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
916#define IDirect3DExecuteBuffer_AddRef(p) (p)->AddRef()
917#define IDirect3DExecuteBuffer_Release(p) (p)->Release()
919#define IDirect3DExecuteBuffer_Initialize(p,a,b) (p)->Initialize(a,b)
920#define IDirect3DExecuteBuffer_Lock(p,a) (p)->Lock(a)
921#define IDirect3DExecuteBuffer_Unlock(p) (p)->Unlock()
922#define IDirect3DExecuteBuffer_SetExecuteData(p,a) (p)->SetExecuteData(a)
923#define IDirect3DExecuteBuffer_GetExecuteData(p,a) (p)->GetExecuteData(a)
924#define IDirect3DExecuteBuffer_Validate(p,a,b,c,d) (p)->Validate(a,b,c,d)
925#define IDirect3DExecuteBuffer_Optimize(p,a) (p)->Optimize(a)
932#define INTERFACE IDirect3DDevice
962#if !defined(__cplusplus) || defined(CINTERFACE)
964#define IDirect3DDevice_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
965#define IDirect3DDevice_AddRef(p) (p)->lpVtbl->AddRef(p)
966#define IDirect3DDevice_Release(p) (p)->lpVtbl->Release(p)
968#define IDirect3DDevice_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
969#define IDirect3DDevice_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
970#define IDirect3DDevice_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b)
971#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) (p)->lpVtbl->CreateExecuteBuffer(p,a,b,c)
972#define IDirect3DDevice_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
973#define IDirect3DDevice_Execute(p,a,b,c) (p)->lpVtbl->Execute(p,a,b,c)
974#define IDirect3DDevice_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
975#define IDirect3DDevice_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
976#define IDirect3DDevice_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
977#define IDirect3DDevice_Pick(p,a,b,c,d) (p)->lpVtbl->Pick(p,a,b,c,d)
978#define IDirect3DDevice_GetPickRecords(p,a,b) (p)->lpVtbl->GetPickRecords(p,a,b)
979#define IDirect3DDevice_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
980#define IDirect3DDevice_CreateMatrix(p,a) (p)->lpVtbl->CreateMatrix(p,a)
981#define IDirect3DDevice_SetMatrix(p,a,b) (p)->lpVtbl->SetMatrix(p,a,b)
982#define IDirect3DDevice_GetMatrix(p,a,b) (p)->lpVtbl->GetMatrix(p,a,b)
983#define IDirect3DDevice_DeleteMatrix(p,a) (p)->lpVtbl->DeleteMatrix(p,a)
984#define IDirect3DDevice_BeginScene(p) (p)->lpVtbl->BeginScene(p)
985#define IDirect3DDevice_EndScene(p) (p)->lpVtbl->EndScene(p)
986#define IDirect3DDevice_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
989#define IDirect3DDevice_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
990#define IDirect3DDevice_AddRef(p) (p)->AddRef()
991#define IDirect3DDevice_Release(p) (p)->Release()
993#define IDirect3DDevice_Initialize(p,a,b,c) (p)->Initialize(a,b,c)
994#define IDirect3DDevice_GetCaps(p,a,b) (p)->GetCaps(a,b)
995#define IDirect3DDevice_SwapTextureHandles(p,a,b) (p)->SwapTextureHandles(a,b)
996#define IDirect3DDevice_CreateExecuteBuffer(p,a,b,c) (p)->CreateExecuteBuffer(a,b,c)
997#define IDirect3DDevice_GetStats(p,a) (p)->GetStats(a)
998#define IDirect3DDevice_Execute(p,a,b,c) (p)->Execute(a,b,c)
999#define IDirect3DDevice_AddViewport(p,a) (p)->AddViewport(a)
1000#define IDirect3DDevice_DeleteViewport(p,a) (p)->DeleteViewport(a)
1001#define IDirect3DDevice_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c)
1002#define IDirect3DDevice_Pick(p,a,b,c,d) (p)->Pick(a,b,c,d)
1003#define IDirect3DDevice_GetPickRecords(p,a,b) (p)->GetPickRecords(a,b)
1004#define IDirect3DDevice_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b)
1005#define IDirect3DDevice_CreateMatrix(p,a) (p)->CreateMatrix(a)
1006#define IDirect3DDevice_SetMatrix(p,a,b) (p)->SetMatrix(a,b)
1007#define IDirect3DDevice_GetMatrix(p,a,b) (p)->GetMatrix(a,b)
1008#define IDirect3DDevice_DeleteMatrix(p,a) (p)->DeleteMatrix(a)
1009#define IDirect3DDevice_BeginScene(p) (p)->BeginScene()
1010#define IDirect3DDevice_EndScene(p) (p)->EndScene()
1011#define IDirect3DDevice_GetDirect3D(p,a) (p)->GetDirect3D(a)
1018#define INTERFACE IDirect3DDevice2
1060#if !defined(__cplusplus) || defined(CINTERFACE)
1062#define IDirect3DDevice2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1063#define IDirect3DDevice2_AddRef(p) (p)->lpVtbl->AddRef(p)
1064#define IDirect3DDevice2_Release(p) (p)->lpVtbl->Release(p)
1066#define IDirect3DDevice2_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
1067#define IDirect3DDevice2_SwapTextureHandles(p,a,b) (p)->lpVtbl->SwapTextureHandles(p,a,b)
1068#define IDirect3DDevice2_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
1069#define IDirect3DDevice2_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
1070#define IDirect3DDevice2_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
1071#define IDirect3DDevice2_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
1072#define IDirect3DDevice2_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
1073#define IDirect3DDevice2_BeginScene(p) (p)->lpVtbl->BeginScene(p)
1074#define IDirect3DDevice2_EndScene(p) (p)->lpVtbl->EndScene(p)
1075#define IDirect3DDevice2_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
1076#define IDirect3DDevice2_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a)
1077#define IDirect3DDevice2_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a)
1078#define IDirect3DDevice2_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
1079#define IDirect3DDevice2_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
1080#define IDirect3DDevice2_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c)
1081#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e)
1082#define IDirect3DDevice2_Vertex(p,a) (p)->lpVtbl->Vertex(p,a)
1083#define IDirect3DDevice2_Index(p,a) (p)->lpVtbl->Index(p,a)
1084#define IDirect3DDevice2_End(p,a) (p)->lpVtbl->End(p,a)
1085#define IDirect3DDevice2_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
1086#define IDirect3DDevice2_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
1087#define IDirect3DDevice2_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b)
1088#define IDirect3DDevice2_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b)
1089#define IDirect3DDevice2_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
1090#define IDirect3DDevice2_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
1091#define IDirect3DDevice2_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
1092#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
1093#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
1094#define IDirect3DDevice2_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
1095#define IDirect3DDevice2_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
1098#define IDirect3DDevice2_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1099#define IDirect3DDevice2_AddRef(p) (p)->AddRef()
1100#define IDirect3DDevice2_Release(p) (p)->Release()
1102#define IDirect3DDevice2_GetCaps(p,a,b) (p)->GetCaps(a,b)
1103#define IDirect3DDevice2_SwapTextureHandles(p,a,b) (p)->SwapTextureHandles(a,b)
1104#define IDirect3DDevice2_GetStats(p,a) (p)->GetStats(a)
1105#define IDirect3DDevice2_AddViewport(p,a) (p)->AddViewport(a)
1106#define IDirect3DDevice2_DeleteViewport(p,a) (p)->DeleteViewport(a)
1107#define IDirect3DDevice2_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c)
1108#define IDirect3DDevice2_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b)
1109#define IDirect3DDevice2_BeginScene(p) (p)->BeginScene()
1110#define IDirect3DDevice2_EndScene(p) (p)->EndScene()
1111#define IDirect3DDevice2_GetDirect3D(p,a) (p)->GetDirect3D(a)
1112#define IDirect3DDevice2_SetCurrentViewport(p,a) (p)->SetCurrentViewport(a)
1113#define IDirect3DDevice2_GetCurrentViewport(p,a) (p)->GetCurrentViewport(a)
1114#define IDirect3DDevice2_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b)
1115#define IDirect3DDevice2_GetRenderTarget(p,a) (p)->GetRenderTarget(a)
1116#define IDirect3DDevice2_Begin(p,a,b,c) (p)->Begin(a,b,c)
1117#define IDirect3DDevice2_BeginIndexed(p,a,b,c,d,e) (p)->BeginIndexed(a,b,c,d,e)
1118#define IDirect3DDevice2_Vertex(p,a) (p)->Vertex(a)
1119#define IDirect3DDevice2_Index(p,a) (p)->Index(a)
1120#define IDirect3DDevice2_End(p,a) (p)->End(a)
1121#define IDirect3DDevice2_GetRenderState(p,a,b) (p)->GetRenderState(a,b)
1122#define IDirect3DDevice2_SetRenderState(p,a,b) (p)->SetRenderState(a,b)
1123#define IDirect3DDevice2_GetLightState(p,a,b) (p)->GetLightState(a,b)
1124#define IDirect3DDevice2_SetLightState(p,a,b) (p)->SetLightState(a,b)
1125#define IDirect3DDevice2_SetTransform(p,a,b) (p)->SetTransform(a,b)
1126#define IDirect3DDevice2_GetTransform(p,a,b) (p)->GetTransform(a,b)
1127#define IDirect3DDevice2_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b)
1128#define IDirect3DDevice2_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e)
1129#define IDirect3DDevice2_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g)
1130#define IDirect3DDevice2_SetClipStatus(p,a) (p)->SetClipStatus(a)
1131#define IDirect3DDevice2_GetClipStatus(p,a) (p)->GetClipStatus(a)
1137#define INTERFACE IDirect3DDevice3
1188#if !defined(__cplusplus) || defined(CINTERFACE)
1190#define IDirect3DDevice3_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1191#define IDirect3DDevice3_AddRef(p) (p)->lpVtbl->AddRef(p)
1192#define IDirect3DDevice3_Release(p) (p)->lpVtbl->Release(p)
1194#define IDirect3DDevice3_GetCaps(p,a,b) (p)->lpVtbl->GetCaps(p,a,b)
1195#define IDirect3DDevice3_GetStats(p,a) (p)->lpVtbl->GetStats(p,a)
1196#define IDirect3DDevice3_AddViewport(p,a) (p)->lpVtbl->AddViewport(p,a)
1197#define IDirect3DDevice3_DeleteViewport(p,a) (p)->lpVtbl->DeleteViewport(p,a)
1198#define IDirect3DDevice3_NextViewport(p,a,b,c) (p)->lpVtbl->NextViewport(p,a,b,c)
1199#define IDirect3DDevice3_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
1200#define IDirect3DDevice3_BeginScene(p) (p)->lpVtbl->BeginScene(p)
1201#define IDirect3DDevice3_EndScene(p) (p)->lpVtbl->EndScene(p)
1202#define IDirect3DDevice3_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
1203#define IDirect3DDevice3_SetCurrentViewport(p,a) (p)->lpVtbl->SetCurrentViewport(p,a)
1204#define IDirect3DDevice3_GetCurrentViewport(p,a) (p)->lpVtbl->GetCurrentViewport(p,a)
1205#define IDirect3DDevice3_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
1206#define IDirect3DDevice3_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
1207#define IDirect3DDevice3_Begin(p,a,b,c) (p)->lpVtbl->Begin(p,a,b,c)
1208#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) (p)->lpVtbl->BeginIndexed(p,a,b,c,d,e)
1209#define IDirect3DDevice3_Vertex(p,a) (p)->lpVtbl->Vertex(p,a)
1210#define IDirect3DDevice3_Index(p,a) (p)->lpVtbl->Index(p,a)
1211#define IDirect3DDevice3_End(p,a) (p)->lpVtbl->End(p,a)
1212#define IDirect3DDevice3_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
1213#define IDirect3DDevice3_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
1214#define IDirect3DDevice3_GetLightState(p,a,b) (p)->lpVtbl->GetLightState(p,a,b)
1215#define IDirect3DDevice3_SetLightState(p,a,b) (p)->lpVtbl->SetLightState(p,a,b)
1216#define IDirect3DDevice3_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
1217#define IDirect3DDevice3_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
1218#define IDirect3DDevice3_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
1219#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
1220#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
1221#define IDirect3DDevice3_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
1222#define IDirect3DDevice3_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
1223#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e)
1224#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g)
1225#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e)
1226#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e)
1227#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e)
1228#define IDirect3DDevice3_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
1229#define IDirect3DDevice3_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
1230#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
1231#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
1232#define IDirect3DDevice3_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
1235#define IDirect3DDevice3_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1236#define IDirect3DDevice3_AddRef(p) (p)->AddRef()
1237#define IDirect3DDevice3_Release(p) (p)->Release()
1239#define IDirect3DDevice3_GetCaps(p,a,b) (p)->GetCaps(a,b)
1240#define IDirect3DDevice3_GetStats(p,a) (p)->GetStats(a)
1241#define IDirect3DDevice3_AddViewport(p,a) (p)->AddViewport(a)
1242#define IDirect3DDevice3_DeleteViewport(p,a) (p)->DeleteViewport(a)
1243#define IDirect3DDevice3_NextViewport(p,a,b,c) (p)->NextViewport(a,b,c)
1244#define IDirect3DDevice3_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b)
1245#define IDirect3DDevice3_BeginScene(p) (p)->BeginScene()
1246#define IDirect3DDevice3_EndScene(p) (p)->EndScene()
1247#define IDirect3DDevice3_GetDirect3D(p,a) (p)->GetDirect3D(a)
1248#define IDirect3DDevice3_SetCurrentViewport(p,a) (p)->SetCurrentViewport(a)
1249#define IDirect3DDevice3_GetCurrentViewport(p,a) (p)->GetCurrentViewport(a)
1250#define IDirect3DDevice3_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b)
1251#define IDirect3DDevice3_GetRenderTarget(p,a) (p)->GetRenderTarget(a)
1252#define IDirect3DDevice3_Begin(p,a,b,c) (p)->Begin(a,b,c)
1253#define IDirect3DDevice3_BeginIndexed(p,a,b,c,d,e) (p)->BeginIndexed(a,b,c,d,e)
1254#define IDirect3DDevice3_Vertex(p,a) (p)->Vertex(a)
1255#define IDirect3DDevice3_Index(p,a) (p)->Index(a)
1256#define IDirect3DDevice3_End(p,a) (p)->End(a)
1257#define IDirect3DDevice3_GetRenderState(p,a,b) (p)->GetRenderState(a,b)
1258#define IDirect3DDevice3_SetRenderState(p,a,b) (p)->SetRenderState(a,b)
1259#define IDirect3DDevice3_GetLightState(p,a,b) (p)->GetLightState(a,b)
1260#define IDirect3DDevice3_SetLightState(p,a,b) (p)->SetLightState(a,b)
1261#define IDirect3DDevice3_SetTransform(p,a,b) (p)->SetTransform(a,b)
1262#define IDirect3DDevice3_GetTransform(p,a,b) (p)->GetTransform(a,b)
1263#define IDirect3DDevice3_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b)
1264#define IDirect3DDevice3_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e)
1265#define IDirect3DDevice3_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g)
1266#define IDirect3DDevice3_SetClipStatus(p,a) (p)->SetClipStatus(a)
1267#define IDirect3DDevice3_GetClipStatus(p,a) (p)->GetClipStatus(a)
1268#define IDirect3DDevice3_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->DrawPrimitiveStrided(a,b,c,d,e)
1269#define IDirect3DDevice3_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveStrided(a,b,c,d,e,f,g)
1270#define IDirect3DDevice3_DrawPrimitiveVB(p,a,b,c,d,e) (p)->DrawPrimitiveVB(a,b,c,d,e)
1271#define IDirect3DDevice3_DrawIndexedPrimitiveVB(p,a,b,c,d,e) (p)->DrawIndexedPrimitiveVB(a,b,c,d,e)
1272#define IDirect3DDevice3_ComputeSphereVisibility(p,a,b,c,d,e) (p)->ComputeSphereVisibility(a,b,c,d,e)
1273#define IDirect3DDevice3_GetTexture(p,a,b) (p)->GetTexture(a,b)
1274#define IDirect3DDevice3_SetTexture(p,a,b) (p)->SetTexture(a,b)
1275#define IDirect3DDevice3_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c)
1276#define IDirect3DDevice3_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c)
1277#define IDirect3DDevice3_ValidateDevice(p,a) (p)->ValidateDevice(a)
1283#define INTERFACE IDirect3DDevice7
1340#if !defined(__cplusplus) || defined(CINTERFACE)
1342#define IDirect3DDevice7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1343#define IDirect3DDevice7_AddRef(p) (p)->lpVtbl->AddRef(p)
1344#define IDirect3DDevice7_Release(p) (p)->lpVtbl->Release(p)
1346#define IDirect3DDevice7_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a)
1347#define IDirect3DDevice7_EnumTextureFormats(p,a,b) (p)->lpVtbl->EnumTextureFormats(p,a,b)
1348#define IDirect3DDevice7_BeginScene(p) (p)->lpVtbl->BeginScene(p)
1349#define IDirect3DDevice7_EndScene(p) (p)->lpVtbl->EndScene(p)
1350#define IDirect3DDevice7_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
1351#define IDirect3DDevice7_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
1352#define IDirect3DDevice7_GetRenderTarget(p,a) (p)->lpVtbl->GetRenderTarget(p,a)
1353#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f)
1354#define IDirect3DDevice7_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
1355#define IDirect3DDevice7_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
1356#define IDirect3DDevice7_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
1357#define IDirect3DDevice7_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
1358#define IDirect3DDevice7_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
1359#define IDirect3DDevice7_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
1360#define IDirect3DDevice7_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
1361#define IDirect3DDevice7_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b)
1362#define IDirect3DDevice7_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b)
1363#define IDirect3DDevice7_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
1364#define IDirect3DDevice7_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
1365#define IDirect3DDevice7_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p)
1366#define IDirect3DDevice7_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a)
1367#define IDirect3DDevice7_PreLoad(p,a) (p)->lpVtbl->PreLoad(p,a)
1368#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitive(p,a,b,c,d,e)
1369#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f,g)
1370#define IDirect3DDevice7_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
1371#define IDirect3DDevice7_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
1372#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveStrided(p,a,b,c,d,e)
1373#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g)
1374#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) (p)->lpVtbl->DrawPrimitiveVB(p,a,b,c,d,e)
1375#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) (p)->lpVtbl->DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g)
1376#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) (p)->lpVtbl->ComputeSphereVisibility(p,a,b,c,d,e)
1377#define IDirect3DDevice7_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
1378#define IDirect3DDevice7_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
1379#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
1380#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
1381#define IDirect3DDevice7_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
1382#define IDirect3DDevice7_ApplyStateBlock(p,a) (p)->lpVtbl->ApplyStateBlock(p,a)
1383#define IDirect3DDevice7_CaptureStateBlock(p,a) (p)->lpVtbl->CaptureStateBlock(p,a)
1384#define IDirect3DDevice7_DeleteStateBlock(p,a) (p)->lpVtbl->DeleteStateBlock(p,a)
1385#define IDirect3DDevice7_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b)
1386#define IDirect3DDevice7_Load(p,a,b,c,d,e) (p)->lpVtbl->Load(p,a,b,c,d,e)
1387#define IDirect3DDevice7_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b)
1388#define IDirect3DDevice7_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b)
1389#define IDirect3DDevice7_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b)
1390#define IDirect3DDevice7_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b)
1391#define IDirect3DDevice7_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c)
1394#define IDirect3DDevice7_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1395#define IDirect3DDevice7_AddRef(p) (p)->AddRef()
1396#define IDirect3DDevice7_Release(p) (p)->Release()
1398#define IDirect3DDevice7_GetCaps(p,a) (p)->GetCaps(a)
1399#define IDirect3DDevice7_EnumTextureFormats(p,a,b) (p)->EnumTextureFormats(a,b)
1400#define IDirect3DDevice7_BeginScene(p) (p)->BeginScene()
1401#define IDirect3DDevice7_EndScene(p) (p)->EndScene()
1402#define IDirect3DDevice7_GetDirect3D(p,a) (p)->GetDirect3D(a)
1403#define IDirect3DDevice7_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b)
1404#define IDirect3DDevice7_GetRenderTarget(p,a) (p)->GetRenderTarget(a)
1405#define IDirect3DDevice7_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f)
1406#define IDirect3DDevice7_SetTransform(p,a,b) (p)->SetTransform(a,b)
1407#define IDirect3DDevice7_GetTransform(p,a,b) (p)->GetTransform(a,b)
1408#define IDirect3DDevice7_SetViewport(p,a) (p)->SetViewport(a)
1409#define IDirect3DDevice7_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b)
1410#define IDirect3DDevice7_GetViewport(p,a) (p)->GetViewport(a)
1411#define IDirect3DDevice7_SetMaterial(p,a) (p)->SetMaterial(a)
1412#define IDirect3DDevice7_GetMaterial(p,a) (p)->GetMaterial(a)
1413#define IDirect3DDevice7_SetLight(p,a,b) (p)->SetLight(a,b)
1414#define IDirect3DDevice7_GetLight(p,a,b) (p)->GetLight(a,b)
1415#define IDirect3DDevice7_SetRenderState(p,a,b) (p)->SetRenderState(a,b)
1416#define IDirect3DDevice7_GetRenderState(p,a,b) (p)->GetRenderState(a,b)
1417#define IDirect3DDevice7_BeginStateBlock(p) (p)->BeginStateBlock()
1418#define IDirect3DDevice7_EndStateBlock(p,a) (p)->EndStateBlock(a)
1419#define IDirect3DDevice7_PreLoad(p,a) (p)->PreLoad(a)
1420#define IDirect3DDevice7_DrawPrimitive(p,a,b,c,d,e) (p)->DrawPrimitive(a,b,c,d,e)
1421#define IDirect3DDevice7_DrawIndexedPrimitive(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitive(a,b,c,d,e,f,g)
1422#define IDirect3DDevice7_SetClipStatus(p,a) (p)->SetClipStatus(a)
1423#define IDirect3DDevice7_GetClipStatus(p,a) (p)->GetClipStatus(a)
1424#define IDirect3DDevice7_DrawPrimitiveStrided(p,a,b,c,d,e) (p)->DrawPrimitiveStrided(a,b,c,d,e)
1425#define IDirect3DDevice7_DrawIndexedPrimitiveStrided(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveStrided(a,b,c,d,e,f,g)
1426#define IDirect3DDevice7_DrawPrimitiveVB(p,a,b,c,d,e) (p)->DrawPrimitiveVB(a,b,c,d,e)
1427#define IDirect3DDevice7_DrawIndexedPrimitiveVB(p,a,b,c,d,e,f,g) (p)->DrawIndexedPrimitiveVB(a,b,c,d,e,f,g)
1428#define IDirect3DDevice7_ComputeSphereVisibility(p,a,b,c,d,e) (p)->ComputeSphereVisibility(a,b,c,d,e)
1429#define IDirect3DDevice7_GetTexture(p,a,b) (p)->GetTexture(a,b)
1430#define IDirect3DDevice7_SetTexture(p,a,b) (p)->SetTexture(a,b)
1431#define IDirect3DDevice7_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c)
1432#define IDirect3DDevice7_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c)
1433#define IDirect3DDevice7_ValidateDevice(p,a) (p)->ValidateDevice(a)
1434#define IDirect3DDevice7_ApplyStateBlock(p,a) (p)->ApplyStateBlock(a)
1435#define IDirect3DDevice7_CaptureStateBlock(p,a) (p)->CaptureStateBlock(a)
1436#define IDirect3DDevice7_DeleteStateBlock(p,a) (p)->DeleteStateBlock(a)
1437#define IDirect3DDevice7_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b)
1438#define IDirect3DDevice7_Load(p,a,b,c,d,e) (p)->Load(a,b,c,d,e)
1439#define IDirect3DDevice7_LightEnable(p,a,b) (p)->LightEnable(a,b)
1440#define IDirect3DDevice7_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b)
1441#define IDirect3DDevice7_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b)
1442#define IDirect3DDevice7_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b)
1443#define IDirect3DDevice7_GetInfo(p,a,b,c) (p)->GetInfo(a,b,c)
1451#define INTERFACE IDirect3DVertexBuffer
1467#if !defined(__cplusplus) || defined(CINTERFACE)
1469#define IDirect3DVertexBuffer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1470#define IDirect3DVertexBuffer_AddRef(p) (p)->lpVtbl->AddRef(p)
1471#define IDirect3DVertexBuffer_Release(p) (p)->lpVtbl->Release(p)
1473#define IDirect3DVertexBuffer_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c)
1474#define IDirect3DVertexBuffer_Unlock(p) (p)->lpVtbl->Unlock(p)
1475#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g)
1476#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a)
1477#define IDirect3DVertexBuffer_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b)
1480#define IDirect3DVertexBuffer_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1481#define IDirect3DVertexBuffer_AddRef(p) (p)->AddRef()
1482#define IDirect3DVertexBuffer_Release(p) (p)->Release()
1484#define IDirect3DVertexBuffer_Lock(p,a,b,c) (p)->Lock(a,b,c)
1485#define IDirect3DVertexBuffer_Unlock(p) (p)->Unlock()
1486#define IDirect3DVertexBuffer_ProcessVertices(p,a,b,c,d,e,f,g) (p)->ProcessVertices(a,b,c,d,e,f,g)
1487#define IDirect3DVertexBuffer_GetVertexBufferDesc(p,a) (p)->GetVertexBufferDesc(a)
1488#define IDirect3DVertexBuffer_Optimize(p,a,b) (p)->Optimize(a,b)
1494#define INTERFACE IDirect3DVertexBuffer7
1511#if !defined(__cplusplus) || defined(CINTERFACE)
1513#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1514#define IDirect3DVertexBuffer7_AddRef(p) (p)->lpVtbl->AddRef(p)
1515#define IDirect3DVertexBuffer7_Release(p) (p)->lpVtbl->Release(p)
1517#define IDirect3DVertexBuffer7_Lock(p,a,b,c) (p)->lpVtbl->Lock(p,a,b,c)
1518#define IDirect3DVertexBuffer7_Unlock(p) (p)->lpVtbl->Unlock(p)
1519#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f,g)
1520#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) (p)->lpVtbl->GetVertexBufferDesc(p,a)
1521#define IDirect3DVertexBuffer7_Optimize(p,a,b) (p)->lpVtbl->Optimize(p,a,b)
1522#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) (p)->lpVtbl->ProcessVerticesStrided(p,a,b,c,d,e,f,g)
1525#define IDirect3DVertexBuffer7_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1526#define IDirect3DVertexBuffer7_AddRef(p) (p)->AddRef()
1527#define IDirect3DVertexBuffer7_Release(p) (p)->Release()
1529#define IDirect3DVertexBuffer7_Lock(p,a,b,c) (p)->Lock(a,b,c)
1530#define IDirect3DVertexBuffer7_Unlock(p) (p)->Unlock()
1531#define IDirect3DVertexBuffer7_ProcessVertices(p,a,b,c,d,e,f,g) (p)->ProcessVertices(a,b,c,d,e,f,g)
1532#define IDirect3DVertexBuffer7_GetVertexBufferDesc(p,a) (p)->GetVertexBufferDesc(a)
1533#define IDirect3DVertexBuffer7_Optimize(p,a,b) (p)->Optimize(a,b)
1534#define IDirect3DVertexBuffer7_ProcessVerticesStrided(p,a,b,c,d,e,f,g) (p)->ProcessVerticesStrided(a,b,c,d,e,f,g)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN Begin
static INT Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
#define DECLARE_INTERFACE_(i, b)
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
struct IDirect3DTexture2 * LPDIRECT3DTEXTURE2
struct IDirect3DMaterial * LPDIRECT3DMATERIAL
struct IDirect3D * LPDIRECT3D
struct IDirect3DDevice2 * LPDIRECT3DDEVICE2
struct IDirect3DTexture * LPDIRECT3DTEXTURE
struct IDirect3DVertexBuffer7 * LPDIRECT3DVERTEXBUFFER7
struct IDirect3DExecuteBuffer * LPDIRECT3DEXECUTEBUFFER
struct IDirect3DViewport3 * LPDIRECT3DVIEWPORT3
struct IDirect3DLight * LPDIRECT3DLIGHT
struct IDirect3DVertexBuffer * LPDIRECT3DVERTEXBUFFER
struct IDirect3DDevice7 * LPDIRECT3DDEVICE7
struct IDirect3D3 * LPDIRECT3D3
struct IDirect3DMaterial3 * LPDIRECT3DMATERIAL3
struct IDirect3D7 * LPDIRECT3D7
struct IDirect3DDevice * LPDIRECT3DDEVICE
struct IDirect3DViewport2 * LPDIRECT3DVIEWPORT2
struct IDirect3DViewport * LPDIRECT3DVIEWPORT
struct IDirect3DDevice3 * LPDIRECT3DDEVICE3
struct IDirect3DMaterial2 * LPDIRECT3DMATERIAL2
struct IDirect3D2 * LPDIRECT3D2
DWORD * LPD3DVIEWPORTHANDLE
HRESULT(CALLBACK * LPD3DENUMDEVICESCALLBACK)(GUID *lpGuid, LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID)
HRESULT(CALLBACK * LPD3DENUMDEVICESCALLBACK7)(LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC7, LPVOID)
DWORD * LPD3DMATERIALHANDLE
HRESULT(CALLBACK * LPD3DENUMPIXELFORMATSCALLBACK)(DDPIXELFORMAT *format, void *ctx)
DWORD * LPD3DMATRIXHANDLE
HRESULT(CALLBACK * LPD3DVALIDATECALLBACK)(void *ctx, DWORD offset)
HRESULT(CALLBACK * LPD3DENUMTEXTUREFORMATSCALLBACK)(DDSURFACEDESC *surface_desc, void *ctx)
DWORD * LPD3DTEXTUREHANDLE
DWORD * LPDIRECTDRAWSURFACE7
static VOID NTAPI Unload(PDRIVER_OBJECT DriverObject)
MATRIX * GetMatrix(HWND hwnd)
MATRIX * CreateMatrix(HWND hwnd, int width, int height)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static DWORD LPSTR PDWORD lpdwSize
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
static LRESULT GetInfo(const CodecInfo *pi, ICINFO *icinfo, DWORD dwSize)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
void DrawPrimitive(IN HDC hDC, IN const RECT &RPrimitive, IN OutPrimitive PrimitiveID)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
struct IDirectDrawSurface4 * LPDIRECTDRAWSURFACE4
static VERTEX Vertex[MAX_STARS]
static BOOLEAN PaletteChanged
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
BOOL WINAPI GetTransform(HDC, DWORD, XFORM *)