RetroArch
d3d9.h
Go to the documentation of this file.
1 /*==========================================================================;
2  *
3  * Copyright (C) Microsoft Corporation. All Rights Reserved.
4  *
5  * File: d3d9.h
6  * Content: Direct3D include file
7  *
8  ****************************************************************************/
9 
10 #ifndef _D3D9_H_
11 #define _D3D9_H_
12 
13 #ifndef DIRECT3D_VERSION
14 #define DIRECT3D_VERSION 0x0900
15 #endif /* DIRECT3D_VERSION */
16 
17 /* include this file content only if compiling for DX9 interfaces */
18 #if(DIRECT3D_VERSION >= 0x0900)
19 
20 
21 /* This identifier is passed to Direct3DCreate9 in order to ensure that an
22  * application was built against the correct header files. This number is
23  * incremented whenever a header (or other) change would require applications
24  * to be rebuilt. If the version doesn't match, Direct3DCreate9 will fail.
25  * (The number itself has no meaning.)*/
26 
27 #define D3D_SDK_VERSION 31
28 
29 
30 #include <stdlib.h>
31 
32 #define COM_NO_WINDOWS_H
33 #include <objbase.h>
34 
35 #include <windows.h>
36 
37 #if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500)
38  #define HMONITOR_DECLARED
39  DECLARE_HANDLE(HMONITOR);
40 #endif
41 
42 #define D3DAPI WINAPI
43 
44 /*
45  * Interface IID's
46  */
47 #if defined( _WIN32 ) && !defined( _NO_COM)
48 
49 /* IID_IDirect3D9 */
50 /* {81BDCBCA-64D4-426d-AE8D-AD0147F4275C} */
51 DEFINE_GUID(IID_IDirect3D9, 0x81bdcbca, 0x64d4, 0x426d, 0xae, 0x8d, 0xad, 0x1, 0x47, 0xf4, 0x27, 0x5c);
52 
53 /* IID_IDirect3DDevice9 */
54 /* {D0223B96-BF7A-43fd-92BD-A43B0D82B9EB} */
55 DEFINE_GUID(IID_IDirect3DDevice9, 0xd0223b96, 0xbf7a, 0x43fd, 0x92, 0xbd, 0xa4, 0x3b, 0xd, 0x82, 0xb9, 0xeb);
56 
57 /* IID_IDirect3DResource9 */
58 /* {05EEC05D-8F7D-4362-B999-D1BAF357C704} */
59 DEFINE_GUID(IID_IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0x99, 0xd1, 0xba, 0xf3, 0x57, 0xc7, 0x4);
60 
61 /* IID_IDirect3DBaseTexture9 */
62 /* {580CA87E-1D3C-4d54-991D-B7D3E3C298CE} */
63 DEFINE_GUID(IID_IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, 0x1d, 0xb7, 0xd3, 0xe3, 0xc2, 0x98, 0xce);
64 
65 /* IID_IDirect3DTexture9 */
66 /* {85C31227-3DE5-4f00-9B3A-F11AC38C18B5} */
67 DEFINE_GUID(IID_IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, 0x3a, 0xf1, 0x1a, 0xc3, 0x8c, 0x18, 0xb5);
68 
69 /* IID_IDirect3DCubeTexture9 */
70 /* {FFF32F81-D953-473a-9223-93D652ABA93F} */
71 DEFINE_GUID(IID_IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, 0x23, 0x93, 0xd6, 0x52, 0xab, 0xa9, 0x3f);
72 
73 /* IID_IDirect3DVolumeTexture9 */
74 /* {2518526C-E789-4111-A7B9-47EF328D13E6} */
75 DEFINE_GUID(IID_IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, 0xb9, 0x47, 0xef, 0x32, 0x8d, 0x13, 0xe6);
76 
77 /* IID_IDirect3DVertexBuffer9 */
78 /* {B64BB1B5-FD70-4df6-BF91-19D0A12455E3} */
79 DEFINE_GUID(IID_IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, 0x91, 0x19, 0xd0, 0xa1, 0x24, 0x55, 0xe3);
80 
81 /* IID_IDirect3DIndexBuffer9 */
82 /* {7C9DD65E-D3F7-4529-ACEE-785830ACDE35} */
83 DEFINE_GUID(IID_IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, 0xee, 0x78, 0x58, 0x30, 0xac, 0xde, 0x35);
84 
85 /* IID_IDirect3DSurface9 */
86 /* {0CFBAF3A-9FF6-429a-99B3-A2796AF8B89B} */
87 DEFINE_GUID(IID_IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0xb3, 0xa2, 0x79, 0x6a, 0xf8, 0xb8, 0x9b);
88 
89 /* IID_IDirect3DVolume9 */
90 /* {24F416E6-1F67-4aa7-B88E-D33F6F3128A1} */
91 DEFINE_GUID(IID_IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, 0x8e, 0xd3, 0x3f, 0x6f, 0x31, 0x28, 0xa1);
92 
93 /* IID_IDirect3DSwapChain9 */
94 /* {794950F2-ADFC-458a-905E-10A10B0B503B} */
95 DEFINE_GUID(IID_IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, 0x5e, 0x10, 0xa1, 0xb, 0xb, 0x50, 0x3b);
96 
97 /* IID_IDirect3DVertexDeclaration9 */
98 /* {DD13C59C-36FA-4098-A8FB-C7ED39DC8546} */
99 DEFINE_GUID(IID_IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, 0xfb, 0xc7, 0xed, 0x39, 0xdc, 0x85, 0x46);
100 
101 /* IID_IDirect3DVertexShader9 */
102 /* {EFC5557E-6265-4613-8A94-43857889EB36} */
103 DEFINE_GUID(IID_IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, 0x94, 0x43, 0x85, 0x78, 0x89, 0xeb, 0x36);
104 
105 /* IID_IDirect3DPixelShader9 */
106 /* {6D3BDBDC-5B02-4415-B852-CE5E8BCCB289} */
107 DEFINE_GUID(IID_IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, 0x52, 0xce, 0x5e, 0x8b, 0xcc, 0xb2, 0x89);
108 
109 /* IID_IDirect3DStateBlock9 */
110 /* {B07C4FE5-310D-4ba8-A23C-4F0F206F218B} */
111 DEFINE_GUID(IID_IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, 0x3c, 0x4f, 0xf, 0x20, 0x6f, 0x21, 0x8b);
112 
113 /* IID_IDirect3DQuery9 */
114 /* {d9771460-a695-4f26-bbd3-27b840b541cc} */
115 DEFINE_GUID(IID_IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, 0xd3, 0x27, 0xb8, 0x40, 0xb5, 0x41, 0xcc);
116 
117 
118 #endif
119 
120 #ifdef __cplusplus
121 
122 #ifndef DECLSPEC_UUID
123 #if _MSC_VER >= 1100
124 #define DECLSPEC_UUID(x) __declspec(uuid(x))
125 #else
126 #define DECLSPEC_UUID(x)
127 #endif
128 #endif
129 
130 interface DECLSPEC_UUID("81BDCBCA-64D4-426d-AE8D-AD0147F4275C") IDirect3D9;
131 interface DECLSPEC_UUID("D0223B96-BF7A-43fd-92BD-A43B0D82B9EB") IDirect3DDevice9;
132 
133 interface DECLSPEC_UUID("B07C4FE5-310D-4ba8-A23C-4F0F206F218B") IDirect3DStateBlock9;
134 interface DECLSPEC_UUID("05EEC05D-8F7D-4362-B999-D1BAF357C704") IDirect3DResource9;
135 interface DECLSPEC_UUID("DD13C59C-36FA-4098-A8FB-C7ED39DC8546") IDirect3DVertexDeclaration9;
136 interface DECLSPEC_UUID("EFC5557E-6265-4613-8A94-43857889EB36") IDirect3DVertexShader9;
137 interface DECLSPEC_UUID("6D3BDBDC-5B02-4415-B852-CE5E8BCCB289") IDirect3DPixelShader9;
138 interface DECLSPEC_UUID("580CA87E-1D3C-4d54-991D-B7D3E3C298CE") IDirect3DBaseTexture9;
139 interface DECLSPEC_UUID("85C31227-3DE5-4f00-9B3A-F11AC38C18B5") IDirect3DTexture9;
140 interface DECLSPEC_UUID("2518526C-E789-4111-A7B9-47EF328D13E6") IDirect3DVolumeTexture9;
141 interface DECLSPEC_UUID("FFF32F81-D953-473a-9223-93D652ABA93F") IDirect3DCubeTexture9;
142 
143 interface DECLSPEC_UUID("B64BB1B5-FD70-4df6-BF91-19D0A12455E3") IDirect3DVertexBuffer9;
144 interface DECLSPEC_UUID("7C9DD65E-D3F7-4529-ACEE-785830ACDE35") IDirect3DIndexBuffer9;
145 
146 interface DECLSPEC_UUID("0CFBAF3A-9FF6-429a-99B3-A2796AF8B89B") IDirect3DSurface9;
147 interface DECLSPEC_UUID("24F416E6-1F67-4aa7-B88E-D33F6F3128A1") IDirect3DVolume9;
148 
149 interface DECLSPEC_UUID("794950F2-ADFC-458a-905E-10A10B0B503B") IDirect3DSwapChain9;
150 interface DECLSPEC_UUID("d9771460-a695-4f26-bbd3-27b840b541cc") IDirect3DQuery9;
151 
152 
153 #if defined(_COM_SMARTPTR_TYPEDEF)
154 _COM_SMARTPTR_TYPEDEF(IDirect3D9, __uuidof(IDirect3D9));
155 _COM_SMARTPTR_TYPEDEF(IDirect3DDevice9, __uuidof(IDirect3DDevice9));
156 
157 _COM_SMARTPTR_TYPEDEF(IDirect3DStateBlock9, __uuidof(IDirect3DStateBlock9));
158 _COM_SMARTPTR_TYPEDEF(IDirect3DResource9, __uuidof(IDirect3DResource9));
159 _COM_SMARTPTR_TYPEDEF(IDirect3DVertexDeclaration9, __uuidof(IDirect3DVertexDeclaration9));
160 _COM_SMARTPTR_TYPEDEF(IDirect3DVertexShader9, __uuidof(IDirect3DVertexShader9));
161 _COM_SMARTPTR_TYPEDEF(IDirect3DPixelShader9, __uuidof(IDirect3DPixelShader9));
162 _COM_SMARTPTR_TYPEDEF(IDirect3DBaseTexture9, __uuidof(IDirect3DBaseTexture9));
163 _COM_SMARTPTR_TYPEDEF(IDirect3DTexture9, __uuidof(IDirect3DTexture9));
164 _COM_SMARTPTR_TYPEDEF(IDirect3DVolumeTexture9, __uuidof(IDirect3DVolumeTexture9));
165 _COM_SMARTPTR_TYPEDEF(IDirect3DCubeTexture9, __uuidof(IDirect3DCubeTexture9));
166 
167 _COM_SMARTPTR_TYPEDEF(IDirect3DVertexBuffer9, __uuidof(IDirect3DVertexBuffer9));
168 _COM_SMARTPTR_TYPEDEF(IDirect3DIndexBuffer9, __uuidof(IDirect3DIndexBuffer9));
169 
170 _COM_SMARTPTR_TYPEDEF(IDirect3DSurface9, __uuidof(IDirect3DSurface9));
171 _COM_SMARTPTR_TYPEDEF(IDirect3DVolume9, __uuidof(IDirect3DVolume9));
172 
173 _COM_SMARTPTR_TYPEDEF(IDirect3DSwapChain9, __uuidof(IDirect3DSwapChain9));
174 _COM_SMARTPTR_TYPEDEF(IDirect3DQuery9, __uuidof(IDirect3DQuery9));
175 
176 #endif
177 #endif
178 
179 
180 typedef interface IDirect3D9 IDirect3D9;
197 
198 #include "d3d9types.h"
199 #include "d3d9caps.h"
200 
201 #ifdef __cplusplus
202 extern "C" {
203 #endif
204 
205 /*
206  * DLL Function for creating a Direct3D9 object. This object supports
207  * enumeration and allows the creation of Direct3DDevice9 objects.
208  * Pass the value of the constant D3D_SDK_VERSION to this function, so
209  * that the run-time can validate that your application was compiled
210  * against the right headers.
211  */
212 
214 
215 
216 /*
217  * Direct3D interfaces
218  */
219 
220 
221 
222 
223 
224 #undef INTERFACE
225 #define INTERFACE IDirect3D9
226 
228 {
229  /*** IUnknown methods ***/
230  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
231  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
232  STDMETHOD_(ULONG,Release)(THIS) PURE;
233 
234  /*** IDirect3D9 methods ***/
235  STDMETHOD(RegisterSoftwareDevice)(THIS_ void* pInitializeFunction) PURE;
236  STDMETHOD_(UINT, GetAdapterCount)(THIS) PURE;
237  STDMETHOD(GetAdapterIdentifier)(THIS_ UINT Adapter,DWORD Flags,D3DADAPTER_IDENTIFIER9* pIdentifier) PURE;
238  STDMETHOD_(UINT, GetAdapterModeCount)(THIS_ UINT Adapter,D3DFORMAT Format) PURE;
239  STDMETHOD(EnumAdapterModes)(THIS_ UINT Adapter,D3DFORMAT Format,UINT Mode,D3DDISPLAYMODE* pMode) PURE;
240  STDMETHOD(GetAdapterDisplayMode)(THIS_ UINT Adapter,D3DDISPLAYMODE* pMode) PURE;
241  STDMETHOD(CheckDeviceType)(THIS_ UINT iAdapter,D3DDEVTYPE DevType,D3DFORMAT DisplayFormat,D3DFORMAT BackBufferFormat,BOOL bWindowed) PURE;
242  STDMETHOD(CheckDeviceFormat)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,D3DFORMAT AdapterFormat,DWORD Usage,D3DRESOURCETYPE RType,D3DFORMAT CheckFormat) PURE;
243  STDMETHOD(CheckDeviceMultiSampleType)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,D3DFORMAT SurfaceFormat,BOOL Windowed,D3DMULTISAMPLE_TYPE MultiSampleType,DWORD* pQualityLevels) PURE;
244  STDMETHOD(CheckDepthStencilMatch)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,D3DFORMAT AdapterFormat,D3DFORMAT RenderTargetFormat,D3DFORMAT DepthStencilFormat) PURE;
245  STDMETHOD(CheckDeviceFormatConversion)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,D3DFORMAT SourceFormat,D3DFORMAT TargetFormat) PURE;
246  STDMETHOD(GetDeviceCaps)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,D3DCAPS9* pCaps) PURE;
247  STDMETHOD_(HMONITOR, GetAdapterMonitor)(THIS_ UINT Adapter) PURE;
248  STDMETHOD(CreateDevice)(THIS_ UINT Adapter,D3DDEVTYPE DeviceType,HWND hFocusWindow,DWORD BehaviorFlags,D3DPRESENT_PARAMETERS* pPresentationParameters,IDirect3DDevice9** ppReturnedDeviceInterface) PURE;
249 };
250 
252 
253 #if !defined(__cplusplus) || defined(CINTERFACE)
254 #define IDirect3D9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
255 #define IDirect3D9_AddRef(p) (p)->lpVtbl->AddRef(p)
256 #define IDirect3D9_Release(p) (p)->lpVtbl->Release(p)
257 #define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a)
258 #define IDirect3D9_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p)
259 #define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c)
260 #define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->lpVtbl->GetAdapterModeCount(p,a,b)
261 #define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->lpVtbl->EnumAdapterModes(p,a,b,c,d)
262 #define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b)
263 #define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e)
264 #define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f)
265 #define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e,f)
266 #define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e)
267 #define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->lpVtbl->CheckDeviceFormatConversion(p,a,b,c,d)
268 #define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c)
269 #define IDirect3D9_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a)
270 #define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f)
271 #else
272 #define IDirect3D9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
273 #define IDirect3D9_AddRef(p) (p)->AddRef()
274 #define IDirect3D9_Release(p) (p)->Release()
275 #define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->RegisterSoftwareDevice(a)
276 #define IDirect3D9_GetAdapterCount(p) (p)->GetAdapterCount()
277 #define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->GetAdapterIdentifier(a,b,c)
278 #define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->GetAdapterModeCount(a,b)
279 #define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->EnumAdapterModes(a,b,c,d)
280 #define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->GetAdapterDisplayMode(a,b)
281 #define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->CheckDeviceType(a,b,c,d,e)
282 #define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->CheckDeviceFormat(a,b,c,d,e,f)
283 #define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->CheckDeviceMultiSampleType(a,b,c,d,e,f)
284 #define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->CheckDepthStencilMatch(a,b,c,d,e)
285 #define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->CheckDeviceFormatConversion(a,b,c,d)
286 #define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->GetDeviceCaps(a,b,c)
287 #define IDirect3D9_GetAdapterMonitor(p,a) (p)->GetAdapterMonitor(a)
288 #define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->CreateDevice(a,b,c,d,e,f)
289 #endif
290 
291 
292 
293 
294 
295 
296 
297 /* SwapChain */
298 
299 
300 
301 
302 
303 
304 
305 
306 
307 
308 
309 
310 
311 
312 
313 #undef INTERFACE
314 #define INTERFACE IDirect3DDevice9
315 
317 {
318  /*** IUnknown methods ***/
319  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
320  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
321  STDMETHOD_(ULONG,Release)(THIS) PURE;
322 
323  /*** IDirect3DDevice9 methods ***/
324  STDMETHOD(TestCooperativeLevel)(THIS) PURE;
325  STDMETHOD_(UINT, GetAvailableTextureMem)(THIS) PURE;
326  STDMETHOD(EvictManagedResources)(THIS) PURE;
327  STDMETHOD(GetDirect3D)(THIS_ IDirect3D9** ppD3D9) PURE;
328  STDMETHOD(GetDeviceCaps)(THIS_ D3DCAPS9* pCaps) PURE;
329  STDMETHOD(GetDisplayMode)(THIS_ UINT iSwapChain,D3DDISPLAYMODE* pMode) PURE;
330  STDMETHOD(GetCreationParameters)(THIS_ D3DDEVICE_CREATION_PARAMETERS *pParameters) PURE;
331  STDMETHOD(SetCursorProperties)(THIS_ UINT XHotSpot,UINT YHotSpot,IDirect3DSurface9* pCursorBitmap) PURE;
332  STDMETHOD_(void, SetCursorPosition)(THIS_ int X,int Y,DWORD Flags) PURE;
333  STDMETHOD_(BOOL, ShowCursor)(THIS_ BOOL bShow) PURE;
334  STDMETHOD(CreateAdditionalSwapChain)(THIS_ D3DPRESENT_PARAMETERS* pPresentationParameters,IDirect3DSwapChain9** pSwapChain) PURE;
335  STDMETHOD(GetSwapChain)(THIS_ UINT iSwapChain,IDirect3DSwapChain9** pSwapChain) PURE;
336  STDMETHOD_(UINT, GetNumberOfSwapChains)(THIS) PURE;
337  STDMETHOD(Reset)(THIS_ D3DPRESENT_PARAMETERS* pPresentationParameters) PURE;
338  STDMETHOD(Present)(THIS_ CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion) PURE;
339  STDMETHOD(GetBackBuffer)(THIS_ UINT iSwapChain,UINT iBackBuffer,D3DBACKBUFFER_TYPE Type,IDirect3DSurface9** ppBackBuffer) PURE;
340  STDMETHOD(GetRasterStatus)(THIS_ UINT iSwapChain,D3DRASTER_STATUS* pRasterStatus) PURE;
341  STDMETHOD(SetDialogBoxMode)(THIS_ BOOL bEnableDialogs) PURE;
342  STDMETHOD_(void, SetGammaRamp)(THIS_ UINT iSwapChain,DWORD Flags,CONST D3DGAMMARAMP* pRamp) PURE;
343  STDMETHOD_(void, GetGammaRamp)(THIS_ UINT iSwapChain,D3DGAMMARAMP* pRamp) PURE;
344  STDMETHOD(CreateTexture)(THIS_ UINT Width,UINT Height,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DTexture9** ppTexture,HANDLE* pSharedHandle) PURE;
345  STDMETHOD(CreateVolumeTexture)(THIS_ UINT Width,UINT Height,UINT Depth,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DVolumeTexture9** ppVolumeTexture,HANDLE* pSharedHandle) PURE;
346  STDMETHOD(CreateCubeTexture)(THIS_ UINT EdgeLength,UINT Levels,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DCubeTexture9** ppCubeTexture,HANDLE* pSharedHandle) PURE;
347  STDMETHOD(CreateVertexBuffer)(THIS_ UINT Length,DWORD Usage,DWORD FVF,D3DPOOL Pool,IDirect3DVertexBuffer9** ppVertexBuffer,HANDLE* pSharedHandle) PURE;
348  STDMETHOD(CreateIndexBuffer)(THIS_ UINT Length,DWORD Usage,D3DFORMAT Format,D3DPOOL Pool,IDirect3DIndexBuffer9** ppIndexBuffer,HANDLE* pSharedHandle) PURE;
349  STDMETHOD(CreateRenderTarget)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,D3DMULTISAMPLE_TYPE MultiSample,DWORD MultisampleQuality,BOOL Lockable,IDirect3DSurface9** ppSurface,HANDLE* pSharedHandle) PURE;
350  STDMETHOD(CreateDepthStencilSurface)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,D3DMULTISAMPLE_TYPE MultiSample,DWORD MultisampleQuality,BOOL Discard,IDirect3DSurface9** ppSurface,HANDLE* pSharedHandle) PURE;
351  STDMETHOD(UpdateSurface)(THIS_ IDirect3DSurface9* pSourceSurface,CONST RECT* pSourceRect,IDirect3DSurface9* pDestinationSurface,CONST POINT* pDestPoint) PURE;
352  STDMETHOD(UpdateTexture)(THIS_ IDirect3DBaseTexture9* pSourceTexture,IDirect3DBaseTexture9* pDestinationTexture) PURE;
353  STDMETHOD(GetRenderTargetData)(THIS_ IDirect3DSurface9* pRenderTarget,IDirect3DSurface9* pDestSurface) PURE;
354  STDMETHOD(GetFrontBufferData)(THIS_ UINT iSwapChain,IDirect3DSurface9* pDestSurface) PURE;
355  STDMETHOD(StretchRect)(THIS_ IDirect3DSurface9* pSourceSurface,CONST RECT* pSourceRect,IDirect3DSurface9* pDestSurface,CONST RECT* pDestRect,D3DTEXTUREFILTERTYPE Filter) PURE;
356  STDMETHOD(ColorFill)(THIS_ IDirect3DSurface9* pSurface,CONST RECT* pRect,D3DCOLOR color) PURE;
357  STDMETHOD(CreateOffscreenPlainSurface)(THIS_ UINT Width,UINT Height,D3DFORMAT Format,D3DPOOL Pool,IDirect3DSurface9** ppSurface,HANDLE* pSharedHandle) PURE;
358  STDMETHOD(SetRenderTarget)(THIS_ DWORD RenderTargetIndex,IDirect3DSurface9* pRenderTarget) PURE;
359  STDMETHOD(GetRenderTarget)(THIS_ DWORD RenderTargetIndex,IDirect3DSurface9** ppRenderTarget) PURE;
360  STDMETHOD(SetDepthStencilSurface)(THIS_ IDirect3DSurface9* pNewZStencil) PURE;
361  STDMETHOD(GetDepthStencilSurface)(THIS_ IDirect3DSurface9** ppZStencilSurface) PURE;
362  STDMETHOD(BeginScene)(THIS) PURE;
363  STDMETHOD(EndScene)(THIS) PURE;
364  STDMETHOD(Clear)(THIS_ DWORD Count,CONST D3DRECT* pRects,DWORD Flags,D3DCOLOR Color,float Z,DWORD Stencil) PURE;
365  STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX* pMatrix) PURE;
366  STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE State,D3DMATRIX* pMatrix) PURE;
367  STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE,CONST D3DMATRIX*) PURE;
368  STDMETHOD(SetViewport)(THIS_ CONST D3DVIEWPORT9* pViewport) PURE;
369  STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT9* pViewport) PURE;
370  STDMETHOD(SetMaterial)(THIS_ CONST D3DMATERIAL9* pMaterial) PURE;
371  STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL9* pMaterial) PURE;
372  STDMETHOD(SetLight)(THIS_ DWORD Index,CONST D3DLIGHT9*) PURE;
373  STDMETHOD(GetLight)(THIS_ DWORD Index,D3DLIGHT9*) PURE;
374  STDMETHOD(LightEnable)(THIS_ DWORD Index,BOOL Enable) PURE;
375  STDMETHOD(GetLightEnable)(THIS_ DWORD Index,BOOL* pEnable) PURE;
376  STDMETHOD(SetClipPlane)(THIS_ DWORD Index,CONST float* pPlane) PURE;
377  STDMETHOD(GetClipPlane)(THIS_ DWORD Index,float* pPlane) PURE;
378  STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE State,DWORD Value) PURE;
379  STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE State,DWORD* pValue) PURE;
380  STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE Type,IDirect3DStateBlock9** ppSB) PURE;
381  STDMETHOD(BeginStateBlock)(THIS) PURE;
382  STDMETHOD(EndStateBlock)(THIS_ IDirect3DStateBlock9** ppSB) PURE;
383  STDMETHOD(SetClipStatus)(THIS_ CONST D3DCLIPSTATUS9* pClipStatus) PURE;
384  STDMETHOD(GetClipStatus)(THIS_ D3DCLIPSTATUS9* pClipStatus) PURE;
385  STDMETHOD(GetTexture)(THIS_ DWORD Stage,IDirect3DBaseTexture9** ppTexture) PURE;
386  STDMETHOD(SetTexture)(THIS_ DWORD Stage,IDirect3DBaseTexture9* pTexture) PURE;
387  STDMETHOD(GetTextureStageState)(THIS_ DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD* pValue) PURE;
388  STDMETHOD(SetTextureStageState)(THIS_ DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD Value) PURE;
389  STDMETHOD(GetSamplerState)(THIS_ DWORD Sampler,D3DSAMPLERSTATETYPE Type,DWORD* pValue) PURE;
390  STDMETHOD(SetSamplerState)(THIS_ DWORD Sampler,D3DSAMPLERSTATETYPE Type,DWORD Value) PURE;
391  STDMETHOD(ValidateDevice)(THIS_ DWORD* pNumPasses) PURE;
392  STDMETHOD(SetPaletteEntries)(THIS_ UINT PaletteNumber,CONST PALETTEENTRY* pEntries) PURE;
393  STDMETHOD(GetPaletteEntries)(THIS_ UINT PaletteNumber,PALETTEENTRY* pEntries) PURE;
394  STDMETHOD(SetCurrentTexturePalette)(THIS_ UINT PaletteNumber) PURE;
395  STDMETHOD(GetCurrentTexturePalette)(THIS_ UINT *PaletteNumber) PURE;
396  STDMETHOD(SetScissorRect)(THIS_ CONST RECT* pRect) PURE;
397  STDMETHOD(GetScissorRect)(THIS_ RECT* pRect) PURE;
398  STDMETHOD(SetSoftwareVertexProcessing)(THIS_ BOOL bSoftware) PURE;
399  STDMETHOD_(BOOL, GetSoftwareVertexProcessing)(THIS) PURE;
400  STDMETHOD(SetNPatchMode)(THIS_ float nSegments) PURE;
401  STDMETHOD_(float, GetNPatchMode)(THIS) PURE;
402  STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE PrimitiveType,UINT StartVertex,UINT PrimitiveCount) PURE;
403  STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount) PURE;
404  STDMETHOD(DrawPrimitiveUP)(THIS_ D3DPRIMITIVETYPE PrimitiveType,UINT PrimitiveCount,CONST void* pVertexStreamZeroData,UINT VertexStreamZeroStride) PURE;
405  STDMETHOD(DrawIndexedPrimitiveUP)(THIS_ D3DPRIMITIVETYPE PrimitiveType,UINT MinVertexIndex,UINT NumVertices,UINT PrimitiveCount,CONST void* pIndexData,D3DFORMAT IndexDataFormat,CONST void* pVertexStreamZeroData,UINT VertexStreamZeroStride) PURE;
406  STDMETHOD(ProcessVertices)(THIS_ UINT SrcStartIndex,UINT DestIndex,UINT VertexCount,IDirect3DVertexBuffer9* pDestBuffer,IDirect3DVertexDeclaration9* pVertexDecl,DWORD Flags) PURE;
407  STDMETHOD(CreateVertexDeclaration)(THIS_ CONST D3DVERTEXELEMENT9* pVertexElements,IDirect3DVertexDeclaration9** ppDecl) PURE;
408  STDMETHOD(SetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9* pDecl) PURE;
409  STDMETHOD(GetVertexDeclaration)(THIS_ IDirect3DVertexDeclaration9** ppDecl) PURE;
410  STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE;
411  STDMETHOD(GetFVF)(THIS_ DWORD* pFVF) PURE;
412  STDMETHOD(CreateVertexShader)(THIS_ CONST DWORD* pFunction,IDirect3DVertexShader9** ppShader) PURE;
413  STDMETHOD(SetVertexShader)(THIS_ IDirect3DVertexShader9* pShader) PURE;
414  STDMETHOD(GetVertexShader)(THIS_ IDirect3DVertexShader9** ppShader) PURE;
415  STDMETHOD(SetVertexShaderConstantF)(THIS_ UINT StartRegister,CONST float* pConstantData,UINT Vector4fCount) PURE;
416  STDMETHOD(GetVertexShaderConstantF)(THIS_ UINT StartRegister,float* pConstantData,UINT Vector4fCount) PURE;
417  STDMETHOD(SetVertexShaderConstantI)(THIS_ UINT StartRegister,CONST int* pConstantData,UINT Vector4iCount) PURE;
418  STDMETHOD(GetVertexShaderConstantI)(THIS_ UINT StartRegister,int* pConstantData,UINT Vector4iCount) PURE;
419  STDMETHOD(SetVertexShaderConstantB)(THIS_ UINT StartRegister,CONST BOOL* pConstantData,UINT BoolCount) PURE;
420  STDMETHOD(GetVertexShaderConstantB)(THIS_ UINT StartRegister,BOOL* pConstantData,UINT BoolCount) PURE;
421  STDMETHOD(SetStreamSource)(THIS_ UINT StreamNumber,IDirect3DVertexBuffer9* pStreamData,UINT OffsetInBytes,UINT Stride) PURE;
422  STDMETHOD(GetStreamSource)(THIS_ UINT StreamNumber,IDirect3DVertexBuffer9** ppStreamData,UINT* OffsetInBytes,UINT* pStride) PURE;
423  STDMETHOD(SetStreamSourceFreq)(THIS_ UINT StreamNumber,UINT Divider) PURE;
424  STDMETHOD(GetStreamSourceFreq)(THIS_ UINT StreamNumber,UINT* Divider) PURE;
425  STDMETHOD(SetIndices)(THIS_ IDirect3DIndexBuffer9* pIndexData) PURE;
426  STDMETHOD(GetIndices)(THIS_ IDirect3DIndexBuffer9** ppIndexData) PURE;
427  STDMETHOD(CreatePixelShader)(THIS_ CONST DWORD* pFunction,IDirect3DPixelShader9** ppShader) PURE;
428  STDMETHOD(SetPixelShader)(THIS_ IDirect3DPixelShader9* pShader) PURE;
429  STDMETHOD(GetPixelShader)(THIS_ IDirect3DPixelShader9** ppShader) PURE;
430  STDMETHOD(SetPixelShaderConstantF)(THIS_ UINT StartRegister,CONST float* pConstantData,UINT Vector4fCount) PURE;
431  STDMETHOD(GetPixelShaderConstantF)(THIS_ UINT StartRegister,float* pConstantData,UINT Vector4fCount) PURE;
432  STDMETHOD(SetPixelShaderConstantI)(THIS_ UINT StartRegister,CONST int* pConstantData,UINT Vector4iCount) PURE;
433  STDMETHOD(GetPixelShaderConstantI)(THIS_ UINT StartRegister,int* pConstantData,UINT Vector4iCount) PURE;
434  STDMETHOD(SetPixelShaderConstantB)(THIS_ UINT StartRegister,CONST BOOL* pConstantData,UINT BoolCount) PURE;
435  STDMETHOD(GetPixelShaderConstantB)(THIS_ UINT StartRegister,BOOL* pConstantData,UINT BoolCount) PURE;
436  STDMETHOD(DrawRectPatch)(THIS_ UINT Handle,CONST float* pNumSegs,CONST D3DRECTPATCH_INFO* pRectPatchInfo) PURE;
437  STDMETHOD(DrawTriPatch)(THIS_ UINT Handle,CONST float* pNumSegs,CONST D3DTRIPATCH_INFO* pTriPatchInfo) PURE;
438  STDMETHOD(DeletePatch)(THIS_ UINT Handle) PURE;
439  STDMETHOD(CreateQuery)(THIS_ D3DQUERYTYPE Type,IDirect3DQuery9** ppQuery) PURE;
440 };
441 
443 
444 #if !defined(__cplusplus) || defined(CINTERFACE)
445 #define IDirect3DDevice9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
446 #define IDirect3DDevice9_AddRef(p) (p)->lpVtbl->AddRef(p)
447 #define IDirect3DDevice9_Release(p) (p)->lpVtbl->Release(p)
448 #define IDirect3DDevice9_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p)
449 #define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p)
450 #define IDirect3DDevice9_EvictManagedResources(p) (p)->lpVtbl->EvictManagedResources(p)
451 #define IDirect3DDevice9_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
452 #define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a)
453 #define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b)
454 #define IDirect3DDevice9_GetCreationParameters(p,a) (p)->lpVtbl->GetCreationParameters(p,a)
455 #define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->lpVtbl->SetCursorProperties(p,a,b,c)
456 #define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->lpVtbl->SetCursorPosition(p,a,b,c)
457 #define IDirect3DDevice9_ShowCursor(p,a) (p)->lpVtbl->ShowCursor(p,a)
458 #define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->lpVtbl->CreateAdditionalSwapChain(p,a,b)
459 #define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->lpVtbl->GetSwapChain(p,a,b)
460 #define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p)
461 #define IDirect3DDevice9_Reset(p,a) (p)->lpVtbl->Reset(p,a)
462 #define IDirect3DDevice9_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d)
463 #define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d)
464 #define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->lpVtbl->GetRasterStatus(p,a,b)
465 #define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a)
466 #define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->lpVtbl->SetGammaRamp(p,a,b,c)
467 #define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b)
468 #define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g,h)
469 #define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i)
470 #define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g)
471 #define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e,f)
472 #define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e,f)
473 #define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f,g,h)
474 #define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h)
475 #define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->lpVtbl->UpdateSurface(p,a,b,c,d)
476 #define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b)
477 #define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->lpVtbl->GetRenderTargetData(p,a,b)
478 #define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->lpVtbl->GetFrontBufferData(p,a,b)
479 #define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->lpVtbl->StretchRect(p,a,b,c,d,e)
480 #define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->lpVtbl->ColorFill(p,a,b,c)
481 #define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->lpVtbl->CreateOffscreenPlainSurface(p,a,b,c,d,e,f)
482 #define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
483 #define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b)
484 #define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->lpVtbl->SetDepthStencilSurface(p,a)
485 #define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a)
486 #define IDirect3DDevice9_BeginScene(p) (p)->lpVtbl->BeginScene(p)
487 #define IDirect3DDevice9_EndScene(p) (p)->lpVtbl->EndScene(p)
488 #define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f)
489 #define IDirect3DDevice9_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b)
490 #define IDirect3DDevice9_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b)
491 #define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b)
492 #define IDirect3DDevice9_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a)
493 #define IDirect3DDevice9_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a)
494 #define IDirect3DDevice9_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a)
495 #define IDirect3DDevice9_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a)
496 #define IDirect3DDevice9_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b)
497 #define IDirect3DDevice9_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b)
498 #define IDirect3DDevice9_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b)
499 #define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b)
500 #define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b)
501 #define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b)
502 #define IDirect3DDevice9_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b)
503 #define IDirect3DDevice9_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
504 #define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b)
505 #define IDirect3DDevice9_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p)
506 #define IDirect3DDevice9_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a)
507 #define IDirect3DDevice9_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a)
508 #define IDirect3DDevice9_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a)
509 #define IDirect3DDevice9_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
510 #define IDirect3DDevice9_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b)
511 #define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c)
512 #define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c)
513 #define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c)
514 #define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c)
515 #define IDirect3DDevice9_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a)
516 #define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b)
517 #define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b)
518 #define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a)
519 #define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a)
520 #define IDirect3DDevice9_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a)
521 #define IDirect3DDevice9_GetScissorRect(p,a) (p)->lpVtbl->GetScissorRect(p,a)
522 #define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->lpVtbl->SetSoftwareVertexProcessing(p,a)
523 #define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->lpVtbl->GetSoftwareVertexProcessing(p)
524 #define IDirect3DDevice9_SetNPatchMode(p,a) (p)->lpVtbl->SetNPatchMode(p,a)
525 #define IDirect3DDevice9_GetNPatchMode(p) (p)->lpVtbl->GetNPatchMode(p)
526 #define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c)
527 #define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f)
528 #define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d)
529 #define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h)
530 #define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f)
531 #define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->lpVtbl->CreateVertexDeclaration(p,a,b)
532 #define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->lpVtbl->SetVertexDeclaration(p,a)
533 #define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->lpVtbl->GetVertexDeclaration(p,a)
534 #define IDirect3DDevice9_SetFVF(p,a) (p)->lpVtbl->SetFVF(p,a)
535 #define IDirect3DDevice9_GetFVF(p,a) (p)->lpVtbl->GetFVF(p,a)
536 #define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->lpVtbl->CreateVertexShader(p,a,b)
537 #define IDirect3DDevice9_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a)
538 #define IDirect3DDevice9_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a)
539 #define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantF(p,a,b,c)
540 #define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantF(p,a,b,c)
541 #define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantI(p,a,b,c)
542 #define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantI(p,a,b,c)
543 #define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantB(p,a,b,c)
544 #define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantB(p,a,b,c)
545 #define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->lpVtbl->SetStreamSource(p,a,b,c,d)
546 #define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->lpVtbl->GetStreamSource(p,a,b,c,d)
547 #define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->lpVtbl->SetStreamSourceFreq(p,a,b)
548 #define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->lpVtbl->GetStreamSourceFreq(p,a,b)
549 #define IDirect3DDevice9_SetIndices(p,a) (p)->lpVtbl->SetIndices(p,a)
550 #define IDirect3DDevice9_GetIndices(p,a) (p)->lpVtbl->GetIndices(p,a)
551 #define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b)
552 #define IDirect3DDevice9_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a)
553 #define IDirect3DDevice9_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a)
554 #define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantF(p,a,b,c)
555 #define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantF(p,a,b,c)
556 #define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantI(p,a,b,c)
557 #define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantI(p,a,b,c)
558 #define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantB(p,a,b,c)
559 #define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantB(p,a,b,c)
560 #define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c)
561 #define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c)
562 #define IDirect3DDevice9_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a)
563 #define IDirect3DDevice9_CreateQuery(p,a,b) (p)->lpVtbl->CreateQuery(p,a,b)
564 #else
565 #define IDirect3DDevice9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
566 #define IDirect3DDevice9_AddRef(p) (p)->AddRef()
567 #define IDirect3DDevice9_Release(p) (p)->Release()
568 #define IDirect3DDevice9_TestCooperativeLevel(p) (p)->TestCooperativeLevel()
569 #define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->GetAvailableTextureMem()
570 #define IDirect3DDevice9_EvictManagedResources(p) (p)->EvictManagedResources()
571 #define IDirect3DDevice9_GetDirect3D(p,a) (p)->GetDirect3D(a)
572 #define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->GetDeviceCaps(a)
573 #define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->GetDisplayMode(a,b)
574 #define IDirect3DDevice9_GetCreationParameters(p,a) (p)->GetCreationParameters(a)
575 #define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->SetCursorProperties(a,b,c)
576 #define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->SetCursorPosition(a,b,c)
577 #define IDirect3DDevice9_ShowCursor(p,a) (p)->ShowCursor(a)
578 #define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->CreateAdditionalSwapChain(a,b)
579 #define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->GetSwapChain(a,b)
580 #define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->GetNumberOfSwapChains()
581 #define IDirect3DDevice9_Reset(p,a) (p)->Reset(a)
582 #define IDirect3DDevice9_Present(p,a,b,c,d) (p)->Present(a,b,c,d)
583 #define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->GetBackBuffer(a,b,c,d)
584 #define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->GetRasterStatus(a,b)
585 #define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->SetDialogBoxMode(a)
586 #define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->SetGammaRamp(a,b,c)
587 #define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->GetGammaRamp(a,b)
588 #define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->CreateTexture(a,b,c,d,e,f,g,h)
589 #define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->CreateVolumeTexture(a,b,c,d,e,f,g,h,i)
590 #define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->CreateCubeTexture(a,b,c,d,e,f,g)
591 #define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->CreateVertexBuffer(a,b,c,d,e,f)
592 #define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->CreateIndexBuffer(a,b,c,d,e,f)
593 #define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->CreateRenderTarget(a,b,c,d,e,f,g,h)
594 #define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->CreateDepthStencilSurface(a,b,c,d,e,f,g,h)
595 #define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->UpdateSurface(a,b,c,d)
596 #define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->UpdateTexture(a,b)
597 #define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->GetRenderTargetData(a,b)
598 #define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->GetFrontBufferData(a,b)
599 #define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->StretchRect(a,b,c,d,e)
600 #define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->ColorFill(a,b,c)
601 #define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->CreateOffscreenPlainSurface(a,b,c,d,e,f)
602 #define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b)
603 #define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->GetRenderTarget(a,b)
604 #define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->SetDepthStencilSurface(a)
605 #define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->GetDepthStencilSurface(a)
606 #define IDirect3DDevice9_BeginScene(p) (p)->BeginScene()
607 #define IDirect3DDevice9_EndScene(p) (p)->EndScene()
608 #define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f)
609 #define IDirect3DDevice9_SetTransform(p,a,b) (p)->SetTransform(a,b)
610 #define IDirect3DDevice9_GetTransform(p,a,b) (p)->GetTransform(a,b)
611 #define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b)
612 #define IDirect3DDevice9_SetViewport(p,a) (p)->SetViewport(a)
613 #define IDirect3DDevice9_GetViewport(p,a) (p)->GetViewport(a)
614 #define IDirect3DDevice9_SetMaterial(p,a) (p)->SetMaterial(a)
615 #define IDirect3DDevice9_GetMaterial(p,a) (p)->GetMaterial(a)
616 #define IDirect3DDevice9_SetLight(p,a,b) (p)->SetLight(a,b)
617 #define IDirect3DDevice9_GetLight(p,a,b) (p)->GetLight(a,b)
618 #define IDirect3DDevice9_LightEnable(p,a,b) (p)->LightEnable(a,b)
619 #define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b)
620 #define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b)
621 #define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b)
622 #define IDirect3DDevice9_SetRenderState(p,a,b) (p)->SetRenderState(a,b)
623 #define IDirect3DDevice9_GetRenderState(p,a,b) (p)->GetRenderState(a,b)
624 #define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b)
625 #define IDirect3DDevice9_BeginStateBlock(p) (p)->BeginStateBlock()
626 #define IDirect3DDevice9_EndStateBlock(p,a) (p)->EndStateBlock(a)
627 #define IDirect3DDevice9_SetClipStatus(p,a) (p)->SetClipStatus(a)
628 #define IDirect3DDevice9_GetClipStatus(p,a) (p)->GetClipStatus(a)
629 #define IDirect3DDevice9_GetTexture(p,a,b) (p)->GetTexture(a,b)
630 #define IDirect3DDevice9_SetTexture(p,a,b) (p)->SetTexture(a,b)
631 #define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c)
632 #define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c)
633 #define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->GetSamplerState(a,b,c)
634 #define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->SetSamplerState(a,b,c)
635 #define IDirect3DDevice9_ValidateDevice(p,a) (p)->ValidateDevice(a)
636 #define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->SetPaletteEntries(a,b)
637 #define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->GetPaletteEntries(a,b)
638 #define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->SetCurrentTexturePalette(a)
639 #define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->GetCurrentTexturePalette(a)
640 #define IDirect3DDevice9_SetScissorRect(p,a) (p)->SetScissorRect(a)
641 #define IDirect3DDevice9_GetScissorRect(p,a) (p)->GetScissorRect(a)
642 #define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->SetSoftwareVertexProcessing(a)
643 #define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->GetSoftwareVertexProcessing()
644 #define IDirect3DDevice9_SetNPatchMode(p,a) (p)->SetNPatchMode(a)
645 #define IDirect3DDevice9_GetNPatchMode(p) (p)->GetNPatchMode()
646 #define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->DrawPrimitive(a,b,c)
647 #define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->DrawIndexedPrimitive(a,b,c,d,e,f)
648 #define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d)
649 #define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h)
650 #define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->ProcessVertices(a,b,c,d,e,f)
651 #define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->CreateVertexDeclaration(a,b)
652 #define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->SetVertexDeclaration(a)
653 #define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->GetVertexDeclaration(a)
654 #define IDirect3DDevice9_SetFVF(p,a) (p)->SetFVF(a)
655 #define IDirect3DDevice9_GetFVF(p,a) (p)->GetFVF(a)
656 #define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->CreateVertexShader(a,b)
657 #define IDirect3DDevice9_SetVertexShader(p,a) (p)->SetVertexShader(a)
658 #define IDirect3DDevice9_GetVertexShader(p,a) (p)->GetVertexShader(a)
659 #define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->SetVertexShaderConstantF(a,b,c)
660 #define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->GetVertexShaderConstantF(a,b,c)
661 #define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->SetVertexShaderConstantI(a,b,c)
662 #define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->GetVertexShaderConstantI(a,b,c)
663 #define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->SetVertexShaderConstantB(a,b,c)
664 #define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->GetVertexShaderConstantB(a,b,c)
665 #define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->SetStreamSource(a,b,c,d)
666 #define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->GetStreamSource(a,b,c,d)
667 #define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->SetStreamSourceFreq(a,b)
668 #define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->GetStreamSourceFreq(a,b)
669 #define IDirect3DDevice9_SetIndices(p,a) (p)->SetIndices(a)
670 #define IDirect3DDevice9_GetIndices(p,a) (p)->GetIndices(a)
671 #define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->CreatePixelShader(a,b)
672 #define IDirect3DDevice9_SetPixelShader(p,a) (p)->SetPixelShader(a)
673 #define IDirect3DDevice9_GetPixelShader(p,a) (p)->GetPixelShader(a)
674 #define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->SetPixelShaderConstantF(a,b,c)
675 #define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->GetPixelShaderConstantF(a,b,c)
676 #define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->SetPixelShaderConstantI(a,b,c)
677 #define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->GetPixelShaderConstantI(a,b,c)
678 #define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->SetPixelShaderConstantB(a,b,c)
679 #define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->GetPixelShaderConstantB(a,b,c)
680 #define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->DrawRectPatch(a,b,c)
681 #define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->DrawTriPatch(a,b,c)
682 #define IDirect3DDevice9_DeletePatch(p,a) (p)->DeletePatch(a)
683 #define IDirect3DDevice9_CreateQuery(p,a,b) (p)->CreateQuery(a,b)
684 #endif
685 
686 
687 #undef INTERFACE
688 #define INTERFACE IDirect3DStateBlock9
689 
691 {
692  /*** IUnknown methods ***/
693  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
694  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
695  STDMETHOD_(ULONG,Release)(THIS) PURE;
696 
697  /*** IDirect3DStateBlock9 methods ***/
698  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
699  STDMETHOD(Capture)(THIS) PURE;
700  STDMETHOD(Apply)(THIS) PURE;
701 };
702 
704 
705 #if !defined(__cplusplus) || defined(CINTERFACE)
706 #define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
707 #define IDirect3DStateBlock9_AddRef(p) (p)->lpVtbl->AddRef(p)
708 #define IDirect3DStateBlock9_Release(p) (p)->lpVtbl->Release(p)
709 #define IDirect3DStateBlock9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
710 #define IDirect3DStateBlock9_Capture(p) (p)->lpVtbl->Capture(p)
711 #define IDirect3DStateBlock9_Apply(p) (p)->lpVtbl->Apply(p)
712 #else
713 #define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
714 #define IDirect3DStateBlock9_AddRef(p) (p)->AddRef()
715 #define IDirect3DStateBlock9_Release(p) (p)->Release()
716 #define IDirect3DStateBlock9_GetDevice(p,a) (p)->GetDevice(a)
717 #define IDirect3DStateBlock9_Capture(p) (p)->Capture()
718 #define IDirect3DStateBlock9_Apply(p) (p)->Apply()
719 #endif
720 
721 
722 
723 #undef INTERFACE
724 #define INTERFACE IDirect3DSwapChain9
725 
727 {
728  /*** IUnknown methods ***/
729  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
730  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
731  STDMETHOD_(ULONG,Release)(THIS) PURE;
732 
733  /*** IDirect3DSwapChain9 methods ***/
734  STDMETHOD(Present)(THIS_ CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion,DWORD dwFlags) PURE;
735  STDMETHOD(GetFrontBufferData)(THIS_ IDirect3DSurface9* pDestSurface) PURE;
736  STDMETHOD(GetBackBuffer)(THIS_ UINT iBackBuffer,D3DBACKBUFFER_TYPE Type,IDirect3DSurface9** ppBackBuffer) PURE;
737  STDMETHOD(GetRasterStatus)(THIS_ D3DRASTER_STATUS* pRasterStatus) PURE;
738  STDMETHOD(GetDisplayMode)(THIS_ D3DDISPLAYMODE* pMode) PURE;
739  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
740  STDMETHOD(GetPresentParameters)(THIS_ D3DPRESENT_PARAMETERS* pPresentationParameters) PURE;
741 };
742 
744 
745 #if !defined(__cplusplus) || defined(CINTERFACE)
746 #define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
747 #define IDirect3DSwapChain9_AddRef(p) (p)->lpVtbl->AddRef(p)
748 #define IDirect3DSwapChain9_Release(p) (p)->lpVtbl->Release(p)
749 #define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->lpVtbl->Present(p,a,b,c,d,e)
750 #define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->lpVtbl->GetFrontBufferData(p,a)
751 #define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c)
752 #define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a)
753 #define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a)
754 #define IDirect3DSwapChain9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
755 #define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->lpVtbl->GetPresentParameters(p,a)
756 #else
757 #define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
758 #define IDirect3DSwapChain9_AddRef(p) (p)->AddRef()
759 #define IDirect3DSwapChain9_Release(p) (p)->Release()
760 #define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->Present(a,b,c,d,e)
761 #define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->GetFrontBufferData(a)
762 #define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c)
763 #define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->GetRasterStatus(a)
764 #define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->GetDisplayMode(a)
765 #define IDirect3DSwapChain9_GetDevice(p,a) (p)->GetDevice(a)
766 #define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->GetPresentParameters(a)
767 #endif
768 
769 
770 
771 #undef INTERFACE
772 #define INTERFACE IDirect3DResource9
773 
775 {
776  /*** IUnknown methods ***/
777  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
778  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
779  STDMETHOD_(ULONG,Release)(THIS) PURE;
780 
781  /*** IDirect3DResource9 methods ***/
782  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
783  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
784  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
785  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
786  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
787  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
788  STDMETHOD_(void, PreLoad)(THIS) PURE;
789  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
790 };
791 
793 
794 #if !defined(__cplusplus) || defined(CINTERFACE)
795 #define IDirect3DResource9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
796 #define IDirect3DResource9_AddRef(p) (p)->lpVtbl->AddRef(p)
797 #define IDirect3DResource9_Release(p) (p)->lpVtbl->Release(p)
798 #define IDirect3DResource9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
799 #define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
800 #define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
801 #define IDirect3DResource9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
802 #define IDirect3DResource9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
803 #define IDirect3DResource9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
804 #define IDirect3DResource9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
805 #define IDirect3DResource9_GetType(p) (p)->lpVtbl->GetType(p)
806 #else
807 #define IDirect3DResource9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
808 #define IDirect3DResource9_AddRef(p) (p)->AddRef()
809 #define IDirect3DResource9_Release(p) (p)->Release()
810 #define IDirect3DResource9_GetDevice(p,a) (p)->GetDevice(a)
811 #define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
812 #define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
813 #define IDirect3DResource9_FreePrivateData(p,a) (p)->FreePrivateData(a)
814 #define IDirect3DResource9_SetPriority(p,a) (p)->SetPriority(a)
815 #define IDirect3DResource9_GetPriority(p) (p)->GetPriority()
816 #define IDirect3DResource9_PreLoad(p) (p)->PreLoad()
817 #define IDirect3DResource9_GetType(p) (p)->GetType()
818 #endif
819 
820 
821 
822 #undef INTERFACE
823 #define INTERFACE IDirect3DVertexDeclaration9
824 
826 {
827  /*** IUnknown methods ***/
828  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
829  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
830  STDMETHOD_(ULONG,Release)(THIS) PURE;
831 
832  /*** IDirect3DVertexDeclaration9 methods ***/
833  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
834  STDMETHOD(GetDeclaration)(THIS_ D3DVERTEXELEMENT9*,UINT* pNumElements) PURE;
835 };
836 
838 
839 #if !defined(__cplusplus) || defined(CINTERFACE)
840 #define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
841 #define IDirect3DVertexDeclaration9_AddRef(p) (p)->lpVtbl->AddRef(p)
842 #define IDirect3DVertexDeclaration9_Release(p) (p)->lpVtbl->Release(p)
843 #define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
844 #define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->lpVtbl->GetDeclaration(p,a,b)
845 #else
846 #define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
847 #define IDirect3DVertexDeclaration9_AddRef(p) (p)->AddRef()
848 #define IDirect3DVertexDeclaration9_Release(p) (p)->Release()
849 #define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->GetDevice(a)
850 #define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->GetDeclaration(a,b)
851 #endif
852 
853 
854 
855 #undef INTERFACE
856 #define INTERFACE IDirect3DVertexShader9
857 
859 {
860  /*** IUnknown methods ***/
861  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
862  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
863  STDMETHOD_(ULONG,Release)(THIS) PURE;
864 
865  /*** IDirect3DVertexShader9 methods ***/
866  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
867  STDMETHOD(GetFunction)(THIS_ void*,UINT* pSizeOfData) PURE;
868 };
869 
871 
872 #if !defined(__cplusplus) || defined(CINTERFACE)
873 #define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
874 #define IDirect3DVertexShader9_AddRef(p) (p)->lpVtbl->AddRef(p)
875 #define IDirect3DVertexShader9_Release(p) (p)->lpVtbl->Release(p)
876 #define IDirect3DVertexShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
877 #define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b)
878 #else
879 #define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
880 #define IDirect3DVertexShader9_AddRef(p) (p)->AddRef()
881 #define IDirect3DVertexShader9_Release(p) (p)->Release()
882 #define IDirect3DVertexShader9_GetDevice(p,a) (p)->GetDevice(a)
883 #define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->GetFunction(a,b)
884 #endif
885 
886 
887 
888 #undef INTERFACE
889 #define INTERFACE IDirect3DPixelShader9
890 
892 {
893  /*** IUnknown methods ***/
894  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
895  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
896  STDMETHOD_(ULONG,Release)(THIS) PURE;
897 
898  /*** IDirect3DPixelShader9 methods ***/
899  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
900  STDMETHOD(GetFunction)(THIS_ void*,UINT* pSizeOfData) PURE;
901 };
902 
904 
905 #if !defined(__cplusplus) || defined(CINTERFACE)
906 #define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
907 #define IDirect3DPixelShader9_AddRef(p) (p)->lpVtbl->AddRef(p)
908 #define IDirect3DPixelShader9_Release(p) (p)->lpVtbl->Release(p)
909 #define IDirect3DPixelShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
910 #define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b)
911 #else
912 #define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
913 #define IDirect3DPixelShader9_AddRef(p) (p)->AddRef()
914 #define IDirect3DPixelShader9_Release(p) (p)->Release()
915 #define IDirect3DPixelShader9_GetDevice(p,a) (p)->GetDevice(a)
916 #define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->GetFunction(a,b)
917 #endif
918 
919 
920 
921 
922 #undef INTERFACE
923 #define INTERFACE IDirect3DBaseTexture9
924 
926 {
927  /*** IUnknown methods ***/
928  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
929  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
930  STDMETHOD_(ULONG,Release)(THIS) PURE;
931 
932  /*** IDirect3DResource9 methods ***/
933  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
934  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
935  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
936  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
937  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
938  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
939  STDMETHOD_(void, PreLoad)(THIS) PURE;
940  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
941  STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
942  STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
943  STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
944  STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE;
945  STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE;
946  STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE;
947 };
948 
950 
951 #if !defined(__cplusplus) || defined(CINTERFACE)
952 #define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
953 #define IDirect3DBaseTexture9_AddRef(p) (p)->lpVtbl->AddRef(p)
954 #define IDirect3DBaseTexture9_Release(p) (p)->lpVtbl->Release(p)
955 #define IDirect3DBaseTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
956 #define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
957 #define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
958 #define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
959 #define IDirect3DBaseTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
960 #define IDirect3DBaseTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
961 #define IDirect3DBaseTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
962 #define IDirect3DBaseTexture9_GetType(p) (p)->lpVtbl->GetType(p)
963 #define IDirect3DBaseTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
964 #define IDirect3DBaseTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p)
965 #define IDirect3DBaseTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p)
966 #define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a)
967 #define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p)
968 #define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p)
969 #else
970 #define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
971 #define IDirect3DBaseTexture9_AddRef(p) (p)->AddRef()
972 #define IDirect3DBaseTexture9_Release(p) (p)->Release()
973 #define IDirect3DBaseTexture9_GetDevice(p,a) (p)->GetDevice(a)
974 #define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
975 #define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
976 #define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a)
977 #define IDirect3DBaseTexture9_SetPriority(p,a) (p)->SetPriority(a)
978 #define IDirect3DBaseTexture9_GetPriority(p) (p)->GetPriority()
979 #define IDirect3DBaseTexture9_PreLoad(p) (p)->PreLoad()
980 #define IDirect3DBaseTexture9_GetType(p) (p)->GetType()
981 #define IDirect3DBaseTexture9_SetLOD(p,a) (p)->SetLOD(a)
982 #define IDirect3DBaseTexture9_GetLOD(p) (p)->GetLOD()
983 #define IDirect3DBaseTexture9_GetLevelCount(p) (p)->GetLevelCount()
984 #define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a)
985 #define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType()
986 #define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels()
987 #endif
988 
989 
990 
991 
992 
993 #undef INTERFACE
994 #define INTERFACE IDirect3DTexture9
995 
997 {
998  /*** IUnknown methods ***/
999  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1000  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1001  STDMETHOD_(ULONG,Release)(THIS) PURE;
1002 
1003  /*** IDirect3DBaseTexture9 methods ***/
1004  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1005  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1006  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1007  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1008  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1009  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1010  STDMETHOD_(void, PreLoad)(THIS) PURE;
1011  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1012  STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1013  STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1014  STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1015  STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE;
1016  STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE;
1017  STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE;
1018  STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC *pDesc) PURE;
1019  STDMETHOD(GetSurfaceLevel)(THIS_ UINT Level,IDirect3DSurface9** ppSurfaceLevel) PURE;
1020  STDMETHOD(LockRect)(THIS_ UINT Level,D3DLOCKED_RECT* pLockedRect,CONST RECT* pRect,DWORD Flags) PURE;
1021  STDMETHOD(UnlockRect)(THIS_ UINT Level) PURE;
1022  STDMETHOD(AddDirtyRect)(THIS_ CONST RECT* pDirtyRect) PURE;
1023 };
1024 
1026 
1027 #if !defined(__cplusplus) || defined(CINTERFACE)
1028 #define IDirect3DTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1029 #define IDirect3DTexture9_AddRef(p) (p)->lpVtbl->AddRef(p)
1030 #define IDirect3DTexture9_Release(p) (p)->lpVtbl->Release(p)
1031 #define IDirect3DTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1032 #define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1033 #define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1034 #define IDirect3DTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1035 #define IDirect3DTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1036 #define IDirect3DTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1037 #define IDirect3DTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1038 #define IDirect3DTexture9_GetType(p) (p)->lpVtbl->GetType(p)
1039 #define IDirect3DTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
1040 #define IDirect3DTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p)
1041 #define IDirect3DTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p)
1042 #define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a)
1043 #define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p)
1044 #define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p)
1045 #define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
1046 #define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->lpVtbl->GetSurfaceLevel(p,a,b)
1047 #define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->lpVtbl->LockRect(p,a,b,c,d)
1048 #define IDirect3DTexture9_UnlockRect(p,a) (p)->lpVtbl->UnlockRect(p,a)
1049 #define IDirect3DTexture9_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a)
1050 #else
1051 #define IDirect3DTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1052 #define IDirect3DTexture9_AddRef(p) (p)->AddRef()
1053 #define IDirect3DTexture9_Release(p) (p)->Release()
1054 #define IDirect3DTexture9_GetDevice(p,a) (p)->GetDevice(a)
1055 #define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1056 #define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1057 #define IDirect3DTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1058 #define IDirect3DTexture9_SetPriority(p,a) (p)->SetPriority(a)
1059 #define IDirect3DTexture9_GetPriority(p) (p)->GetPriority()
1060 #define IDirect3DTexture9_PreLoad(p) (p)->PreLoad()
1061 #define IDirect3DTexture9_GetType(p) (p)->GetType()
1062 #define IDirect3DTexture9_SetLOD(p,a) (p)->SetLOD(a)
1063 #define IDirect3DTexture9_GetLOD(p) (p)->GetLOD()
1064 #define IDirect3DTexture9_GetLevelCount(p) (p)->GetLevelCount()
1065 #define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a)
1066 #define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType()
1067 #define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels()
1068 #define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b)
1069 #define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->GetSurfaceLevel(a,b)
1070 #define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->LockRect(a,b,c,d)
1071 #define IDirect3DTexture9_UnlockRect(p,a) (p)->UnlockRect(a)
1072 #define IDirect3DTexture9_AddDirtyRect(p,a) (p)->AddDirtyRect(a)
1073 #endif
1074 
1075 
1076 
1077 
1078 
1079 #undef INTERFACE
1080 #define INTERFACE IDirect3DVolumeTexture9
1081 
1083 {
1084  /*** IUnknown methods ***/
1085  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1086  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1087  STDMETHOD_(ULONG,Release)(THIS) PURE;
1088 
1089  /*** IDirect3DBaseTexture9 methods ***/
1090  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1091  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1092  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1093  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1094  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1095  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1096  STDMETHOD_(void, PreLoad)(THIS) PURE;
1097  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1098  STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1099  STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1100  STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1101  STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE;
1102  STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE;
1103  STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE;
1104  STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DVOLUME_DESC *pDesc) PURE;
1105  STDMETHOD(GetVolumeLevel)(THIS_ UINT Level,IDirect3DVolume9** ppVolumeLevel) PURE;
1106  STDMETHOD(LockBox)(THIS_ UINT Level,D3DLOCKED_BOX* pLockedVolume,CONST D3DBOX* pBox,DWORD Flags) PURE;
1107  STDMETHOD(UnlockBox)(THIS_ UINT Level) PURE;
1108  STDMETHOD(AddDirtyBox)(THIS_ CONST D3DBOX* pDirtyBox) PURE;
1109 };
1110 
1112 
1113 #if !defined(__cplusplus) || defined(CINTERFACE)
1114 #define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1115 #define IDirect3DVolumeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p)
1116 #define IDirect3DVolumeTexture9_Release(p) (p)->lpVtbl->Release(p)
1117 #define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1118 #define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1119 #define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1120 #define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1121 #define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1122 #define IDirect3DVolumeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1123 #define IDirect3DVolumeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1124 #define IDirect3DVolumeTexture9_GetType(p) (p)->lpVtbl->GetType(p)
1125 #define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
1126 #define IDirect3DVolumeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p)
1127 #define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p)
1128 #define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a)
1129 #define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p)
1130 #define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p)
1131 #define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
1132 #define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->lpVtbl->GetVolumeLevel(p,a,b)
1133 #define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->lpVtbl->LockBox(p,a,b,c,d)
1134 #define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->lpVtbl->UnlockBox(p,a)
1135 #define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->lpVtbl->AddDirtyBox(p,a)
1136 #else
1137 #define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1138 #define IDirect3DVolumeTexture9_AddRef(p) (p)->AddRef()
1139 #define IDirect3DVolumeTexture9_Release(p) (p)->Release()
1140 #define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->GetDevice(a)
1141 #define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1142 #define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1143 #define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1144 #define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->SetPriority(a)
1145 #define IDirect3DVolumeTexture9_GetPriority(p) (p)->GetPriority()
1146 #define IDirect3DVolumeTexture9_PreLoad(p) (p)->PreLoad()
1147 #define IDirect3DVolumeTexture9_GetType(p) (p)->GetType()
1148 #define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->SetLOD(a)
1149 #define IDirect3DVolumeTexture9_GetLOD(p) (p)->GetLOD()
1150 #define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->GetLevelCount()
1151 #define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a)
1152 #define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType()
1153 #define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels()
1154 #define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b)
1155 #define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->GetVolumeLevel(a,b)
1156 #define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->LockBox(a,b,c,d)
1157 #define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->UnlockBox(a)
1158 #define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->AddDirtyBox(a)
1159 #endif
1160 
1161 
1162 
1163 
1164 
1165 #undef INTERFACE
1166 #define INTERFACE IDirect3DCubeTexture9
1167 
1169 {
1170  /*** IUnknown methods ***/
1171  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1172  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1173  STDMETHOD_(ULONG,Release)(THIS) PURE;
1174 
1175  /*** IDirect3DBaseTexture9 methods ***/
1176  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1177  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1178  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1179  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1180  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1181  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1182  STDMETHOD_(void, PreLoad)(THIS) PURE;
1183  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1184  STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1185  STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1186  STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1187  STDMETHOD(SetAutoGenFilterType)(THIS_ D3DTEXTUREFILTERTYPE FilterType) PURE;
1188  STDMETHOD_(D3DTEXTUREFILTERTYPE, GetAutoGenFilterType)(THIS) PURE;
1189  STDMETHOD_(void, GenerateMipSubLevels)(THIS) PURE;
1190  STDMETHOD(GetLevelDesc)(THIS_ UINT Level,D3DSURFACE_DESC *pDesc) PURE;
1191  STDMETHOD(GetCubeMapSurface)(THIS_ D3DCUBEMAP_FACES FaceType,UINT Level,IDirect3DSurface9** ppCubeMapSurface) PURE;
1192  STDMETHOD(LockRect)(THIS_ D3DCUBEMAP_FACES FaceType,UINT Level,D3DLOCKED_RECT* pLockedRect,CONST RECT* pRect,DWORD Flags) PURE;
1193  STDMETHOD(UnlockRect)(THIS_ D3DCUBEMAP_FACES FaceType,UINT Level) PURE;
1194  STDMETHOD(AddDirtyRect)(THIS_ D3DCUBEMAP_FACES FaceType,CONST RECT* pDirtyRect) PURE;
1195 };
1196 
1198 
1199 #if !defined(__cplusplus) || defined(CINTERFACE)
1200 #define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1201 #define IDirect3DCubeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p)
1202 #define IDirect3DCubeTexture9_Release(p) (p)->lpVtbl->Release(p)
1203 #define IDirect3DCubeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1204 #define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1205 #define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1206 #define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1207 #define IDirect3DCubeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1208 #define IDirect3DCubeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1209 #define IDirect3DCubeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1210 #define IDirect3DCubeTexture9_GetType(p) (p)->lpVtbl->GetType(p)
1211 #define IDirect3DCubeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a)
1212 #define IDirect3DCubeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p)
1213 #define IDirect3DCubeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p)
1214 #define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a)
1215 #define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p)
1216 #define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p)
1217 #define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b)
1218 #define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->lpVtbl->GetCubeMapSurface(p,a,b,c)
1219 #define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->lpVtbl->LockRect(p,a,b,c,d,e)
1220 #define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->lpVtbl->UnlockRect(p,a,b)
1221 #define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->lpVtbl->AddDirtyRect(p,a,b)
1222 #else
1223 #define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1224 #define IDirect3DCubeTexture9_AddRef(p) (p)->AddRef()
1225 #define IDirect3DCubeTexture9_Release(p) (p)->Release()
1226 #define IDirect3DCubeTexture9_GetDevice(p,a) (p)->GetDevice(a)
1227 #define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1228 #define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1229 #define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1230 #define IDirect3DCubeTexture9_SetPriority(p,a) (p)->SetPriority(a)
1231 #define IDirect3DCubeTexture9_GetPriority(p) (p)->GetPriority()
1232 #define IDirect3DCubeTexture9_PreLoad(p) (p)->PreLoad()
1233 #define IDirect3DCubeTexture9_GetType(p) (p)->GetType()
1234 #define IDirect3DCubeTexture9_SetLOD(p,a) (p)->SetLOD(a)
1235 #define IDirect3DCubeTexture9_GetLOD(p) (p)->GetLOD()
1236 #define IDirect3DCubeTexture9_GetLevelCount(p) (p)->GetLevelCount()
1237 #define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a)
1238 #define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType()
1239 #define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels()
1240 #define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b)
1241 #define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->GetCubeMapSurface(a,b,c)
1242 #define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->LockRect(a,b,c,d,e)
1243 #define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->UnlockRect(a,b)
1244 #define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->AddDirtyRect(a,b)
1245 #endif
1246 
1247 
1248 
1249 
1250 #undef INTERFACE
1251 #define INTERFACE IDirect3DVertexBuffer9
1252 
1254 {
1255  /*** IUnknown methods ***/
1256  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1257  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1258  STDMETHOD_(ULONG,Release)(THIS) PURE;
1259 
1260  /*** IDirect3DResource9 methods ***/
1261  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1262  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1263  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1264  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1265  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1266  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1267  STDMETHOD_(void, PreLoad)(THIS) PURE;
1268  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1269  STDMETHOD(Lock)(THIS_ UINT OffsetToLock,UINT SizeToLock,void** ppbData,DWORD Flags) PURE;
1270  STDMETHOD(Unlock)(THIS) PURE;
1271  STDMETHOD(GetDesc)(THIS_ D3DVERTEXBUFFER_DESC *pDesc) PURE;
1272 };
1273 
1275 
1276 #if !defined(__cplusplus) || defined(CINTERFACE)
1277 #define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1278 #define IDirect3DVertexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p)
1279 #define IDirect3DVertexBuffer9_Release(p) (p)->lpVtbl->Release(p)
1280 #define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1281 #define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1282 #define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1283 #define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1284 #define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1285 #define IDirect3DVertexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1286 #define IDirect3DVertexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1287 #define IDirect3DVertexBuffer9_GetType(p) (p)->lpVtbl->GetType(p)
1288 #define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
1289 #define IDirect3DVertexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p)
1290 #define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
1291 #else
1292 #define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1293 #define IDirect3DVertexBuffer9_AddRef(p) (p)->AddRef()
1294 #define IDirect3DVertexBuffer9_Release(p) (p)->Release()
1295 #define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->GetDevice(a)
1296 #define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1297 #define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1298 #define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1299 #define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->SetPriority(a)
1300 #define IDirect3DVertexBuffer9_GetPriority(p) (p)->GetPriority()
1301 #define IDirect3DVertexBuffer9_PreLoad(p) (p)->PreLoad()
1302 #define IDirect3DVertexBuffer9_GetType(p) (p)->GetType()
1303 #define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d)
1304 #define IDirect3DVertexBuffer9_Unlock(p) (p)->Unlock()
1305 #define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->GetDesc(a)
1306 #endif
1307 
1308 
1309 
1310 
1311 #undef INTERFACE
1312 #define INTERFACE IDirect3DIndexBuffer9
1313 
1315 {
1316  /*** IUnknown methods ***/
1317  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1318  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1319  STDMETHOD_(ULONG,Release)(THIS) PURE;
1320 
1321  /*** IDirect3DResource9 methods ***/
1322  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1323  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1324  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1325  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1326  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1327  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1328  STDMETHOD_(void, PreLoad)(THIS) PURE;
1329  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1330  STDMETHOD(Lock)(THIS_ UINT OffsetToLock,UINT SizeToLock,void** ppbData,DWORD Flags) PURE;
1331  STDMETHOD(Unlock)(THIS) PURE;
1332  STDMETHOD(GetDesc)(THIS_ D3DINDEXBUFFER_DESC *pDesc) PURE;
1333 };
1334 
1336 
1337 #if !defined(__cplusplus) || defined(CINTERFACE)
1338 #define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1339 #define IDirect3DIndexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p)
1340 #define IDirect3DIndexBuffer9_Release(p) (p)->lpVtbl->Release(p)
1341 #define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1342 #define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1343 #define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1344 #define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1345 #define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1346 #define IDirect3DIndexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1347 #define IDirect3DIndexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1348 #define IDirect3DIndexBuffer9_GetType(p) (p)->lpVtbl->GetType(p)
1349 #define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d)
1350 #define IDirect3DIndexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p)
1351 #define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
1352 #else
1353 #define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1354 #define IDirect3DIndexBuffer9_AddRef(p) (p)->AddRef()
1355 #define IDirect3DIndexBuffer9_Release(p) (p)->Release()
1356 #define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->GetDevice(a)
1357 #define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1358 #define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1359 #define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1360 #define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->SetPriority(a)
1361 #define IDirect3DIndexBuffer9_GetPriority(p) (p)->GetPriority()
1362 #define IDirect3DIndexBuffer9_PreLoad(p) (p)->PreLoad()
1363 #define IDirect3DIndexBuffer9_GetType(p) (p)->GetType()
1364 #define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d)
1365 #define IDirect3DIndexBuffer9_Unlock(p) (p)->Unlock()
1366 #define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->GetDesc(a)
1367 #endif
1368 
1369 
1370 
1371 
1372 #undef INTERFACE
1373 #define INTERFACE IDirect3DSurface9
1374 
1376 {
1377  /*** IUnknown methods ***/
1378  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1379  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1380  STDMETHOD_(ULONG,Release)(THIS) PURE;
1381 
1382  /*** IDirect3DResource9 methods ***/
1383  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1384  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1385  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1386  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1387  STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1388  STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1389  STDMETHOD_(void, PreLoad)(THIS) PURE;
1390  STDMETHOD_(D3DRESOURCETYPE, GetType)(THIS) PURE;
1391  STDMETHOD(GetContainer)(THIS_ REFIID riid,void** ppContainer) PURE;
1392  STDMETHOD(GetDesc)(THIS_ D3DSURFACE_DESC *pDesc) PURE;
1393  STDMETHOD(LockRect)(THIS_ D3DLOCKED_RECT* pLockedRect,CONST RECT* pRect,DWORD Flags) PURE;
1394  STDMETHOD(UnlockRect)(THIS) PURE;
1395  STDMETHOD(GetDC)(THIS_ HDC *phdc) PURE;
1396  STDMETHOD(ReleaseDC)(THIS_ HDC hdc) PURE;
1397 };
1398 
1400 
1401 #if !defined(__cplusplus) || defined(CINTERFACE)
1402 #define IDirect3DSurface9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1403 #define IDirect3DSurface9_AddRef(p) (p)->lpVtbl->AddRef(p)
1404 #define IDirect3DSurface9_Release(p) (p)->lpVtbl->Release(p)
1405 #define IDirect3DSurface9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1406 #define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1407 #define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1408 #define IDirect3DSurface9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1409 #define IDirect3DSurface9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
1410 #define IDirect3DSurface9_GetPriority(p) (p)->lpVtbl->GetPriority(p)
1411 #define IDirect3DSurface9_PreLoad(p) (p)->lpVtbl->PreLoad(p)
1412 #define IDirect3DSurface9_GetType(p) (p)->lpVtbl->GetType(p)
1413 #define IDirect3DSurface9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
1414 #define IDirect3DSurface9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
1415 #define IDirect3DSurface9_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c)
1416 #define IDirect3DSurface9_UnlockRect(p) (p)->lpVtbl->UnlockRect(p)
1417 #define IDirect3DSurface9_GetDC(p,a) (p)->lpVtbl->GetDC(p,a)
1418 #define IDirect3DSurface9_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a)
1419 #else
1420 #define IDirect3DSurface9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1421 #define IDirect3DSurface9_AddRef(p) (p)->AddRef()
1422 #define IDirect3DSurface9_Release(p) (p)->Release()
1423 #define IDirect3DSurface9_GetDevice(p,a) (p)->GetDevice(a)
1424 #define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1425 #define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1426 #define IDirect3DSurface9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1427 #define IDirect3DSurface9_SetPriority(p,a) (p)->SetPriority(a)
1428 #define IDirect3DSurface9_GetPriority(p) (p)->GetPriority()
1429 #define IDirect3DSurface9_PreLoad(p) (p)->PreLoad()
1430 #define IDirect3DSurface9_GetType(p) (p)->GetType()
1431 #define IDirect3DSurface9_GetContainer(p,a,b) (p)->GetContainer(a,b)
1432 #define IDirect3DSurface9_GetDesc(p,a) (p)->GetDesc(a)
1433 #define IDirect3DSurface9_LockRect(p,a,b,c) (p)->LockRect(a,b,c)
1434 #define IDirect3DSurface9_UnlockRect(p) (p)->UnlockRect()
1435 #define IDirect3DSurface9_GetDC(p,a) (p)->GetDC(a)
1436 #define IDirect3DSurface9_ReleaseDC(p,a) (p)->ReleaseDC(a)
1437 #endif
1438 
1439 
1440 
1441 
1442 #undef INTERFACE
1443 #define INTERFACE IDirect3DVolume9
1444 
1446 {
1447  /*** IUnknown methods ***/
1448  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1449  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1450  STDMETHOD_(ULONG,Release)(THIS) PURE;
1451 
1452  /*** IDirect3DVolume9 methods ***/
1453  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1454  STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1455  STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,void* pData,DWORD* pSizeOfData) PURE;
1456  STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1457  STDMETHOD(GetContainer)(THIS_ REFIID riid,void** ppContainer) PURE;
1458  STDMETHOD(GetDesc)(THIS_ D3DVOLUME_DESC *pDesc) PURE;
1459  STDMETHOD(LockBox)(THIS_ D3DLOCKED_BOX * pLockedVolume,CONST D3DBOX* pBox,DWORD Flags) PURE;
1460  STDMETHOD(UnlockBox)(THIS) PURE;
1461 };
1462 
1464 
1465 #if !defined(__cplusplus) || defined(CINTERFACE)
1466 #define IDirect3DVolume9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1467 #define IDirect3DVolume9_AddRef(p) (p)->lpVtbl->AddRef(p)
1468 #define IDirect3DVolume9_Release(p) (p)->lpVtbl->Release(p)
1469 #define IDirect3DVolume9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1470 #define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d)
1471 #define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c)
1472 #define IDirect3DVolume9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a)
1473 #define IDirect3DVolume9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
1474 #define IDirect3DVolume9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
1475 #define IDirect3DVolume9_LockBox(p,a,b,c) (p)->lpVtbl->LockBox(p,a,b,c)
1476 #define IDirect3DVolume9_UnlockBox(p) (p)->lpVtbl->UnlockBox(p)
1477 #else
1478 #define IDirect3DVolume9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1479 #define IDirect3DVolume9_AddRef(p) (p)->AddRef()
1480 #define IDirect3DVolume9_Release(p) (p)->Release()
1481 #define IDirect3DVolume9_GetDevice(p,a) (p)->GetDevice(a)
1482 #define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d)
1483 #define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c)
1484 #define IDirect3DVolume9_FreePrivateData(p,a) (p)->FreePrivateData(a)
1485 #define IDirect3DVolume9_GetContainer(p,a,b) (p)->GetContainer(a,b)
1486 #define IDirect3DVolume9_GetDesc(p,a) (p)->GetDesc(a)
1487 #define IDirect3DVolume9_LockBox(p,a,b,c) (p)->LockBox(a,b,c)
1488 #define IDirect3DVolume9_UnlockBox(p) (p)->UnlockBox()
1489 #endif
1490 
1491 
1492 
1493 #undef INTERFACE
1494 #define INTERFACE IDirect3DQuery9
1495 
1497 {
1498  /*** IUnknown methods ***/
1499  STDMETHOD(QueryInterface)(THIS_ REFIID riid, void** ppvObj) PURE;
1500  STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1501  STDMETHOD_(ULONG,Release)(THIS) PURE;
1502 
1503  /*** IDirect3DQuery9 methods ***/
1504  STDMETHOD(GetDevice)(THIS_ IDirect3DDevice9** ppDevice) PURE;
1505  STDMETHOD_(D3DQUERYTYPE, GetType)(THIS) PURE;
1506  STDMETHOD_(DWORD, GetDataSize)(THIS) PURE;
1507  STDMETHOD(Issue)(THIS_ DWORD dwIssueFlags) PURE;
1508  STDMETHOD(GetData)(THIS_ void* pData,DWORD dwSize,DWORD dwGetDataFlags) PURE;
1509 };
1510 
1512 
1513 #if !defined(__cplusplus) || defined(CINTERFACE)
1514 #define IDirect3DQuery9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1515 #define IDirect3DQuery9_AddRef(p) (p)->lpVtbl->AddRef(p)
1516 #define IDirect3DQuery9_Release(p) (p)->lpVtbl->Release(p)
1517 #define IDirect3DQuery9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a)
1518 #define IDirect3DQuery9_GetType(p) (p)->lpVtbl->GetType(p)
1519 #define IDirect3DQuery9_GetDataSize(p) (p)->lpVtbl->GetDataSize(p)
1520 #define IDirect3DQuery9_Issue(p,a) (p)->lpVtbl->Issue(p,a)
1521 #define IDirect3DQuery9_GetData(p,a,b,c) (p)->lpVtbl->GetData(p,a,b,c)
1522 #else
1523 #define IDirect3DQuery9_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
1524 #define IDirect3DQuery9_AddRef(p) (p)->AddRef()
1525 #define IDirect3DQuery9_Release(p) (p)->Release()
1526 #define IDirect3DQuery9_GetDevice(p,a) (p)->GetDevice(a)
1527 #define IDirect3DQuery9_GetType(p) (p)->GetType()
1528 #define IDirect3DQuery9_GetDataSize(p) (p)->GetDataSize()
1529 #define IDirect3DQuery9_Issue(p,a) (p)->Issue(a)
1530 #define IDirect3DQuery9_GetData(p,a,b,c) (p)->GetData(a,b,c)
1531 #endif
1532 
1533 
1534 /****************************************************************************
1535  * Flags for SetPrivateData method on all D3D9 interfaces
1536  *
1537  * The passed pointer is an IUnknown ptr. The SizeOfData argument to SetPrivateData
1538  * must be set to sizeof(IUnknown*). Direct3D will call AddRef through this
1539  * pointer and Release when the private data is destroyed. The data will be
1540  * destroyed when another SetPrivateData with the same GUID is set, when
1541  * FreePrivateData is called, or when the D3D9 object is freed.
1542  ****************************************************************************/
1543 #define D3DSPD_IUNKNOWN 0x00000001L
1544 
1545 /****************************************************************************
1546  *
1547  * Flags for IDirect3D9::CreateDevice's BehaviorFlags
1548  *
1549  ****************************************************************************/
1550 
1551 #define D3DCREATE_FPU_PRESERVE 0x00000002L
1552 #define D3DCREATE_MULTITHREADED 0x00000004L
1553 
1554 #define D3DCREATE_PUREDEVICE 0x00000010L
1555 #define D3DCREATE_SOFTWARE_VERTEXPROCESSING 0x00000020L
1556 #define D3DCREATE_HARDWARE_VERTEXPROCESSING 0x00000040L
1557 #define D3DCREATE_MIXED_VERTEXPROCESSING 0x00000080L
1558 
1559 #define D3DCREATE_DISABLE_DRIVER_MANAGEMENT 0x00000100L
1560 #define D3DCREATE_ADAPTERGROUP_DEVICE 0x00000200L
1561 
1562 
1563 /****************************************************************************
1564  *
1565  * Parameter for IDirect3D9::CreateDevice's iAdapter
1566  *
1567  ****************************************************************************/
1568 
1569 #define D3DADAPTER_DEFAULT 0
1570 
1571 /****************************************************************************
1572  *
1573  * Flags for IDirect3D9::EnumAdapters
1574  *
1575  ****************************************************************************/
1576 
1577 #define D3DENUM_WHQL_LEVEL 0x00000002L
1578 
1579 /****************************************************************************
1580  *
1581  * Maximum number of back-buffers supported in DX8
1582  *
1583  ****************************************************************************/
1584 
1585 #define D3DPRESENT_BACK_BUFFERS_MAX 3L
1586 
1587 /****************************************************************************
1588  *
1589  * Flags for IDirect3DDevice9::SetGammaRamp
1590  *
1591  ****************************************************************************/
1592 
1593 #define D3DSGR_NO_CALIBRATION 0x00000000L
1594 #define D3DSGR_CALIBRATE 0x00000001L
1595 
1596 /****************************************************************************
1597  *
1598  * Flags for IDirect3DDevice9::SetCursorPosition
1599  *
1600  ****************************************************************************/
1601 
1602 #define D3DCURSOR_IMMEDIATE_UPDATE 0x00000001L
1603 
1604 /****************************************************************************
1605  *
1606  * Flags for IDirect3DSwapChain9::Present
1607  *
1608  ****************************************************************************/
1609 
1610 #define D3DPRESENT_DONOTWAIT 0x00000001L
1611 #define D3DPRESENT_LINEAR_CONTENT 0x00000002L
1612 
1613 /****************************************************************************
1614  *
1615  * Flags for DrawPrimitive/DrawIndexedPrimitive
1616  * Also valid for Begin/BeginIndexed
1617  * Also valid for VertexBuffer::CreateVertexBuffer
1618  ****************************************************************************/
1619 
1620 
1621 /*
1622  * DirectDraw error codes
1623  */
1624 #define _FACD3D 0x876
1625 #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code )
1626 #define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code )
1627 
1628 /*
1629  * Direct3D Errors
1630  */
1631 #define D3D_OK S_OK
1632 
1633 #define D3DERR_WRONGTEXTUREFORMAT MAKE_D3DHRESULT(2072)
1634 #define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_D3DHRESULT(2073)
1635 #define D3DERR_UNSUPPORTEDCOLORARG MAKE_D3DHRESULT(2074)
1636 #define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_D3DHRESULT(2075)
1637 #define D3DERR_UNSUPPORTEDALPHAARG MAKE_D3DHRESULT(2076)
1638 #define D3DERR_TOOMANYOPERATIONS MAKE_D3DHRESULT(2077)
1639 #define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_D3DHRESULT(2078)
1640 #define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_D3DHRESULT(2079)
1641 #define D3DERR_CONFLICTINGRENDERSTATE MAKE_D3DHRESULT(2081)
1642 #define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_D3DHRESULT(2082)
1643 #define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_D3DHRESULT(2086)
1644 #define D3DERR_DRIVERINTERNALERROR MAKE_D3DHRESULT(2087)
1645 
1646 #define D3DERR_NOTFOUND MAKE_D3DHRESULT(2150)
1647 #define D3DERR_MOREDATA MAKE_D3DHRESULT(2151)
1648 #define D3DERR_DEVICELOST MAKE_D3DHRESULT(2152)
1649 #define D3DERR_DEVICENOTRESET MAKE_D3DHRESULT(2153)
1650 #define D3DERR_NOTAVAILABLE MAKE_D3DHRESULT(2154)
1651 #define D3DERR_OUTOFVIDEOMEMORY MAKE_D3DHRESULT(380)
1652 #define D3DERR_INVALIDDEVICE MAKE_D3DHRESULT(2155)
1653 #define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156)
1654 #define D3DERR_DRIVERINVALIDCALL MAKE_D3DHRESULT(2157)
1655 #define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540)
1656 #define D3DOK_NOAUTOGEN MAKE_D3DSTATUS(2159)
1657 
1658 
1659 #ifdef __cplusplus
1660 };
1661 #endif
1662 
1663 #endif /* (DIRECT3D_VERSION >= 0x0900) */
1664 #endif /* _D3D_H_ */
Definition: d3d9types.h:1780
enum _D3DPOOL D3DPOOL
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition: document.h:2010
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
interface IDirect3DVolume9 IDirect3DVolume9
Definition: d3d9.h:194
DECLARE_INTERFACE_(IDirect3D9, IUnknown)
Definition: d3d9.h:227
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
struct IDirect3DBaseTexture9 * PDIRECT3DBASETEXTURE9
Definition: d3d9.h:949
const char * pValue
Definition: jsonsax_full.h:952
Definition: d3d8types.h:77
Definition: stb_vorbis.h:340
struct IDirect3DBaseTexture9 * LPDIRECT3DBASETEXTURE9
Definition: d3d9.h:949
struct IDirect3DVertexShader9 * PDIRECT3DVERTEXSHADER9
Definition: d3d9.h:870
Filter
Definition: vulkan.hpp:7586
#define F2(x, y, z)
Definition: md5.c:41
struct IDirect3DVolumeTexture9 * PDIRECT3DVOLUMETEXTURE9
Definition: d3d9.h:1111
DEFINE_GUID(IID_ID3DXBuffer, 0x932e6a7e, 0xc68e, 0x45dd, 0xa7, 0xbf, 0x53, 0xd1, 0x9c, 0x86, 0xdb, 0x1f)
interface IDirect3DVertexShader9 IDirect3DVertexShader9
Definition: d3d9.h:184
interface IDirect3DResource9 IDirect3DResource9
Definition: d3d9.h:186
struct IDirect3D9 * LPDIRECT3D9
Definition: d3d9.h:251
struct IDirect3DDevice9 * PDIRECT3DDEVICE9
Definition: d3d9.h:442
interface IDirect3DIndexBuffer9 IDirect3DIndexBuffer9
Definition: d3d9.h:192
struct IDirect3DVolume9 * LPDIRECT3DVOLUME9
Definition: d3d9.h:1463
interface IDirect3DTexture9 IDirect3DTexture9
Definition: d3d9.h:188
DECLARE_HANDLE(HMONITOR)
struct IDirect3DVertexDeclaration9 * LPDIRECT3DVERTEXDECLARATION9
Definition: d3d9.h:837
struct IDirect3DIndexBuffer9 * PDIRECT3DINDEXBUFFER9
Definition: d3d9.h:1335
struct IDirect3DSurface9 * LPDIRECT3DSURFACE9
Definition: d3d9.h:1399
Unknown compiler Device disconnected from port File already exists Saving to backup buffer Got connection Public address Setting disk in tray You have left the game You have joined with input devices *s *s has joined as player u A netplay connection attempt failed because the peer is not running or is running an old version of RetroArch use the same version use the same version This core does not support inter architecture netplay Incorrect password A netplay client has disconnected You do not have permission to play The input devices requested are not available Netplay peer s paused Give hardware rendered cores their own private context Avoids having to assume hardware state changes inbetween frames Adjusts menu screen appearance settings Improves performance at the cost of latency and more video stuttering Use only if you cannot obtain full speed otherwise Autodetect Capabilities Connecting to port Password Username Accounts List Endpoint Achievements Scan Content Import content Ask Block Frames نظام تشغيل الصوت Audio Enable Turbo Deadzone Audio Maximum Timing Skew Audio Output Dynamic Audio Rate Control الصوت Audio Volume WASAPI Exclusive Mode WASAPI Shared Buffer Length Load Override Files Automatically Load Shader Presets Automatically Confirm Quit Scroll Up Toggle Keyboard Basic menu controls Info Scroll Up Toggle Keyboard Don t overwrite SaveRAM on loading savestate Buildbot Assets URL Allow Camera Cheat Cheat File Load Cheat File Cheat Passes Hardcore Mode Achievement Badges Locked Test Unofficial Achievements Unlocked Verbose Mode Config ملفات التكوين Collections Content Allow to remove entries Downloads Cheats Show core name Authors Core label Permissions System manufacturer Controls Options Start a Core Automatically Buildbot Cores URL Updater CPU Cursor Custom Ratio Database Selection Start directory< Default > Directory not found Disk Cycle Tray Status Disk Index Don t care Download Core DPI Override Enable أنظمة التشغيل Check for Missing Firmware Before Loading Dynamic Backgrounds Menu entry hover color False Favorites Limit Maximum Run Speed Frontend Counters Create game options file مساعدة Changing Virtual Gamepad Overlay مساعدة Scanning For Content History List Enable Horizontal Menu معلومات Analog To Digital Type Left Analog X Left analog Left Analog Y Left analog Y(down)") MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_X
enum _D3DRESOURCETYPE D3DRESOURCETYPE
struct IDirect3DVertexDeclaration9 * PDIRECT3DVERTEXDECLARATION9
Definition: d3d9.h:837
interface IDirect3DPixelShader9 IDirect3DPixelShader9
Definition: d3d9.h:185
enum _D3DDEVTYPE D3DDEVTYPE
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
struct IDirect3DCubeTexture9 * LPDIRECT3DCUBETEXTURE9
Definition: d3d9.h:1197
struct IDirect3DSwapChain9 * LPDIRECT3DSWAPCHAIN9
Definition: d3d9.h:743
struct IDirect3DPixelShader9 * PDIRECT3DPIXELSHADER9
Definition: d3d9.h:903
interface IDirect3DSwapChain9 IDirect3DSwapChain9
Definition: d3d9.h:195
Definition: d3d8types.h:1321
interface IDirect3DQuery9 IDirect3DQuery9
Definition: d3d9.h:196
enum _D3DFORMAT D3DFORMAT
interface IDirect3D9 IDirect3D9
Definition: d3d9.h:180
IDirect3D9 *WINAPI Direct3DCreate9(UINT SDKVersion)
Definition: d3d9caps.h:123
interface IDirect3DSurface9 IDirect3DSurface9
Definition: d3d9.h:193
interface IDirect3DCubeTexture9 IDirect3DCubeTexture9
Definition: d3d9.h:190
struct IDirect3DQuery9 * LPDIRECT3DQUERY9
Definition: d3d9.h:1511
struct IDirect3DIndexBuffer9 * LPDIRECT3DINDEXBUFFER9
Definition: d3d9.h:1335
struct IDirect3DVertexBuffer9 * LPDIRECT3DVERTEXBUFFER9
Definition: d3d9.h:1274
interface DECLSPEC_UUID("C530AD7D-9B16-4395-A979-BA2ECFF83ADD") ID3D10ShaderReflectionType
Definition: d3d8types.h:1479
interface IDirect3DVolumeTexture9 IDirect3DVolumeTexture9
Definition: d3d9.h:189
Definition: d3d9types.h:159
struct IDirect3DVertexShader9 * LPDIRECT3DVERTEXSHADER9
Definition: d3d9.h:870
struct IDirect3DQuery9 * PDIRECT3DQUERY9
Definition: d3d9.h:1511
struct IDirect3DTexture9 * PDIRECT3DTEXTURE9
Definition: d3d9.h:1025
interface IDirect3DVertexDeclaration9 IDirect3DVertexDeclaration9
Definition: d3d9.h:183
DWORD D3DCOLOR
Definition: d3d8types.h:32
Unknown compiler Device disconnected from port File already exists Saving to backup buffer Got connection Public address Setting disk in tray You have left the game You have joined with input devices *s *s has joined as player u A netplay connection attempt failed because the peer is not running or is running an old version of RetroArch use the same version use the same version This core does not support inter architecture netplay Incorrect password A netplay client has disconnected You do not have permission to play The input devices requested are not available Netplay peer s paused Give hardware rendered cores their own private context Avoids having to assume hardware state changes inbetween frames Adjusts menu screen appearance settings Improves performance at the cost of latency and more video stuttering Use only if you cannot obtain full speed otherwise Autodetect Capabilities Connecting to port Password Username Accounts List Endpoint Achievements Scan Content Import content Ask Block Frames نظام تشغيل الصوت Audio Enable Turbo Deadzone Audio Maximum Timing Skew Audio Output Dynamic Audio Rate Control الصوت Audio Volume Level(dB)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_AUDIO_WASAPI_EXCLUSIVE_MODE
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
struct IDirect3DStateBlock9 * LPDIRECT3DSTATEBLOCK9
Definition: d3d9.h:703
struct IDirect3DPixelShader9 * LPDIRECT3DPIXELSHADER9
Definition: d3d9.h:903
struct IDirect3DTexture9 * LPDIRECT3DTEXTURE9
Definition: d3d9.h:1025
Definition: d3d8types.h:1387
Definition: d3d8types.h:67
std::pair< Type, bool > State
Definition: spirv_reflect.cpp:33
Definition: d3d8types.h:1312
struct IDirect3DVolumeTexture9 * LPDIRECT3DVOLUMETEXTURE9
Definition: d3d9.h:1111
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
struct IDirect3D9 * PDIRECT3D9
Definition: d3d9.h:251
unsigned int BOOL
Definition: gctypes.h:51
struct IDirect3DDevice9 * LPDIRECT3DDEVICE9
Definition: d3d9.h:442
struct IDirect3DSurface9 * PDIRECT3DSURFACE9
Definition: d3d9.h:1399
Stage
Definition: glslang.hpp:10
struct IDirect3DResource9 * PDIRECT3DRESOURCE9
Definition: d3d9.h:792
GLuint color
Definition: glext.h:6883
struct IDirect3DVertexBuffer9 * PDIRECT3DVERTEXBUFFER9
Definition: d3d9.h:1274
Definition: d3d8types.h:1506
interface IDirect3DDevice9 IDirect3DDevice9
Definition: d3d9.h:181
struct IDirect3DVolume9 * PDIRECT3DVOLUME9
Definition: d3d9.h:1463
interface IDirect3DVertexBuffer9 IDirect3DVertexBuffer9
Definition: d3d9.h:191
Definition: d3d8types.h:1468
Definition: glslang_tab.cpp:135
Definition: d3d9types.h:761
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
static UINT SDKVersion
Definition: d3d8_common.c:42
struct IDirect3DSwapChain9 * PDIRECT3DSWAPCHAIN9
Definition: d3d9.h:743
Format
Definition: vulkan.hpp:7957
Definition: glslang_tab.cpp:136
Definition: d3d8types.h:1358
#define X(a, b)
Definition: bba.c:185
Definition: d3d9types.h:154
Definition: glslang_tab.cpp:133
enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
Definition: d3d8types.h:1549
struct IDirect3DResource9 * LPDIRECT3DRESOURCE9
Definition: d3d9.h:792
struct IDirect3DStateBlock9 * PDIRECT3DSTATEBLOCK9
Definition: d3d9.h:703
Type
Type of JSON value.
Definition: rapidjson.h:603
Definition: d3d8types.h:1523
interface IDirect3DBaseTexture9 IDirect3DBaseTexture9
Definition: d3d9.h:187
Definition: d3d8types.h:1492
Definition: d3d8types.h:1455
Definition: d3d9types.h:174
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
Definition: d3d9types.h:100
enum _D3DQUERYTYPE D3DQUERYTYPE
enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
interface IDirect3DStateBlock9 IDirect3DStateBlock9
Definition: d3d9.h:182
Definition: d3d8types.h:1585
struct IDirect3DCubeTexture9 * PDIRECT3DCUBETEXTURE9
Definition: d3d9.h:1197
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844
Definition: d3d8types.h:1538
enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
Definition: d3d8types.h:1513