1 | /*** Autogenerated by WIDL 1.1.43 from ../../include/wine/wined3d.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #include <rpc.h>
|
---|
4 | #include <rpcndr.h>
|
---|
5 |
|
---|
6 | #ifndef __WIDL_WINED3D_H
|
---|
7 | #define __WIDL_WINED3D_H
|
---|
8 |
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | /* Headers for imported files */
|
---|
14 |
|
---|
15 | #include <unknwn.h>
|
---|
16 |
|
---|
17 | /* Forward declarations */
|
---|
18 |
|
---|
19 | #ifndef __IWineD3DDeviceParent_FWD_DEFINED__
|
---|
20 | #define __IWineD3DDeviceParent_FWD_DEFINED__
|
---|
21 | typedef interface IWineD3DDeviceParent IWineD3DDeviceParent;
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #ifndef __IWineD3DBase_FWD_DEFINED__
|
---|
25 | #define __IWineD3DBase_FWD_DEFINED__
|
---|
26 | typedef interface IWineD3DBase IWineD3DBase;
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IWineD3D_FWD_DEFINED__
|
---|
30 | #define __IWineD3D_FWD_DEFINED__
|
---|
31 | typedef interface IWineD3D IWineD3D;
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #ifndef __IWineD3DResource_FWD_DEFINED__
|
---|
35 | #define __IWineD3DResource_FWD_DEFINED__
|
---|
36 | typedef interface IWineD3DResource IWineD3DResource;
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #ifndef __IWineD3DRendertargetView_FWD_DEFINED__
|
---|
40 | #define __IWineD3DRendertargetView_FWD_DEFINED__
|
---|
41 | typedef interface IWineD3DRendertargetView IWineD3DRendertargetView;
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #ifndef __IWineD3DPalette_FWD_DEFINED__
|
---|
45 | #define __IWineD3DPalette_FWD_DEFINED__
|
---|
46 | typedef interface IWineD3DPalette IWineD3DPalette;
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #ifndef __IWineD3DClipper_FWD_DEFINED__
|
---|
50 | #define __IWineD3DClipper_FWD_DEFINED__
|
---|
51 | typedef interface IWineD3DClipper IWineD3DClipper;
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifndef __IWineD3DSurface_FWD_DEFINED__
|
---|
55 | #define __IWineD3DSurface_FWD_DEFINED__
|
---|
56 | typedef interface IWineD3DSurface IWineD3DSurface;
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #ifndef __IWineD3DVolume_FWD_DEFINED__
|
---|
60 | #define __IWineD3DVolume_FWD_DEFINED__
|
---|
61 | typedef interface IWineD3DVolume IWineD3DVolume;
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifndef __IWineD3DBaseTexture_FWD_DEFINED__
|
---|
65 | #define __IWineD3DBaseTexture_FWD_DEFINED__
|
---|
66 | typedef interface IWineD3DBaseTexture IWineD3DBaseTexture;
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __IWineD3DTexture_FWD_DEFINED__
|
---|
70 | #define __IWineD3DTexture_FWD_DEFINED__
|
---|
71 | typedef interface IWineD3DTexture IWineD3DTexture;
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifndef __IWineD3DCubeTexture_FWD_DEFINED__
|
---|
75 | #define __IWineD3DCubeTexture_FWD_DEFINED__
|
---|
76 | typedef interface IWineD3DCubeTexture IWineD3DCubeTexture;
|
---|
77 | #endif
|
---|
78 |
|
---|
79 | #ifndef __IWineD3DVolumeTexture_FWD_DEFINED__
|
---|
80 | #define __IWineD3DVolumeTexture_FWD_DEFINED__
|
---|
81 | typedef interface IWineD3DVolumeTexture IWineD3DVolumeTexture;
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | #ifndef __IWineD3DVertexDeclaration_FWD_DEFINED__
|
---|
85 | #define __IWineD3DVertexDeclaration_FWD_DEFINED__
|
---|
86 | typedef interface IWineD3DVertexDeclaration IWineD3DVertexDeclaration;
|
---|
87 | #endif
|
---|
88 |
|
---|
89 | #ifndef __IWineD3DStateBlock_FWD_DEFINED__
|
---|
90 | #define __IWineD3DStateBlock_FWD_DEFINED__
|
---|
91 | typedef interface IWineD3DStateBlock IWineD3DStateBlock;
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | #ifndef __IWineD3DQuery_FWD_DEFINED__
|
---|
95 | #define __IWineD3DQuery_FWD_DEFINED__
|
---|
96 | typedef interface IWineD3DQuery IWineD3DQuery;
|
---|
97 | #endif
|
---|
98 |
|
---|
99 | #ifndef __IWineD3DSwapChain_FWD_DEFINED__
|
---|
100 | #define __IWineD3DSwapChain_FWD_DEFINED__
|
---|
101 | typedef interface IWineD3DSwapChain IWineD3DSwapChain;
|
---|
102 | #endif
|
---|
103 |
|
---|
104 | #ifndef __IWineD3DBuffer_FWD_DEFINED__
|
---|
105 | #define __IWineD3DBuffer_FWD_DEFINED__
|
---|
106 | typedef interface IWineD3DBuffer IWineD3DBuffer;
|
---|
107 | #endif
|
---|
108 |
|
---|
109 | #ifndef __IWineD3DBaseShader_FWD_DEFINED__
|
---|
110 | #define __IWineD3DBaseShader_FWD_DEFINED__
|
---|
111 | typedef interface IWineD3DBaseShader IWineD3DBaseShader;
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifndef __IWineD3DVertexShader_FWD_DEFINED__
|
---|
115 | #define __IWineD3DVertexShader_FWD_DEFINED__
|
---|
116 | typedef interface IWineD3DVertexShader IWineD3DVertexShader;
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | #ifndef __IWineD3DGeometryShader_FWD_DEFINED__
|
---|
120 | #define __IWineD3DGeometryShader_FWD_DEFINED__
|
---|
121 | typedef interface IWineD3DGeometryShader IWineD3DGeometryShader;
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | #ifndef __IWineD3DPixelShader_FWD_DEFINED__
|
---|
125 | #define __IWineD3DPixelShader_FWD_DEFINED__
|
---|
126 | typedef interface IWineD3DPixelShader IWineD3DPixelShader;
|
---|
127 | #endif
|
---|
128 |
|
---|
129 | #ifndef __IWineD3DDevice_FWD_DEFINED__
|
---|
130 | #define __IWineD3DDevice_FWD_DEFINED__
|
---|
131 | typedef interface IWineD3DDevice IWineD3DDevice;
|
---|
132 | #endif
|
---|
133 |
|
---|
134 |
|
---|
135 | #if 0
|
---|
136 | typedef HANDLE HMONITOR;
|
---|
137 | typedef struct _RGNDATAHEADER {
|
---|
138 | DWORD dwSize;
|
---|
139 | DWORD iType;
|
---|
140 | DWORD nCount;
|
---|
141 | DWORD nRgnSize;
|
---|
142 | RECT rcBound;
|
---|
143 | } RGNDATAHEADER;
|
---|
144 | typedef struct _RGNDATA {
|
---|
145 | RGNDATAHEADER rdh;
|
---|
146 | char Buffer[1];
|
---|
147 | } RGNDATA;
|
---|
148 | typedef struct _LUID {
|
---|
149 | DWORD LowPart;
|
---|
150 | LONG HighPart;
|
---|
151 | } LUID;
|
---|
152 | typedef struct _LUID *PLUID;
|
---|
153 | #endif
|
---|
154 | #define WINED3D_OK S_OK
|
---|
155 | #define _FACWINED3D (0x876)
|
---|
156 |
|
---|
157 | #define MAKE_WINED3DSTATUS(code) MAKE_HRESULT(0, _FACWINED3D, code)
|
---|
158 | #define WINED3DOK_NOAUTOGEN MAKE_WINED3DSTATUS(2159)
|
---|
159 | #define MAKE_WINED3DHRESULT(code) MAKE_HRESULT(1, _FACWINED3D, code)
|
---|
160 | #define WINED3DERR_WRONGTEXTUREFORMAT MAKE_WINED3DHRESULT(2072)
|
---|
161 | #define WINED3DERR_UNSUPPORTEDCOLOROPERATION MAKE_WINED3DHRESULT(2073)
|
---|
162 | #define WINED3DERR_UNSUPPORTEDCOLORARG MAKE_WINED3DHRESULT(2074)
|
---|
163 | #define WINED3DERR_UNSUPPORTEDALPHAOPERATION MAKE_WINED3DHRESULT(2075)
|
---|
164 | #define WINED3DERR_UNSUPPORTEDALPHAARG MAKE_WINED3DHRESULT(2076)
|
---|
165 | #define WINED3DERR_TOOMANYOPERATIONS MAKE_WINED3DHRESULT(2077)
|
---|
166 | #define WINED3DERR_CONFLICTINGTEXTUREFILTER MAKE_WINED3DHRESULT(2078)
|
---|
167 | #define WINED3DERR_UNSUPPORTEDFACTORVALUE MAKE_WINED3DHRESULT(2079)
|
---|
168 | #define WINED3DERR_CONFLICTINGRENDERSTATE MAKE_WINED3DHRESULT(2081)
|
---|
169 | #define WINED3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_WINED3DHRESULT(2082)
|
---|
170 | #define WINED3DERR_CONFLICTINGTEXTUREPALETTE MAKE_WINED3DHRESULT(2086)
|
---|
171 | #define WINED3DERR_DRIVERINTERNALERROR MAKE_WINED3DHRESULT(2087)
|
---|
172 | #define WINED3DERR_NOTFOUND MAKE_WINED3DHRESULT(2150)
|
---|
173 | #define WINED3DERR_MOREDATA MAKE_WINED3DHRESULT(2151)
|
---|
174 | #define WINED3DERR_DEVICELOST MAKE_WINED3DHRESULT(2152)
|
---|
175 | #define WINED3DERR_DEVICENOTRESET MAKE_WINED3DHRESULT(2153)
|
---|
176 | #define WINED3DERR_NOTAVAILABLE MAKE_WINED3DHRESULT(2154)
|
---|
177 | #define WINED3DERR_OUTOFVIDEOMEMORY MAKE_WINED3DHRESULT(380)
|
---|
178 | #define WINED3DERR_INVALIDDEVICE MAKE_WINED3DHRESULT(2155)
|
---|
179 | #define WINED3DERR_INVALIDCALL MAKE_WINED3DHRESULT(2156)
|
---|
180 | #define WINED3DERR_DRIVERINVALIDCALL MAKE_WINED3DHRESULT(2157)
|
---|
181 | #define WINED3DERR_WASSTILLDRAWING MAKE_WINED3DHRESULT(540)
|
---|
182 | #define WINEDDERR_NOTAOVERLAYSURFACE MAKE_WINED3DHRESULT(580)
|
---|
183 | #define WINEDDERR_NOTLOCKED MAKE_WINED3DHRESULT(584)
|
---|
184 | #define WINEDDERR_NODC MAKE_WINED3DHRESULT(586)
|
---|
185 | #define WINEDDERR_DCALREADYCREATED MAKE_WINED3DHRESULT(620)
|
---|
186 | #define WINEDDERR_NOTFLIPPABLE MAKE_WINED3DHRESULT(582)
|
---|
187 | #define WINEDDERR_SURFACEBUSY MAKE_WINED3DHRESULT(430)
|
---|
188 | #define WINEDDERR_INVALIDRECT MAKE_WINED3DHRESULT(150)
|
---|
189 | #define WINEDDERR_NOCLIPLIST MAKE_WINED3DHRESULT(205)
|
---|
190 | #define WINEDDERR_OVERLAYNOTVISIBLE MAKE_WINED3DHRESULT(577)
|
---|
191 | typedef DWORD WINED3DCOLOR;
|
---|
192 | typedef enum _WINED3DLIGHTTYPE {
|
---|
193 | WINED3DLIGHT_POINT = 1,
|
---|
194 | WINED3DLIGHT_SPOT = 2,
|
---|
195 | WINED3DLIGHT_DIRECTIONAL = 3,
|
---|
196 | WINED3DLIGHT_PARALLELPOINT = 4,
|
---|
197 | WINED3DLIGHT_GLSPOT = 5,
|
---|
198 | WINED3DLIGHT_FORCE_DWORD = 0x7fffffff
|
---|
199 | } WINED3DLIGHTTYPE;
|
---|
200 | typedef enum _WINED3DPRIMITIVETYPE {
|
---|
201 | WINED3DPT_UNDEFINED = 0,
|
---|
202 | WINED3DPT_POINTLIST = 1,
|
---|
203 | WINED3DPT_LINELIST = 2,
|
---|
204 | WINED3DPT_LINESTRIP = 3,
|
---|
205 | WINED3DPT_TRIANGLELIST = 4,
|
---|
206 | WINED3DPT_TRIANGLESTRIP = 5,
|
---|
207 | WINED3DPT_TRIANGLEFAN = 6,
|
---|
208 | WINED3DPT_LINELIST_ADJ = 10,
|
---|
209 | WINED3DPT_LINESTRIP_ADJ = 11,
|
---|
210 | WINED3DPT_TRIANGLELIST_ADJ = 12,
|
---|
211 | WINED3DPT_TRIANGLESTRIP_ADJ = 13,
|
---|
212 | WINED3DPT_FORCE_DWORD = 0x7fffffff
|
---|
213 | } WINED3DPRIMITIVETYPE;
|
---|
214 | typedef enum _WINED3DDEVTYPE {
|
---|
215 | WINED3DDEVTYPE_HAL = 1,
|
---|
216 | WINED3DDEVTYPE_REF = 2,
|
---|
217 | WINED3DDEVTYPE_SW = 3,
|
---|
218 | WINED3DDEVTYPE_NULLREF = 4,
|
---|
219 | WINED3DDEVTYPE_FORCE_DWORD = 0xffffffff
|
---|
220 | } WINED3DDEVTYPE;
|
---|
221 | typedef enum _WINED3DDEGREETYPE {
|
---|
222 | WINED3DDEGREE_LINEAR = 1,
|
---|
223 | WINED3DDEGREE_QUADRATIC = 2,
|
---|
224 | WINED3DDEGREE_CUBIC = 3,
|
---|
225 | WINED3DDEGREE_QUINTIC = 5,
|
---|
226 | WINED3DDEGREE_FORCE_DWORD = 0x7fffffff
|
---|
227 | } WINED3DDEGREETYPE;
|
---|
228 | typedef enum _WINED3DFORMAT {
|
---|
229 | WINED3DFMT_UNKNOWN = 0,
|
---|
230 | WINED3DFMT_B8G8R8_UNORM = 1,
|
---|
231 | WINED3DFMT_B5G5R5X1_UNORM = 2,
|
---|
232 | WINED3DFMT_B4G4R4A4_UNORM = 3,
|
---|
233 | WINED3DFMT_B2G3R3_UNORM = 4,
|
---|
234 | WINED3DFMT_B2G3R3A8_UNORM = 5,
|
---|
235 | WINED3DFMT_B4G4R4X4_UNORM = 6,
|
---|
236 | WINED3DFMT_R8G8B8X8_UNORM = 7,
|
---|
237 | WINED3DFMT_B10G10R10A2_UNORM = 8,
|
---|
238 | WINED3DFMT_P8_UINT_A8_UNORM = 9,
|
---|
239 | WINED3DFMT_P8_UINT = 10,
|
---|
240 | WINED3DFMT_L8_UNORM = 11,
|
---|
241 | WINED3DFMT_L8A8_UNORM = 12,
|
---|
242 | WINED3DFMT_L4A4_UNORM = 13,
|
---|
243 | WINED3DFMT_R5G5_SNORM_L6_UNORM = 14,
|
---|
244 | WINED3DFMT_R8G8_SNORM_L8X8_UNORM = 15,
|
---|
245 | WINED3DFMT_R10G11B11_SNORM = 16,
|
---|
246 | WINED3DFMT_R10G10B10_SNORM_A2_UNORM = 17,
|
---|
247 | WINED3DFMT_D16_LOCKABLE = 18,
|
---|
248 | WINED3DFMT_D32_UNORM = 19,
|
---|
249 | WINED3DFMT_S1_UINT_D15_UNORM = 20,
|
---|
250 | WINED3DFMT_X8D24_UNORM = 21,
|
---|
251 | WINED3DFMT_S4X4_UINT_D24_UNORM = 22,
|
---|
252 | WINED3DFMT_L16_UNORM = 23,
|
---|
253 | WINED3DFMT_S8_UINT_D24_FLOAT = 24,
|
---|
254 | WINED3DFMT_VERTEXDATA = 25,
|
---|
255 | WINED3DFMT_R8G8_SNORM_Cx = 26,
|
---|
256 | WINED3DFMT_R32G32B32A32_TYPELESS = 27,
|
---|
257 | WINED3DFMT_R32G32B32A32_FLOAT = 28,
|
---|
258 | WINED3DFMT_R32G32B32A32_UINT = 29,
|
---|
259 | WINED3DFMT_R32G32B32A32_SINT = 30,
|
---|
260 | WINED3DFMT_R32G32B32_TYPELESS = 31,
|
---|
261 | WINED3DFMT_R32G32B32_FLOAT = 32,
|
---|
262 | WINED3DFMT_R32G32B32_UINT = 33,
|
---|
263 | WINED3DFMT_R32G32B32_SINT = 34,
|
---|
264 | WINED3DFMT_R16G16B16A16_TYPELESS = 35,
|
---|
265 | WINED3DFMT_R16G16B16A16_FLOAT = 36,
|
---|
266 | WINED3DFMT_R16G16B16A16_UNORM = 37,
|
---|
267 | WINED3DFMT_R16G16B16A16_UINT = 38,
|
---|
268 | WINED3DFMT_R16G16B16A16_SNORM = 39,
|
---|
269 | WINED3DFMT_R16G16B16A16_SINT = 40,
|
---|
270 | WINED3DFMT_R32G32_TYPELESS = 41,
|
---|
271 | WINED3DFMT_R32G32_FLOAT = 42,
|
---|
272 | WINED3DFMT_R32G32_UINT = 43,
|
---|
273 | WINED3DFMT_R32G32_SINT = 44,
|
---|
274 | WINED3DFMT_R32G8X24_TYPELESS = 45,
|
---|
275 | WINED3DFMT_D32_FLOAT_S8X24_UINT = 46,
|
---|
276 | WINED3DFMT_R32_FLOAT_X8X24_TYPELESS = 47,
|
---|
277 | WINED3DFMT_X32_TYPELESS_G8X24_UINT = 48,
|
---|
278 | WINED3DFMT_R10G10B10A2_TYPELESS = 49,
|
---|
279 | WINED3DFMT_R10G10B10A2_UNORM = 50,
|
---|
280 | WINED3DFMT_R10G10B10A2_UINT = 51,
|
---|
281 | WINED3DFMT_R10G10B10A2_SNORM = 52,
|
---|
282 | WINED3DFMT_R11G11B10_FLOAT = 53,
|
---|
283 | WINED3DFMT_R8G8B8A8_TYPELESS = 54,
|
---|
284 | WINED3DFMT_R8G8B8A8_UNORM = 55,
|
---|
285 | WINED3DFMT_R8G8B8A8_UNORM_SRGB = 56,
|
---|
286 | WINED3DFMT_R8G8B8A8_UINT = 57,
|
---|
287 | WINED3DFMT_R8G8B8A8_SNORM = 58,
|
---|
288 | WINED3DFMT_R8G8B8A8_SINT = 59,
|
---|
289 | WINED3DFMT_R16G16_TYPELESS = 60,
|
---|
290 | WINED3DFMT_R16G16_FLOAT = 61,
|
---|
291 | WINED3DFMT_R16G16_UNORM = 62,
|
---|
292 | WINED3DFMT_R16G16_UINT = 63,
|
---|
293 | WINED3DFMT_R16G16_SNORM = 64,
|
---|
294 | WINED3DFMT_R16G16_SINT = 65,
|
---|
295 | WINED3DFMT_R32_TYPELESS = 66,
|
---|
296 | WINED3DFMT_D32_FLOAT = 67,
|
---|
297 | WINED3DFMT_R32_FLOAT = 68,
|
---|
298 | WINED3DFMT_R32_UINT = 69,
|
---|
299 | WINED3DFMT_R32_SINT = 70,
|
---|
300 | WINED3DFMT_R24G8_TYPELESS = 71,
|
---|
301 | WINED3DFMT_D24_UNORM_S8_UINT = 72,
|
---|
302 | WINED3DFMT_R24_UNORM_X8_TYPELESS = 73,
|
---|
303 | WINED3DFMT_X24_TYPELESS_G8_UINT = 74,
|
---|
304 | WINED3DFMT_R8G8_TYPELESS = 75,
|
---|
305 | WINED3DFMT_R8G8_UNORM = 76,
|
---|
306 | WINED3DFMT_R8G8_UINT = 77,
|
---|
307 | WINED3DFMT_R8G8_SNORM = 78,
|
---|
308 | WINED3DFMT_R8G8_SINT = 79,
|
---|
309 | WINED3DFMT_R16_TYPELESS = 80,
|
---|
310 | WINED3DFMT_R16_FLOAT = 81,
|
---|
311 | WINED3DFMT_D16_UNORM = 82,
|
---|
312 | WINED3DFMT_R16_UNORM = 83,
|
---|
313 | WINED3DFMT_R16_UINT = 84,
|
---|
314 | WINED3DFMT_R16_SNORM = 85,
|
---|
315 | WINED3DFMT_R16_SINT = 86,
|
---|
316 | WINED3DFMT_R8_TYPELESS = 87,
|
---|
317 | WINED3DFMT_R8_UNORM = 88,
|
---|
318 | WINED3DFMT_R8_UINT = 89,
|
---|
319 | WINED3DFMT_R8_SNORM = 90,
|
---|
320 | WINED3DFMT_R8_SINT = 91,
|
---|
321 | WINED3DFMT_A8_UNORM = 92,
|
---|
322 | WINED3DFMT_R1_UNORM = 93,
|
---|
323 | WINED3DFMT_R9G9B9E5_SHAREDEXP = 94,
|
---|
324 | WINED3DFMT_R8G8_B8G8_UNORM = 95,
|
---|
325 | WINED3DFMT_G8R8_G8B8_UNORM = 96,
|
---|
326 | WINED3DFMT_BC1_TYPELESS = 97,
|
---|
327 | WINED3DFMT_BC1_UNORM = 98,
|
---|
328 | WINED3DFMT_BC1_UNORM_SRGB = 99,
|
---|
329 | WINED3DFMT_BC2_TYPELESS = 100,
|
---|
330 | WINED3DFMT_BC2_UNORM = 101,
|
---|
331 | WINED3DFMT_BC2_UNORM_SRGB = 102,
|
---|
332 | WINED3DFMT_BC3_TYPELESS = 103,
|
---|
333 | WINED3DFMT_BC3_UNORM = 104,
|
---|
334 | WINED3DFMT_BC3_UNORM_SRGB = 105,
|
---|
335 | WINED3DFMT_BC4_TYPELESS = 106,
|
---|
336 | WINED3DFMT_BC4_UNORM = 107,
|
---|
337 | WINED3DFMT_BC4_SNORM = 108,
|
---|
338 | WINED3DFMT_BC5_TYPELESS = 109,
|
---|
339 | WINED3DFMT_BC5_UNORM = 110,
|
---|
340 | WINED3DFMT_BC5_SNORM = 111,
|
---|
341 | WINED3DFMT_B5G6R5_UNORM = 112,
|
---|
342 | WINED3DFMT_B5G5R5A1_UNORM = 113,
|
---|
343 | WINED3DFMT_B8G8R8A8_UNORM = 114,
|
---|
344 | WINED3DFMT_B8G8R8X8_UNORM = 115,
|
---|
345 | WINED3DFMT_UYVY = (((ULONG)(unsigned char)'U' | ((ULONG)(unsigned char)'Y' << 8)) | ((ULONG)(unsigned char)'V' << 16)) | ((ULONG)(unsigned char)'Y' << 24),
|
---|
346 | WINED3DFMT_YUY2 = (((ULONG)(unsigned char)'Y' | ((ULONG)(unsigned char)'U' << 8)) | ((ULONG)(unsigned char)'Y' << 16)) | ((ULONG)(unsigned char)'2' << 24),
|
---|
347 | WINED3DFMT_YV12 = (((ULONG)(unsigned char)'Y' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'1' << 16)) | ((ULONG)(unsigned char)'2' << 24),
|
---|
348 | WINED3DFMT_DXT1 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'1' << 24),
|
---|
349 | WINED3DFMT_DXT2 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'2' << 24),
|
---|
350 | WINED3DFMT_DXT3 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'3' << 24),
|
---|
351 | WINED3DFMT_DXT4 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'4' << 24),
|
---|
352 | WINED3DFMT_DXT5 = (((ULONG)(unsigned char)'D' | ((ULONG)(unsigned char)'X' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'5' << 24),
|
---|
353 | WINED3DFMT_MULTI2_ARGB8 = (((ULONG)(unsigned char)'M' | ((ULONG)(unsigned char)'E' << 8)) | ((ULONG)(unsigned char)'T' << 16)) | ((ULONG)(unsigned char)'1' << 24),
|
---|
354 | WINED3DFMT_G8R8_G8B8 = (((ULONG)(unsigned char)'G' | ((ULONG)(unsigned char)'R' << 8)) | ((ULONG)(unsigned char)'G' << 16)) | ((ULONG)(unsigned char)'B' << 24),
|
---|
355 | WINED3DFMT_R8G8_B8G8 = (((ULONG)(unsigned char)'R' | ((ULONG)(unsigned char)'G' << 8)) | ((ULONG)(unsigned char)'B' << 16)) | ((ULONG)(unsigned char)'G' << 24),
|
---|
356 | WINED3DFMT_ATI2N = (((ULONG)(unsigned char)'A' | ((ULONG)(unsigned char)'T' << 8)) | ((ULONG)(unsigned char)'I' << 16)) | ((ULONG)(unsigned char)'2' << 24),
|
---|
357 | WINED3DFMT_INST = (((ULONG)(unsigned char)'I' | ((ULONG)(unsigned char)'N' << 8)) | ((ULONG)(unsigned char)'S' << 16)) | ((ULONG)(unsigned char)'T' << 24),
|
---|
358 | WINED3DFMT_NVHU = (((ULONG)(unsigned char)'N' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'H' << 16)) | ((ULONG)(unsigned char)'U' << 24),
|
---|
359 | WINED3DFMT_NVHS = (((ULONG)(unsigned char)'N' | ((ULONG)(unsigned char)'V' << 8)) | ((ULONG)(unsigned char)'H' << 16)) | ((ULONG)(unsigned char)'S' << 24),
|
---|
360 | WINED3DFMT_FORCE_DWORD = 0xffffffff
|
---|
361 | } WINED3DFORMAT;
|
---|
362 | typedef enum _WINED3DRENDERSTATETYPE {
|
---|
363 | WINED3DRS_ANTIALIAS = 2,
|
---|
364 | WINED3DRS_TEXTUREPERSPECTIVE = 4,
|
---|
365 | WINED3DRS_WRAPU = 5,
|
---|
366 | WINED3DRS_WRAPV = 6,
|
---|
367 | WINED3DRS_ZENABLE = 7,
|
---|
368 | WINED3DRS_FILLMODE = 8,
|
---|
369 | WINED3DRS_SHADEMODE = 9,
|
---|
370 | WINED3DRS_LINEPATTERN = 10,
|
---|
371 | WINED3DRS_MONOENABLE = 11,
|
---|
372 | WINED3DRS_ROP2 = 12,
|
---|
373 | WINED3DRS_PLANEMASK = 13,
|
---|
374 | WINED3DRS_ZWRITEENABLE = 14,
|
---|
375 | WINED3DRS_ALPHATESTENABLE = 15,
|
---|
376 | WINED3DRS_LASTPIXEL = 16,
|
---|
377 | WINED3DRS_SRCBLEND = 19,
|
---|
378 | WINED3DRS_DESTBLEND = 20,
|
---|
379 | WINED3DRS_CULLMODE = 22,
|
---|
380 | WINED3DRS_ZFUNC = 23,
|
---|
381 | WINED3DRS_ALPHAREF = 24,
|
---|
382 | WINED3DRS_ALPHAFUNC = 25,
|
---|
383 | WINED3DRS_DITHERENABLE = 26,
|
---|
384 | WINED3DRS_ALPHABLENDENABLE = 27,
|
---|
385 | WINED3DRS_FOGENABLE = 28,
|
---|
386 | WINED3DRS_SPECULARENABLE = 29,
|
---|
387 | WINED3DRS_ZVISIBLE = 30,
|
---|
388 | WINED3DRS_SUBPIXEL = 31,
|
---|
389 | WINED3DRS_SUBPIXELX = 32,
|
---|
390 | WINED3DRS_STIPPLEDALPHA = 33,
|
---|
391 | WINED3DRS_FOGCOLOR = 34,
|
---|
392 | WINED3DRS_FOGTABLEMODE = 35,
|
---|
393 | WINED3DRS_FOGSTART = 36,
|
---|
394 | WINED3DRS_FOGEND = 37,
|
---|
395 | WINED3DRS_FOGDENSITY = 38,
|
---|
396 | WINED3DRS_STIPPLEENABLE = 39,
|
---|
397 | WINED3DRS_EDGEANTIALIAS = 40,
|
---|
398 | WINED3DRS_COLORKEYENABLE = 41,
|
---|
399 | WINED3DRS_MIPMAPLODBIAS = 46,
|
---|
400 | WINED3DRS_ZBIAS = 47,
|
---|
401 | WINED3DRS_RANGEFOGENABLE = 48,
|
---|
402 | WINED3DRS_ANISOTROPY = 49,
|
---|
403 | WINED3DRS_FLUSHBATCH = 50,
|
---|
404 | WINED3DRS_TRANSLUCENTSORTINDEPENDENT = 51,
|
---|
405 | WINED3DRS_STENCILENABLE = 52,
|
---|
406 | WINED3DRS_STENCILFAIL = 53,
|
---|
407 | WINED3DRS_STENCILZFAIL = 54,
|
---|
408 | WINED3DRS_STENCILPASS = 55,
|
---|
409 | WINED3DRS_STENCILFUNC = 56,
|
---|
410 | WINED3DRS_STENCILREF = 57,
|
---|
411 | WINED3DRS_STENCILMASK = 58,
|
---|
412 | WINED3DRS_STENCILWRITEMASK = 59,
|
---|
413 | WINED3DRS_TEXTUREFACTOR = 60,
|
---|
414 | WINED3DRS_WRAP0 = 128,
|
---|
415 | WINED3DRS_WRAP1 = 129,
|
---|
416 | WINED3DRS_WRAP2 = 130,
|
---|
417 | WINED3DRS_WRAP3 = 131,
|
---|
418 | WINED3DRS_WRAP4 = 132,
|
---|
419 | WINED3DRS_WRAP5 = 133,
|
---|
420 | WINED3DRS_WRAP6 = 134,
|
---|
421 | WINED3DRS_WRAP7 = 135,
|
---|
422 | WINED3DRS_CLIPPING = 136,
|
---|
423 | WINED3DRS_LIGHTING = 137,
|
---|
424 | WINED3DRS_EXTENTS = 138,
|
---|
425 | WINED3DRS_AMBIENT = 139,
|
---|
426 | WINED3DRS_FOGVERTEXMODE = 140,
|
---|
427 | WINED3DRS_COLORVERTEX = 141,
|
---|
428 | WINED3DRS_LOCALVIEWER = 142,
|
---|
429 | WINED3DRS_NORMALIZENORMALS = 143,
|
---|
430 | WINED3DRS_COLORKEYBLENDENABLE = 144,
|
---|
431 | WINED3DRS_DIFFUSEMATERIALSOURCE = 145,
|
---|
432 | WINED3DRS_SPECULARMATERIALSOURCE = 146,
|
---|
433 | WINED3DRS_AMBIENTMATERIALSOURCE = 147,
|
---|
434 | WINED3DRS_EMISSIVEMATERIALSOURCE = 148,
|
---|
435 | WINED3DRS_VERTEXBLEND = 151,
|
---|
436 | WINED3DRS_CLIPPLANEENABLE = 152,
|
---|
437 | WINED3DRS_SOFTWAREVERTEXPROCESSING = 153,
|
---|
438 | WINED3DRS_POINTSIZE = 154,
|
---|
439 | WINED3DRS_POINTSIZE_MIN = 155,
|
---|
440 | WINED3DRS_POINTSPRITEENABLE = 156,
|
---|
441 | WINED3DRS_POINTSCALEENABLE = 157,
|
---|
442 | WINED3DRS_POINTSCALE_A = 158,
|
---|
443 | WINED3DRS_POINTSCALE_B = 159,
|
---|
444 | WINED3DRS_POINTSCALE_C = 160,
|
---|
445 | WINED3DRS_MULTISAMPLEANTIALIAS = 161,
|
---|
446 | WINED3DRS_MULTISAMPLEMASK = 162,
|
---|
447 | WINED3DRS_PATCHEDGESTYLE = 163,
|
---|
448 | WINED3DRS_PATCHSEGMENTS = 164,
|
---|
449 | WINED3DRS_DEBUGMONITORTOKEN = 165,
|
---|
450 | WINED3DRS_POINTSIZE_MAX = 166,
|
---|
451 | WINED3DRS_INDEXEDVERTEXBLENDENABLE = 167,
|
---|
452 | WINED3DRS_COLORWRITEENABLE = 168,
|
---|
453 | WINED3DRS_TWEENFACTOR = 170,
|
---|
454 | WINED3DRS_BLENDOP = 171,
|
---|
455 | WINED3DRS_POSITIONDEGREE = 172,
|
---|
456 | WINED3DRS_NORMALDEGREE = 173,
|
---|
457 | WINED3DRS_SCISSORTESTENABLE = 174,
|
---|
458 | WINED3DRS_SLOPESCALEDEPTHBIAS = 175,
|
---|
459 | WINED3DRS_ANTIALIASEDLINEENABLE = 176,
|
---|
460 | WINED3DRS_MINTESSELLATIONLEVEL = 178,
|
---|
461 | WINED3DRS_MAXTESSELLATIONLEVEL = 179,
|
---|
462 | WINED3DRS_ADAPTIVETESS_X = 180,
|
---|
463 | WINED3DRS_ADAPTIVETESS_Y = 181,
|
---|
464 | WINED3DRS_ADAPTIVETESS_Z = 182,
|
---|
465 | WINED3DRS_ADAPTIVETESS_W = 183,
|
---|
466 | WINED3DRS_ENABLEADAPTIVETESSELLATION = 184,
|
---|
467 | WINED3DRS_TWOSIDEDSTENCILMODE = 185,
|
---|
468 | WINED3DRS_CCW_STENCILFAIL = 186,
|
---|
469 | WINED3DRS_CCW_STENCILZFAIL = 187,
|
---|
470 | WINED3DRS_CCW_STENCILPASS = 188,
|
---|
471 | WINED3DRS_CCW_STENCILFUNC = 189,
|
---|
472 | WINED3DRS_COLORWRITEENABLE1 = 190,
|
---|
473 | WINED3DRS_COLORWRITEENABLE2 = 191,
|
---|
474 | WINED3DRS_COLORWRITEENABLE3 = 192,
|
---|
475 | WINED3DRS_BLENDFACTOR = 193,
|
---|
476 | WINED3DRS_SRGBWRITEENABLE = 194,
|
---|
477 | WINED3DRS_DEPTHBIAS = 195,
|
---|
478 | WINED3DRS_WRAP8 = 198,
|
---|
479 | WINED3DRS_WRAP9 = 199,
|
---|
480 | WINED3DRS_WRAP10 = 200,
|
---|
481 | WINED3DRS_WRAP11 = 201,
|
---|
482 | WINED3DRS_WRAP12 = 202,
|
---|
483 | WINED3DRS_WRAP13 = 203,
|
---|
484 | WINED3DRS_WRAP14 = 204,
|
---|
485 | WINED3DRS_WRAP15 = 205,
|
---|
486 | WINED3DRS_SEPARATEALPHABLENDENABLE = 206,
|
---|
487 | WINED3DRS_SRCBLENDALPHA = 207,
|
---|
488 | WINED3DRS_DESTBLENDALPHA = 208,
|
---|
489 | WINED3DRS_BLENDOPALPHA = 209,
|
---|
490 | WINED3DRS_FORCE_DWORD = 0x7fffffff
|
---|
491 | } WINED3DRENDERSTATETYPE;
|
---|
492 | #define WINEHIGHEST_RENDER_STATE (WINED3DRS_BLENDOPALPHA)
|
---|
493 |
|
---|
494 | typedef enum _WINED3DBLEND {
|
---|
495 | WINED3DBLEND_ZERO = 1,
|
---|
496 | WINED3DBLEND_ONE = 2,
|
---|
497 | WINED3DBLEND_SRCCOLOR = 3,
|
---|
498 | WINED3DBLEND_INVSRCCOLOR = 4,
|
---|
499 | WINED3DBLEND_SRCALPHA = 5,
|
---|
500 | WINED3DBLEND_INVSRCALPHA = 6,
|
---|
501 | WINED3DBLEND_DESTALPHA = 7,
|
---|
502 | WINED3DBLEND_INVDESTALPHA = 8,
|
---|
503 | WINED3DBLEND_DESTCOLOR = 9,
|
---|
504 | WINED3DBLEND_INVDESTCOLOR = 10,
|
---|
505 | WINED3DBLEND_SRCALPHASAT = 11,
|
---|
506 | WINED3DBLEND_BOTHSRCALPHA = 12,
|
---|
507 | WINED3DBLEND_BOTHINVSRCALPHA = 13,
|
---|
508 | WINED3DBLEND_BLENDFACTOR = 14,
|
---|
509 | WINED3DBLEND_INVBLENDFACTOR = 15,
|
---|
510 | WINED3DBLEND_FORCE_DWORD = 0x7fffffff
|
---|
511 | } WINED3DBLEND;
|
---|
512 | typedef enum _WINED3DBLENDOP {
|
---|
513 | WINED3DBLENDOP_ADD = 1,
|
---|
514 | WINED3DBLENDOP_SUBTRACT = 2,
|
---|
515 | WINED3DBLENDOP_REVSUBTRACT = 3,
|
---|
516 | WINED3DBLENDOP_MIN = 4,
|
---|
517 | WINED3DBLENDOP_MAX = 5,
|
---|
518 | WINED3DBLENDOP_FORCE_DWORD = 0x7fffffff
|
---|
519 | } WINED3DBLENDOP;
|
---|
520 | typedef enum _WINED3DVERTEXBLENDFLAGS {
|
---|
521 | WINED3DVBF_DISABLE = 0,
|
---|
522 | WINED3DVBF_1WEIGHTS = 1,
|
---|
523 | WINED3DVBF_2WEIGHTS = 2,
|
---|
524 | WINED3DVBF_3WEIGHTS = 3,
|
---|
525 | WINED3DVBF_TWEENING = 255,
|
---|
526 | WINED3DVBF_0WEIGHTS = 256
|
---|
527 | } WINED3DVERTEXBLENDFLAGS;
|
---|
528 | typedef enum _WINED3DCMPFUNC {
|
---|
529 | WINED3DCMP_NEVER = 1,
|
---|
530 | WINED3DCMP_LESS = 2,
|
---|
531 | WINED3DCMP_EQUAL = 3,
|
---|
532 | WINED3DCMP_LESSEQUAL = 4,
|
---|
533 | WINED3DCMP_GREATER = 5,
|
---|
534 | WINED3DCMP_NOTEQUAL = 6,
|
---|
535 | WINED3DCMP_GREATEREQUAL = 7,
|
---|
536 | WINED3DCMP_ALWAYS = 8,
|
---|
537 | WINED3DCMP_FORCE_DWORD = 0x7fffffff
|
---|
538 | } WINED3DCMPFUNC;
|
---|
539 | typedef enum _WINED3DZBUFFERTYPE {
|
---|
540 | WINED3DZB_FALSE = 0,
|
---|
541 | WINED3DZB_TRUE = 1,
|
---|
542 | WINED3DZB_USEW = 2,
|
---|
543 | WINED3DZB_FORCE_DWORD = 0x7fffffff
|
---|
544 | } WINED3DZBUFFERTYPE;
|
---|
545 | typedef enum _WINED3DFOGMODE {
|
---|
546 | WINED3DFOG_NONE = 0,
|
---|
547 | WINED3DFOG_EXP = 1,
|
---|
548 | WINED3DFOG_EXP2 = 2,
|
---|
549 | WINED3DFOG_LINEAR = 3,
|
---|
550 | WINED3DFOG_FORCE_DWORD = 0x7fffffff
|
---|
551 | } WINED3DFOGMODE;
|
---|
552 | typedef enum _WINED3DSHADEMODE {
|
---|
553 | WINED3DSHADE_FLAT = 1,
|
---|
554 | WINED3DSHADE_GOURAUD = 2,
|
---|
555 | WINED3DSHADE_PHONG = 3,
|
---|
556 | WINED3DSHADE_FORCE_DWORD = 0x7fffffff
|
---|
557 | } WINED3DSHADEMODE;
|
---|
558 | typedef enum _WINED3DFILLMODE {
|
---|
559 | WINED3DFILL_POINT = 1,
|
---|
560 | WINED3DFILL_WIREFRAME = 2,
|
---|
561 | WINED3DFILL_SOLID = 3,
|
---|
562 | WINED3DFILL_FORCE_DWORD = 0x7fffffff
|
---|
563 | } WINED3DFILLMODE;
|
---|
564 | typedef enum _WINED3DCULL {
|
---|
565 | WINED3DCULL_NONE = 1,
|
---|
566 | WINED3DCULL_CW = 2,
|
---|
567 | WINED3DCULL_CCW = 3,
|
---|
568 | WINED3DCULL_FORCE_DWORD = 0x7fffffff
|
---|
569 | } WINED3DCULL;
|
---|
570 | typedef enum _WINED3DSTENCILOP {
|
---|
571 | WINED3DSTENCILOP_KEEP = 1,
|
---|
572 | WINED3DSTENCILOP_ZERO = 2,
|
---|
573 | WINED3DSTENCILOP_REPLACE = 3,
|
---|
574 | WINED3DSTENCILOP_INCRSAT = 4,
|
---|
575 | WINED3DSTENCILOP_DECRSAT = 5,
|
---|
576 | WINED3DSTENCILOP_INVERT = 6,
|
---|
577 | WINED3DSTENCILOP_INCR = 7,
|
---|
578 | WINED3DSTENCILOP_DECR = 8,
|
---|
579 | WINED3DSTENCILOP_FORCE_DWORD = 0x7fffffff
|
---|
580 | } WINED3DSTENCILOP;
|
---|
581 | typedef enum _WINED3DMATERIALCOLORSOURCE {
|
---|
582 | WINED3DMCS_MATERIAL = 0,
|
---|
583 | WINED3DMCS_COLOR1 = 1,
|
---|
584 | WINED3DMCS_COLOR2 = 2,
|
---|
585 | WINED3DMCS_FORCE_DWORD = 0x7fffffff
|
---|
586 | } WINED3DMATERIALCOLORSOURCE;
|
---|
587 | typedef enum _WINED3DPATCHEDGESTYLE {
|
---|
588 | WINED3DPATCHEDGE_DISCRETE = 0,
|
---|
589 | WINED3DPATCHEDGE_CONTINUOUS = 1,
|
---|
590 | WINED3DPATCHEDGE_FORCE_DWORD = 0x7fffffff
|
---|
591 | } WINED3DPATCHEDGESTYLE;
|
---|
592 | typedef enum _WINED3DBACKBUFFER_TYPE {
|
---|
593 | WINED3DBACKBUFFER_TYPE_MONO = 0,
|
---|
594 | WINED3DBACKBUFFER_TYPE_LEFT = 1,
|
---|
595 | WINED3DBACKBUFFER_TYPE_RIGHT = 2,
|
---|
596 | WINED3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff
|
---|
597 | } WINED3DBACKBUFFER_TYPE;
|
---|
598 | typedef enum _WINED3DSWAPEFFECT {
|
---|
599 | WINED3DSWAPEFFECT_DISCARD = 1,
|
---|
600 | WINED3DSWAPEFFECT_FLIP = 2,
|
---|
601 | WINED3DSWAPEFFECT_COPY = 3,
|
---|
602 | WINED3DSWAPEFFECT_COPY_VSYNC = 4,
|
---|
603 | WINED3DSWAPEFFECT_FORCE_DWORD = 0xffffffff
|
---|
604 | } WINED3DSWAPEFFECT;
|
---|
605 | typedef enum _WINED3DSAMPLERSTATETYPE {
|
---|
606 | WINED3DSAMP_ADDRESSU = 1,
|
---|
607 | WINED3DSAMP_ADDRESSV = 2,
|
---|
608 | WINED3DSAMP_ADDRESSW = 3,
|
---|
609 | WINED3DSAMP_BORDERCOLOR = 4,
|
---|
610 | WINED3DSAMP_MAGFILTER = 5,
|
---|
611 | WINED3DSAMP_MINFILTER = 6,
|
---|
612 | WINED3DSAMP_MIPFILTER = 7,
|
---|
613 | WINED3DSAMP_MIPMAPLODBIAS = 8,
|
---|
614 | WINED3DSAMP_MAXMIPLEVEL = 9,
|
---|
615 | WINED3DSAMP_MAXANISOTROPY = 10,
|
---|
616 | WINED3DSAMP_SRGBTEXTURE = 11,
|
---|
617 | WINED3DSAMP_ELEMENTINDEX = 12,
|
---|
618 | WINED3DSAMP_DMAPOFFSET = 13,
|
---|
619 | WINED3DSAMP_FORCE_DWORD = 0x7fffffff
|
---|
620 | } WINED3DSAMPLERSTATETYPE;
|
---|
621 | #define WINED3D_HIGHEST_SAMPLER_STATE (WINED3DSAMP_DMAPOFFSET)
|
---|
622 |
|
---|
623 | typedef enum _WINED3DMULTISAMPLE_TYPE {
|
---|
624 | WINED3DMULTISAMPLE_NONE = 0,
|
---|
625 | WINED3DMULTISAMPLE_NONMASKABLE = 1,
|
---|
626 | WINED3DMULTISAMPLE_2_SAMPLES = 2,
|
---|
627 | WINED3DMULTISAMPLE_3_SAMPLES = 3,
|
---|
628 | WINED3DMULTISAMPLE_4_SAMPLES = 4,
|
---|
629 | WINED3DMULTISAMPLE_5_SAMPLES = 5,
|
---|
630 | WINED3DMULTISAMPLE_6_SAMPLES = 6,
|
---|
631 | WINED3DMULTISAMPLE_7_SAMPLES = 7,
|
---|
632 | WINED3DMULTISAMPLE_8_SAMPLES = 8,
|
---|
633 | WINED3DMULTISAMPLE_9_SAMPLES = 9,
|
---|
634 | WINED3DMULTISAMPLE_10_SAMPLES = 10,
|
---|
635 | WINED3DMULTISAMPLE_11_SAMPLES = 11,
|
---|
636 | WINED3DMULTISAMPLE_12_SAMPLES = 12,
|
---|
637 | WINED3DMULTISAMPLE_13_SAMPLES = 13,
|
---|
638 | WINED3DMULTISAMPLE_14_SAMPLES = 14,
|
---|
639 | WINED3DMULTISAMPLE_15_SAMPLES = 15,
|
---|
640 | WINED3DMULTISAMPLE_16_SAMPLES = 16,
|
---|
641 | WINED3DMULTISAMPLE_FORCE_DWORD = 0xffffffff
|
---|
642 | } WINED3DMULTISAMPLE_TYPE;
|
---|
643 | typedef enum _WINED3DTEXTURESTAGESTATETYPE {
|
---|
644 | WINED3DTSS_COLOROP = 0,
|
---|
645 | WINED3DTSS_COLORARG1 = 1,
|
---|
646 | WINED3DTSS_COLORARG2 = 2,
|
---|
647 | WINED3DTSS_ALPHAOP = 3,
|
---|
648 | WINED3DTSS_ALPHAARG1 = 4,
|
---|
649 | WINED3DTSS_ALPHAARG2 = 5,
|
---|
650 | WINED3DTSS_BUMPENVMAT00 = 6,
|
---|
651 | WINED3DTSS_BUMPENVMAT01 = 7,
|
---|
652 | WINED3DTSS_BUMPENVMAT10 = 8,
|
---|
653 | WINED3DTSS_BUMPENVMAT11 = 9,
|
---|
654 | WINED3DTSS_TEXCOORDINDEX = 10,
|
---|
655 | WINED3DTSS_BUMPENVLSCALE = 11,
|
---|
656 | WINED3DTSS_BUMPENVLOFFSET = 12,
|
---|
657 | WINED3DTSS_TEXTURETRANSFORMFLAGS = 13,
|
---|
658 | WINED3DTSS_COLORARG0 = 14,
|
---|
659 | WINED3DTSS_ALPHAARG0 = 15,
|
---|
660 | WINED3DTSS_RESULTARG = 16,
|
---|
661 | WINED3DTSS_CONSTANT = 17,
|
---|
662 | WINED3DTSS_FORCE_DWORD = 0x7fffffff
|
---|
663 | } WINED3DTEXTURESTAGESTATETYPE;
|
---|
664 | #define WINED3D_HIGHEST_TEXTURE_STATE (WINED3DTSS_CONSTANT)
|
---|
665 |
|
---|
666 | typedef enum _WINED3DTEXTURETRANSFORMFLAGS {
|
---|
667 | WINED3DTTFF_DISABLE = 0,
|
---|
668 | WINED3DTTFF_COUNT1 = 1,
|
---|
669 | WINED3DTTFF_COUNT2 = 2,
|
---|
670 | WINED3DTTFF_COUNT3 = 3,
|
---|
671 | WINED3DTTFF_COUNT4 = 4,
|
---|
672 | WINED3DTTFF_PROJECTED = 256,
|
---|
673 | WINED3DTTFF_FORCE_DWORD = 0x7fffffff
|
---|
674 | } WINED3DTEXTURETRANSFORMFLAGS;
|
---|
675 | typedef enum _WINED3DTEXTUREOP {
|
---|
676 | WINED3DTOP_DISABLE = 1,
|
---|
677 | WINED3DTOP_SELECTARG1 = 2,
|
---|
678 | WINED3DTOP_SELECTARG2 = 3,
|
---|
679 | WINED3DTOP_MODULATE = 4,
|
---|
680 | WINED3DTOP_MODULATE2X = 5,
|
---|
681 | WINED3DTOP_MODULATE4X = 6,
|
---|
682 | WINED3DTOP_ADD = 7,
|
---|
683 | WINED3DTOP_ADDSIGNED = 8,
|
---|
684 | WINED3DTOP_ADDSIGNED2X = 9,
|
---|
685 | WINED3DTOP_SUBTRACT = 10,
|
---|
686 | WINED3DTOP_ADDSMOOTH = 11,
|
---|
687 | WINED3DTOP_BLENDDIFFUSEALPHA = 12,
|
---|
688 | WINED3DTOP_BLENDTEXTUREALPHA = 13,
|
---|
689 | WINED3DTOP_BLENDFACTORALPHA = 14,
|
---|
690 | WINED3DTOP_BLENDTEXTUREALPHAPM = 15,
|
---|
691 | WINED3DTOP_BLENDCURRENTALPHA = 16,
|
---|
692 | WINED3DTOP_PREMODULATE = 17,
|
---|
693 | WINED3DTOP_MODULATEALPHA_ADDCOLOR = 18,
|
---|
694 | WINED3DTOP_MODULATECOLOR_ADDALPHA = 19,
|
---|
695 | WINED3DTOP_MODULATEINVALPHA_ADDCOLOR = 20,
|
---|
696 | WINED3DTOP_MODULATEINVCOLOR_ADDALPHA = 21,
|
---|
697 | WINED3DTOP_BUMPENVMAP = 22,
|
---|
698 | WINED3DTOP_BUMPENVMAPLUMINANCE = 23,
|
---|
699 | WINED3DTOP_DOTPRODUCT3 = 24,
|
---|
700 | WINED3DTOP_MULTIPLYADD = 25,
|
---|
701 | WINED3DTOP_LERP = 26,
|
---|
702 | WINED3DTOP_FORCE_DWORD = 0x7fffffff
|
---|
703 | } WINED3DTEXTUREOP;
|
---|
704 | typedef enum _WINED3DTEXTUREADDRESS {
|
---|
705 | WINED3DTADDRESS_WRAP = 1,
|
---|
706 | WINED3DTADDRESS_MIRROR = 2,
|
---|
707 | WINED3DTADDRESS_CLAMP = 3,
|
---|
708 | WINED3DTADDRESS_BORDER = 4,
|
---|
709 | WINED3DTADDRESS_MIRRORONCE = 5,
|
---|
710 | WINED3DTADDRESS_FORCE_DWORD = 0x7fffffff
|
---|
711 | } WINED3DTEXTUREADDRESS;
|
---|
712 | typedef enum _WINED3DTRANSFORMSTATETYPE {
|
---|
713 | WINED3DTS_VIEW = 2,
|
---|
714 | WINED3DTS_PROJECTION = 3,
|
---|
715 | WINED3DTS_TEXTURE0 = 16,
|
---|
716 | WINED3DTS_TEXTURE1 = 17,
|
---|
717 | WINED3DTS_TEXTURE2 = 18,
|
---|
718 | WINED3DTS_TEXTURE3 = 19,
|
---|
719 | WINED3DTS_TEXTURE4 = 20,
|
---|
720 | WINED3DTS_TEXTURE5 = 21,
|
---|
721 | WINED3DTS_TEXTURE6 = 22,
|
---|
722 | WINED3DTS_TEXTURE7 = 23,
|
---|
723 | WINED3DTS_WORLD = 256,
|
---|
724 | WINED3DTS_WORLD1 = 257,
|
---|
725 | WINED3DTS_WORLD2 = 258,
|
---|
726 | WINED3DTS_WORLD3 = 259,
|
---|
727 | WINED3DTS_FORCE_DWORD = 0x7fffffff
|
---|
728 | } WINED3DTRANSFORMSTATETYPE;
|
---|
729 | #define WINED3DTS_WORLDMATRIX(index) (WINED3DTRANSFORMSTATETYPE)(index + 256)
|
---|
730 | typedef enum _WINED3DBASISTYPE {
|
---|
731 | WINED3DBASIS_BEZIER = 0,
|
---|
732 | WINED3DBASIS_BSPLINE = 1,
|
---|
733 | WINED3DBASIS_INTERPOLATE = 2,
|
---|
734 | WINED3DBASIS_FORCE_DWORD = 0x7fffffff
|
---|
735 | } WINED3DBASISTYPE;
|
---|
736 | typedef enum _WINED3DCUBEMAP_FACES {
|
---|
737 | WINED3DCUBEMAP_FACE_POSITIVE_X = 0,
|
---|
738 | WINED3DCUBEMAP_FACE_NEGATIVE_X = 1,
|
---|
739 | WINED3DCUBEMAP_FACE_POSITIVE_Y = 2,
|
---|
740 | WINED3DCUBEMAP_FACE_NEGATIVE_Y = 3,
|
---|
741 | WINED3DCUBEMAP_FACE_POSITIVE_Z = 4,
|
---|
742 | WINED3DCUBEMAP_FACE_NEGATIVE_Z = 5,
|
---|
743 | WINED3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff
|
---|
744 | } WINED3DCUBEMAP_FACES;
|
---|
745 | typedef enum _WINED3DTEXTUREFILTERTYPE {
|
---|
746 | WINED3DTEXF_NONE = 0,
|
---|
747 | WINED3DTEXF_POINT = 1,
|
---|
748 | WINED3DTEXF_LINEAR = 2,
|
---|
749 | WINED3DTEXF_ANISOTROPIC = 3,
|
---|
750 | WINED3DTEXF_FLATCUBIC = 4,
|
---|
751 | WINED3DTEXF_GAUSSIANCUBIC = 5,
|
---|
752 | WINED3DTEXF_PYRAMIDALQUAD = 6,
|
---|
753 | WINED3DTEXF_GAUSSIANQUAD = 7,
|
---|
754 | WINED3DTEXF_FORCE_DWORD = 0x7fffffff
|
---|
755 | } WINED3DTEXTUREFILTERTYPE;
|
---|
756 | typedef enum _WINED3DRESOURCETYPE {
|
---|
757 | WINED3DRTYPE_SURFACE = 1,
|
---|
758 | WINED3DRTYPE_VOLUME = 2,
|
---|
759 | WINED3DRTYPE_TEXTURE = 3,
|
---|
760 | WINED3DRTYPE_VOLUMETEXTURE = 4,
|
---|
761 | WINED3DRTYPE_CUBETEXTURE = 5,
|
---|
762 | WINED3DRTYPE_BUFFER = 6,
|
---|
763 | WINED3DRTYPE_FORCE_DWORD = 0x7fffffff
|
---|
764 | } WINED3DRESOURCETYPE;
|
---|
765 | #define WINED3DRTYPECOUNT (WINED3DRTYPE_BUFFER + 1)
|
---|
766 |
|
---|
767 | typedef enum _WINED3DPOOL {
|
---|
768 | WINED3DPOOL_DEFAULT = 0,
|
---|
769 | WINED3DPOOL_MANAGED = 1,
|
---|
770 | WINED3DPOOL_SYSTEMMEM = 2,
|
---|
771 | WINED3DPOOL_SCRATCH = 3,
|
---|
772 | WINED3DPOOL_FORCE_DWORD = 0x7fffffff
|
---|
773 | } WINED3DPOOL;
|
---|
774 | typedef enum _WINED3DQUERYTYPE {
|
---|
775 | WINED3DQUERYTYPE_VCACHE = 4,
|
---|
776 | WINED3DQUERYTYPE_RESOURCEMANAGER = 5,
|
---|
777 | WINED3DQUERYTYPE_VERTEXSTATS = 6,
|
---|
778 | WINED3DQUERYTYPE_EVENT = 8,
|
---|
779 | WINED3DQUERYTYPE_OCCLUSION = 9,
|
---|
780 | WINED3DQUERYTYPE_TIMESTAMP = 10,
|
---|
781 | WINED3DQUERYTYPE_TIMESTAMPDISJOINT = 11,
|
---|
782 | WINED3DQUERYTYPE_TIMESTAMPFREQ = 12,
|
---|
783 | WINED3DQUERYTYPE_PIPELINETIMINGS = 13,
|
---|
784 | WINED3DQUERYTYPE_INTERFACETIMINGS = 14,
|
---|
785 | WINED3DQUERYTYPE_VERTEXTIMINGS = 15,
|
---|
786 | WINED3DQUERYTYPE_PIXELTIMINGS = 16,
|
---|
787 | WINED3DQUERYTYPE_BANDWIDTHTIMINGS = 17,
|
---|
788 | WINED3DQUERYTYPE_CACHEUTILIZATION = 18
|
---|
789 | } WINED3DQUERYTYPE;
|
---|
790 | #define WINED3DISSUE_BEGIN (1 << 1)
|
---|
791 |
|
---|
792 | #define WINED3DISSUE_END (1 << 0)
|
---|
793 |
|
---|
794 | #define WINED3DGETDATA_FLUSH (1 << 0)
|
---|
795 |
|
---|
796 | typedef enum _WINED3DSTATEBLOCKTYPE {
|
---|
797 | WINED3DSBT_INIT = 0,
|
---|
798 | WINED3DSBT_ALL = 1,
|
---|
799 | WINED3DSBT_PIXELSTATE = 2,
|
---|
800 | WINED3DSBT_VERTEXSTATE = 3,
|
---|
801 | WINED3DSBT_RECORDED = 4,
|
---|
802 | WINED3DSBT_FORCE_DWORD = 0xffffffff
|
---|
803 | } WINED3DSTATEBLOCKTYPE;
|
---|
804 | typedef enum _WINED3DDECLMETHOD {
|
---|
805 | WINED3DDECLMETHOD_DEFAULT = 0,
|
---|
806 | WINED3DDECLMETHOD_PARTIALU = 1,
|
---|
807 | WINED3DDECLMETHOD_PARTIALV = 2,
|
---|
808 | WINED3DDECLMETHOD_CROSSUV = 3,
|
---|
809 | WINED3DDECLMETHOD_UV = 4,
|
---|
810 | WINED3DDECLMETHOD_LOOKUP = 5,
|
---|
811 | WINED3DDECLMETHOD_LOOKUPPRESAMPLED = 6
|
---|
812 | } WINED3DDECLMETHOD;
|
---|
813 | typedef enum _WINED3DDECLUSAGE {
|
---|
814 | WINED3DDECLUSAGE_POSITION = 0,
|
---|
815 | WINED3DDECLUSAGE_BLENDWEIGHT = 1,
|
---|
816 | WINED3DDECLUSAGE_BLENDINDICES = 2,
|
---|
817 | WINED3DDECLUSAGE_NORMAL = 3,
|
---|
818 | WINED3DDECLUSAGE_PSIZE = 4,
|
---|
819 | WINED3DDECLUSAGE_TEXCOORD = 5,
|
---|
820 | WINED3DDECLUSAGE_TANGENT = 6,
|
---|
821 | WINED3DDECLUSAGE_BINORMAL = 7,
|
---|
822 | WINED3DDECLUSAGE_TESSFACTOR = 8,
|
---|
823 | WINED3DDECLUSAGE_POSITIONT = 9,
|
---|
824 | WINED3DDECLUSAGE_COLOR = 10,
|
---|
825 | WINED3DDECLUSAGE_FOG = 11,
|
---|
826 | WINED3DDECLUSAGE_DEPTH = 12,
|
---|
827 | WINED3DDECLUSAGE_SAMPLE = 13
|
---|
828 | } WINED3DDECLUSAGE;
|
---|
829 | typedef enum _WINED3DSURFTYPE {
|
---|
830 | SURFACE_UNKNOWN = 0,
|
---|
831 | SURFACE_OPENGL = 1,
|
---|
832 | SURFACE_GDI = 2
|
---|
833 | } WINED3DSURFTYPE;
|
---|
834 | enum wined3d_sysval_semantic {
|
---|
835 | WINED3D_SV_DEPTH = 0xffffffff,
|
---|
836 | WINED3D_SV_TARGET0 = 0,
|
---|
837 | WINED3D_SV_TARGET1 = 1,
|
---|
838 | WINED3D_SV_TARGET2 = 2,
|
---|
839 | WINED3D_SV_TARGET3 = 3,
|
---|
840 | WINED3D_SV_TARGET4 = 4,
|
---|
841 | WINED3D_SV_TARGET5 = 5,
|
---|
842 | WINED3D_SV_TARGET6 = 6,
|
---|
843 | WINED3D_SV_TARGET7 = 7
|
---|
844 | };
|
---|
845 |
|
---|
846 | #define WINED3DCOLORWRITEENABLE_RED (1 << 0)
|
---|
847 |
|
---|
848 | #define WINED3DCOLORWRITEENABLE_GREEN (1 << 1)
|
---|
849 |
|
---|
850 | #define WINED3DCOLORWRITEENABLE_BLUE (1 << 2)
|
---|
851 |
|
---|
852 | #define WINED3DCOLORWRITEENABLE_ALPHA (1 << 3)
|
---|
853 |
|
---|
854 | #define WINED3DADAPTER_DEFAULT (0)
|
---|
855 |
|
---|
856 | #define WINED3DENUM_NO_WHQL_LEVEL (2)
|
---|
857 |
|
---|
858 | #define WINED3DPRESENT_BACK_BUFFER_MAX (3)
|
---|
859 |
|
---|
860 | #define WINED3DTSS_TCI_PASSTHRU (0x0)
|
---|
861 |
|
---|
862 | #define WINED3DTSS_TCI_CAMERASPACENORMAL (0x10000)
|
---|
863 |
|
---|
864 | #define WINED3DTSS_TCI_CAMERASPACEPOSITION (0x20000)
|
---|
865 |
|
---|
866 | #define WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR (0x30000)
|
---|
867 |
|
---|
868 | #define WINED3DTSS_TCI_SPHEREMAP (0x40000)
|
---|
869 |
|
---|
870 | #define WINED3DTA_SELECTMASK (0xf)
|
---|
871 |
|
---|
872 | #define WINED3DTA_DIFFUSE (0x0)
|
---|
873 |
|
---|
874 | #define WINED3DTA_CURRENT (0x1)
|
---|
875 |
|
---|
876 | #define WINED3DTA_TEXTURE (0x2)
|
---|
877 |
|
---|
878 | #define WINED3DTA_TFACTOR (0x3)
|
---|
879 |
|
---|
880 | #define WINED3DTA_SPECULAR (0x4)
|
---|
881 |
|
---|
882 | #define WINED3DTA_TEMP (0x5)
|
---|
883 |
|
---|
884 | #define WINED3DTA_CONSTANT (0x6)
|
---|
885 |
|
---|
886 | #define WINED3DTA_COMPLEMENT (0x10)
|
---|
887 |
|
---|
888 | #define WINED3DTA_ALPHAREPLICATE (0x20)
|
---|
889 |
|
---|
890 | #define WINED3DPRESENTFLAG_LOCKABLE_BACKBUFFER (0x1)
|
---|
891 |
|
---|
892 | #define WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL (0x2)
|
---|
893 |
|
---|
894 | #define WINED3DPRESENTFLAG_DEVICECLIP (0x4)
|
---|
895 |
|
---|
896 | #define WINED3DPRESENTFLAG_VIDEO (0x10)
|
---|
897 |
|
---|
898 | #define WINED3DPRESENTFLAG_NOAUTOROTATE (0x20)
|
---|
899 |
|
---|
900 | #define WINED3DPRESENTFLAG_UNPRUNEDMODE (0x40)
|
---|
901 |
|
---|
902 | #define WINED3DDP_MAXTEXCOORD (8)
|
---|
903 |
|
---|
904 | #define WINED3DUSAGE_RENDERTARGET (0x1)
|
---|
905 |
|
---|
906 | #define WINED3DUSAGE_DEPTHSTENCIL (0x2)
|
---|
907 |
|
---|
908 | #define WINED3DUSAGE_WRITEONLY (0x8)
|
---|
909 |
|
---|
910 | #define WINED3DUSAGE_SOFTWAREPROCESSING (0x10)
|
---|
911 |
|
---|
912 | #define WINED3DUSAGE_DONOTCLIP (0x20)
|
---|
913 |
|
---|
914 | #define WINED3DUSAGE_POINTS (0x40)
|
---|
915 |
|
---|
916 | #define WINED3DUSAGE_RTPATCHES (0x80)
|
---|
917 |
|
---|
918 | #define WINED3DUSAGE_NPATCHES (0x100)
|
---|
919 |
|
---|
920 | #define WINED3DUSAGE_DYNAMIC (0x200)
|
---|
921 |
|
---|
922 | #define WINED3DUSAGE_AUTOGENMIPMAP (0x400)
|
---|
923 |
|
---|
924 | #define WINED3DUSAGE_DMAP (0x4000)
|
---|
925 |
|
---|
926 | #define WINED3DUSAGE_MASK (0x4fff)
|
---|
927 |
|
---|
928 | #define WINED3DUSAGE_STATICDECL (0x40000000)
|
---|
929 |
|
---|
930 | #define WINED3DUSAGE_OVERLAY (0x80000000)
|
---|
931 |
|
---|
932 | #define WINED3DUSAGE_QUERY_LEGACYBUMPMAP (0x8000)
|
---|
933 |
|
---|
934 | #define WINED3DUSAGE_QUERY_FILTER (0x20000)
|
---|
935 |
|
---|
936 | #define WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING (0x80000)
|
---|
937 |
|
---|
938 | #define WINED3DUSAGE_QUERY_SRGBREAD (0x10000)
|
---|
939 |
|
---|
940 | #define WINED3DUSAGE_QUERY_SRGBWRITE (0x40000)
|
---|
941 |
|
---|
942 | #define WINED3DUSAGE_QUERY_VERTEXTEXTURE (0x100000)
|
---|
943 |
|
---|
944 | #define WINED3DUSAGE_QUERY_WRAPANDMIP (0x200000)
|
---|
945 |
|
---|
946 | #define WINED3DUSAGE_QUERY_MASK (0x3f8000)
|
---|
947 |
|
---|
948 | #define WINED3DLOCK_READONLY (0x10)
|
---|
949 |
|
---|
950 | #define WINED3DLOCK_NOSYSLOCK (0x800)
|
---|
951 |
|
---|
952 | #define WINED3DLOCK_NOOVERWRITE (0x1000)
|
---|
953 |
|
---|
954 | #define WINED3DLOCK_DISCARD (0x2000)
|
---|
955 |
|
---|
956 | #define WINED3DLOCK_DONOTWAIT (0x4000)
|
---|
957 |
|
---|
958 | #define WINED3DLOCK_NO_DIRTY_UPDATE (0x8000)
|
---|
959 |
|
---|
960 | #define WINED3DPRESENT_RATE_DEFAULT (0x0)
|
---|
961 |
|
---|
962 | #define WINED3DPRESENT_INTERVAL_DEFAULT (0x0)
|
---|
963 |
|
---|
964 | #define WINED3DPRESENT_INTERVAL_ONE (0x1)
|
---|
965 |
|
---|
966 | #define WINED3DPRESENT_INTERVAL_TWO (0x2)
|
---|
967 |
|
---|
968 | #define WINED3DPRESENT_INTERVAL_THREE (0x4)
|
---|
969 |
|
---|
970 | #define WINED3DPRESENT_INTERVAL_FOUR (0x8)
|
---|
971 |
|
---|
972 | #define WINED3DPRESENT_INTERVAL_IMMEDIATE (0x80000000)
|
---|
973 |
|
---|
974 | #define WINED3DMAXUSERCLIPPLANES (32)
|
---|
975 |
|
---|
976 | #define WINED3DCLIPPLANE0 (1 << 0)
|
---|
977 |
|
---|
978 | #define WINED3DCLIPPLANE1 (1 << 1)
|
---|
979 |
|
---|
980 | #define WINED3DCLIPPLANE2 (1 << 2)
|
---|
981 |
|
---|
982 | #define WINED3DCLIPPLANE3 (1 << 3)
|
---|
983 |
|
---|
984 | #define WINED3DCLIPPLANE4 (1 << 4)
|
---|
985 |
|
---|
986 | #define WINED3DCLIPPLANE5 (1 << 5)
|
---|
987 |
|
---|
988 | #define WINED3DFVF_RESERVED0 (0x1)
|
---|
989 |
|
---|
990 | #define WINED3DFVF_POSITION_MASK (0x400e)
|
---|
991 |
|
---|
992 | #define WINED3DFVF_XYZ (0x2)
|
---|
993 |
|
---|
994 | #define WINED3DFVF_XYZRHW (0x4)
|
---|
995 |
|
---|
996 | #define WINED3DFVF_XYZB1 (0x6)
|
---|
997 |
|
---|
998 | #define WINED3DFVF_XYZB2 (0x8)
|
---|
999 |
|
---|
1000 | #define WINED3DFVF_XYZB3 (0xa)
|
---|
1001 |
|
---|
1002 | #define WINED3DFVF_XYZB4 (0xc)
|
---|
1003 |
|
---|
1004 | #define WINED3DFVF_XYZB5 (0xe)
|
---|
1005 |
|
---|
1006 | #define WINED3DFVF_XYZW (0x4002)
|
---|
1007 |
|
---|
1008 | #define WINED3DFVF_NORMAL (0x10)
|
---|
1009 |
|
---|
1010 | #define WINED3DFVF_PSIZE (0x20)
|
---|
1011 |
|
---|
1012 | #define WINED3DFVF_DIFFUSE (0x40)
|
---|
1013 |
|
---|
1014 | #define WINED3DFVF_SPECULAR (0x80)
|
---|
1015 |
|
---|
1016 | #define WINED3DFVF_TEXCOUNT_MASK (0xf00)
|
---|
1017 |
|
---|
1018 | #define WINED3DFVF_TEXCOUNT_SHIFT (8)
|
---|
1019 |
|
---|
1020 | #define WINED3DFVF_TEX0 (0x0)
|
---|
1021 |
|
---|
1022 | #define WINED3DFVF_TEX1 (0x100)
|
---|
1023 |
|
---|
1024 | #define WINED3DFVF_TEX2 (0x200)
|
---|
1025 |
|
---|
1026 | #define WINED3DFVF_TEX3 (0x300)
|
---|
1027 |
|
---|
1028 | #define WINED3DFVF_TEX4 (0x400)
|
---|
1029 |
|
---|
1030 | #define WINED3DFVF_TEX5 (0x500)
|
---|
1031 |
|
---|
1032 | #define WINED3DFVF_TEX6 (0x600)
|
---|
1033 |
|
---|
1034 | #define WINED3DFVF_TEX7 (0x700)
|
---|
1035 |
|
---|
1036 | #define WINED3DFVF_TEX8 (0x800)
|
---|
1037 |
|
---|
1038 | #define WINED3DFVF_LASTBETA_UBYTE4 (0x1000)
|
---|
1039 |
|
---|
1040 | #define WINED3DFVF_LASTBETA_D3DCOLOR (0x8000)
|
---|
1041 |
|
---|
1042 | #define WINED3DFVF_RESERVED2 (0x6000)
|
---|
1043 |
|
---|
1044 | #define WINED3DFVF_TEXTUREFORMAT1 (3)
|
---|
1045 |
|
---|
1046 | #define WINED3DFVF_TEXTUREFORMAT2 (0)
|
---|
1047 |
|
---|
1048 | #define WINED3DFVF_TEXTUREFORMAT3 (1)
|
---|
1049 |
|
---|
1050 | #define WINED3DFVF_TEXTUREFORMAT4 (2)
|
---|
1051 |
|
---|
1052 | #define WINED3DFVF_TEXCOORDSIZE1(CoordIndex) (WINED3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
|
---|
1053 | #define WINED3DFVF_TEXCOORDSIZE2(CoordIndex) (WINED3DFVF_TEXTUREFORMAT2)
|
---|
1054 | #define WINED3DFVF_TEXCOORDSIZE3(CoordIndex) (WINED3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
|
---|
1055 | #define WINED3DFVF_TEXCOORDSIZE4(CoordIndex) (WINED3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
|
---|
1056 | #define WINED3DCLEAR_TARGET (0x1)
|
---|
1057 |
|
---|
1058 | #define WINED3DCLEAR_ZBUFFER (0x2)
|
---|
1059 |
|
---|
1060 | #define WINED3DCLEAR_STENCIL (0x4)
|
---|
1061 |
|
---|
1062 | #define WINED3DSTREAMSOURCE_INDEXEDDATA (1 << 30)
|
---|
1063 |
|
---|
1064 | #define WINED3DSTREAMSOURCE_INSTANCEDATA (2 << 30)
|
---|
1065 |
|
---|
1066 | #define WINED3DSPD_IUNKNOWN (0x1)
|
---|
1067 |
|
---|
1068 | #define WINED3DCREATE_FPU_PRESERVE (0x2)
|
---|
1069 |
|
---|
1070 | #define WINED3DCREATE_PUREDEVICE (0x10)
|
---|
1071 |
|
---|
1072 | #define WINED3DCREATE_SOFTWARE_VERTEXPROCESSING (0x20)
|
---|
1073 |
|
---|
1074 | #define WINED3DCREATE_HARDWARE_VERTEXPROCESSING (0x40)
|
---|
1075 |
|
---|
1076 | #define WINED3DCREATE_MIXED_VERTEXPROCESSING (0x80)
|
---|
1077 |
|
---|
1078 | #define WINED3DCREATE_DISABLE_DRIVER_MANAGEMENT (0x100)
|
---|
1079 |
|
---|
1080 | #define WINED3DCREATE_ADAPTERGROUP_DEVICE (0x200)
|
---|
1081 |
|
---|
1082 | #define WINED3DDMAPSAMPLER (0x100)
|
---|
1083 |
|
---|
1084 | #define WINED3DVERTEXTEXTURESAMPLER0 (WINED3DDMAPSAMPLER + 1)
|
---|
1085 |
|
---|
1086 | #define WINED3DVERTEXTEXTURESAMPLER1 (WINED3DDMAPSAMPLER + 2)
|
---|
1087 |
|
---|
1088 | #define WINED3DVERTEXTEXTURESAMPLER2 (WINED3DDMAPSAMPLER + 3)
|
---|
1089 |
|
---|
1090 | #define WINED3DVERTEXTEXTURESAMPLER3 (WINED3DDMAPSAMPLER + 4)
|
---|
1091 |
|
---|
1092 | #define WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD (0x20)
|
---|
1093 |
|
---|
1094 | #define WINED3DCAPS3_LINEAR_TO_SRGB_PRESENTATION (0x80)
|
---|
1095 |
|
---|
1096 | #define WINED3DCAPS3_COPY_TO_VIDMEM (0x100)
|
---|
1097 |
|
---|
1098 | #define WINED3DCAPS3_COPY_TO_SYSTEMMEM (0x200)
|
---|
1099 |
|
---|
1100 | #define WINED3DCAPS3_RESERVED (0x8000001f)
|
---|
1101 |
|
---|
1102 | #define WINED3DDEVCAPS2_STREAMOFFSET (0x1)
|
---|
1103 |
|
---|
1104 | #define WINED3DDEVCAPS2_DMAPNPATCH (0x2)
|
---|
1105 |
|
---|
1106 | #define WINED3DDEVCAPS2_ADAPTIVETESSRTPATCH (0x4)
|
---|
1107 |
|
---|
1108 | #define WINED3DDEVCAPS2_ADAPTIVETESSNPATCH (0x8)
|
---|
1109 |
|
---|
1110 | #define WINED3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES (0x10)
|
---|
1111 |
|
---|
1112 | #define WINED3DDEVCAPS2_PRESAMPLEDDMAPNPATCH (0x20)
|
---|
1113 |
|
---|
1114 | #define WINED3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET (0x40)
|
---|
1115 |
|
---|
1116 | #define WINED3DDTCAPS_UBYTE4 (0x1)
|
---|
1117 |
|
---|
1118 | #define WINED3DDTCAPS_UBYTE4N (0x2)
|
---|
1119 |
|
---|
1120 | #define WINED3DDTCAPS_SHORT2N (0x4)
|
---|
1121 |
|
---|
1122 | #define WINED3DDTCAPS_SHORT4N (0x8)
|
---|
1123 |
|
---|
1124 | #define WINED3DDTCAPS_USHORT2N (0x10)
|
---|
1125 |
|
---|
1126 | #define WINED3DDTCAPS_USHORT4N (0x20)
|
---|
1127 |
|
---|
1128 | #define WINED3DDTCAPS_UDEC3 (0x40)
|
---|
1129 |
|
---|
1130 | #define WINED3DDTCAPS_DEC3N (0x80)
|
---|
1131 |
|
---|
1132 | #define WINED3DDTCAPS_FLOAT16_2 (0x100)
|
---|
1133 |
|
---|
1134 | #define WINED3DDTCAPS_FLOAT16_4 (0x200)
|
---|
1135 |
|
---|
1136 | #define WINED3DFVFCAPS_TEXCOORDCOUNTMASK (0xffff)
|
---|
1137 |
|
---|
1138 | #define WINED3DFVFCAPS_DONOTSTRIPELEMENTS (0x80000)
|
---|
1139 |
|
---|
1140 | #define WINED3DFVFCAPS_PSIZE (0x100000)
|
---|
1141 |
|
---|
1142 | #define WINED3DLINECAPS_TEXTURE (0x1)
|
---|
1143 |
|
---|
1144 | #define WINED3DLINECAPS_ZTEST (0x2)
|
---|
1145 |
|
---|
1146 | #define WINED3DLINECAPS_BLEND (0x4)
|
---|
1147 |
|
---|
1148 | #define WINED3DLINECAPS_ALPHACMP (0x8)
|
---|
1149 |
|
---|
1150 | #define WINED3DLINECAPS_FOG (0x10)
|
---|
1151 |
|
---|
1152 | #define WINED3DLINECAPS_ANTIALIAS (0x20)
|
---|
1153 |
|
---|
1154 | #define WINED3DMAX30SHADERINSTRUCTIONS (32768)
|
---|
1155 |
|
---|
1156 | #define WINED3DMIN30SHADERINSTRUCTIONS (512)
|
---|
1157 |
|
---|
1158 | #define WINED3DPBLENDCAPS_ZERO (0x1)
|
---|
1159 |
|
---|
1160 | #define WINED3DPBLENDCAPS_ONE (0x2)
|
---|
1161 |
|
---|
1162 | #define WINED3DPBLENDCAPS_SRCCOLOR (0x4)
|
---|
1163 |
|
---|
1164 | #define WINED3DPBLENDCAPS_INVSRCCOLOR (0x8)
|
---|
1165 |
|
---|
1166 | #define WINED3DPBLENDCAPS_SRCALPHA (0x10)
|
---|
1167 |
|
---|
1168 | #define WINED3DPBLENDCAPS_INVSRCALPHA (0x20)
|
---|
1169 |
|
---|
1170 | #define WINED3DPBLENDCAPS_DESTALPHA (0x40)
|
---|
1171 |
|
---|
1172 | #define WINED3DPBLENDCAPS_INVDESTALPHA (0x80)
|
---|
1173 |
|
---|
1174 | #define WINED3DPBLENDCAPS_DESTCOLOR (0x100)
|
---|
1175 |
|
---|
1176 | #define WINED3DPBLENDCAPS_INVDESTCOLOR (0x200)
|
---|
1177 |
|
---|
1178 | #define WINED3DPBLENDCAPS_SRCALPHASAT (0x400)
|
---|
1179 |
|
---|
1180 | #define WINED3DPBLENDCAPS_BOTHSRCALPHA (0x800)
|
---|
1181 |
|
---|
1182 | #define WINED3DPBLENDCAPS_BOTHINVSRCALPHA (0x1000)
|
---|
1183 |
|
---|
1184 | #define WINED3DPBLENDCAPS_BLENDFACTOR (0x2000)
|
---|
1185 |
|
---|
1186 | #define WINED3DPCMPCAPS_NEVER (0x1)
|
---|
1187 |
|
---|
1188 | #define WINED3DPCMPCAPS_LESS (0x2)
|
---|
1189 |
|
---|
1190 | #define WINED3DPCMPCAPS_EQUAL (0x4)
|
---|
1191 |
|
---|
1192 | #define WINED3DPCMPCAPS_LESSEQUAL (0x8)
|
---|
1193 |
|
---|
1194 | #define WINED3DPCMPCAPS_GREATER (0x10)
|
---|
1195 |
|
---|
1196 | #define WINED3DPCMPCAPS_NOTEQUAL (0x20)
|
---|
1197 |
|
---|
1198 | #define WINED3DPCMPCAPS_GREATEREQUAL (0x40)
|
---|
1199 |
|
---|
1200 | #define WINED3DPCMPCAPS_ALWAYS (0x80)
|
---|
1201 |
|
---|
1202 | #define WINED3DPMISCCAPS_MASKZ (0x2)
|
---|
1203 |
|
---|
1204 | #define WINED3DPMISCCAPS_LINEPATTERNREP (0x4)
|
---|
1205 |
|
---|
1206 | #define WINED3DPMISCCAPS_CULLNONE (0x10)
|
---|
1207 |
|
---|
1208 | #define WINED3DPMISCCAPS_CULLCW (0x20)
|
---|
1209 |
|
---|
1210 | #define WINED3DPMISCCAPS_CULLCCW (0x40)
|
---|
1211 |
|
---|
1212 | #define WINED3DPMISCCAPS_COLORWRITEENABLE (0x80)
|
---|
1213 |
|
---|
1214 | #define WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS (0x100)
|
---|
1215 |
|
---|
1216 | #define WINED3DPMISCCAPS_CLIPTLVERTS (0x200)
|
---|
1217 |
|
---|
1218 | #define WINED3DPMISCCAPS_TSSARGTEMP (0x400)
|
---|
1219 |
|
---|
1220 | #define WINED3DPMISCCAPS_BLENDOP (0x800)
|
---|
1221 |
|
---|
1222 | #define WINED3DPMISCCAPS_NULLREFERENCE (0x1000)
|
---|
1223 |
|
---|
1224 | #define WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS (0x4000)
|
---|
1225 |
|
---|
1226 | #define WINED3DPMISCCAPS_PERSTAGECONSTANT (0x8000)
|
---|
1227 |
|
---|
1228 | #define WINED3DPMISCCAPS_FOGANDSPECULARALPHA (0x10000)
|
---|
1229 |
|
---|
1230 | #define WINED3DPMISCCAPS_SEPARATEALPHABLEND (0x20000)
|
---|
1231 |
|
---|
1232 | #define WINED3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS (0x40000)
|
---|
1233 |
|
---|
1234 | #define WINED3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING (0x80000)
|
---|
1235 |
|
---|
1236 | #define WINED3DPMISCCAPS_FOGVERTEXCLAMPED (0x100000)
|
---|
1237 |
|
---|
1238 | #define WINED3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH (24)
|
---|
1239 |
|
---|
1240 | #define WINED3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH (0)
|
---|
1241 |
|
---|
1242 | #define WINED3DPS20_MAX_NUMTEMPS (32)
|
---|
1243 |
|
---|
1244 | #define WINED3DPS20_MIN_NUMTEMPS (12)
|
---|
1245 |
|
---|
1246 | #define WINED3DPS20_MAX_STATICFLOWCONTROLDEPTH (4)
|
---|
1247 |
|
---|
1248 | #define WINED3DPS20_MIN_STATICFLOWCONTROLDEPTH (0)
|
---|
1249 |
|
---|
1250 | #define WINED3DPS20_MAX_NUMINSTRUCTIONSLOTS (512)
|
---|
1251 |
|
---|
1252 | #define WINED3DPS20_MIN_NUMINSTRUCTIONSLOTS (96)
|
---|
1253 |
|
---|
1254 | #define WINED3DPS20CAPS_ARBITRARYSWIZZLE (0x1)
|
---|
1255 |
|
---|
1256 | #define WINED3DPS20CAPS_GRADIENTINSTRUCTIONS (0x2)
|
---|
1257 |
|
---|
1258 | #define WINED3DPS20CAPS_PREDICATION (0x4)
|
---|
1259 |
|
---|
1260 | #define WINED3DPS20CAPS_NODEPENDENTREADLIMIT (0x8)
|
---|
1261 |
|
---|
1262 | #define WINED3DPS20CAPS_NOTEXINSTRUCTIONLIMIT (0x10)
|
---|
1263 |
|
---|
1264 | #define WINED3DPTADDRESSCAPS_WRAP (0x1)
|
---|
1265 |
|
---|
1266 | #define WINED3DPTADDRESSCAPS_MIRROR (0x2)
|
---|
1267 |
|
---|
1268 | #define WINED3DPTADDRESSCAPS_CLAMP (0x4)
|
---|
1269 |
|
---|
1270 | #define WINED3DPTADDRESSCAPS_BORDER (0x8)
|
---|
1271 |
|
---|
1272 | #define WINED3DPTADDRESSCAPS_INDEPENDENTUV (0x10)
|
---|
1273 |
|
---|
1274 | #define WINED3DPTADDRESSCAPS_MIRRORONCE (0x20)
|
---|
1275 |
|
---|
1276 | #define WINED3DSTENCILCAPS_KEEP (0x1)
|
---|
1277 |
|
---|
1278 | #define WINED3DSTENCILCAPS_ZERO (0x2)
|
---|
1279 |
|
---|
1280 | #define WINED3DSTENCILCAPS_REPLACE (0x4)
|
---|
1281 |
|
---|
1282 | #define WINED3DSTENCILCAPS_INCRSAT (0x8)
|
---|
1283 |
|
---|
1284 | #define WINED3DSTENCILCAPS_DECRSAT (0x10)
|
---|
1285 |
|
---|
1286 | #define WINED3DSTENCILCAPS_INVERT (0x20)
|
---|
1287 |
|
---|
1288 | #define WINED3DSTENCILCAPS_INCR (0x40)
|
---|
1289 |
|
---|
1290 | #define WINED3DSTENCILCAPS_DECR (0x80)
|
---|
1291 |
|
---|
1292 | #define WINED3DSTENCILCAPS_TWOSIDED (0x100)
|
---|
1293 |
|
---|
1294 | #define WINED3DTEXOPCAPS_DISABLE (0x1)
|
---|
1295 |
|
---|
1296 | #define WINED3DTEXOPCAPS_SELECTARG1 (0x2)
|
---|
1297 |
|
---|
1298 | #define WINED3DTEXOPCAPS_SELECTARG2 (0x4)
|
---|
1299 |
|
---|
1300 | #define WINED3DTEXOPCAPS_MODULATE (0x8)
|
---|
1301 |
|
---|
1302 | #define WINED3DTEXOPCAPS_MODULATE2X (0x10)
|
---|
1303 |
|
---|
1304 | #define WINED3DTEXOPCAPS_MODULATE4X (0x20)
|
---|
1305 |
|
---|
1306 | #define WINED3DTEXOPCAPS_ADD (0x40)
|
---|
1307 |
|
---|
1308 | #define WINED3DTEXOPCAPS_ADDSIGNED (0x80)
|
---|
1309 |
|
---|
1310 | #define WINED3DTEXOPCAPS_ADDSIGNED2X (0x100)
|
---|
1311 |
|
---|
1312 | #define WINED3DTEXOPCAPS_SUBTRACT (0x200)
|
---|
1313 |
|
---|
1314 | #define WINED3DTEXOPCAPS_ADDSMOOTH (0x400)
|
---|
1315 |
|
---|
1316 | #define WINED3DTEXOPCAPS_BLENDDIFFUSEALPHA (0x800)
|
---|
1317 |
|
---|
1318 | #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHA (0x1000)
|
---|
1319 |
|
---|
1320 | #define WINED3DTEXOPCAPS_BLENDFACTORALPHA (0x2000)
|
---|
1321 |
|
---|
1322 | #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHAPM (0x4000)
|
---|
1323 |
|
---|
1324 | #define WINED3DTEXOPCAPS_BLENDCURRENTALPHA (0x8000)
|
---|
1325 |
|
---|
1326 | #define WINED3DTEXOPCAPS_PREMODULATE (0x10000)
|
---|
1327 |
|
---|
1328 | #define WINED3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR (0x20000)
|
---|
1329 |
|
---|
1330 | #define WINED3DTEXOPCAPS_MODULATECOLOR_ADDALPHA (0x40000)
|
---|
1331 |
|
---|
1332 | #define WINED3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR (0x80000)
|
---|
1333 |
|
---|
1334 | #define WINED3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA (0x100000)
|
---|
1335 |
|
---|
1336 | #define WINED3DTEXOPCAPS_BUMPENVMAP (0x200000)
|
---|
1337 |
|
---|
1338 | #define WINED3DTEXOPCAPS_BUMPENVMAPLUMINANCE (0x400000)
|
---|
1339 |
|
---|
1340 | #define WINED3DTEXOPCAPS_DOTPRODUCT3 (0x800000)
|
---|
1341 |
|
---|
1342 | #define WINED3DTEXOPCAPS_MULTIPLYADD (0x1000000)
|
---|
1343 |
|
---|
1344 | #define WINED3DTEXOPCAPS_LERP (0x2000000)
|
---|
1345 |
|
---|
1346 | #define WINED3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH (24)
|
---|
1347 |
|
---|
1348 | #define WINED3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH (0)
|
---|
1349 |
|
---|
1350 | #define WINED3DVS20_MAX_NUMTEMPS (32)
|
---|
1351 |
|
---|
1352 | #define WINED3DVS20_MIN_NUMTEMPS (12)
|
---|
1353 |
|
---|
1354 | #define WINED3DVS20_MAX_STATICFLOWCONTROLDEPTH (4)
|
---|
1355 |
|
---|
1356 | #define WINED3DVS20_MIN_STATICFLOWCONTROLDEPTH (1)
|
---|
1357 |
|
---|
1358 | #define WINED3DVS20CAPS_PREDICATION (0x1)
|
---|
1359 |
|
---|
1360 | #define WINED3DCAPS2_NO2DDURING3DSCENE (0x2)
|
---|
1361 |
|
---|
1362 | #define WINED3DCAPS2_FULLSCREENGAMMA (0x20000)
|
---|
1363 |
|
---|
1364 | #define WINED3DCAPS2_CANRENDERWINDOWED (0x80000)
|
---|
1365 |
|
---|
1366 | #define WINED3DCAPS2_CANCALIBRATEGAMMA (0x100000)
|
---|
1367 |
|
---|
1368 | #define WINED3DCAPS2_RESERVED (0x2000000)
|
---|
1369 |
|
---|
1370 | #define WINED3DCAPS2_CANMANAGERESOURCE (0x10000000)
|
---|
1371 |
|
---|
1372 | #define WINED3DCAPS2_DYNAMICTEXTURES (0x20000000)
|
---|
1373 |
|
---|
1374 | #define WINED3DCAPS2_CANAUTOGENMIPMAP (0x40000000)
|
---|
1375 |
|
---|
1376 | #define WINED3DPRASTERCAPS_DITHER (0x1)
|
---|
1377 |
|
---|
1378 | #define WINED3DPRASTERCAPS_ROP2 (0x2)
|
---|
1379 |
|
---|
1380 | #define WINED3DPRASTERCAPS_XOR (0x4)
|
---|
1381 |
|
---|
1382 | #define WINED3DPRASTERCAPS_PAT (0x8)
|
---|
1383 |
|
---|
1384 | #define WINED3DPRASTERCAPS_ZTEST (0x10)
|
---|
1385 |
|
---|
1386 | #define WINED3DPRASTERCAPS_SUBPIXEL (0x20)
|
---|
1387 |
|
---|
1388 | #define WINED3DPRASTERCAPS_SUBPIXELX (0x40)
|
---|
1389 |
|
---|
1390 | #define WINED3DPRASTERCAPS_FOGVERTEX (0x80)
|
---|
1391 |
|
---|
1392 | #define WINED3DPRASTERCAPS_FOGTABLE (0x100)
|
---|
1393 |
|
---|
1394 | #define WINED3DPRASTERCAPS_STIPPLE (0x200)
|
---|
1395 |
|
---|
1396 | #define WINED3DPRASTERCAPS_ANTIALIASSORTDEPENDENT (0x400)
|
---|
1397 |
|
---|
1398 | #define WINED3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT (0x800)
|
---|
1399 |
|
---|
1400 | #define WINED3DPRASTERCAPS_ANTIALIASEDGES (0x1000)
|
---|
1401 |
|
---|
1402 | #define WINED3DPRASTERCAPS_MIPMAPLODBIAS (0x2000)
|
---|
1403 |
|
---|
1404 | #define WINED3DPRASTERCAPS_ZBIAS (0x4000)
|
---|
1405 |
|
---|
1406 | #define WINED3DPRASTERCAPS_ZBUFFERLESSHSR (0x8000)
|
---|
1407 |
|
---|
1408 | #define WINED3DPRASTERCAPS_FOGRANGE (0x10000)
|
---|
1409 |
|
---|
1410 | #define WINED3DPRASTERCAPS_ANISOTROPY (0x20000)
|
---|
1411 |
|
---|
1412 | #define WINED3DPRASTERCAPS_WBUFFER (0x40000)
|
---|
1413 |
|
---|
1414 | #define WINED3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT (0x80000)
|
---|
1415 |
|
---|
1416 | #define WINED3DPRASTERCAPS_WFOG (0x100000)
|
---|
1417 |
|
---|
1418 | #define WINED3DPRASTERCAPS_ZFOG (0x200000)
|
---|
1419 |
|
---|
1420 | #define WINED3DPRASTERCAPS_COLORPERSPECTIVE (0x400000)
|
---|
1421 |
|
---|
1422 | #define WINED3DPRASTERCAPS_SCISSORTEST (0x1000000)
|
---|
1423 |
|
---|
1424 | #define WINED3DPRASTERCAPS_SLOPESCALEDEPTHBIAS (0x2000000)
|
---|
1425 |
|
---|
1426 | #define WINED3DPRASTERCAPS_DEPTHBIAS (0x4000000)
|
---|
1427 |
|
---|
1428 | #define WINED3DPRASTERCAPS_MULTISAMPLE_TOGGLE (0x8000000)
|
---|
1429 |
|
---|
1430 | #define WINED3DPSHADECAPS_COLORFLATMONO (0x1)
|
---|
1431 |
|
---|
1432 | #define WINED3DPSHADECAPS_COLORFLATRGB (0x2)
|
---|
1433 |
|
---|
1434 | #define WINED3DPSHADECAPS_COLORGOURAUDMONO (0x4)
|
---|
1435 |
|
---|
1436 | #define WINED3DPSHADECAPS_COLORGOURAUDRGB (0x8)
|
---|
1437 |
|
---|
1438 | #define WINED3DPSHADECAPS_COLORPHONGMONO (0x10)
|
---|
1439 |
|
---|
1440 | #define WINED3DPSHADECAPS_COLORPHONGRGB (0x20)
|
---|
1441 |
|
---|
1442 | #define WINED3DPSHADECAPS_SPECULARFLATMONO (0x40)
|
---|
1443 |
|
---|
1444 | #define WINED3DPSHADECAPS_SPECULARFLATRGB (0x80)
|
---|
1445 |
|
---|
1446 | #define WINED3DPSHADECAPS_SPECULARGOURAUDMONO (0x100)
|
---|
1447 |
|
---|
1448 | #define WINED3DPSHADECAPS_SPECULARGOURAUDRGB (0x200)
|
---|
1449 |
|
---|
1450 | #define WINED3DPSHADECAPS_SPECULARPHONGMONO (0x400)
|
---|
1451 |
|
---|
1452 | #define WINED3DPSHADECAPS_SPECULARPHONGRGB (0x800)
|
---|
1453 |
|
---|
1454 | #define WINED3DPSHADECAPS_ALPHAFLATBLEND (0x1000)
|
---|
1455 |
|
---|
1456 | #define WINED3DPSHADECAPS_ALPHAFLATSTIPPLED (0x2000)
|
---|
1457 |
|
---|
1458 | #define WINED3DPSHADECAPS_ALPHAGOURAUDBLEND (0x4000)
|
---|
1459 |
|
---|
1460 | #define WINED3DPSHADECAPS_ALPHAGOURAUDSTIPPLED (0x8000)
|
---|
1461 |
|
---|
1462 | #define WINED3DPSHADECAPS_ALPHAPHONGBLEND (0x10000)
|
---|
1463 |
|
---|
1464 | #define WINED3DPSHADECAPS_ALPHAPHONGSTIPPLED (0x20000)
|
---|
1465 |
|
---|
1466 | #define WINED3DPSHADECAPS_FOGFLAT (0x40000)
|
---|
1467 |
|
---|
1468 | #define WINED3DPSHADECAPS_FOGGOURAUD (0x80000)
|
---|
1469 |
|
---|
1470 | #define WINED3DPSHADECAPS_FOGPHONG (0x100000)
|
---|
1471 |
|
---|
1472 | #define WINED3DPTEXTURECAPS_PERSPECTIVE (0x1)
|
---|
1473 |
|
---|
1474 | #define WINED3DPTEXTURECAPS_POW2 (0x2)
|
---|
1475 |
|
---|
1476 | #define WINED3DPTEXTURECAPS_ALPHA (0x4)
|
---|
1477 |
|
---|
1478 | #define WINED3DPTEXTURECAPS_TRANSPARENCY (0x8)
|
---|
1479 |
|
---|
1480 | #define WINED3DPTEXTURECAPS_BORDER (0x10)
|
---|
1481 |
|
---|
1482 | #define WINED3DPTEXTURECAPS_SQUAREONLY (0x20)
|
---|
1483 |
|
---|
1484 | #define WINED3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE (0x40)
|
---|
1485 |
|
---|
1486 | #define WINED3DPTEXTURECAPS_ALPHAPALETTE (0x80)
|
---|
1487 |
|
---|
1488 | #define WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL (0x100)
|
---|
1489 |
|
---|
1490 | #define WINED3DPTEXTURECAPS_PROJECTED (0x400)
|
---|
1491 |
|
---|
1492 | #define WINED3DPTEXTURECAPS_CUBEMAP (0x800)
|
---|
1493 |
|
---|
1494 | #define WINED3DPTEXTURECAPS_COLORKEYBLEND (0x1000)
|
---|
1495 |
|
---|
1496 | #define WINED3DPTEXTURECAPS_VOLUMEMAP (0x2000)
|
---|
1497 |
|
---|
1498 | #define WINED3DPTEXTURECAPS_MIPMAP (0x4000)
|
---|
1499 |
|
---|
1500 | #define WINED3DPTEXTURECAPS_MIPVOLUMEMAP (0x8000)
|
---|
1501 |
|
---|
1502 | #define WINED3DPTEXTURECAPS_MIPCUBEMAP (0x10000)
|
---|
1503 |
|
---|
1504 | #define WINED3DPTEXTURECAPS_CUBEMAP_POW2 (0x20000)
|
---|
1505 |
|
---|
1506 | #define WINED3DPTEXTURECAPS_VOLUMEMAP_POW2 (0x40000)
|
---|
1507 |
|
---|
1508 | #define WINED3DPTEXTURECAPS_NOPROJECTEDBUMPENV (0x200000)
|
---|
1509 |
|
---|
1510 | #define WINED3DPTFILTERCAPS_NEAREST (0x1)
|
---|
1511 |
|
---|
1512 | #define WINED3DPTFILTERCAPS_LINEAR (0x2)
|
---|
1513 |
|
---|
1514 | #define WINED3DPTFILTERCAPS_MIPNEAREST (0x4)
|
---|
1515 |
|
---|
1516 | #define WINED3DPTFILTERCAPS_MIPLINEAR (0x8)
|
---|
1517 |
|
---|
1518 | #define WINED3DPTFILTERCAPS_LINEARMIPNEAREST (0x10)
|
---|
1519 |
|
---|
1520 | #define WINED3DPTFILTERCAPS_LINEARMIPLINEAR (0x20)
|
---|
1521 |
|
---|
1522 | #define WINED3DPTFILTERCAPS_MINFPOINT (0x100)
|
---|
1523 |
|
---|
1524 | #define WINED3DPTFILTERCAPS_MINFLINEAR (0x200)
|
---|
1525 |
|
---|
1526 | #define WINED3DPTFILTERCAPS_MINFANISOTROPIC (0x400)
|
---|
1527 |
|
---|
1528 | #define WINED3DPTFILTERCAPS_MIPFPOINT (0x10000)
|
---|
1529 |
|
---|
1530 | #define WINED3DPTFILTERCAPS_MIPFLINEAR (0x20000)
|
---|
1531 |
|
---|
1532 | #define WINED3DPTFILTERCAPS_MAGFPOINT (0x1000000)
|
---|
1533 |
|
---|
1534 | #define WINED3DPTFILTERCAPS_MAGFLINEAR (0x2000000)
|
---|
1535 |
|
---|
1536 | #define WINED3DPTFILTERCAPS_MAGFANISOTROPIC (0x4000000)
|
---|
1537 |
|
---|
1538 | #define WINED3DPTFILTERCAPS_MAGFPYRAMIDALQUAD (0x8000000)
|
---|
1539 |
|
---|
1540 | #define WINED3DPTFILTERCAPS_MAGFGAUSSIANQUAD (0x10000000)
|
---|
1541 |
|
---|
1542 | #define WINED3DVTXPCAPS_TEXGEN (0x1)
|
---|
1543 |
|
---|
1544 | #define WINED3DVTXPCAPS_MATERIALSOURCE7 (0x2)
|
---|
1545 |
|
---|
1546 | #define WINED3DVTXPCAPS_VERTEXFOG (0x4)
|
---|
1547 |
|
---|
1548 | #define WINED3DVTXPCAPS_DIRECTIONALLIGHTS (0x8)
|
---|
1549 |
|
---|
1550 | #define WINED3DVTXPCAPS_POSITIONALLIGHTS (0x10)
|
---|
1551 |
|
---|
1552 | #define WINED3DVTXPCAPS_LOCALVIEWER (0x20)
|
---|
1553 |
|
---|
1554 | #define WINED3DVTXPCAPS_TWEENING (0x40)
|
---|
1555 |
|
---|
1556 | #define WINED3DVTXPCAPS_TEXGEN_SPHEREMAP (0x100)
|
---|
1557 |
|
---|
1558 | #define WINED3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER (0x200)
|
---|
1559 |
|
---|
1560 | #define WINED3DCURSORCAPS_COLOR (0x1)
|
---|
1561 |
|
---|
1562 | #define WINED3DCURSORCAPS_LOWRES (0x2)
|
---|
1563 |
|
---|
1564 | #define WINED3DDEVCAPS_FLOATTLVERTEX (0x1)
|
---|
1565 |
|
---|
1566 | #define WINED3DDEVCAPS_SORTINCREASINGZ (0x2)
|
---|
1567 |
|
---|
1568 | #define WINED3DDEVCAPS_SORTDECREASINGZ (0x4)
|
---|
1569 |
|
---|
1570 | #define WINED3DDEVCAPS_SORTEXACT (0x8)
|
---|
1571 |
|
---|
1572 | #define WINED3DDEVCAPS_EXECUTESYSTEMMEMORY (0x10)
|
---|
1573 |
|
---|
1574 | #define WINED3DDEVCAPS_EXECUTEVIDEOMEMORY (0x20)
|
---|
1575 |
|
---|
1576 | #define WINED3DDEVCAPS_TLVERTEXSYSTEMMEMORY (0x40)
|
---|
1577 |
|
---|
1578 | #define WINED3DDEVCAPS_TLVERTEXVIDEOMEMORY (0x80)
|
---|
1579 |
|
---|
1580 | #define WINED3DDEVCAPS_TEXTURESYSTEMMEMORY (0x100)
|
---|
1581 |
|
---|
1582 | #define WINED3DDEVCAPS_TEXTUREVIDEOMEMORY (0x200)
|
---|
1583 |
|
---|
1584 | #define WINED3DDEVCAPS_DRAWPRIMTLVERTEX (0x400)
|
---|
1585 |
|
---|
1586 | #define WINED3DDEVCAPS_CANRENDERAFTERFLIP (0x800)
|
---|
1587 |
|
---|
1588 | #define WINED3DDEVCAPS_TEXTURENONLOCALVIDMEM (0x1000)
|
---|
1589 |
|
---|
1590 | #define WINED3DDEVCAPS_DRAWPRIMITIVES2 (0x2000)
|
---|
1591 |
|
---|
1592 | #define WINED3DDEVCAPS_SEPARATETEXTUREMEMORIES (0x4000)
|
---|
1593 |
|
---|
1594 | #define WINED3DDEVCAPS_DRAWPRIMITIVES2EX (0x8000)
|
---|
1595 |
|
---|
1596 | #define WINED3DDEVCAPS_HWTRANSFORMANDLIGHT (0x10000)
|
---|
1597 |
|
---|
1598 | #define WINED3DDEVCAPS_CANBLTSYSTONONLOCAL (0x20000)
|
---|
1599 |
|
---|
1600 | #define WINED3DDEVCAPS_HWRASTERIZATION (0x80000)
|
---|
1601 |
|
---|
1602 | #define WINED3DDEVCAPS_PUREDEVICE (0x100000)
|
---|
1603 |
|
---|
1604 | #define WINED3DDEVCAPS_QUINTICRTPATCHES (0x200000)
|
---|
1605 |
|
---|
1606 | #define WINED3DDEVCAPS_RTPATCHES (0x400000)
|
---|
1607 |
|
---|
1608 | #define WINED3DDEVCAPS_RTPATCHHANDLEZERO (0x800000)
|
---|
1609 |
|
---|
1610 | #define WINED3DDEVCAPS_NPATCHES (0x1000000)
|
---|
1611 |
|
---|
1612 | #define WINEDDBLTFX_ARITHSTRETCHY (0x1)
|
---|
1613 |
|
---|
1614 | #define WINEDDBLTFX_MIRRORLEFTRIGHT (0x2)
|
---|
1615 |
|
---|
1616 | #define WINEDDBLTFX_MIRRORUPDOWN (0x4)
|
---|
1617 |
|
---|
1618 | #define WINEDDBLTFX_NOTEARING (0x8)
|
---|
1619 |
|
---|
1620 | #define WINEDDBLTFX_ROTATE180 (0x10)
|
---|
1621 |
|
---|
1622 | #define WINEDDBLTFX_ROTATE270 (0x20)
|
---|
1623 |
|
---|
1624 | #define WINEDDBLTFX_ROTATE90 (0x40)
|
---|
1625 |
|
---|
1626 | #define WINEDDBLTFX_ZBUFFERRANGE (0x80)
|
---|
1627 |
|
---|
1628 | #define WINEDDBLTFX_ZBUFFERBASEDEST (0x100)
|
---|
1629 |
|
---|
1630 | #define WINEDDBLT_ALPHADEST (0x1)
|
---|
1631 |
|
---|
1632 | #define WINEDDBLT_ALPHADESTCONSTOVERRIDE (0x2)
|
---|
1633 |
|
---|
1634 | #define WINEDDBLT_ALPHADESTNEG (0x4)
|
---|
1635 |
|
---|
1636 | #define WINEDDBLT_ALPHADESTSURFACEOVERRIDE (0x8)
|
---|
1637 |
|
---|
1638 | #define WINEDDBLT_ALPHAEDGEBLEND (0x10)
|
---|
1639 |
|
---|
1640 | #define WINEDDBLT_ALPHASRC (0x20)
|
---|
1641 |
|
---|
1642 | #define WINEDDBLT_ALPHASRCCONSTOVERRIDE (0x40)
|
---|
1643 |
|
---|
1644 | #define WINEDDBLT_ALPHASRCNEG (0x80)
|
---|
1645 |
|
---|
1646 | #define WINEDDBLT_ALPHASRCSURFACEOVERRIDE (0x100)
|
---|
1647 |
|
---|
1648 | #define WINEDDBLT_ASYNC (0x200)
|
---|
1649 |
|
---|
1650 | #define WINEDDBLT_COLORFILL (0x400)
|
---|
1651 |
|
---|
1652 | #define WINEDDBLT_DDFX (0x800)
|
---|
1653 |
|
---|
1654 | #define WINEDDBLT_DDROPS (0x1000)
|
---|
1655 |
|
---|
1656 | #define WINEDDBLT_KEYDEST (0x2000)
|
---|
1657 |
|
---|
1658 | #define WINEDDBLT_KEYDESTOVERRIDE (0x4000)
|
---|
1659 |
|
---|
1660 | #define WINEDDBLT_KEYSRC (0x8000)
|
---|
1661 |
|
---|
1662 | #define WINEDDBLT_KEYSRCOVERRIDE (0x10000)
|
---|
1663 |
|
---|
1664 | #define WINEDDBLT_ROP (0x20000)
|
---|
1665 |
|
---|
1666 | #define WINEDDBLT_ROTATIONANGLE (0x40000)
|
---|
1667 |
|
---|
1668 | #define WINEDDBLT_ZBUFFER (0x80000)
|
---|
1669 |
|
---|
1670 | #define WINEDDBLT_ZBUFFERDESTCONSTOVERRIDE (0x100000)
|
---|
1671 |
|
---|
1672 | #define WINEDDBLT_ZBUFFERDESTOVERRIDE (0x200000)
|
---|
1673 |
|
---|
1674 | #define WINEDDBLT_ZBUFFERSRCCONSTOVERRIDE (0x400000)
|
---|
1675 |
|
---|
1676 | #define WINEDDBLT_ZBUFFERSRCOVERRIDE (0x800000)
|
---|
1677 |
|
---|
1678 | #define WINEDDBLT_WAIT (0x1000000)
|
---|
1679 |
|
---|
1680 | #define WINEDDBLT_DEPTHFILL (0x2000000)
|
---|
1681 |
|
---|
1682 | #define WINEDDBLT_DONOTWAIT (0x8000000)
|
---|
1683 |
|
---|
1684 | #define WINEDDBLTFAST_NOCOLORKEY (0x0)
|
---|
1685 |
|
---|
1686 | #define WINEDDBLTFAST_SRCCOLORKEY (0x1)
|
---|
1687 |
|
---|
1688 | #define WINEDDBLTFAST_DESTCOLORKEY (0x2)
|
---|
1689 |
|
---|
1690 | #define WINEDDBLTFAST_WAIT (0x10)
|
---|
1691 |
|
---|
1692 | #define WINEDDBLTFAST_DONOTWAIT (0x20)
|
---|
1693 |
|
---|
1694 | #define WINEDDSD_CAPS (0x1)
|
---|
1695 |
|
---|
1696 | #define WINEDDSD_HEIGHT (0x2)
|
---|
1697 |
|
---|
1698 | #define WINEDDSD_WIDTH (0x4)
|
---|
1699 |
|
---|
1700 | #define WINEDDSD_PITCH (0x8)
|
---|
1701 |
|
---|
1702 | #define WINEDDSD_BACKBUFFERCOUNT (0x20)
|
---|
1703 |
|
---|
1704 | #define WINEDDSD_ZBUFFERBITDEPTH (0x40)
|
---|
1705 |
|
---|
1706 | #define WINEDDSD_ALPHABITDEPTH (0x80)
|
---|
1707 |
|
---|
1708 | #define WINEDDSD_LPSURFACE (0x800)
|
---|
1709 |
|
---|
1710 | #define WINEDDSD_PIXELFORMAT (0x1000)
|
---|
1711 |
|
---|
1712 | #define WINEDDSD_CKDESTOVERLAY (0x2000)
|
---|
1713 |
|
---|
1714 | #define WINEDDSD_CKDESTBLT (0x4000)
|
---|
1715 |
|
---|
1716 | #define WINEDDSD_CKSRCOVERLAY (0x8000)
|
---|
1717 |
|
---|
1718 | #define WINEDDSD_CKSRCBLT (0x10000)
|
---|
1719 |
|
---|
1720 | #define WINEDDSD_MIPMAPCOUNT (0x20000)
|
---|
1721 |
|
---|
1722 | #define WINEDDSD_REFRESHRATE (0x40000)
|
---|
1723 |
|
---|
1724 | #define WINEDDSD_LINEARSIZE (0x80000)
|
---|
1725 |
|
---|
1726 | #define WINEDDSD_TEXTURESTAGE (0x100000)
|
---|
1727 |
|
---|
1728 | #define WINEDDSD_FVF (0x200000)
|
---|
1729 |
|
---|
1730 | #define WINEDDSD_SRCVBHANDLE (0x400000)
|
---|
1731 |
|
---|
1732 | #define WINEDDSD_ALL (0x7ff9ee)
|
---|
1733 |
|
---|
1734 | #define WINEDDCKEY_COLORSPACE (0x1)
|
---|
1735 |
|
---|
1736 | #define WINEDDCKEY_DESTBLT (0x2)
|
---|
1737 |
|
---|
1738 | #define WINEDDCKEY_DESTOVERLAY (0x4)
|
---|
1739 |
|
---|
1740 | #define WINEDDCKEY_SRCBLT (0x8)
|
---|
1741 |
|
---|
1742 | #define WINEDDCKEY_SRCOVERLAY (0x10)
|
---|
1743 |
|
---|
1744 | #define WINEDDGBS_CANBLT (0x1)
|
---|
1745 |
|
---|
1746 | #define WINEDDGBS_ISBLTDONE (0x2)
|
---|
1747 |
|
---|
1748 | #define WINEDDGFS_CANFLIP (0x1)
|
---|
1749 |
|
---|
1750 | #define WINEDDGFS_ISFLIPDONE (0x2)
|
---|
1751 |
|
---|
1752 | #define WINEDDFLIP_WAIT (0x1)
|
---|
1753 |
|
---|
1754 | #define WINEDDFLIP_EVEN (0x2)
|
---|
1755 |
|
---|
1756 | #define WINEDDFLIP_ODD (0x4)
|
---|
1757 |
|
---|
1758 | #define WINEDDFLIP_NOVSYNC (0x8)
|
---|
1759 |
|
---|
1760 | #define WINEDDFLIP_STEREO (0x10)
|
---|
1761 |
|
---|
1762 | #define WINEDDFLIP_DONOTWAIT (0x20)
|
---|
1763 |
|
---|
1764 | #define WINEDDFLIP_INTERVAL2 (0x2000000)
|
---|
1765 |
|
---|
1766 | #define WINEDDFLIP_INTERVAL3 (0x3000000)
|
---|
1767 |
|
---|
1768 | #define WINEDDFLIP_INTERVAL4 (0x4000000)
|
---|
1769 |
|
---|
1770 | #define WINEDDOVER_ALPHADEST (0x1)
|
---|
1771 |
|
---|
1772 | #define WINEDDOVER_ALPHADESTCONSTOVERRIDE (0x2)
|
---|
1773 |
|
---|
1774 | #define WINEDDOVER_ALPHADESTNEG (0x4)
|
---|
1775 |
|
---|
1776 | #define WINEDDOVER_ALPHADESTSURFACEOVERRIDE (0x8)
|
---|
1777 |
|
---|
1778 | #define WINEDDOVER_ALPHAEDGEBLEND (0x10)
|
---|
1779 |
|
---|
1780 | #define WINEDDOVER_ALPHASRC (0x20)
|
---|
1781 |
|
---|
1782 | #define WINEDDOVER_ALPHASRCCONSTOVERRIDE (0x40)
|
---|
1783 |
|
---|
1784 | #define WINEDDOVER_ALPHASRCNEG (0x80)
|
---|
1785 |
|
---|
1786 | #define WINEDDOVER_ALPHASRCSURFACEOVERRIDE (0x100)
|
---|
1787 |
|
---|
1788 | #define WINEDDOVER_HIDE (0x200)
|
---|
1789 |
|
---|
1790 | #define WINEDDOVER_KEYDEST (0x400)
|
---|
1791 |
|
---|
1792 | #define WINEDDOVER_KEYDESTOVERRIDE (0x800)
|
---|
1793 |
|
---|
1794 | #define WINEDDOVER_KEYSRC (0x1000)
|
---|
1795 |
|
---|
1796 | #define WINEDDOVER_KEYSRCOVERRIDE (0x2000)
|
---|
1797 |
|
---|
1798 | #define WINEDDOVER_SHOW (0x4000)
|
---|
1799 |
|
---|
1800 | #define WINEDDOVER_ADDDIRTYRECT (0x8000)
|
---|
1801 |
|
---|
1802 | #define WINEDDOVER_REFRESHDIRTYRECTS (0x10000)
|
---|
1803 |
|
---|
1804 | #define WINEDDOVER_REFRESHALL (0x20000)
|
---|
1805 |
|
---|
1806 | #define WINEDDOVER_DDFX (0x80000)
|
---|
1807 |
|
---|
1808 | #define WINEDDOVER_AUTOFLIP (0x100000)
|
---|
1809 |
|
---|
1810 | #define WINEDDOVER_BOB (0x200000)
|
---|
1811 |
|
---|
1812 | #define WINEDDOVER_OVERRIDEBOBWEAVE (0x400000)
|
---|
1813 |
|
---|
1814 | #define WINEDDOVER_INTERLEAVED (0x800000)
|
---|
1815 |
|
---|
1816 | #define WINEDDSCAPS_RESERVED1 (0x1)
|
---|
1817 |
|
---|
1818 | #define WINEDDSCAPS_ALPHA (0x2)
|
---|
1819 |
|
---|
1820 | #define WINEDDSCAPS_BACKBUFFER (0x4)
|
---|
1821 |
|
---|
1822 | #define WINEDDSCAPS_COMPLEX (0x8)
|
---|
1823 |
|
---|
1824 | #define WINEDDSCAPS_FLIP (0x10)
|
---|
1825 |
|
---|
1826 | #define WINEDDSCAPS_FRONTBUFFER (0x20)
|
---|
1827 |
|
---|
1828 | #define WINEDDSCAPS_OFFSCREENPLAIN (0x40)
|
---|
1829 |
|
---|
1830 | #define WINEDDSCAPS_OVERLAY (0x80)
|
---|
1831 |
|
---|
1832 | #define WINEDDSCAPS_PALETTE (0x100)
|
---|
1833 |
|
---|
1834 | #define WINEDDSCAPS_PRIMARYSURFACE (0x200)
|
---|
1835 |
|
---|
1836 | #define WINEDDSCAPS_PRIMARYSURFACELEFT (0x400)
|
---|
1837 |
|
---|
1838 | #define WINEDDSCAPS_SYSTEMMEMORY (0x800)
|
---|
1839 |
|
---|
1840 | #define WINEDDSCAPS_TEXTURE (0x1000)
|
---|
1841 |
|
---|
1842 | #define WINEDDSCAPS_3DDEVICE (0x2000)
|
---|
1843 |
|
---|
1844 | #define WINEDDSCAPS_VIDEOMEMORY (0x4000)
|
---|
1845 |
|
---|
1846 | #define WINEDDSCAPS_VISIBLE (0x8000)
|
---|
1847 |
|
---|
1848 | #define WINEDDSCAPS_WRITEONLY (0x10000)
|
---|
1849 |
|
---|
1850 | #define WINEDDSCAPS_ZBUFFER (0x20000)
|
---|
1851 |
|
---|
1852 | #define WINEDDSCAPS_OWNDC (0x40000)
|
---|
1853 |
|
---|
1854 | #define WINEDDSCAPS_LIVEVIDEO (0x80000)
|
---|
1855 |
|
---|
1856 | #define WINEDDSCAPS_HWCODEC (0x100000)
|
---|
1857 |
|
---|
1858 | #define WINEDDSCAPS_MODEX (0x200000)
|
---|
1859 |
|
---|
1860 | #define WINEDDSCAPS_MIPMAP (0x400000)
|
---|
1861 |
|
---|
1862 | #define WINEDDSCAPS_RESERVED2 (0x800000)
|
---|
1863 |
|
---|
1864 | #define WINEDDSCAPS_ALLOCONLOAD (0x4000000)
|
---|
1865 |
|
---|
1866 | #define WINEDDSCAPS_VIDEOPORT (0x8000000)
|
---|
1867 |
|
---|
1868 | #define WINEDDSCAPS_LOCALVIDMEM (0x10000000)
|
---|
1869 |
|
---|
1870 | #define WINEDDSCAPS_NONLOCALVIDMEM (0x20000000)
|
---|
1871 |
|
---|
1872 | #define WINEDDSCAPS_STANDARDVGAMODE (0x40000000)
|
---|
1873 |
|
---|
1874 | #define WINEDDSCAPS_OPTIMIZED (0x80000000)
|
---|
1875 |
|
---|
1876 | #define WINEDDCKEYCAPS_DESTBLT (0x1)
|
---|
1877 |
|
---|
1878 | #define WINEDDCKEYCAPS_DESTBLTCLRSPACE (0x2)
|
---|
1879 |
|
---|
1880 | #define WINEDDCKEYCAPS_DESTBLTCLRSPACEYUV (0x4)
|
---|
1881 |
|
---|
1882 | #define WINEDDCKEYCAPS_DESTBLTYUV (0x8)
|
---|
1883 |
|
---|
1884 | #define WINEDDCKEYCAPS_DESTOVERLAY (0x10)
|
---|
1885 |
|
---|
1886 | #define WINEDDCKEYCAPS_DESTOVERLAYCLRSPACE (0x20)
|
---|
1887 |
|
---|
1888 | #define WINEDDCKEYCAPS_DESTOVERLAYCLRSPACEYUV (0x40)
|
---|
1889 |
|
---|
1890 | #define WINEDDCKEYCAPS_DESTOVERLAYONEACTIVE (0x80)
|
---|
1891 |
|
---|
1892 | #define WINEDDCKEYCAPS_DESTOVERLAYYUV (0x100)
|
---|
1893 |
|
---|
1894 | #define WINEDDCKEYCAPS_SRCBLT (0x200)
|
---|
1895 |
|
---|
1896 | #define WINEDDCKEYCAPS_SRCBLTCLRSPACE (0x400)
|
---|
1897 |
|
---|
1898 | #define WINEDDCKEYCAPS_SRCBLTCLRSPACEYUV (0x800)
|
---|
1899 |
|
---|
1900 | #define WINEDDCKEYCAPS_SRCBLTYUV (0x1000)
|
---|
1901 |
|
---|
1902 | #define WINEDDCKEYCAPS_SRCOVERLAY (0x2000)
|
---|
1903 |
|
---|
1904 | #define WINEDDCKEYCAPS_SRCOVERLAYCLRSPACE (0x4000)
|
---|
1905 |
|
---|
1906 | #define WINEDDCKEYCAPS_SRCOVERLAYCLRSPACEYUV (0x8000)
|
---|
1907 |
|
---|
1908 | #define WINEDDCKEYCAPS_SRCOVERLAYONEACTIVE (0x10000)
|
---|
1909 |
|
---|
1910 | #define WINEDDCKEYCAPS_SRCOVERLAYYUV (0x20000)
|
---|
1911 |
|
---|
1912 | #define WINEDDCKEYCAPS_NOCOSTOVERLAY (0x40000)
|
---|
1913 |
|
---|
1914 | #define WINEDDFXCAPS_BLTALPHA (0x1)
|
---|
1915 |
|
---|
1916 | #define WINEDDFXCAPS_OVERLAYALPHA (0x4)
|
---|
1917 |
|
---|
1918 | #define WINEDDFXCAPS_BLTARITHSTRETCHYN (0x10)
|
---|
1919 |
|
---|
1920 | #define WINEDDFXCAPS_BLTARITHSTRETCHY (0x20)
|
---|
1921 |
|
---|
1922 | #define WINEDDFXCAPS_BLTMIRRORLEFTRIGHT (0x40)
|
---|
1923 |
|
---|
1924 | #define WINEDDFXCAPS_BLTMIRRORUPDOWN (0x80)
|
---|
1925 |
|
---|
1926 | #define WINEDDFXCAPS_BLTROTATION (0x100)
|
---|
1927 |
|
---|
1928 | #define WINEDDFXCAPS_BLTROTATION90 (0x200)
|
---|
1929 |
|
---|
1930 | #define WINEDDFXCAPS_BLTSHRINKX (0x400)
|
---|
1931 |
|
---|
1932 | #define WINEDDFXCAPS_BLTSHRINKXN (0x800)
|
---|
1933 |
|
---|
1934 | #define WINEDDFXCAPS_BLTSHRINKY (0x1000)
|
---|
1935 |
|
---|
1936 | #define WINEDDFXCAPS_BLTSHRINKYN (0x2000)
|
---|
1937 |
|
---|
1938 | #define WINEDDFXCAPS_BLTSTRETCHX (0x4000)
|
---|
1939 |
|
---|
1940 | #define WINEDDFXCAPS_BLTSTRETCHXN (0x8000)
|
---|
1941 |
|
---|
1942 | #define WINEDDFXCAPS_BLTSTRETCHY (0x10000)
|
---|
1943 |
|
---|
1944 | #define WINEDDFXCAPS_BLTSTRETCHYN (0x20000)
|
---|
1945 |
|
---|
1946 | #define WINEDDFXCAPS_OVERLAYARITHSTRETCHY (0x40000)
|
---|
1947 |
|
---|
1948 | #define WINEDDFXCAPS_OVERLAYARITHSTRETCHYN (0x8)
|
---|
1949 |
|
---|
1950 | #define WINEDDFXCAPS_OVERLAYSHRINKX (0x80000)
|
---|
1951 |
|
---|
1952 | #define WINEDDFXCAPS_OVERLAYSHRINKXN (0x100000)
|
---|
1953 |
|
---|
1954 | #define WINEDDFXCAPS_OVERLAYSHRINKY (0x200000)
|
---|
1955 |
|
---|
1956 | #define WINEDDFXCAPS_OVERLAYSHRINKYN (0x400000)
|
---|
1957 |
|
---|
1958 | #define WINEDDFXCAPS_OVERLAYSTRETCHX (0x800000)
|
---|
1959 |
|
---|
1960 | #define WINEDDFXCAPS_OVERLAYSTRETCHXN (0x1000000)
|
---|
1961 |
|
---|
1962 | #define WINEDDFXCAPS_OVERLAYSTRETCHY (0x2000000)
|
---|
1963 |
|
---|
1964 | #define WINEDDFXCAPS_OVERLAYSTRETCHYN (0x4000000)
|
---|
1965 |
|
---|
1966 | #define WINEDDFXCAPS_OVERLAYMIRRORLEFTRIGHT (0x8000000)
|
---|
1967 |
|
---|
1968 | #define WINEDDFXCAPS_OVERLAYMIRRORUPDOWN (0x10000000)
|
---|
1969 |
|
---|
1970 | #define WINEDDCAPS_3D (0x1)
|
---|
1971 |
|
---|
1972 | #define WINEDDCAPS_ALIGNBOUNDARYDEST (0x2)
|
---|
1973 |
|
---|
1974 | #define WINEDDCAPS_ALIGNSIZEDEST (0x4)
|
---|
1975 |
|
---|
1976 | #define WINEDDCAPS_ALIGNBOUNDARYSRC (0x8)
|
---|
1977 |
|
---|
1978 | #define WINEDDCAPS_ALIGNSIZESRC (0x10)
|
---|
1979 |
|
---|
1980 | #define WINEDDCAPS_ALIGNSTRIDE (0x20)
|
---|
1981 |
|
---|
1982 | #define WINEDDCAPS_BLT (0x40)
|
---|
1983 |
|
---|
1984 | #define WINEDDCAPS_BLTQUEUE (0x80)
|
---|
1985 |
|
---|
1986 | #define WINEDDCAPS_BLTFOURCC (0x100)
|
---|
1987 |
|
---|
1988 | #define WINEDDCAPS_BLTSTRETCH (0x200)
|
---|
1989 |
|
---|
1990 | #define WINEDDCAPS_GDI (0x400)
|
---|
1991 |
|
---|
1992 | #define WINEDDCAPS_OVERLAY (0x800)
|
---|
1993 |
|
---|
1994 | #define WINEDDCAPS_OVERLAYCANTCLIP (0x1000)
|
---|
1995 |
|
---|
1996 | #define WINEDDCAPS_OVERLAYFOURCC (0x2000)
|
---|
1997 |
|
---|
1998 | #define WINEDDCAPS_OVERLAYSTRETCH (0x4000)
|
---|
1999 |
|
---|
2000 | #define WINEDDCAPS_PALETTE (0x8000)
|
---|
2001 |
|
---|
2002 | #define WINEDDCAPS_PALETTEVSYNC (0x10000)
|
---|
2003 |
|
---|
2004 | #define WINEDDCAPS_READSCANLINE (0x20000)
|
---|
2005 |
|
---|
2006 | #define WINEDDCAPS_STEREOVIEW (0x40000)
|
---|
2007 |
|
---|
2008 | #define WINEDDCAPS_VBI (0x80000)
|
---|
2009 |
|
---|
2010 | #define WINEDDCAPS_ZBLTS (0x100000)
|
---|
2011 |
|
---|
2012 | #define WINEDDCAPS_ZOVERLAYS (0x200000)
|
---|
2013 |
|
---|
2014 | #define WINEDDCAPS_COLORKEY (0x400000)
|
---|
2015 |
|
---|
2016 | #define WINEDDCAPS_ALPHA (0x800000)
|
---|
2017 |
|
---|
2018 | #define WINEDDCAPS_COLORKEYHWASSIST (0x1000000)
|
---|
2019 |
|
---|
2020 | #define WINEDDCAPS_NOHARDWARE (0x2000000)
|
---|
2021 |
|
---|
2022 | #define WINEDDCAPS_BLTCOLORFILL (0x4000000)
|
---|
2023 |
|
---|
2024 | #define WINEDDCAPS_BANKSWITCHED (0x8000000)
|
---|
2025 |
|
---|
2026 | #define WINEDDCAPS_BLTDEPTHFILL (0x10000000)
|
---|
2027 |
|
---|
2028 | #define WINEDDCAPS_CANCLIP (0x20000000)
|
---|
2029 |
|
---|
2030 | #define WINEDDCAPS_CANCLIPSTRETCHED (0x40000000)
|
---|
2031 |
|
---|
2032 | #define WINEDDCAPS_CANBLTSYSMEM (0x80000000)
|
---|
2033 |
|
---|
2034 | #define WINEDDCAPS2_CERTIFIED (0x1)
|
---|
2035 |
|
---|
2036 | #define WINEDDCAPS2_NO2DDURING3DSCENE (0x2)
|
---|
2037 |
|
---|
2038 | #define WINEDDCAPS2_VIDEOPORT (0x4)
|
---|
2039 |
|
---|
2040 | #define WINEDDCAPS2_AUTOFLIPOVERLAY (0x8)
|
---|
2041 |
|
---|
2042 | #define WINEDDCAPS2_CANBOBINTERLEAVED (0x10)
|
---|
2043 |
|
---|
2044 | #define WINEDDCAPS2_CANBOBNONINTERLEAVED (0x20)
|
---|
2045 |
|
---|
2046 | #define WINEDDCAPS2_COLORCONTROLOVERLAY (0x40)
|
---|
2047 |
|
---|
2048 | #define WINEDDCAPS2_COLORCONTROLPRIMARY (0x80)
|
---|
2049 |
|
---|
2050 | #define WINEDDCAPS2_CANDROPZ16BIT (0x100)
|
---|
2051 |
|
---|
2052 | #define WINEDDCAPS2_NONLOCALVIDMEM (0x200)
|
---|
2053 |
|
---|
2054 | #define WINEDDCAPS2_NONLOCALVIDMEMCAPS (0x400)
|
---|
2055 |
|
---|
2056 | #define WINEDDCAPS2_NOPAGELOCKREQUIRED (0x800)
|
---|
2057 |
|
---|
2058 | #define WINEDDCAPS2_WIDESURFACES (0x1000)
|
---|
2059 |
|
---|
2060 | #define WINEDDCAPS2_CANFLIPODDEVEN (0x2000)
|
---|
2061 |
|
---|
2062 | #define WINEDDCAPS2_CANBOBHARDWARE (0x4000)
|
---|
2063 |
|
---|
2064 | #define WINEDDCAPS2_COPYFOURCC (0x8000)
|
---|
2065 |
|
---|
2066 | #define WINEDDCAPS2_PRIMARYGAMMA (0x20000)
|
---|
2067 |
|
---|
2068 | #define WINEDDCAPS2_CANRENDERWINDOWED (0x80000)
|
---|
2069 |
|
---|
2070 | #define WINEDDCAPS2_CANCALIBRATEGAMMA (0x100000)
|
---|
2071 |
|
---|
2072 | #define WINEDDCAPS2_FLIPINTERVAL (0x200000)
|
---|
2073 |
|
---|
2074 | #define WINEDDCAPS2_FLIPNOVSYNC (0x400000)
|
---|
2075 |
|
---|
2076 | #define WINEDDCAPS2_CANMANAGETEXTURE (0x800000)
|
---|
2077 |
|
---|
2078 | #define WINEDDCAPS2_TEXMANINNONLOCALVIDMEM (0x1000000)
|
---|
2079 |
|
---|
2080 | #define WINEDDCAPS2_STEREO (0x2000000)
|
---|
2081 |
|
---|
2082 | #define WINEDDCAPS2_SYSTONONLOCAL_AS_SYSTOLOCAL (0x4000000)
|
---|
2083 |
|
---|
2084 | #define WINEDDPCAPS_4BIT (0x1)
|
---|
2085 |
|
---|
2086 | #define WINEDDPCAPS_8BITENTRIES (0x2)
|
---|
2087 |
|
---|
2088 | #define WINEDDPCAPS_8BIT (0x4)
|
---|
2089 |
|
---|
2090 | #define WINEDDPCAPS_INITIALIZE (0x8)
|
---|
2091 |
|
---|
2092 | #define WINEDDPCAPS_PRIMARYSURFACE (0x10)
|
---|
2093 |
|
---|
2094 | #define WINEDDPCAPS_PRIMARYSURFACELEFT (0x20)
|
---|
2095 |
|
---|
2096 | #define WINEDDPCAPS_ALLOW256 (0x40)
|
---|
2097 |
|
---|
2098 | #define WINEDDPCAPS_VSYNC (0x80)
|
---|
2099 |
|
---|
2100 | #define WINEDDPCAPS_1BIT (0x100)
|
---|
2101 |
|
---|
2102 | #define WINEDDPCAPS_2BIT (0x200)
|
---|
2103 |
|
---|
2104 | #define WINEDDPCAPS_ALPHA (0x400)
|
---|
2105 |
|
---|
2106 | typedef struct _WINED3DDISPLAYMODE {
|
---|
2107 | UINT Width;
|
---|
2108 | UINT Height;
|
---|
2109 | UINT RefreshRate;
|
---|
2110 | WINED3DFORMAT Format;
|
---|
2111 | } WINED3DDISPLAYMODE;
|
---|
2112 | typedef struct _WINED3DCOLORVALUE {
|
---|
2113 | float r;
|
---|
2114 | float g;
|
---|
2115 | float b;
|
---|
2116 | float a;
|
---|
2117 | } WINED3DCOLORVALUE;
|
---|
2118 | typedef struct _WINED3DVECTOR {
|
---|
2119 | float x;
|
---|
2120 | float y;
|
---|
2121 | float z;
|
---|
2122 | } WINED3DVECTOR;
|
---|
2123 | typedef struct _WINED3DMATRIX {
|
---|
2124 | union {
|
---|
2125 | struct {
|
---|
2126 | float _11;
|
---|
2127 | float _12;
|
---|
2128 | float _13;
|
---|
2129 | float _14;
|
---|
2130 | float _21;
|
---|
2131 | float _22;
|
---|
2132 | float _23;
|
---|
2133 | float _24;
|
---|
2134 | float _31;
|
---|
2135 | float _32;
|
---|
2136 | float _33;
|
---|
2137 | float _34;
|
---|
2138 | float _41;
|
---|
2139 | float _42;
|
---|
2140 | float _43;
|
---|
2141 | float _44;
|
---|
2142 | } DUMMYSTRUCTNAME;
|
---|
2143 | float m[4][4];
|
---|
2144 | } DUMMYUNIONNAME;
|
---|
2145 | } WINED3DMATRIX;
|
---|
2146 | typedef struct _WINED3DRECT {
|
---|
2147 | LONG x1;
|
---|
2148 | LONG y1;
|
---|
2149 | LONG x2;
|
---|
2150 | LONG y2;
|
---|
2151 | } WINED3DRECT;
|
---|
2152 | typedef struct _WINED3DLIGHT {
|
---|
2153 | WINED3DLIGHTTYPE Type;
|
---|
2154 | WINED3DCOLORVALUE Diffuse;
|
---|
2155 | WINED3DCOLORVALUE Specular;
|
---|
2156 | WINED3DCOLORVALUE Ambient;
|
---|
2157 | WINED3DVECTOR Position;
|
---|
2158 | WINED3DVECTOR Direction;
|
---|
2159 | float Range;
|
---|
2160 | float Falloff;
|
---|
2161 | float Attenuation0;
|
---|
2162 | float Attenuation1;
|
---|
2163 | float Attenuation2;
|
---|
2164 | float Theta;
|
---|
2165 | float Phi;
|
---|
2166 | } WINED3DLIGHT;
|
---|
2167 | typedef struct _WINED3DMATERIAL {
|
---|
2168 | WINED3DCOLORVALUE Diffuse;
|
---|
2169 | WINED3DCOLORVALUE Ambient;
|
---|
2170 | WINED3DCOLORVALUE Specular;
|
---|
2171 | WINED3DCOLORVALUE Emissive;
|
---|
2172 | float Power;
|
---|
2173 | } WINED3DMATERIAL;
|
---|
2174 | typedef struct _WINED3DVIEWPORT {
|
---|
2175 | DWORD X;
|
---|
2176 | DWORD Y;
|
---|
2177 | DWORD Width;
|
---|
2178 | DWORD Height;
|
---|
2179 | float MinZ;
|
---|
2180 | float MaxZ;
|
---|
2181 | } WINED3DVIEWPORT;
|
---|
2182 | typedef struct _WINED3DGAMMARAMP {
|
---|
2183 | WORD red[256];
|
---|
2184 | WORD green[256];
|
---|
2185 | WORD blue[256];
|
---|
2186 | } WINED3DGAMMARAMP;
|
---|
2187 | typedef struct _WINED3DLINEPATTERN {
|
---|
2188 | WORD wRepeatFactor;
|
---|
2189 | WORD wLinePattern;
|
---|
2190 | } WINED3DLINEPATTERN;
|
---|
2191 | typedef struct _WINEDD3DRECTPATCH_INFO {
|
---|
2192 | UINT StartVertexOffsetWidth;
|
---|
2193 | UINT StartVertexOffsetHeight;
|
---|
2194 | UINT Width;
|
---|
2195 | UINT Height;
|
---|
2196 | UINT Stride;
|
---|
2197 | WINED3DBASISTYPE Basis;
|
---|
2198 | WINED3DDEGREETYPE Degree;
|
---|
2199 | } WINED3DRECTPATCH_INFO;
|
---|
2200 | typedef struct _WINED3DTRIPATCH_INFO {
|
---|
2201 | UINT StartVertexOffset;
|
---|
2202 | UINT NumVertices;
|
---|
2203 | WINED3DBASISTYPE Basis;
|
---|
2204 | WINED3DDEGREETYPE Degree;
|
---|
2205 | } WINED3DTRIPATCH_INFO;
|
---|
2206 | typedef struct _WINED3DADAPTER_IDENTIFIER {
|
---|
2207 | char *driver;
|
---|
2208 | UINT driver_size;
|
---|
2209 | char *description;
|
---|
2210 | UINT description_size;
|
---|
2211 | char *device_name;
|
---|
2212 | UINT device_name_size;
|
---|
2213 | LARGE_INTEGER driver_version;
|
---|
2214 | DWORD vendor_id;
|
---|
2215 | DWORD device_id;
|
---|
2216 | DWORD subsystem_id;
|
---|
2217 | DWORD revision;
|
---|
2218 | GUID device_identifier;
|
---|
2219 | DWORD whql_level;
|
---|
2220 | LUID adapter_luid;
|
---|
2221 | SIZE_T video_memory;
|
---|
2222 | } WINED3DADAPTER_IDENTIFIER;
|
---|
2223 | typedef struct _WINED3DPRESENT_PARAMETERS {
|
---|
2224 | UINT BackBufferWidth;
|
---|
2225 | UINT BackBufferHeight;
|
---|
2226 | WINED3DFORMAT BackBufferFormat;
|
---|
2227 | UINT BackBufferCount;
|
---|
2228 | WINED3DMULTISAMPLE_TYPE MultiSampleType;
|
---|
2229 | DWORD MultiSampleQuality;
|
---|
2230 | WINED3DSWAPEFFECT SwapEffect;
|
---|
2231 | HWND hDeviceWindow;
|
---|
2232 | BOOL Windowed;
|
---|
2233 | BOOL EnableAutoDepthStencil;
|
---|
2234 | WINED3DFORMAT AutoDepthStencilFormat;
|
---|
2235 | DWORD Flags;
|
---|
2236 | UINT FullScreen_RefreshRateInHz;
|
---|
2237 | UINT PresentationInterval;
|
---|
2238 | BOOL AutoRestoreDisplayMode;
|
---|
2239 | } WINED3DPRESENT_PARAMETERS;
|
---|
2240 | typedef struct _WINED3DSURFACE_DESC {
|
---|
2241 | WINED3DFORMAT format;
|
---|
2242 | WINED3DRESOURCETYPE resource_type;
|
---|
2243 | DWORD usage;
|
---|
2244 | WINED3DPOOL pool;
|
---|
2245 | UINT size;
|
---|
2246 | WINED3DMULTISAMPLE_TYPE multisample_type;
|
---|
2247 | DWORD multisample_quality;
|
---|
2248 | UINT width;
|
---|
2249 | UINT height;
|
---|
2250 | } WINED3DSURFACE_DESC;
|
---|
2251 | typedef struct _WINED3DVOLUME_DESC {
|
---|
2252 | WINED3DFORMAT Format;
|
---|
2253 | WINED3DRESOURCETYPE Type;
|
---|
2254 | DWORD Usage;
|
---|
2255 | WINED3DPOOL Pool;
|
---|
2256 | UINT Size;
|
---|
2257 | UINT Width;
|
---|
2258 | UINT Height;
|
---|
2259 | UINT Depth;
|
---|
2260 | } WINED3DVOLUME_DESC;
|
---|
2261 | typedef struct _WINED3DCLIPSTATUS {
|
---|
2262 | DWORD ClipUnion;
|
---|
2263 | DWORD ClipIntersection;
|
---|
2264 | } WINED3DCLIPSTATUS;
|
---|
2265 | typedef struct _WINED3DVERTEXELEMENT {
|
---|
2266 | WINED3DFORMAT format;
|
---|
2267 | WORD input_slot;
|
---|
2268 | WORD offset;
|
---|
2269 | UINT output_slot;
|
---|
2270 | BYTE method;
|
---|
2271 | BYTE usage;
|
---|
2272 | BYTE usage_idx;
|
---|
2273 | } WINED3DVERTEXELEMENT;
|
---|
2274 | typedef struct _WINED3DDEVICE_CREATION_PARAMETERS {
|
---|
2275 | UINT AdapterOrdinal;
|
---|
2276 | WINED3DDEVTYPE DeviceType;
|
---|
2277 | HWND hFocusWindow;
|
---|
2278 | DWORD BehaviorFlags;
|
---|
2279 | } WINED3DDEVICE_CREATION_PARAMETERS;
|
---|
2280 | typedef struct _WINED3DDEVINFO_BANDWIDTHTIMINGS {
|
---|
2281 | float MaxBandwidthUtilized;
|
---|
2282 | float FrontEndUploadMemoryUtilizedPercent;
|
---|
2283 | float VertexRateUtilizedPercent;
|
---|
2284 | float TriangleSetupRateUtilizedPercent;
|
---|
2285 | float FillRateUtilizedPercent;
|
---|
2286 | } WINED3DDEVINFO_BANDWIDTHTIMINGS;
|
---|
2287 | typedef struct _WINED3DDEVINFO_CACHEUTILIZATION {
|
---|
2288 | float TextureCacheHitRate;
|
---|
2289 | float PostTransformVertexCacheHitRate;
|
---|
2290 | } WINED3DDEVINFO_CACHEUTILIZATION;
|
---|
2291 | typedef struct _WINED3DDEVINFO_INTERFACETIMINGS {
|
---|
2292 | float WaitingForGPUToUseApplicationResourceTimePercent;
|
---|
2293 | float WaitingForGPUToAcceptMoreCommandsTimePercent;
|
---|
2294 | float WaitingForGPUToStayWithinLatencyTimePercent;
|
---|
2295 | float WaitingForGPUExclusiveResourceTimePercent;
|
---|
2296 | float WaitingForGPUOtherTimePercent;
|
---|
2297 | } WINED3DDEVINFO_INTERFACETIMINGS;
|
---|
2298 | typedef struct _WINED3DDEVINFO_PIPELINETIMINGS {
|
---|
2299 | float VertexProcessingTimePercent;
|
---|
2300 | float PixelProcessingTimePercent;
|
---|
2301 | float OtherGPUProcessingTimePercent;
|
---|
2302 | float GPUIdleTimePercent;
|
---|
2303 | } WINED3DDEVINFO_PIPELINETIMINGS;
|
---|
2304 | typedef struct _WINED3DDEVINFO_STAGETIMINGS {
|
---|
2305 | float MemoryProcessingPercent;
|
---|
2306 | float ComputationProcessingPercent;
|
---|
2307 | } WINED3DDEVINFO_STAGETIMINGS;
|
---|
2308 | typedef struct _WINED3DRASTER_STATUS {
|
---|
2309 | BOOL InVBlank;
|
---|
2310 | UINT ScanLine;
|
---|
2311 | } WINED3DRASTER_STATUS;
|
---|
2312 | typedef struct WINED3DRESOURCESTATS {
|
---|
2313 | BOOL bThrashing;
|
---|
2314 | DWORD ApproxBytesDownloaded;
|
---|
2315 | DWORD NumEvicts;
|
---|
2316 | DWORD NumVidCreates;
|
---|
2317 | DWORD LastPri;
|
---|
2318 | DWORD NumUsed;
|
---|
2319 | DWORD NumUsedInVidMem;
|
---|
2320 | DWORD WorkingSet;
|
---|
2321 | DWORD WorkingSetBytes;
|
---|
2322 | DWORD TotalManaged;
|
---|
2323 | DWORD TotalBytes;
|
---|
2324 | } WINED3DRESOURCESTATS;
|
---|
2325 | typedef struct _WINED3DDEVINFO_RESOURCEMANAGER {
|
---|
2326 | WINED3DRESOURCESTATS stats[7];
|
---|
2327 | } WINED3DDEVINFO_RESOURCEMANAGER;
|
---|
2328 | typedef struct _WINED3DDEVINFO_VERTEXSTATS {
|
---|
2329 | DWORD NumRenderedTriangles;
|
---|
2330 | DWORD NumExtraClippingTriangles;
|
---|
2331 | } WINED3DDEVINFO_VERTEXSTATS;
|
---|
2332 | typedef struct _WINED3DLOCKED_RECT {
|
---|
2333 | INT Pitch;
|
---|
2334 | void *pBits;
|
---|
2335 | } WINED3DLOCKED_RECT;
|
---|
2336 | typedef struct _WINED3DLOCKED_BOX {
|
---|
2337 | INT RowPitch;
|
---|
2338 | INT SlicePitch;
|
---|
2339 | void *pBits;
|
---|
2340 | } WINED3DLOCKED_BOX;
|
---|
2341 | typedef struct _WINED3DBOX {
|
---|
2342 | UINT Left;
|
---|
2343 | UINT Top;
|
---|
2344 | UINT Right;
|
---|
2345 | UINT Bottom;
|
---|
2346 | UINT Front;
|
---|
2347 | UINT Back;
|
---|
2348 | } WINED3DBOX;
|
---|
2349 | typedef struct WINED3DDEVINFO_VCACHE {
|
---|
2350 | DWORD Pattern;
|
---|
2351 | DWORD OptMethod;
|
---|
2352 | DWORD CacheSize;
|
---|
2353 | DWORD MagicNumber;
|
---|
2354 | } WINED3DDEVINFO_VCACHE;
|
---|
2355 | typedef struct _WINED3DBUFFER_DESC {
|
---|
2356 | WINED3DRESOURCETYPE Type;
|
---|
2357 | DWORD Usage;
|
---|
2358 | WINED3DPOOL Pool;
|
---|
2359 | UINT Size;
|
---|
2360 | } WINED3DBUFFER_DESC;
|
---|
2361 | typedef struct WineDirect3DStridedData {
|
---|
2362 | WINED3DFORMAT format;
|
---|
2363 | const BYTE *lpData;
|
---|
2364 | DWORD dwStride;
|
---|
2365 | } WineDirect3DStridedData;
|
---|
2366 | typedef struct WineDirect3DVertexStridedData {
|
---|
2367 | WineDirect3DStridedData position;
|
---|
2368 | WineDirect3DStridedData normal;
|
---|
2369 | WineDirect3DStridedData diffuse;
|
---|
2370 | WineDirect3DStridedData specular;
|
---|
2371 | WineDirect3DStridedData texCoords[8];
|
---|
2372 | BOOL position_transformed;
|
---|
2373 | } WineDirect3DVertexStridedData;
|
---|
2374 | typedef struct _WINED3DVSHADERCAPS2_0 {
|
---|
2375 | DWORD Caps;
|
---|
2376 | INT DynamicFlowControlDepth;
|
---|
2377 | INT NumTemps;
|
---|
2378 | INT StaticFlowControlDepth;
|
---|
2379 | } WINED3DVSHADERCAPS2_0;
|
---|
2380 | typedef struct _WINED3DPSHADERCAPS2_0 {
|
---|
2381 | DWORD Caps;
|
---|
2382 | INT DynamicFlowControlDepth;
|
---|
2383 | INT NumTemps;
|
---|
2384 | INT StaticFlowControlDepth;
|
---|
2385 | INT NumInstructionSlots;
|
---|
2386 | } WINED3DPSHADERCAPS2_0;
|
---|
2387 | typedef struct _WINEDDCAPS {
|
---|
2388 | DWORD Caps;
|
---|
2389 | DWORD Caps2;
|
---|
2390 | DWORD CKeyCaps;
|
---|
2391 | DWORD FXCaps;
|
---|
2392 | DWORD FXAlphaCaps;
|
---|
2393 | DWORD PalCaps;
|
---|
2394 | DWORD SVCaps;
|
---|
2395 | DWORD SVBCaps;
|
---|
2396 | DWORD SVBCKeyCaps;
|
---|
2397 | DWORD SVBFXCaps;
|
---|
2398 | DWORD VSBCaps;
|
---|
2399 | DWORD VSBCKeyCaps;
|
---|
2400 | DWORD VSBFXCaps;
|
---|
2401 | DWORD SSBCaps;
|
---|
2402 | DWORD SSBCKeyCaps;
|
---|
2403 | DWORD SSBFXCaps;
|
---|
2404 | DWORD ddsCaps;
|
---|
2405 | DWORD StrideAlign;
|
---|
2406 | } WINEDDCAPS;
|
---|
2407 | typedef struct _WINED3DCAPS {
|
---|
2408 | WINED3DDEVTYPE DeviceType;
|
---|
2409 | UINT AdapterOrdinal;
|
---|
2410 | DWORD Caps;
|
---|
2411 | DWORD Caps2;
|
---|
2412 | DWORD Caps3;
|
---|
2413 | DWORD PresentationIntervals;
|
---|
2414 | DWORD CursorCaps;
|
---|
2415 | DWORD DevCaps;
|
---|
2416 | DWORD PrimitiveMiscCaps;
|
---|
2417 | DWORD RasterCaps;
|
---|
2418 | DWORD ZCmpCaps;
|
---|
2419 | DWORD SrcBlendCaps;
|
---|
2420 | DWORD DestBlendCaps;
|
---|
2421 | DWORD AlphaCmpCaps;
|
---|
2422 | DWORD ShadeCaps;
|
---|
2423 | DWORD TextureCaps;
|
---|
2424 | DWORD TextureFilterCaps;
|
---|
2425 | DWORD CubeTextureFilterCaps;
|
---|
2426 | DWORD VolumeTextureFilterCaps;
|
---|
2427 | DWORD TextureAddressCaps;
|
---|
2428 | DWORD VolumeTextureAddressCaps;
|
---|
2429 | DWORD LineCaps;
|
---|
2430 | DWORD MaxTextureWidth;
|
---|
2431 | DWORD MaxTextureHeight;
|
---|
2432 | DWORD MaxVolumeExtent;
|
---|
2433 | DWORD MaxTextureRepeat;
|
---|
2434 | DWORD MaxTextureAspectRatio;
|
---|
2435 | DWORD MaxAnisotropy;
|
---|
2436 | float MaxVertexW;
|
---|
2437 | float GuardBandLeft;
|
---|
2438 | float GuardBandTop;
|
---|
2439 | float GuardBandRight;
|
---|
2440 | float GuardBandBottom;
|
---|
2441 | float ExtentsAdjust;
|
---|
2442 | DWORD StencilCaps;
|
---|
2443 | DWORD FVFCaps;
|
---|
2444 | DWORD TextureOpCaps;
|
---|
2445 | DWORD MaxTextureBlendStages;
|
---|
2446 | DWORD MaxSimultaneousTextures;
|
---|
2447 | DWORD VertexProcessingCaps;
|
---|
2448 | DWORD MaxActiveLights;
|
---|
2449 | DWORD MaxUserClipPlanes;
|
---|
2450 | DWORD MaxVertexBlendMatrices;
|
---|
2451 | DWORD MaxVertexBlendMatrixIndex;
|
---|
2452 | float MaxPointSize;
|
---|
2453 | DWORD MaxPrimitiveCount;
|
---|
2454 | DWORD MaxVertexIndex;
|
---|
2455 | DWORD MaxStreams;
|
---|
2456 | DWORD MaxStreamStride;
|
---|
2457 | DWORD VertexShaderVersion;
|
---|
2458 | DWORD MaxVertexShaderConst;
|
---|
2459 | DWORD PixelShaderVersion;
|
---|
2460 | float PixelShader1xMaxValue;
|
---|
2461 | DWORD DevCaps2;
|
---|
2462 | float MaxNpatchTessellationLevel;
|
---|
2463 | DWORD Reserved5;
|
---|
2464 | UINT MasterAdapterOrdinal;
|
---|
2465 | UINT AdapterOrdinalInGroup;
|
---|
2466 | UINT NumberOfAdaptersInGroup;
|
---|
2467 | DWORD DeclTypes;
|
---|
2468 | DWORD NumSimultaneousRTs;
|
---|
2469 | DWORD StretchRectFilterCaps;
|
---|
2470 | WINED3DVSHADERCAPS2_0 VS20Caps;
|
---|
2471 | WINED3DPSHADERCAPS2_0 PS20Caps;
|
---|
2472 | DWORD VertexTextureFilterCaps;
|
---|
2473 | DWORD MaxVShaderInstructionsExecuted;
|
---|
2474 | DWORD MaxPShaderInstructionsExecuted;
|
---|
2475 | DWORD MaxVertexShader30InstructionSlots;
|
---|
2476 | DWORD MaxPixelShader30InstructionSlots;
|
---|
2477 | DWORD Reserved2;
|
---|
2478 | DWORD Reserved3;
|
---|
2479 | WINEDDCAPS DirectDrawCaps;
|
---|
2480 | } WINED3DCAPS;
|
---|
2481 | typedef struct _WINEDDCOLORKEY {
|
---|
2482 | DWORD dwColorSpaceLowValue;
|
---|
2483 | DWORD dwColorSpaceHighValue;
|
---|
2484 | } WINEDDCOLORKEY;
|
---|
2485 | typedef struct _WINEDDCOLORKEY *LPWINEDDCOLORKEY;
|
---|
2486 | typedef struct _WINEDDBLTFX {
|
---|
2487 | DWORD dwSize;
|
---|
2488 | DWORD dwDDFX;
|
---|
2489 | DWORD dwROP;
|
---|
2490 | DWORD dwDDROP;
|
---|
2491 | DWORD dwRotationAngle;
|
---|
2492 | DWORD dwZBufferOpCode;
|
---|
2493 | DWORD dwZBufferLow;
|
---|
2494 | DWORD dwZBufferHigh;
|
---|
2495 | DWORD dwZBufferBaseDest;
|
---|
2496 | DWORD dwZDestConstBitDepth;
|
---|
2497 | union {
|
---|
2498 | DWORD dwZDestConst;
|
---|
2499 | struct IWineD3DSurface *lpDDSZBufferDest;
|
---|
2500 | } DUMMYUNIONNAME1;
|
---|
2501 | DWORD dwZSrcConstBitDepth;
|
---|
2502 | union {
|
---|
2503 | DWORD dwZSrcConst;
|
---|
2504 | struct IWineD3DSurface *lpDDSZBufferSrc;
|
---|
2505 | } DUMMYUNIONNAME2;
|
---|
2506 | DWORD dwAlphaEdgeBlendBitDepth;
|
---|
2507 | DWORD dwAlphaEdgeBlend;
|
---|
2508 | DWORD dwReserved;
|
---|
2509 | DWORD dwAlphaDestConstBitDepth;
|
---|
2510 | union {
|
---|
2511 | DWORD dwAlphaDestConst;
|
---|
2512 | struct IWineD3DSurface *lpDDSAlphaDest;
|
---|
2513 | } DUMMYUNIONNAME3;
|
---|
2514 | DWORD dwAlphaSrcConstBitDepth;
|
---|
2515 | union {
|
---|
2516 | DWORD dwAlphaSrcConst;
|
---|
2517 | struct IWineD3DSurface *lpDDSAlphaSrc;
|
---|
2518 | } DUMMYUNIONNAME4;
|
---|
2519 | union {
|
---|
2520 | DWORD dwFillColor;
|
---|
2521 | DWORD dwFillDepth;
|
---|
2522 | DWORD dwFillPixel;
|
---|
2523 | struct IWineD3DSurface *lpDDSPattern;
|
---|
2524 | } DUMMYUNIONNAME5;
|
---|
2525 | WINEDDCOLORKEY ddckDestColorkey;
|
---|
2526 | WINEDDCOLORKEY ddckSrcColorkey;
|
---|
2527 | } WINEDDBLTFX;
|
---|
2528 | typedef struct _WINEDDBLTFX *LPWINEDDBLTFX;
|
---|
2529 | typedef struct _WINEDDOVERLAYFX {
|
---|
2530 | DWORD dwSize;
|
---|
2531 | DWORD dwAlphaEdgeBlendBitDepth;
|
---|
2532 | DWORD dwAlphaEdgeBlend;
|
---|
2533 | DWORD dwReserved;
|
---|
2534 | DWORD dwAlphaDestConstBitDepth;
|
---|
2535 | union {
|
---|
2536 | DWORD dwAlphaDestConst;
|
---|
2537 | struct IWineD3DSurface *lpDDSAlphaDest;
|
---|
2538 | } DUMMYUNIONNAME1;
|
---|
2539 | DWORD dwAlphaSrcConstBitDepth;
|
---|
2540 | union {
|
---|
2541 | DWORD dwAlphaSrcConst;
|
---|
2542 | struct IWineD3DSurface *lpDDSAlphaSrc;
|
---|
2543 | } DUMMYUNIONNAME2;
|
---|
2544 | WINEDDCOLORKEY dckDestColorkey;
|
---|
2545 | WINEDDCOLORKEY dckSrcColorkey;
|
---|
2546 | DWORD dwDDFX;
|
---|
2547 | DWORD dwFlags;
|
---|
2548 | } WINEDDOVERLAYFX;
|
---|
2549 | struct wined3d_buffer_desc {
|
---|
2550 | UINT byte_width;
|
---|
2551 | DWORD usage;
|
---|
2552 | UINT bind_flags;
|
---|
2553 | UINT cpu_access_flags;
|
---|
2554 | UINT misc_flags;
|
---|
2555 | };
|
---|
2556 |
|
---|
2557 | struct wined3d_shader_signature_element {
|
---|
2558 | const char *semantic_name;
|
---|
2559 | UINT semantic_idx;
|
---|
2560 | enum wined3d_sysval_semantic sysval_semantic;
|
---|
2561 | DWORD component_type;
|
---|
2562 | UINT register_idx;
|
---|
2563 | DWORD mask;
|
---|
2564 | };
|
---|
2565 |
|
---|
2566 | struct wined3d_shader_signature {
|
---|
2567 | UINT element_count;
|
---|
2568 | struct wined3d_shader_signature_element *elements;
|
---|
2569 | char *string_data;
|
---|
2570 | };
|
---|
2571 |
|
---|
2572 | struct wined3d_parent_ops {
|
---|
2573 | void (STDMETHODCALLTYPE *wined3d_object_destroyed)(void *parent);
|
---|
2574 | };
|
---|
2575 |
|
---|
2576 | #ifndef __IWineD3DResource_FWD_DEFINED__
|
---|
2577 | #define __IWineD3DResource_FWD_DEFINED__
|
---|
2578 | typedef interface IWineD3DResource IWineD3DResource;
|
---|
2579 | #endif
|
---|
2580 |
|
---|
2581 | #ifndef __IWineD3DSurface_FWD_DEFINED__
|
---|
2582 | #define __IWineD3DSurface_FWD_DEFINED__
|
---|
2583 | typedef interface IWineD3DSurface IWineD3DSurface;
|
---|
2584 | #endif
|
---|
2585 |
|
---|
2586 | #ifndef __IWineD3DVolume_FWD_DEFINED__
|
---|
2587 | #define __IWineD3DVolume_FWD_DEFINED__
|
---|
2588 | typedef interface IWineD3DVolume IWineD3DVolume;
|
---|
2589 | #endif
|
---|
2590 |
|
---|
2591 | #ifndef __IWineD3DSwapChain_FWD_DEFINED__
|
---|
2592 | #define __IWineD3DSwapChain_FWD_DEFINED__
|
---|
2593 | typedef interface IWineD3DSwapChain IWineD3DSwapChain;
|
---|
2594 | #endif
|
---|
2595 |
|
---|
2596 | #ifndef __IWineD3DDevice_FWD_DEFINED__
|
---|
2597 | #define __IWineD3DDevice_FWD_DEFINED__
|
---|
2598 | typedef interface IWineD3DDevice IWineD3DDevice;
|
---|
2599 | #endif
|
---|
2600 |
|
---|
2601 | /*****************************************************************************
|
---|
2602 | * IWineD3DDeviceParent interface
|
---|
2603 | */
|
---|
2604 | #ifndef __IWineD3DDeviceParent_INTERFACE_DEFINED__
|
---|
2605 | #define __IWineD3DDeviceParent_INTERFACE_DEFINED__
|
---|
2606 |
|
---|
2607 | DEFINE_GUID(IID_IWineD3DDeviceParent, 0xaeb62dfc, 0xbdcb, 0x4f02, 0x95,0x19, 0x1e,0xee,0xa0,0x0c,0x15,0xcd);
|
---|
2608 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2609 | interface IWineD3DDeviceParent : public IUnknown
|
---|
2610 | {
|
---|
2611 | virtual void STDMETHODCALLTYPE WineD3DDeviceCreated(
|
---|
2612 | IWineD3DDevice *device) = 0;
|
---|
2613 |
|
---|
2614 | virtual HRESULT STDMETHODCALLTYPE CreateSurface(
|
---|
2615 | IUnknown *superior,
|
---|
2616 | UINT width,
|
---|
2617 | UINT height,
|
---|
2618 | WINED3DFORMAT format,
|
---|
2619 | DWORD usage,
|
---|
2620 | WINED3DPOOL pool,
|
---|
2621 | UINT level,
|
---|
2622 | WINED3DCUBEMAP_FACES face,
|
---|
2623 | IWineD3DSurface **surface) = 0;
|
---|
2624 |
|
---|
2625 | virtual HRESULT STDMETHODCALLTYPE CreateRenderTarget(
|
---|
2626 | IUnknown *superior,
|
---|
2627 | UINT width,
|
---|
2628 | UINT height,
|
---|
2629 | WINED3DFORMAT format,
|
---|
2630 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2631 | DWORD multisample_quality,
|
---|
2632 | BOOL lockable,
|
---|
2633 | IWineD3DSurface **surface) = 0;
|
---|
2634 |
|
---|
2635 | virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilSurface(
|
---|
2636 | IUnknown *superior,
|
---|
2637 | UINT width,
|
---|
2638 | UINT height,
|
---|
2639 | WINED3DFORMAT format,
|
---|
2640 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2641 | DWORD multisample_quality,
|
---|
2642 | BOOL discard,
|
---|
2643 | IWineD3DSurface **surface) = 0;
|
---|
2644 |
|
---|
2645 | virtual HRESULT STDMETHODCALLTYPE CreateVolume(
|
---|
2646 | IUnknown *superior,
|
---|
2647 | UINT width,
|
---|
2648 | UINT height,
|
---|
2649 | UINT depth,
|
---|
2650 | WINED3DFORMAT format,
|
---|
2651 | WINED3DPOOL pool,
|
---|
2652 | DWORD usage,
|
---|
2653 | IWineD3DVolume **volume) = 0;
|
---|
2654 |
|
---|
2655 | virtual HRESULT STDMETHODCALLTYPE CreateSwapChain(
|
---|
2656 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2657 | IWineD3DSwapChain **swapchain) = 0;
|
---|
2658 |
|
---|
2659 | };
|
---|
2660 | #else
|
---|
2661 | typedef struct IWineD3DDeviceParentVtbl {
|
---|
2662 | BEGIN_INTERFACE
|
---|
2663 |
|
---|
2664 | /*** IUnknown methods ***/
|
---|
2665 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2666 | IWineD3DDeviceParent* This,
|
---|
2667 | REFIID riid,
|
---|
2668 | void **ppvObject);
|
---|
2669 |
|
---|
2670 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2671 | IWineD3DDeviceParent* This);
|
---|
2672 |
|
---|
2673 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2674 | IWineD3DDeviceParent* This);
|
---|
2675 |
|
---|
2676 | /*** IWineD3DDeviceParent methods ***/
|
---|
2677 | void (STDMETHODCALLTYPE *WineD3DDeviceCreated)(
|
---|
2678 | IWineD3DDeviceParent* This,
|
---|
2679 | IWineD3DDevice *device);
|
---|
2680 |
|
---|
2681 | HRESULT (STDMETHODCALLTYPE *CreateSurface)(
|
---|
2682 | IWineD3DDeviceParent* This,
|
---|
2683 | IUnknown *superior,
|
---|
2684 | UINT width,
|
---|
2685 | UINT height,
|
---|
2686 | WINED3DFORMAT format,
|
---|
2687 | DWORD usage,
|
---|
2688 | WINED3DPOOL pool,
|
---|
2689 | UINT level,
|
---|
2690 | WINED3DCUBEMAP_FACES face,
|
---|
2691 | IWineD3DSurface **surface
|
---|
2692 | #ifdef VBOXWDDM
|
---|
2693 | , HANDLE *shared_handle
|
---|
2694 | , void *pvClientMem
|
---|
2695 | #endif
|
---|
2696 | );
|
---|
2697 |
|
---|
2698 | HRESULT (STDMETHODCALLTYPE *CreateRenderTarget)(
|
---|
2699 | IWineD3DDeviceParent* This,
|
---|
2700 | IUnknown *superior,
|
---|
2701 | UINT width,
|
---|
2702 | UINT height,
|
---|
2703 | WINED3DFORMAT format,
|
---|
2704 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2705 | DWORD multisample_quality,
|
---|
2706 | BOOL lockable,
|
---|
2707 | IWineD3DSurface **surface);
|
---|
2708 |
|
---|
2709 | HRESULT (STDMETHODCALLTYPE *CreateDepthStencilSurface)(
|
---|
2710 | IWineD3DDeviceParent* This,
|
---|
2711 | IUnknown *superior,
|
---|
2712 | UINT width,
|
---|
2713 | UINT height,
|
---|
2714 | WINED3DFORMAT format,
|
---|
2715 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2716 | DWORD multisample_quality,
|
---|
2717 | BOOL discard,
|
---|
2718 | IWineD3DSurface **surface);
|
---|
2719 |
|
---|
2720 | HRESULT (STDMETHODCALLTYPE *CreateVolume)(
|
---|
2721 | IWineD3DDeviceParent* This,
|
---|
2722 | IUnknown *superior,
|
---|
2723 | UINT width,
|
---|
2724 | UINT height,
|
---|
2725 | UINT depth,
|
---|
2726 | WINED3DFORMAT format,
|
---|
2727 | WINED3DPOOL pool,
|
---|
2728 | DWORD usage,
|
---|
2729 | IWineD3DVolume **volume);
|
---|
2730 |
|
---|
2731 | HRESULT (STDMETHODCALLTYPE *CreateSwapChain)(
|
---|
2732 | IWineD3DDeviceParent* This,
|
---|
2733 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2734 | IWineD3DSwapChain **swapchain);
|
---|
2735 |
|
---|
2736 | END_INTERFACE
|
---|
2737 | } IWineD3DDeviceParentVtbl;
|
---|
2738 | interface IWineD3DDeviceParent {
|
---|
2739 | CONST_VTBL IWineD3DDeviceParentVtbl* lpVtbl;
|
---|
2740 | };
|
---|
2741 |
|
---|
2742 | #ifdef COBJMACROS
|
---|
2743 | /*** IUnknown methods ***/
|
---|
2744 | #define IWineD3DDeviceParent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2745 | #define IWineD3DDeviceParent_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2746 | #define IWineD3DDeviceParent_Release(This) (This)->lpVtbl->Release(This)
|
---|
2747 | /*** IWineD3DDeviceParent methods ***/
|
---|
2748 | #define IWineD3DDeviceParent_WineD3DDeviceCreated(This,device) (This)->lpVtbl->WineD3DDeviceCreated(This,device)
|
---|
2749 | #ifdef VBOXWDDM
|
---|
2750 | #define IWineD3DDeviceParent_CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface,shared_handle,pvClientMem) (This)->lpVtbl->CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface,shared_handle,pvClientMem)
|
---|
2751 | #else
|
---|
2752 | #define IWineD3DDeviceParent_CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface) (This)->lpVtbl->CreateSurface(This,superior,width,height,format,usage,pool,level,face,surface)
|
---|
2753 | #endif
|
---|
2754 | #define IWineD3DDeviceParent_CreateRenderTarget(This,superior,width,height,format,multisample_type,multisample_quality,lockable,surface) (This)->lpVtbl->CreateRenderTarget(This,superior,width,height,format,multisample_type,multisample_quality,lockable,surface)
|
---|
2755 | #define IWineD3DDeviceParent_CreateDepthStencilSurface(This,superior,width,height,format,multisample_type,multisample_quality,discard,surface) (This)->lpVtbl->CreateDepthStencilSurface(This,superior,width,height,format,multisample_type,multisample_quality,discard,surface)
|
---|
2756 | #define IWineD3DDeviceParent_CreateVolume(This,superior,width,height,depth,format,pool,usage,volume) (This)->lpVtbl->CreateVolume(This,superior,width,height,depth,format,pool,usage,volume)
|
---|
2757 | #define IWineD3DDeviceParent_CreateSwapChain(This,present_parameters,swapchain) (This)->lpVtbl->CreateSwapChain(This,present_parameters,swapchain)
|
---|
2758 | #endif
|
---|
2759 |
|
---|
2760 | #endif
|
---|
2761 |
|
---|
2762 | void STDMETHODCALLTYPE IWineD3DDeviceParent_WineD3DDeviceCreated_Proxy(
|
---|
2763 | IWineD3DDeviceParent* This,
|
---|
2764 | IWineD3DDevice *device);
|
---|
2765 | void __RPC_STUB IWineD3DDeviceParent_WineD3DDeviceCreated_Stub(
|
---|
2766 | IRpcStubBuffer* This,
|
---|
2767 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2768 | PRPC_MESSAGE pRpcMessage,
|
---|
2769 | DWORD* pdwStubPhase);
|
---|
2770 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateSurface_Proxy(
|
---|
2771 | IWineD3DDeviceParent* This,
|
---|
2772 | IUnknown *superior,
|
---|
2773 | UINT width,
|
---|
2774 | UINT height,
|
---|
2775 | WINED3DFORMAT format,
|
---|
2776 | DWORD usage,
|
---|
2777 | WINED3DPOOL pool,
|
---|
2778 | UINT level,
|
---|
2779 | WINED3DCUBEMAP_FACES face,
|
---|
2780 | IWineD3DSurface **surface);
|
---|
2781 | void __RPC_STUB IWineD3DDeviceParent_CreateSurface_Stub(
|
---|
2782 | IRpcStubBuffer* This,
|
---|
2783 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2784 | PRPC_MESSAGE pRpcMessage,
|
---|
2785 | DWORD* pdwStubPhase);
|
---|
2786 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateRenderTarget_Proxy(
|
---|
2787 | IWineD3DDeviceParent* This,
|
---|
2788 | IUnknown *superior,
|
---|
2789 | UINT width,
|
---|
2790 | UINT height,
|
---|
2791 | WINED3DFORMAT format,
|
---|
2792 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2793 | DWORD multisample_quality,
|
---|
2794 | BOOL lockable,
|
---|
2795 | IWineD3DSurface **surface);
|
---|
2796 | void __RPC_STUB IWineD3DDeviceParent_CreateRenderTarget_Stub(
|
---|
2797 | IRpcStubBuffer* This,
|
---|
2798 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2799 | PRPC_MESSAGE pRpcMessage,
|
---|
2800 | DWORD* pdwStubPhase);
|
---|
2801 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateDepthStencilSurface_Proxy(
|
---|
2802 | IWineD3DDeviceParent* This,
|
---|
2803 | IUnknown *superior,
|
---|
2804 | UINT width,
|
---|
2805 | UINT height,
|
---|
2806 | WINED3DFORMAT format,
|
---|
2807 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2808 | DWORD multisample_quality,
|
---|
2809 | BOOL discard,
|
---|
2810 | IWineD3DSurface **surface);
|
---|
2811 | void __RPC_STUB IWineD3DDeviceParent_CreateDepthStencilSurface_Stub(
|
---|
2812 | IRpcStubBuffer* This,
|
---|
2813 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2814 | PRPC_MESSAGE pRpcMessage,
|
---|
2815 | DWORD* pdwStubPhase);
|
---|
2816 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateVolume_Proxy(
|
---|
2817 | IWineD3DDeviceParent* This,
|
---|
2818 | IUnknown *superior,
|
---|
2819 | UINT width,
|
---|
2820 | UINT height,
|
---|
2821 | UINT depth,
|
---|
2822 | WINED3DFORMAT format,
|
---|
2823 | WINED3DPOOL pool,
|
---|
2824 | DWORD usage,
|
---|
2825 | IWineD3DVolume **volume);
|
---|
2826 | void __RPC_STUB IWineD3DDeviceParent_CreateVolume_Stub(
|
---|
2827 | IRpcStubBuffer* This,
|
---|
2828 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2829 | PRPC_MESSAGE pRpcMessage,
|
---|
2830 | DWORD* pdwStubPhase);
|
---|
2831 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateSwapChain_Proxy(
|
---|
2832 | IWineD3DDeviceParent* This,
|
---|
2833 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2834 | IWineD3DSwapChain **swapchain);
|
---|
2835 | void __RPC_STUB IWineD3DDeviceParent_CreateSwapChain_Stub(
|
---|
2836 | IRpcStubBuffer* This,
|
---|
2837 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2838 | PRPC_MESSAGE pRpcMessage,
|
---|
2839 | DWORD* pdwStubPhase);
|
---|
2840 |
|
---|
2841 | #endif /* __IWineD3DDeviceParent_INTERFACE_DEFINED__ */
|
---|
2842 |
|
---|
2843 | typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSWAPCHAINFN)(IWineD3DSwapChain *pSwapChain);
|
---|
2844 | typedef HRESULT (STDMETHODCALLTYPE *D3DCB_ENUMRESOURCES)(IWineD3DResource *resource,void *pData);
|
---|
2845 | /*****************************************************************************
|
---|
2846 | * IWineD3DBase interface
|
---|
2847 | */
|
---|
2848 | #ifndef __IWineD3DBase_INTERFACE_DEFINED__
|
---|
2849 | #define __IWineD3DBase_INTERFACE_DEFINED__
|
---|
2850 |
|
---|
2851 | DEFINE_GUID(IID_IWineD3DBase, 0x46799311, 0x8e0e, 0x40ce, 0xb2,0xec, 0xdd,0xb9,0x9f,0x18,0xfc,0xb4);
|
---|
2852 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2853 | interface IWineD3DBase : public IUnknown
|
---|
2854 | {
|
---|
2855 | virtual HRESULT STDMETHODCALLTYPE GetParent(
|
---|
2856 | IUnknown **parent) = 0;
|
---|
2857 |
|
---|
2858 | };
|
---|
2859 | #else
|
---|
2860 | typedef struct IWineD3DBaseVtbl {
|
---|
2861 | BEGIN_INTERFACE
|
---|
2862 |
|
---|
2863 | /*** IUnknown methods ***/
|
---|
2864 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2865 | IWineD3DBase* This,
|
---|
2866 | REFIID riid,
|
---|
2867 | void **ppvObject);
|
---|
2868 |
|
---|
2869 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2870 | IWineD3DBase* This);
|
---|
2871 |
|
---|
2872 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2873 | IWineD3DBase* This);
|
---|
2874 |
|
---|
2875 | /*** IWineD3DBase methods ***/
|
---|
2876 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
2877 | IWineD3DBase* This,
|
---|
2878 | IUnknown **parent);
|
---|
2879 |
|
---|
2880 | END_INTERFACE
|
---|
2881 | } IWineD3DBaseVtbl;
|
---|
2882 | interface IWineD3DBase {
|
---|
2883 | CONST_VTBL IWineD3DBaseVtbl* lpVtbl;
|
---|
2884 | };
|
---|
2885 |
|
---|
2886 | #ifdef COBJMACROS
|
---|
2887 | /*** IUnknown methods ***/
|
---|
2888 | #define IWineD3DBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2889 | #define IWineD3DBase_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2890 | #define IWineD3DBase_Release(This) (This)->lpVtbl->Release(This)
|
---|
2891 | /*** IWineD3DBase methods ***/
|
---|
2892 | #define IWineD3DBase_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
2893 | #endif
|
---|
2894 |
|
---|
2895 | #endif
|
---|
2896 |
|
---|
2897 | HRESULT STDMETHODCALLTYPE IWineD3DBase_GetParent_Proxy(
|
---|
2898 | IWineD3DBase* This,
|
---|
2899 | IUnknown **parent);
|
---|
2900 | void __RPC_STUB IWineD3DBase_GetParent_Stub(
|
---|
2901 | IRpcStubBuffer* This,
|
---|
2902 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2903 | PRPC_MESSAGE pRpcMessage,
|
---|
2904 | DWORD* pdwStubPhase);
|
---|
2905 |
|
---|
2906 | #endif /* __IWineD3DBase_INTERFACE_DEFINED__ */
|
---|
2907 |
|
---|
2908 | /*****************************************************************************
|
---|
2909 | * IWineD3D interface
|
---|
2910 | */
|
---|
2911 | #ifndef __IWineD3D_INTERFACE_DEFINED__
|
---|
2912 | #define __IWineD3D_INTERFACE_DEFINED__
|
---|
2913 |
|
---|
2914 | DEFINE_GUID(IID_IWineD3D, 0x108f9c44, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
2915 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2916 | interface IWineD3D : public IWineD3DBase
|
---|
2917 | {
|
---|
2918 | virtual UINT STDMETHODCALLTYPE GetAdapterCount(
|
---|
2919 | ) = 0;
|
---|
2920 |
|
---|
2921 | virtual HRESULT STDMETHODCALLTYPE RegisterSoftwareDevice(
|
---|
2922 | void *pInitializeFunction) = 0;
|
---|
2923 |
|
---|
2924 | virtual HMONITOR STDMETHODCALLTYPE GetAdapterMonitor(
|
---|
2925 | UINT adapter_idx) = 0;
|
---|
2926 |
|
---|
2927 | virtual UINT STDMETHODCALLTYPE GetAdapterModeCount(
|
---|
2928 | UINT adapter_idx,
|
---|
2929 | WINED3DFORMAT format) = 0;
|
---|
2930 |
|
---|
2931 | virtual HRESULT STDMETHODCALLTYPE EnumAdapterModes(
|
---|
2932 | UINT adapter_idx,
|
---|
2933 | WINED3DFORMAT format,
|
---|
2934 | UINT mode_idx,
|
---|
2935 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
2936 |
|
---|
2937 | virtual HRESULT STDMETHODCALLTYPE GetAdapterDisplayMode(
|
---|
2938 | UINT adapter_idx,
|
---|
2939 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
2940 |
|
---|
2941 | virtual HRESULT STDMETHODCALLTYPE GetAdapterIdentifier(
|
---|
2942 | UINT adapter_idx,
|
---|
2943 | DWORD flags,
|
---|
2944 | WINED3DADAPTER_IDENTIFIER *identifier) = 0;
|
---|
2945 |
|
---|
2946 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceMultiSampleType(
|
---|
2947 | UINT adapter_idx,
|
---|
2948 | WINED3DDEVTYPE device_type,
|
---|
2949 | WINED3DFORMAT surface_format,
|
---|
2950 | BOOL windowed,
|
---|
2951 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2952 | DWORD *quality_levels) = 0;
|
---|
2953 |
|
---|
2954 | virtual HRESULT STDMETHODCALLTYPE CheckDepthStencilMatch(
|
---|
2955 | UINT adapter_idx,
|
---|
2956 | WINED3DDEVTYPE device_type,
|
---|
2957 | WINED3DFORMAT adapter_format,
|
---|
2958 | WINED3DFORMAT render_target_format,
|
---|
2959 | WINED3DFORMAT depth_stencil_format) = 0;
|
---|
2960 |
|
---|
2961 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceType(
|
---|
2962 | UINT adapter_idx,
|
---|
2963 | WINED3DDEVTYPE device_type,
|
---|
2964 | WINED3DFORMAT display_format,
|
---|
2965 | WINED3DFORMAT backbuffer_format,
|
---|
2966 | BOOL windowed) = 0;
|
---|
2967 |
|
---|
2968 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceFormat(
|
---|
2969 | UINT adaper_idx,
|
---|
2970 | WINED3DDEVTYPE device_type,
|
---|
2971 | WINED3DFORMAT adapter_format,
|
---|
2972 | DWORD usage,
|
---|
2973 | WINED3DRESOURCETYPE resource_type,
|
---|
2974 | WINED3DFORMAT check_format,
|
---|
2975 | WINED3DSURFTYPE surface_type) = 0;
|
---|
2976 |
|
---|
2977 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceFormatConversion(
|
---|
2978 | UINT adapter_idx,
|
---|
2979 | WINED3DDEVTYPE device_type,
|
---|
2980 | WINED3DFORMAT source_format,
|
---|
2981 | WINED3DFORMAT target_format) = 0;
|
---|
2982 |
|
---|
2983 | virtual HRESULT STDMETHODCALLTYPE GetDeviceCaps(
|
---|
2984 | UINT adapter_idx,
|
---|
2985 | WINED3DDEVTYPE device_type,
|
---|
2986 | WINED3DCAPS *caps) = 0;
|
---|
2987 |
|
---|
2988 | virtual HRESULT STDMETHODCALLTYPE CreateDevice(
|
---|
2989 | UINT adapter_idx,
|
---|
2990 | WINED3DDEVTYPE device_type,
|
---|
2991 | HWND focus_window,
|
---|
2992 | DWORD behaviour_flags,
|
---|
2993 | IUnknown *parent,
|
---|
2994 | IWineD3DDeviceParent *device_parent,
|
---|
2995 | IWineD3DDevice **device) = 0;
|
---|
2996 |
|
---|
2997 | };
|
---|
2998 | #else
|
---|
2999 | typedef struct IWineD3DVtbl {
|
---|
3000 | BEGIN_INTERFACE
|
---|
3001 |
|
---|
3002 | /*** IUnknown methods ***/
|
---|
3003 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3004 | IWineD3D* This,
|
---|
3005 | REFIID riid,
|
---|
3006 | void **ppvObject);
|
---|
3007 |
|
---|
3008 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3009 | IWineD3D* This);
|
---|
3010 |
|
---|
3011 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3012 | IWineD3D* This);
|
---|
3013 |
|
---|
3014 | /*** IWineD3DBase methods ***/
|
---|
3015 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3016 | IWineD3D* This,
|
---|
3017 | IUnknown **parent);
|
---|
3018 |
|
---|
3019 | /*** IWineD3D methods ***/
|
---|
3020 | UINT (STDMETHODCALLTYPE *GetAdapterCount)(
|
---|
3021 | IWineD3D* This);
|
---|
3022 |
|
---|
3023 | HRESULT (STDMETHODCALLTYPE *RegisterSoftwareDevice)(
|
---|
3024 | IWineD3D* This,
|
---|
3025 | void *pInitializeFunction);
|
---|
3026 |
|
---|
3027 | HMONITOR (STDMETHODCALLTYPE *GetAdapterMonitor)(
|
---|
3028 | IWineD3D* This,
|
---|
3029 | UINT adapter_idx);
|
---|
3030 |
|
---|
3031 | UINT (STDMETHODCALLTYPE *GetAdapterModeCount)(
|
---|
3032 | IWineD3D* This,
|
---|
3033 | UINT adapter_idx,
|
---|
3034 | WINED3DFORMAT format);
|
---|
3035 |
|
---|
3036 | HRESULT (STDMETHODCALLTYPE *EnumAdapterModes)(
|
---|
3037 | IWineD3D* This,
|
---|
3038 | UINT adapter_idx,
|
---|
3039 | WINED3DFORMAT format,
|
---|
3040 | UINT mode_idx,
|
---|
3041 | WINED3DDISPLAYMODE *mode);
|
---|
3042 |
|
---|
3043 | HRESULT (STDMETHODCALLTYPE *GetAdapterDisplayMode)(
|
---|
3044 | IWineD3D* This,
|
---|
3045 | UINT adapter_idx,
|
---|
3046 | WINED3DDISPLAYMODE *mode);
|
---|
3047 |
|
---|
3048 | HRESULT (STDMETHODCALLTYPE *GetAdapterIdentifier)(
|
---|
3049 | IWineD3D* This,
|
---|
3050 | UINT adapter_idx,
|
---|
3051 | DWORD flags,
|
---|
3052 | WINED3DADAPTER_IDENTIFIER *identifier);
|
---|
3053 |
|
---|
3054 | HRESULT (STDMETHODCALLTYPE *CheckDeviceMultiSampleType)(
|
---|
3055 | IWineD3D* This,
|
---|
3056 | UINT adapter_idx,
|
---|
3057 | WINED3DDEVTYPE device_type,
|
---|
3058 | WINED3DFORMAT surface_format,
|
---|
3059 | BOOL windowed,
|
---|
3060 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
3061 | DWORD *quality_levels);
|
---|
3062 |
|
---|
3063 | HRESULT (STDMETHODCALLTYPE *CheckDepthStencilMatch)(
|
---|
3064 | IWineD3D* This,
|
---|
3065 | UINT adapter_idx,
|
---|
3066 | WINED3DDEVTYPE device_type,
|
---|
3067 | WINED3DFORMAT adapter_format,
|
---|
3068 | WINED3DFORMAT render_target_format,
|
---|
3069 | WINED3DFORMAT depth_stencil_format);
|
---|
3070 |
|
---|
3071 | HRESULT (STDMETHODCALLTYPE *CheckDeviceType)(
|
---|
3072 | IWineD3D* This,
|
---|
3073 | UINT adapter_idx,
|
---|
3074 | WINED3DDEVTYPE device_type,
|
---|
3075 | WINED3DFORMAT display_format,
|
---|
3076 | WINED3DFORMAT backbuffer_format,
|
---|
3077 | BOOL windowed);
|
---|
3078 |
|
---|
3079 | HRESULT (STDMETHODCALLTYPE *CheckDeviceFormat)(
|
---|
3080 | IWineD3D* This,
|
---|
3081 | UINT adaper_idx,
|
---|
3082 | WINED3DDEVTYPE device_type,
|
---|
3083 | WINED3DFORMAT adapter_format,
|
---|
3084 | DWORD usage,
|
---|
3085 | WINED3DRESOURCETYPE resource_type,
|
---|
3086 | WINED3DFORMAT check_format,
|
---|
3087 | WINED3DSURFTYPE surface_type);
|
---|
3088 |
|
---|
3089 | HRESULT (STDMETHODCALLTYPE *CheckDeviceFormatConversion)(
|
---|
3090 | IWineD3D* This,
|
---|
3091 | UINT adapter_idx,
|
---|
3092 | WINED3DDEVTYPE device_type,
|
---|
3093 | WINED3DFORMAT source_format,
|
---|
3094 | WINED3DFORMAT target_format);
|
---|
3095 |
|
---|
3096 | HRESULT (STDMETHODCALLTYPE *GetDeviceCaps)(
|
---|
3097 | IWineD3D* This,
|
---|
3098 | UINT adapter_idx,
|
---|
3099 | WINED3DDEVTYPE device_type,
|
---|
3100 | WINED3DCAPS *caps);
|
---|
3101 |
|
---|
3102 | HRESULT (STDMETHODCALLTYPE *CreateDevice)(
|
---|
3103 | IWineD3D* This,
|
---|
3104 | UINT adapter_idx,
|
---|
3105 | WINED3DDEVTYPE device_type,
|
---|
3106 | HWND focus_window,
|
---|
3107 | DWORD behaviour_flags,
|
---|
3108 | IUnknown *parent,
|
---|
3109 | IWineD3DDeviceParent *device_parent,
|
---|
3110 | IWineD3DDevice **device);
|
---|
3111 |
|
---|
3112 | END_INTERFACE
|
---|
3113 | } IWineD3DVtbl;
|
---|
3114 | interface IWineD3D {
|
---|
3115 | CONST_VTBL IWineD3DVtbl* lpVtbl;
|
---|
3116 | };
|
---|
3117 |
|
---|
3118 | #ifdef COBJMACROS
|
---|
3119 | /*** IUnknown methods ***/
|
---|
3120 | #define IWineD3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3121 | #define IWineD3D_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3122 | #define IWineD3D_Release(This) (This)->lpVtbl->Release(This)
|
---|
3123 | /*** IWineD3DBase methods ***/
|
---|
3124 | #define IWineD3D_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3125 | /*** IWineD3D methods ***/
|
---|
3126 | #define IWineD3D_GetAdapterCount(This) (This)->lpVtbl->GetAdapterCount(This)
|
---|
3127 | #define IWineD3D_RegisterSoftwareDevice(This,pInitializeFunction) (This)->lpVtbl->RegisterSoftwareDevice(This,pInitializeFunction)
|
---|
3128 | #define IWineD3D_GetAdapterMonitor(This,adapter_idx) (This)->lpVtbl->GetAdapterMonitor(This,adapter_idx)
|
---|
3129 | #define IWineD3D_GetAdapterModeCount(This,adapter_idx,format) (This)->lpVtbl->GetAdapterModeCount(This,adapter_idx,format)
|
---|
3130 | #define IWineD3D_EnumAdapterModes(This,adapter_idx,format,mode_idx,mode) (This)->lpVtbl->EnumAdapterModes(This,adapter_idx,format,mode_idx,mode)
|
---|
3131 | #define IWineD3D_GetAdapterDisplayMode(This,adapter_idx,mode) (This)->lpVtbl->GetAdapterDisplayMode(This,adapter_idx,mode)
|
---|
3132 | #define IWineD3D_GetAdapterIdentifier(This,adapter_idx,flags,identifier) (This)->lpVtbl->GetAdapterIdentifier(This,adapter_idx,flags,identifier)
|
---|
3133 | #define IWineD3D_CheckDeviceMultiSampleType(This,adapter_idx,device_type,surface_format,windowed,multisample_type,quality_levels) (This)->lpVtbl->CheckDeviceMultiSampleType(This,adapter_idx,device_type,surface_format,windowed,multisample_type,quality_levels)
|
---|
3134 | #define IWineD3D_CheckDepthStencilMatch(This,adapter_idx,device_type,adapter_format,render_target_format,depth_stencil_format) (This)->lpVtbl->CheckDepthStencilMatch(This,adapter_idx,device_type,adapter_format,render_target_format,depth_stencil_format)
|
---|
3135 | #define IWineD3D_CheckDeviceType(This,adapter_idx,device_type,display_format,backbuffer_format,windowed) (This)->lpVtbl->CheckDeviceType(This,adapter_idx,device_type,display_format,backbuffer_format,windowed)
|
---|
3136 | #define IWineD3D_CheckDeviceFormat(This,adaper_idx,device_type,adapter_format,usage,resource_type,check_format,surface_type) (This)->lpVtbl->CheckDeviceFormat(This,adaper_idx,device_type,adapter_format,usage,resource_type,check_format,surface_type)
|
---|
3137 | #define IWineD3D_CheckDeviceFormatConversion(This,adapter_idx,device_type,source_format,target_format) (This)->lpVtbl->CheckDeviceFormatConversion(This,adapter_idx,device_type,source_format,target_format)
|
---|
3138 | #define IWineD3D_GetDeviceCaps(This,adapter_idx,device_type,caps) (This)->lpVtbl->GetDeviceCaps(This,adapter_idx,device_type,caps)
|
---|
3139 | #define IWineD3D_CreateDevice(This,adapter_idx,device_type,focus_window,behaviour_flags,parent,device_parent,device) (This)->lpVtbl->CreateDevice(This,adapter_idx,device_type,focus_window,behaviour_flags,parent,device_parent,device)
|
---|
3140 | #endif
|
---|
3141 |
|
---|
3142 | #endif
|
---|
3143 |
|
---|
3144 | UINT STDMETHODCALLTYPE IWineD3D_GetAdapterCount_Proxy(
|
---|
3145 | IWineD3D* This);
|
---|
3146 | void __RPC_STUB IWineD3D_GetAdapterCount_Stub(
|
---|
3147 | IRpcStubBuffer* This,
|
---|
3148 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3149 | PRPC_MESSAGE pRpcMessage,
|
---|
3150 | DWORD* pdwStubPhase);
|
---|
3151 | HRESULT STDMETHODCALLTYPE IWineD3D_RegisterSoftwareDevice_Proxy(
|
---|
3152 | IWineD3D* This,
|
---|
3153 | void *pInitializeFunction);
|
---|
3154 | void __RPC_STUB IWineD3D_RegisterSoftwareDevice_Stub(
|
---|
3155 | IRpcStubBuffer* This,
|
---|
3156 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3157 | PRPC_MESSAGE pRpcMessage,
|
---|
3158 | DWORD* pdwStubPhase);
|
---|
3159 | HMONITOR STDMETHODCALLTYPE IWineD3D_GetAdapterMonitor_Proxy(
|
---|
3160 | IWineD3D* This,
|
---|
3161 | UINT adapter_idx);
|
---|
3162 | void __RPC_STUB IWineD3D_GetAdapterMonitor_Stub(
|
---|
3163 | IRpcStubBuffer* This,
|
---|
3164 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3165 | PRPC_MESSAGE pRpcMessage,
|
---|
3166 | DWORD* pdwStubPhase);
|
---|
3167 | UINT STDMETHODCALLTYPE IWineD3D_GetAdapterModeCount_Proxy(
|
---|
3168 | IWineD3D* This,
|
---|
3169 | UINT adapter_idx,
|
---|
3170 | WINED3DFORMAT format);
|
---|
3171 | void __RPC_STUB IWineD3D_GetAdapterModeCount_Stub(
|
---|
3172 | IRpcStubBuffer* This,
|
---|
3173 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3174 | PRPC_MESSAGE pRpcMessage,
|
---|
3175 | DWORD* pdwStubPhase);
|
---|
3176 | HRESULT STDMETHODCALLTYPE IWineD3D_EnumAdapterModes_Proxy(
|
---|
3177 | IWineD3D* This,
|
---|
3178 | UINT adapter_idx,
|
---|
3179 | WINED3DFORMAT format,
|
---|
3180 | UINT mode_idx,
|
---|
3181 | WINED3DDISPLAYMODE *mode);
|
---|
3182 | void __RPC_STUB IWineD3D_EnumAdapterModes_Stub(
|
---|
3183 | IRpcStubBuffer* This,
|
---|
3184 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3185 | PRPC_MESSAGE pRpcMessage,
|
---|
3186 | DWORD* pdwStubPhase);
|
---|
3187 | HRESULT STDMETHODCALLTYPE IWineD3D_GetAdapterDisplayMode_Proxy(
|
---|
3188 | IWineD3D* This,
|
---|
3189 | UINT adapter_idx,
|
---|
3190 | WINED3DDISPLAYMODE *mode);
|
---|
3191 | void __RPC_STUB IWineD3D_GetAdapterDisplayMode_Stub(
|
---|
3192 | IRpcStubBuffer* This,
|
---|
3193 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3194 | PRPC_MESSAGE pRpcMessage,
|
---|
3195 | DWORD* pdwStubPhase);
|
---|
3196 | HRESULT STDMETHODCALLTYPE IWineD3D_GetAdapterIdentifier_Proxy(
|
---|
3197 | IWineD3D* This,
|
---|
3198 | UINT adapter_idx,
|
---|
3199 | DWORD flags,
|
---|
3200 | WINED3DADAPTER_IDENTIFIER *identifier);
|
---|
3201 | void __RPC_STUB IWineD3D_GetAdapterIdentifier_Stub(
|
---|
3202 | IRpcStubBuffer* This,
|
---|
3203 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3204 | PRPC_MESSAGE pRpcMessage,
|
---|
3205 | DWORD* pdwStubPhase);
|
---|
3206 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceMultiSampleType_Proxy(
|
---|
3207 | IWineD3D* This,
|
---|
3208 | UINT adapter_idx,
|
---|
3209 | WINED3DDEVTYPE device_type,
|
---|
3210 | WINED3DFORMAT surface_format,
|
---|
3211 | BOOL windowed,
|
---|
3212 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
3213 | DWORD *quality_levels);
|
---|
3214 | void __RPC_STUB IWineD3D_CheckDeviceMultiSampleType_Stub(
|
---|
3215 | IRpcStubBuffer* This,
|
---|
3216 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3217 | PRPC_MESSAGE pRpcMessage,
|
---|
3218 | DWORD* pdwStubPhase);
|
---|
3219 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDepthStencilMatch_Proxy(
|
---|
3220 | IWineD3D* This,
|
---|
3221 | UINT adapter_idx,
|
---|
3222 | WINED3DDEVTYPE device_type,
|
---|
3223 | WINED3DFORMAT adapter_format,
|
---|
3224 | WINED3DFORMAT render_target_format,
|
---|
3225 | WINED3DFORMAT depth_stencil_format);
|
---|
3226 | void __RPC_STUB IWineD3D_CheckDepthStencilMatch_Stub(
|
---|
3227 | IRpcStubBuffer* This,
|
---|
3228 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3229 | PRPC_MESSAGE pRpcMessage,
|
---|
3230 | DWORD* pdwStubPhase);
|
---|
3231 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceType_Proxy(
|
---|
3232 | IWineD3D* This,
|
---|
3233 | UINT adapter_idx,
|
---|
3234 | WINED3DDEVTYPE device_type,
|
---|
3235 | WINED3DFORMAT display_format,
|
---|
3236 | WINED3DFORMAT backbuffer_format,
|
---|
3237 | BOOL windowed);
|
---|
3238 | void __RPC_STUB IWineD3D_CheckDeviceType_Stub(
|
---|
3239 | IRpcStubBuffer* This,
|
---|
3240 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3241 | PRPC_MESSAGE pRpcMessage,
|
---|
3242 | DWORD* pdwStubPhase);
|
---|
3243 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceFormat_Proxy(
|
---|
3244 | IWineD3D* This,
|
---|
3245 | UINT adaper_idx,
|
---|
3246 | WINED3DDEVTYPE device_type,
|
---|
3247 | WINED3DFORMAT adapter_format,
|
---|
3248 | DWORD usage,
|
---|
3249 | WINED3DRESOURCETYPE resource_type,
|
---|
3250 | WINED3DFORMAT check_format,
|
---|
3251 | WINED3DSURFTYPE surface_type);
|
---|
3252 | void __RPC_STUB IWineD3D_CheckDeviceFormat_Stub(
|
---|
3253 | IRpcStubBuffer* This,
|
---|
3254 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3255 | PRPC_MESSAGE pRpcMessage,
|
---|
3256 | DWORD* pdwStubPhase);
|
---|
3257 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceFormatConversion_Proxy(
|
---|
3258 | IWineD3D* This,
|
---|
3259 | UINT adapter_idx,
|
---|
3260 | WINED3DDEVTYPE device_type,
|
---|
3261 | WINED3DFORMAT source_format,
|
---|
3262 | WINED3DFORMAT target_format);
|
---|
3263 | void __RPC_STUB IWineD3D_CheckDeviceFormatConversion_Stub(
|
---|
3264 | IRpcStubBuffer* This,
|
---|
3265 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3266 | PRPC_MESSAGE pRpcMessage,
|
---|
3267 | DWORD* pdwStubPhase);
|
---|
3268 | HRESULT STDMETHODCALLTYPE IWineD3D_GetDeviceCaps_Proxy(
|
---|
3269 | IWineD3D* This,
|
---|
3270 | UINT adapter_idx,
|
---|
3271 | WINED3DDEVTYPE device_type,
|
---|
3272 | WINED3DCAPS *caps);
|
---|
3273 | void __RPC_STUB IWineD3D_GetDeviceCaps_Stub(
|
---|
3274 | IRpcStubBuffer* This,
|
---|
3275 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3276 | PRPC_MESSAGE pRpcMessage,
|
---|
3277 | DWORD* pdwStubPhase);
|
---|
3278 | HRESULT STDMETHODCALLTYPE IWineD3D_CreateDevice_Proxy(
|
---|
3279 | IWineD3D* This,
|
---|
3280 | UINT adapter_idx,
|
---|
3281 | WINED3DDEVTYPE device_type,
|
---|
3282 | HWND focus_window,
|
---|
3283 | DWORD behaviour_flags,
|
---|
3284 | IUnknown *parent,
|
---|
3285 | IWineD3DDeviceParent *device_parent,
|
---|
3286 | IWineD3DDevice **device);
|
---|
3287 | void __RPC_STUB IWineD3D_CreateDevice_Stub(
|
---|
3288 | IRpcStubBuffer* This,
|
---|
3289 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3290 | PRPC_MESSAGE pRpcMessage,
|
---|
3291 | DWORD* pdwStubPhase);
|
---|
3292 |
|
---|
3293 | #endif /* __IWineD3D_INTERFACE_DEFINED__ */
|
---|
3294 |
|
---|
3295 | /*****************************************************************************
|
---|
3296 | * IWineD3DResource interface
|
---|
3297 | */
|
---|
3298 | #ifndef __IWineD3DResource_INTERFACE_DEFINED__
|
---|
3299 | #define __IWineD3DResource_INTERFACE_DEFINED__
|
---|
3300 |
|
---|
3301 | DEFINE_GUID(IID_IWineD3DResource, 0x1f3bfb34, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
3302 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3303 | interface IWineD3DResource : public IWineD3DBase
|
---|
3304 | {
|
---|
3305 | virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
|
---|
3306 | REFGUID guid,
|
---|
3307 | const void *data,
|
---|
3308 | DWORD data_size,
|
---|
3309 | DWORD flags) = 0;
|
---|
3310 |
|
---|
3311 | virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
|
---|
3312 | REFGUID guid,
|
---|
3313 | void *data,
|
---|
3314 | DWORD *data_size) = 0;
|
---|
3315 |
|
---|
3316 | virtual HRESULT STDMETHODCALLTYPE FreePrivateData(
|
---|
3317 | REFGUID guid) = 0;
|
---|
3318 |
|
---|
3319 | virtual DWORD STDMETHODCALLTYPE SetPriority(
|
---|
3320 | DWORD new_priority) = 0;
|
---|
3321 |
|
---|
3322 | virtual DWORD STDMETHODCALLTYPE GetPriority(
|
---|
3323 | ) = 0;
|
---|
3324 |
|
---|
3325 | virtual void STDMETHODCALLTYPE PreLoad(
|
---|
3326 | ) = 0;
|
---|
3327 |
|
---|
3328 | virtual void STDMETHODCALLTYPE UnLoad(
|
---|
3329 | ) = 0;
|
---|
3330 |
|
---|
3331 | virtual WINED3DRESOURCETYPE STDMETHODCALLTYPE GetType(
|
---|
3332 | ) = 0;
|
---|
3333 |
|
---|
3334 | };
|
---|
3335 | #else
|
---|
3336 | typedef struct IWineD3DResourceVtbl {
|
---|
3337 | BEGIN_INTERFACE
|
---|
3338 |
|
---|
3339 | /*** IUnknown methods ***/
|
---|
3340 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3341 | IWineD3DResource* This,
|
---|
3342 | REFIID riid,
|
---|
3343 | void **ppvObject);
|
---|
3344 |
|
---|
3345 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3346 | IWineD3DResource* This);
|
---|
3347 |
|
---|
3348 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3349 | IWineD3DResource* This);
|
---|
3350 |
|
---|
3351 | /*** IWineD3DBase methods ***/
|
---|
3352 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3353 | IWineD3DResource* This,
|
---|
3354 | IUnknown **parent);
|
---|
3355 |
|
---|
3356 | /*** IWineD3DResource methods ***/
|
---|
3357 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
3358 | IWineD3DResource* This,
|
---|
3359 | REFGUID guid,
|
---|
3360 | const void *data,
|
---|
3361 | DWORD data_size,
|
---|
3362 | DWORD flags);
|
---|
3363 |
|
---|
3364 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
3365 | IWineD3DResource* This,
|
---|
3366 | REFGUID guid,
|
---|
3367 | void *data,
|
---|
3368 | DWORD *data_size);
|
---|
3369 |
|
---|
3370 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
3371 | IWineD3DResource* This,
|
---|
3372 | REFGUID guid);
|
---|
3373 |
|
---|
3374 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
3375 | IWineD3DResource* This,
|
---|
3376 | DWORD new_priority);
|
---|
3377 |
|
---|
3378 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
3379 | IWineD3DResource* This);
|
---|
3380 |
|
---|
3381 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
3382 | IWineD3DResource* This);
|
---|
3383 |
|
---|
3384 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
3385 | IWineD3DResource* This);
|
---|
3386 |
|
---|
3387 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
3388 | IWineD3DResource* This);
|
---|
3389 |
|
---|
3390 | END_INTERFACE
|
---|
3391 | } IWineD3DResourceVtbl;
|
---|
3392 | interface IWineD3DResource {
|
---|
3393 | CONST_VTBL IWineD3DResourceVtbl* lpVtbl;
|
---|
3394 | };
|
---|
3395 |
|
---|
3396 | #ifdef COBJMACROS
|
---|
3397 | /*** IUnknown methods ***/
|
---|
3398 | #define IWineD3DResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3399 | #define IWineD3DResource_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3400 | #define IWineD3DResource_Release(This) (This)->lpVtbl->Release(This)
|
---|
3401 | /*** IWineD3DBase methods ***/
|
---|
3402 | #define IWineD3DResource_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3403 | /*** IWineD3DResource methods ***/
|
---|
3404 | #define IWineD3DResource_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
3405 | #define IWineD3DResource_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
3406 | #define IWineD3DResource_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
3407 | #define IWineD3DResource_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
3408 | #define IWineD3DResource_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
3409 | #define IWineD3DResource_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
3410 | #define IWineD3DResource_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
3411 | #define IWineD3DResource_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
3412 | #endif
|
---|
3413 |
|
---|
3414 | #endif
|
---|
3415 |
|
---|
3416 | HRESULT STDMETHODCALLTYPE IWineD3DResource_SetPrivateData_Proxy(
|
---|
3417 | IWineD3DResource* This,
|
---|
3418 | REFGUID guid,
|
---|
3419 | const void *data,
|
---|
3420 | DWORD data_size,
|
---|
3421 | DWORD flags);
|
---|
3422 | void __RPC_STUB IWineD3DResource_SetPrivateData_Stub(
|
---|
3423 | IRpcStubBuffer* This,
|
---|
3424 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3425 | PRPC_MESSAGE pRpcMessage,
|
---|
3426 | DWORD* pdwStubPhase);
|
---|
3427 | HRESULT STDMETHODCALLTYPE IWineD3DResource_GetPrivateData_Proxy(
|
---|
3428 | IWineD3DResource* This,
|
---|
3429 | REFGUID guid,
|
---|
3430 | void *data,
|
---|
3431 | DWORD *data_size);
|
---|
3432 | void __RPC_STUB IWineD3DResource_GetPrivateData_Stub(
|
---|
3433 | IRpcStubBuffer* This,
|
---|
3434 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3435 | PRPC_MESSAGE pRpcMessage,
|
---|
3436 | DWORD* pdwStubPhase);
|
---|
3437 | HRESULT STDMETHODCALLTYPE IWineD3DResource_FreePrivateData_Proxy(
|
---|
3438 | IWineD3DResource* This,
|
---|
3439 | REFGUID guid);
|
---|
3440 | void __RPC_STUB IWineD3DResource_FreePrivateData_Stub(
|
---|
3441 | IRpcStubBuffer* This,
|
---|
3442 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3443 | PRPC_MESSAGE pRpcMessage,
|
---|
3444 | DWORD* pdwStubPhase);
|
---|
3445 | DWORD STDMETHODCALLTYPE IWineD3DResource_SetPriority_Proxy(
|
---|
3446 | IWineD3DResource* This,
|
---|
3447 | DWORD new_priority);
|
---|
3448 | void __RPC_STUB IWineD3DResource_SetPriority_Stub(
|
---|
3449 | IRpcStubBuffer* This,
|
---|
3450 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3451 | PRPC_MESSAGE pRpcMessage,
|
---|
3452 | DWORD* pdwStubPhase);
|
---|
3453 | DWORD STDMETHODCALLTYPE IWineD3DResource_GetPriority_Proxy(
|
---|
3454 | IWineD3DResource* This);
|
---|
3455 | void __RPC_STUB IWineD3DResource_GetPriority_Stub(
|
---|
3456 | IRpcStubBuffer* This,
|
---|
3457 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3458 | PRPC_MESSAGE pRpcMessage,
|
---|
3459 | DWORD* pdwStubPhase);
|
---|
3460 | void STDMETHODCALLTYPE IWineD3DResource_PreLoad_Proxy(
|
---|
3461 | IWineD3DResource* This);
|
---|
3462 | void __RPC_STUB IWineD3DResource_PreLoad_Stub(
|
---|
3463 | IRpcStubBuffer* This,
|
---|
3464 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3465 | PRPC_MESSAGE pRpcMessage,
|
---|
3466 | DWORD* pdwStubPhase);
|
---|
3467 | void STDMETHODCALLTYPE IWineD3DResource_UnLoad_Proxy(
|
---|
3468 | IWineD3DResource* This);
|
---|
3469 | void __RPC_STUB IWineD3DResource_UnLoad_Stub(
|
---|
3470 | IRpcStubBuffer* This,
|
---|
3471 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3472 | PRPC_MESSAGE pRpcMessage,
|
---|
3473 | DWORD* pdwStubPhase);
|
---|
3474 | WINED3DRESOURCETYPE STDMETHODCALLTYPE IWineD3DResource_GetType_Proxy(
|
---|
3475 | IWineD3DResource* This);
|
---|
3476 | void __RPC_STUB IWineD3DResource_GetType_Stub(
|
---|
3477 | IRpcStubBuffer* This,
|
---|
3478 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3479 | PRPC_MESSAGE pRpcMessage,
|
---|
3480 | DWORD* pdwStubPhase);
|
---|
3481 |
|
---|
3482 | #endif /* __IWineD3DResource_INTERFACE_DEFINED__ */
|
---|
3483 |
|
---|
3484 | /*****************************************************************************
|
---|
3485 | * IWineD3DRendertargetView interface
|
---|
3486 | */
|
---|
3487 | #ifndef __IWineD3DRendertargetView_INTERFACE_DEFINED__
|
---|
3488 | #define __IWineD3DRendertargetView_INTERFACE_DEFINED__
|
---|
3489 |
|
---|
3490 | DEFINE_GUID(IID_IWineD3DRendertargetView, 0xf7d8abf4, 0xfb93, 0x43e4, 0x9c,0x96, 0x46,0x18,0xcf,0x9b,0x3c,0xbc);
|
---|
3491 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3492 | interface IWineD3DRendertargetView : public IWineD3DBase
|
---|
3493 | {
|
---|
3494 | virtual HRESULT STDMETHODCALLTYPE GetResource(
|
---|
3495 | IWineD3DResource **resource) = 0;
|
---|
3496 |
|
---|
3497 | };
|
---|
3498 | #else
|
---|
3499 | typedef struct IWineD3DRendertargetViewVtbl {
|
---|
3500 | BEGIN_INTERFACE
|
---|
3501 |
|
---|
3502 | /*** IUnknown methods ***/
|
---|
3503 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3504 | IWineD3DRendertargetView* This,
|
---|
3505 | REFIID riid,
|
---|
3506 | void **ppvObject);
|
---|
3507 |
|
---|
3508 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3509 | IWineD3DRendertargetView* This);
|
---|
3510 |
|
---|
3511 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3512 | IWineD3DRendertargetView* This);
|
---|
3513 |
|
---|
3514 | /*** IWineD3DBase methods ***/
|
---|
3515 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3516 | IWineD3DRendertargetView* This,
|
---|
3517 | IUnknown **parent);
|
---|
3518 |
|
---|
3519 | /*** IWineD3DRendertargetView methods ***/
|
---|
3520 | HRESULT (STDMETHODCALLTYPE *GetResource)(
|
---|
3521 | IWineD3DRendertargetView* This,
|
---|
3522 | IWineD3DResource **resource);
|
---|
3523 |
|
---|
3524 | END_INTERFACE
|
---|
3525 | } IWineD3DRendertargetViewVtbl;
|
---|
3526 | interface IWineD3DRendertargetView {
|
---|
3527 | CONST_VTBL IWineD3DRendertargetViewVtbl* lpVtbl;
|
---|
3528 | };
|
---|
3529 |
|
---|
3530 | #ifdef COBJMACROS
|
---|
3531 | /*** IUnknown methods ***/
|
---|
3532 | #define IWineD3DRendertargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3533 | #define IWineD3DRendertargetView_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3534 | #define IWineD3DRendertargetView_Release(This) (This)->lpVtbl->Release(This)
|
---|
3535 | /*** IWineD3DBase methods ***/
|
---|
3536 | #define IWineD3DRendertargetView_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3537 | /*** IWineD3DRendertargetView methods ***/
|
---|
3538 | #define IWineD3DRendertargetView_GetResource(This,resource) (This)->lpVtbl->GetResource(This,resource)
|
---|
3539 | #endif
|
---|
3540 |
|
---|
3541 | #endif
|
---|
3542 |
|
---|
3543 | HRESULT STDMETHODCALLTYPE IWineD3DRendertargetView_GetResource_Proxy(
|
---|
3544 | IWineD3DRendertargetView* This,
|
---|
3545 | IWineD3DResource **resource);
|
---|
3546 | void __RPC_STUB IWineD3DRendertargetView_GetResource_Stub(
|
---|
3547 | IRpcStubBuffer* This,
|
---|
3548 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3549 | PRPC_MESSAGE pRpcMessage,
|
---|
3550 | DWORD* pdwStubPhase);
|
---|
3551 |
|
---|
3552 | #endif /* __IWineD3DRendertargetView_INTERFACE_DEFINED__ */
|
---|
3553 |
|
---|
3554 | /*****************************************************************************
|
---|
3555 | * IWineD3DPalette interface
|
---|
3556 | */
|
---|
3557 | #ifndef __IWineD3DPalette_INTERFACE_DEFINED__
|
---|
3558 | #define __IWineD3DPalette_INTERFACE_DEFINED__
|
---|
3559 |
|
---|
3560 | DEFINE_GUID(IID_IWineD3DPalette, 0xf756720c, 0x32b9, 0x4439, 0xb5,0xa3, 0x1d,0x6c,0x97,0x03,0x7d,0x9e);
|
---|
3561 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3562 | interface IWineD3DPalette : public IWineD3DBase
|
---|
3563 | {
|
---|
3564 | virtual HRESULT STDMETHODCALLTYPE GetEntries(
|
---|
3565 | DWORD flags,
|
---|
3566 | DWORD start,
|
---|
3567 | DWORD count,
|
---|
3568 | PALETTEENTRY *entries) = 0;
|
---|
3569 |
|
---|
3570 | virtual HRESULT STDMETHODCALLTYPE GetCaps(
|
---|
3571 | DWORD *caps) = 0;
|
---|
3572 |
|
---|
3573 | virtual HRESULT STDMETHODCALLTYPE SetEntries(
|
---|
3574 | DWORD flags,
|
---|
3575 | DWORD start,
|
---|
3576 | DWORD count,
|
---|
3577 | const PALETTEENTRY *entries) = 0;
|
---|
3578 |
|
---|
3579 | };
|
---|
3580 | #else
|
---|
3581 | typedef struct IWineD3DPaletteVtbl {
|
---|
3582 | BEGIN_INTERFACE
|
---|
3583 |
|
---|
3584 | /*** IUnknown methods ***/
|
---|
3585 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3586 | IWineD3DPalette* This,
|
---|
3587 | REFIID riid,
|
---|
3588 | void **ppvObject);
|
---|
3589 |
|
---|
3590 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3591 | IWineD3DPalette* This);
|
---|
3592 |
|
---|
3593 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3594 | IWineD3DPalette* This);
|
---|
3595 |
|
---|
3596 | /*** IWineD3DBase methods ***/
|
---|
3597 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3598 | IWineD3DPalette* This,
|
---|
3599 | IUnknown **parent);
|
---|
3600 |
|
---|
3601 | /*** IWineD3DPalette methods ***/
|
---|
3602 | HRESULT (STDMETHODCALLTYPE *GetEntries)(
|
---|
3603 | IWineD3DPalette* This,
|
---|
3604 | DWORD flags,
|
---|
3605 | DWORD start,
|
---|
3606 | DWORD count,
|
---|
3607 | PALETTEENTRY *entries);
|
---|
3608 |
|
---|
3609 | HRESULT (STDMETHODCALLTYPE *GetCaps)(
|
---|
3610 | IWineD3DPalette* This,
|
---|
3611 | DWORD *caps);
|
---|
3612 |
|
---|
3613 | HRESULT (STDMETHODCALLTYPE *SetEntries)(
|
---|
3614 | IWineD3DPalette* This,
|
---|
3615 | DWORD flags,
|
---|
3616 | DWORD start,
|
---|
3617 | DWORD count,
|
---|
3618 | const PALETTEENTRY *entries);
|
---|
3619 |
|
---|
3620 | END_INTERFACE
|
---|
3621 | } IWineD3DPaletteVtbl;
|
---|
3622 | interface IWineD3DPalette {
|
---|
3623 | CONST_VTBL IWineD3DPaletteVtbl* lpVtbl;
|
---|
3624 | };
|
---|
3625 |
|
---|
3626 | #ifdef COBJMACROS
|
---|
3627 | /*** IUnknown methods ***/
|
---|
3628 | #define IWineD3DPalette_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3629 | #define IWineD3DPalette_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3630 | #define IWineD3DPalette_Release(This) (This)->lpVtbl->Release(This)
|
---|
3631 | /*** IWineD3DBase methods ***/
|
---|
3632 | #define IWineD3DPalette_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3633 | /*** IWineD3DPalette methods ***/
|
---|
3634 | #define IWineD3DPalette_GetEntries(This,flags,start,count,entries) (This)->lpVtbl->GetEntries(This,flags,start,count,entries)
|
---|
3635 | #define IWineD3DPalette_GetCaps(This,caps) (This)->lpVtbl->GetCaps(This,caps)
|
---|
3636 | #define IWineD3DPalette_SetEntries(This,flags,start,count,entries) (This)->lpVtbl->SetEntries(This,flags,start,count,entries)
|
---|
3637 | #endif
|
---|
3638 |
|
---|
3639 | #endif
|
---|
3640 |
|
---|
3641 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_GetEntries_Proxy(
|
---|
3642 | IWineD3DPalette* This,
|
---|
3643 | DWORD flags,
|
---|
3644 | DWORD start,
|
---|
3645 | DWORD count,
|
---|
3646 | PALETTEENTRY *entries);
|
---|
3647 | void __RPC_STUB IWineD3DPalette_GetEntries_Stub(
|
---|
3648 | IRpcStubBuffer* This,
|
---|
3649 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3650 | PRPC_MESSAGE pRpcMessage,
|
---|
3651 | DWORD* pdwStubPhase);
|
---|
3652 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_GetCaps_Proxy(
|
---|
3653 | IWineD3DPalette* This,
|
---|
3654 | DWORD *caps);
|
---|
3655 | void __RPC_STUB IWineD3DPalette_GetCaps_Stub(
|
---|
3656 | IRpcStubBuffer* This,
|
---|
3657 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3658 | PRPC_MESSAGE pRpcMessage,
|
---|
3659 | DWORD* pdwStubPhase);
|
---|
3660 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_SetEntries_Proxy(
|
---|
3661 | IWineD3DPalette* This,
|
---|
3662 | DWORD flags,
|
---|
3663 | DWORD start,
|
---|
3664 | DWORD count,
|
---|
3665 | const PALETTEENTRY *entries);
|
---|
3666 | void __RPC_STUB IWineD3DPalette_SetEntries_Stub(
|
---|
3667 | IRpcStubBuffer* This,
|
---|
3668 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3669 | PRPC_MESSAGE pRpcMessage,
|
---|
3670 | DWORD* pdwStubPhase);
|
---|
3671 |
|
---|
3672 | #endif /* __IWineD3DPalette_INTERFACE_DEFINED__ */
|
---|
3673 |
|
---|
3674 | /*****************************************************************************
|
---|
3675 | * IWineD3DClipper interface
|
---|
3676 | */
|
---|
3677 | #ifndef __IWineD3DClipper_INTERFACE_DEFINED__
|
---|
3678 | #define __IWineD3DClipper_INTERFACE_DEFINED__
|
---|
3679 |
|
---|
3680 | DEFINE_GUID(IID_IWineD3DClipper, 0x8f2bceb1, 0xd338, 0x488c, 0xab,0x7f, 0x0e,0xc9,0x80,0xbf,0x5d,0x2d);
|
---|
3681 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3682 | interface IWineD3DClipper : public IWineD3DBase
|
---|
3683 | {
|
---|
3684 | virtual HRESULT STDMETHODCALLTYPE GetClipList(
|
---|
3685 | const RECT *rect,
|
---|
3686 | RGNDATA *clip_list,
|
---|
3687 | DWORD *clip_list_size) = 0;
|
---|
3688 |
|
---|
3689 | virtual HRESULT STDMETHODCALLTYPE GetHWnd(
|
---|
3690 | HWND *hwnd) = 0;
|
---|
3691 |
|
---|
3692 | virtual HRESULT STDMETHODCALLTYPE IsClipListChanged(
|
---|
3693 | BOOL *changed) = 0;
|
---|
3694 |
|
---|
3695 | virtual HRESULT STDMETHODCALLTYPE SetClipList(
|
---|
3696 | const RGNDATA *clip_list,
|
---|
3697 | DWORD flags) = 0;
|
---|
3698 |
|
---|
3699 | virtual HRESULT STDMETHODCALLTYPE SetHWnd(
|
---|
3700 | DWORD flags,
|
---|
3701 | HWND hwnd) = 0;
|
---|
3702 |
|
---|
3703 | };
|
---|
3704 | #else
|
---|
3705 | typedef struct IWineD3DClipperVtbl {
|
---|
3706 | BEGIN_INTERFACE
|
---|
3707 |
|
---|
3708 | /*** IUnknown methods ***/
|
---|
3709 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3710 | IWineD3DClipper* This,
|
---|
3711 | REFIID riid,
|
---|
3712 | void **ppvObject);
|
---|
3713 |
|
---|
3714 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3715 | IWineD3DClipper* This);
|
---|
3716 |
|
---|
3717 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3718 | IWineD3DClipper* This);
|
---|
3719 |
|
---|
3720 | /*** IWineD3DBase methods ***/
|
---|
3721 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3722 | IWineD3DClipper* This,
|
---|
3723 | IUnknown **parent);
|
---|
3724 |
|
---|
3725 | /*** IWineD3DClipper methods ***/
|
---|
3726 | HRESULT (STDMETHODCALLTYPE *GetClipList)(
|
---|
3727 | IWineD3DClipper* This,
|
---|
3728 | const RECT *rect,
|
---|
3729 | RGNDATA *clip_list,
|
---|
3730 | DWORD *clip_list_size);
|
---|
3731 |
|
---|
3732 | HRESULT (STDMETHODCALLTYPE *GetHWnd)(
|
---|
3733 | IWineD3DClipper* This,
|
---|
3734 | HWND *hwnd);
|
---|
3735 |
|
---|
3736 | HRESULT (STDMETHODCALLTYPE *IsClipListChanged)(
|
---|
3737 | IWineD3DClipper* This,
|
---|
3738 | BOOL *changed);
|
---|
3739 |
|
---|
3740 | HRESULT (STDMETHODCALLTYPE *SetClipList)(
|
---|
3741 | IWineD3DClipper* This,
|
---|
3742 | const RGNDATA *clip_list,
|
---|
3743 | DWORD flags);
|
---|
3744 |
|
---|
3745 | HRESULT (STDMETHODCALLTYPE *SetHWnd)(
|
---|
3746 | IWineD3DClipper* This,
|
---|
3747 | DWORD flags,
|
---|
3748 | HWND hwnd);
|
---|
3749 |
|
---|
3750 | END_INTERFACE
|
---|
3751 | } IWineD3DClipperVtbl;
|
---|
3752 | interface IWineD3DClipper {
|
---|
3753 | CONST_VTBL IWineD3DClipperVtbl* lpVtbl;
|
---|
3754 | };
|
---|
3755 |
|
---|
3756 | #ifdef COBJMACROS
|
---|
3757 | /*** IUnknown methods ***/
|
---|
3758 | #define IWineD3DClipper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3759 | #define IWineD3DClipper_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3760 | #define IWineD3DClipper_Release(This) (This)->lpVtbl->Release(This)
|
---|
3761 | /*** IWineD3DBase methods ***/
|
---|
3762 | #define IWineD3DClipper_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3763 | /*** IWineD3DClipper methods ***/
|
---|
3764 | #define IWineD3DClipper_GetClipList(This,rect,clip_list,clip_list_size) (This)->lpVtbl->GetClipList(This,rect,clip_list,clip_list_size)
|
---|
3765 | #define IWineD3DClipper_GetHWnd(This,hwnd) (This)->lpVtbl->GetHWnd(This,hwnd)
|
---|
3766 | #define IWineD3DClipper_IsClipListChanged(This,changed) (This)->lpVtbl->IsClipListChanged(This,changed)
|
---|
3767 | #define IWineD3DClipper_SetClipList(This,clip_list,flags) (This)->lpVtbl->SetClipList(This,clip_list,flags)
|
---|
3768 | #define IWineD3DClipper_SetHWnd(This,flags,hwnd) (This)->lpVtbl->SetHWnd(This,flags,hwnd)
|
---|
3769 | #endif
|
---|
3770 |
|
---|
3771 | #endif
|
---|
3772 |
|
---|
3773 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_GetClipList_Proxy(
|
---|
3774 | IWineD3DClipper* This,
|
---|
3775 | const RECT *rect,
|
---|
3776 | RGNDATA *clip_list,
|
---|
3777 | DWORD *clip_list_size);
|
---|
3778 | void __RPC_STUB IWineD3DClipper_GetClipList_Stub(
|
---|
3779 | IRpcStubBuffer* This,
|
---|
3780 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3781 | PRPC_MESSAGE pRpcMessage,
|
---|
3782 | DWORD* pdwStubPhase);
|
---|
3783 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_GetHWnd_Proxy(
|
---|
3784 | IWineD3DClipper* This,
|
---|
3785 | HWND *hwnd);
|
---|
3786 | void __RPC_STUB IWineD3DClipper_GetHWnd_Stub(
|
---|
3787 | IRpcStubBuffer* This,
|
---|
3788 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3789 | PRPC_MESSAGE pRpcMessage,
|
---|
3790 | DWORD* pdwStubPhase);
|
---|
3791 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_IsClipListChanged_Proxy(
|
---|
3792 | IWineD3DClipper* This,
|
---|
3793 | BOOL *changed);
|
---|
3794 | void __RPC_STUB IWineD3DClipper_IsClipListChanged_Stub(
|
---|
3795 | IRpcStubBuffer* This,
|
---|
3796 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3797 | PRPC_MESSAGE pRpcMessage,
|
---|
3798 | DWORD* pdwStubPhase);
|
---|
3799 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_SetClipList_Proxy(
|
---|
3800 | IWineD3DClipper* This,
|
---|
3801 | const RGNDATA *clip_list,
|
---|
3802 | DWORD flags);
|
---|
3803 | void __RPC_STUB IWineD3DClipper_SetClipList_Stub(
|
---|
3804 | IRpcStubBuffer* This,
|
---|
3805 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3806 | PRPC_MESSAGE pRpcMessage,
|
---|
3807 | DWORD* pdwStubPhase);
|
---|
3808 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_SetHWnd_Proxy(
|
---|
3809 | IWineD3DClipper* This,
|
---|
3810 | DWORD flags,
|
---|
3811 | HWND hwnd);
|
---|
3812 | void __RPC_STUB IWineD3DClipper_SetHWnd_Stub(
|
---|
3813 | IRpcStubBuffer* This,
|
---|
3814 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3815 | PRPC_MESSAGE pRpcMessage,
|
---|
3816 | DWORD* pdwStubPhase);
|
---|
3817 |
|
---|
3818 | #endif /* __IWineD3DClipper_INTERFACE_DEFINED__ */
|
---|
3819 |
|
---|
3820 | /*****************************************************************************
|
---|
3821 | * IWineD3DSurface interface
|
---|
3822 | */
|
---|
3823 | #ifndef __IWineD3DSurface_INTERFACE_DEFINED__
|
---|
3824 | #define __IWineD3DSurface_INTERFACE_DEFINED__
|
---|
3825 |
|
---|
3826 | DEFINE_GUID(IID_IWineD3DSurface, 0x37cd5526, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
3827 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3828 | interface IWineD3DSurface : public IWineD3DResource
|
---|
3829 | {
|
---|
3830 | virtual HRESULT STDMETHODCALLTYPE GetContainer(
|
---|
3831 | REFIID riid,
|
---|
3832 | void **container) = 0;
|
---|
3833 |
|
---|
3834 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
3835 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
3836 |
|
---|
3837 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
3838 | WINED3DLOCKED_RECT *locked_rect,
|
---|
3839 | const RECT *rect,
|
---|
3840 | DWORD flags) = 0;
|
---|
3841 |
|
---|
3842 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
3843 | ) = 0;
|
---|
3844 |
|
---|
3845 | virtual HRESULT STDMETHODCALLTYPE GetDC(
|
---|
3846 | HDC *dc) = 0;
|
---|
3847 |
|
---|
3848 | virtual HRESULT STDMETHODCALLTYPE ReleaseDC(
|
---|
3849 | HDC dc) = 0;
|
---|
3850 |
|
---|
3851 | virtual HRESULT STDMETHODCALLTYPE Flip(
|
---|
3852 | IWineD3DSurface *override,
|
---|
3853 | DWORD flags) = 0;
|
---|
3854 |
|
---|
3855 | virtual HRESULT STDMETHODCALLTYPE Blt(
|
---|
3856 | const RECT *dst_rect,
|
---|
3857 | IWineD3DSurface *src_surface,
|
---|
3858 | const RECT *src_rect,
|
---|
3859 | DWORD flags,
|
---|
3860 | const WINEDDBLTFX *blt_fx,
|
---|
3861 | WINED3DTEXTUREFILTERTYPE filter) = 0;
|
---|
3862 |
|
---|
3863 | virtual HRESULT STDMETHODCALLTYPE GetBltStatus(
|
---|
3864 | DWORD flags) = 0;
|
---|
3865 |
|
---|
3866 | virtual HRESULT STDMETHODCALLTYPE GetFlipStatus(
|
---|
3867 | DWORD flags) = 0;
|
---|
3868 |
|
---|
3869 | virtual HRESULT STDMETHODCALLTYPE IsLost(
|
---|
3870 | ) = 0;
|
---|
3871 |
|
---|
3872 | virtual HRESULT STDMETHODCALLTYPE Restore(
|
---|
3873 | ) = 0;
|
---|
3874 |
|
---|
3875 | virtual HRESULT STDMETHODCALLTYPE BltFast(
|
---|
3876 | DWORD dst_x,
|
---|
3877 | DWORD dst_y,
|
---|
3878 | IWineD3DSurface *src_surface,
|
---|
3879 | const RECT *src_rect,
|
---|
3880 | DWORD trans) = 0;
|
---|
3881 |
|
---|
3882 | virtual HRESULT STDMETHODCALLTYPE GetPalette(
|
---|
3883 | IWineD3DPalette **palette) = 0;
|
---|
3884 |
|
---|
3885 | virtual HRESULT STDMETHODCALLTYPE SetPalette(
|
---|
3886 | IWineD3DPalette *palette) = 0;
|
---|
3887 |
|
---|
3888 | virtual HRESULT STDMETHODCALLTYPE RealizePalette(
|
---|
3889 | ) = 0;
|
---|
3890 |
|
---|
3891 | virtual HRESULT STDMETHODCALLTYPE SetColorKey(
|
---|
3892 | DWORD flags,
|
---|
3893 | const WINEDDCOLORKEY *color_key) = 0;
|
---|
3894 |
|
---|
3895 | virtual DWORD STDMETHODCALLTYPE GetPitch(
|
---|
3896 | ) = 0;
|
---|
3897 |
|
---|
3898 | virtual HRESULT STDMETHODCALLTYPE SetMem(
|
---|
3899 | void *mem) = 0;
|
---|
3900 |
|
---|
3901 | virtual HRESULT STDMETHODCALLTYPE SetOverlayPosition(
|
---|
3902 | LONG x,
|
---|
3903 | LONG y) = 0;
|
---|
3904 |
|
---|
3905 | virtual HRESULT STDMETHODCALLTYPE GetOverlayPosition(
|
---|
3906 | LONG *x,
|
---|
3907 | LONG *y) = 0;
|
---|
3908 |
|
---|
3909 | virtual HRESULT STDMETHODCALLTYPE UpdateOverlayZOrder(
|
---|
3910 | DWORD flags,
|
---|
3911 | IWineD3DSurface *ref) = 0;
|
---|
3912 |
|
---|
3913 | virtual HRESULT STDMETHODCALLTYPE UpdateOverlay(
|
---|
3914 | const RECT *src_rect,
|
---|
3915 | IWineD3DSurface *dst_surface,
|
---|
3916 | const RECT *dst_rect,
|
---|
3917 | DWORD flags,
|
---|
3918 | const WINEDDOVERLAYFX *fx) = 0;
|
---|
3919 |
|
---|
3920 | virtual HRESULT STDMETHODCALLTYPE SetClipper(
|
---|
3921 | IWineD3DClipper *clipper) = 0;
|
---|
3922 |
|
---|
3923 | virtual HRESULT STDMETHODCALLTYPE GetClipper(
|
---|
3924 | IWineD3DClipper **clipper) = 0;
|
---|
3925 |
|
---|
3926 | virtual HRESULT STDMETHODCALLTYPE LoadTexture(
|
---|
3927 | BOOL srgb_mode) = 0;
|
---|
3928 |
|
---|
3929 | virtual void STDMETHODCALLTYPE BindTexture(
|
---|
3930 | BOOL srgb) = 0;
|
---|
3931 |
|
---|
3932 | virtual HRESULT STDMETHODCALLTYPE SaveSnapshot(
|
---|
3933 | const char *filename) = 0;
|
---|
3934 |
|
---|
3935 | virtual HRESULT STDMETHODCALLTYPE SetContainer(
|
---|
3936 | IWineD3DBase *container) = 0;
|
---|
3937 |
|
---|
3938 | virtual const void * STDMETHODCALLTYPE GetData(
|
---|
3939 | ) = 0;
|
---|
3940 |
|
---|
3941 | virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
---|
3942 | WINED3DFORMAT format) = 0;
|
---|
3943 |
|
---|
3944 | virtual HRESULT STDMETHODCALLTYPE PrivateSetup(
|
---|
3945 | ) = 0;
|
---|
3946 |
|
---|
3947 | virtual void STDMETHODCALLTYPE ModifyLocation(
|
---|
3948 | DWORD location,
|
---|
3949 | BOOL persistent) = 0;
|
---|
3950 |
|
---|
3951 | virtual HRESULT STDMETHODCALLTYPE LoadLocation(
|
---|
3952 | DWORD location,
|
---|
3953 | const RECT *rect) = 0;
|
---|
3954 |
|
---|
3955 | virtual WINED3DSURFTYPE STDMETHODCALLTYPE GetImplType(
|
---|
3956 | ) = 0;
|
---|
3957 |
|
---|
3958 | virtual HRESULT STDMETHODCALLTYPE DrawOverlay(
|
---|
3959 | ) = 0;
|
---|
3960 |
|
---|
3961 | };
|
---|
3962 | #else
|
---|
3963 | typedef struct IWineD3DSurfaceVtbl {
|
---|
3964 | BEGIN_INTERFACE
|
---|
3965 |
|
---|
3966 | /*** IUnknown methods ***/
|
---|
3967 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3968 | IWineD3DSurface* This,
|
---|
3969 | REFIID riid,
|
---|
3970 | void **ppvObject);
|
---|
3971 |
|
---|
3972 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3973 | IWineD3DSurface* This);
|
---|
3974 |
|
---|
3975 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3976 | IWineD3DSurface* This);
|
---|
3977 |
|
---|
3978 | /*** IWineD3DBase methods ***/
|
---|
3979 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3980 | IWineD3DSurface* This,
|
---|
3981 | IUnknown **parent);
|
---|
3982 |
|
---|
3983 | /*** IWineD3DResource methods ***/
|
---|
3984 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
3985 | IWineD3DSurface* This,
|
---|
3986 | REFGUID guid,
|
---|
3987 | const void *data,
|
---|
3988 | DWORD data_size,
|
---|
3989 | DWORD flags);
|
---|
3990 |
|
---|
3991 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
3992 | IWineD3DSurface* This,
|
---|
3993 | REFGUID guid,
|
---|
3994 | void *data,
|
---|
3995 | DWORD *data_size);
|
---|
3996 |
|
---|
3997 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
3998 | IWineD3DSurface* This,
|
---|
3999 | REFGUID guid);
|
---|
4000 |
|
---|
4001 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4002 | IWineD3DSurface* This,
|
---|
4003 | DWORD new_priority);
|
---|
4004 |
|
---|
4005 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4006 | IWineD3DSurface* This);
|
---|
4007 |
|
---|
4008 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4009 | IWineD3DSurface* This);
|
---|
4010 |
|
---|
4011 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4012 | IWineD3DSurface* This);
|
---|
4013 |
|
---|
4014 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4015 | IWineD3DSurface* This);
|
---|
4016 |
|
---|
4017 | /*** IWineD3DSurface methods ***/
|
---|
4018 | HRESULT (STDMETHODCALLTYPE *GetContainer)(
|
---|
4019 | IWineD3DSurface* This,
|
---|
4020 | REFIID riid,
|
---|
4021 | void **container);
|
---|
4022 |
|
---|
4023 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
4024 | IWineD3DSurface* This,
|
---|
4025 | WINED3DSURFACE_DESC *desc);
|
---|
4026 |
|
---|
4027 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
4028 | IWineD3DSurface* This,
|
---|
4029 | WINED3DLOCKED_RECT *locked_rect,
|
---|
4030 | const RECT *rect,
|
---|
4031 | DWORD flags);
|
---|
4032 |
|
---|
4033 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
4034 | IWineD3DSurface* This);
|
---|
4035 |
|
---|
4036 | HRESULT (STDMETHODCALLTYPE *GetDC)(
|
---|
4037 | IWineD3DSurface* This,
|
---|
4038 | HDC *dc);
|
---|
4039 |
|
---|
4040 | HRESULT (STDMETHODCALLTYPE *ReleaseDC)(
|
---|
4041 | IWineD3DSurface* This,
|
---|
4042 | HDC dc);
|
---|
4043 |
|
---|
4044 | HRESULT (STDMETHODCALLTYPE *Flip)(
|
---|
4045 | IWineD3DSurface* This,
|
---|
4046 | IWineD3DSurface *override,
|
---|
4047 | DWORD flags);
|
---|
4048 |
|
---|
4049 | HRESULT (STDMETHODCALLTYPE *Blt)(
|
---|
4050 | IWineD3DSurface* This,
|
---|
4051 | const RECT *dst_rect,
|
---|
4052 | IWineD3DSurface *src_surface,
|
---|
4053 | const RECT *src_rect,
|
---|
4054 | DWORD flags,
|
---|
4055 | const WINEDDBLTFX *blt_fx,
|
---|
4056 | WINED3DTEXTUREFILTERTYPE filter);
|
---|
4057 |
|
---|
4058 | HRESULT (STDMETHODCALLTYPE *GetBltStatus)(
|
---|
4059 | IWineD3DSurface* This,
|
---|
4060 | DWORD flags);
|
---|
4061 |
|
---|
4062 | HRESULT (STDMETHODCALLTYPE *GetFlipStatus)(
|
---|
4063 | IWineD3DSurface* This,
|
---|
4064 | DWORD flags);
|
---|
4065 |
|
---|
4066 | HRESULT (STDMETHODCALLTYPE *IsLost)(
|
---|
4067 | IWineD3DSurface* This);
|
---|
4068 |
|
---|
4069 | HRESULT (STDMETHODCALLTYPE *Restore)(
|
---|
4070 | IWineD3DSurface* This);
|
---|
4071 |
|
---|
4072 | HRESULT (STDMETHODCALLTYPE *BltFast)(
|
---|
4073 | IWineD3DSurface* This,
|
---|
4074 | DWORD dst_x,
|
---|
4075 | DWORD dst_y,
|
---|
4076 | IWineD3DSurface *src_surface,
|
---|
4077 | const RECT *src_rect,
|
---|
4078 | DWORD trans);
|
---|
4079 |
|
---|
4080 | HRESULT (STDMETHODCALLTYPE *GetPalette)(
|
---|
4081 | IWineD3DSurface* This,
|
---|
4082 | IWineD3DPalette **palette);
|
---|
4083 |
|
---|
4084 | HRESULT (STDMETHODCALLTYPE *SetPalette)(
|
---|
4085 | IWineD3DSurface* This,
|
---|
4086 | IWineD3DPalette *palette);
|
---|
4087 |
|
---|
4088 | HRESULT (STDMETHODCALLTYPE *RealizePalette)(
|
---|
4089 | IWineD3DSurface* This);
|
---|
4090 |
|
---|
4091 | HRESULT (STDMETHODCALLTYPE *SetColorKey)(
|
---|
4092 | IWineD3DSurface* This,
|
---|
4093 | DWORD flags,
|
---|
4094 | const WINEDDCOLORKEY *color_key);
|
---|
4095 |
|
---|
4096 | DWORD (STDMETHODCALLTYPE *GetPitch)(
|
---|
4097 | IWineD3DSurface* This);
|
---|
4098 |
|
---|
4099 | HRESULT (STDMETHODCALLTYPE *SetMem)(
|
---|
4100 | IWineD3DSurface* This,
|
---|
4101 | void *mem);
|
---|
4102 |
|
---|
4103 | HRESULT (STDMETHODCALLTYPE *SetOverlayPosition)(
|
---|
4104 | IWineD3DSurface* This,
|
---|
4105 | LONG x,
|
---|
4106 | LONG y);
|
---|
4107 |
|
---|
4108 | HRESULT (STDMETHODCALLTYPE *GetOverlayPosition)(
|
---|
4109 | IWineD3DSurface* This,
|
---|
4110 | LONG *x,
|
---|
4111 | LONG *y);
|
---|
4112 |
|
---|
4113 | HRESULT (STDMETHODCALLTYPE *UpdateOverlayZOrder)(
|
---|
4114 | IWineD3DSurface* This,
|
---|
4115 | DWORD flags,
|
---|
4116 | IWineD3DSurface *ref);
|
---|
4117 |
|
---|
4118 | HRESULT (STDMETHODCALLTYPE *UpdateOverlay)(
|
---|
4119 | IWineD3DSurface* This,
|
---|
4120 | const RECT *src_rect,
|
---|
4121 | IWineD3DSurface *dst_surface,
|
---|
4122 | const RECT *dst_rect,
|
---|
4123 | DWORD flags,
|
---|
4124 | const WINEDDOVERLAYFX *fx);
|
---|
4125 |
|
---|
4126 | HRESULT (STDMETHODCALLTYPE *SetClipper)(
|
---|
4127 | IWineD3DSurface* This,
|
---|
4128 | IWineD3DClipper *clipper);
|
---|
4129 |
|
---|
4130 | HRESULT (STDMETHODCALLTYPE *GetClipper)(
|
---|
4131 | IWineD3DSurface* This,
|
---|
4132 | IWineD3DClipper **clipper);
|
---|
4133 |
|
---|
4134 | HRESULT (STDMETHODCALLTYPE *LoadTexture)(
|
---|
4135 | IWineD3DSurface* This,
|
---|
4136 | BOOL srgb_mode);
|
---|
4137 |
|
---|
4138 | void (STDMETHODCALLTYPE *BindTexture)(
|
---|
4139 | IWineD3DSurface* This,
|
---|
4140 | BOOL srgb);
|
---|
4141 |
|
---|
4142 | HRESULT (STDMETHODCALLTYPE *SaveSnapshot)(
|
---|
4143 | IWineD3DSurface* This,
|
---|
4144 | const char *filename);
|
---|
4145 |
|
---|
4146 | HRESULT (STDMETHODCALLTYPE *SetContainer)(
|
---|
4147 | IWineD3DSurface* This,
|
---|
4148 | IWineD3DBase *container);
|
---|
4149 |
|
---|
4150 | const void * (STDMETHODCALLTYPE *GetData)(
|
---|
4151 | IWineD3DSurface* This);
|
---|
4152 |
|
---|
4153 | HRESULT (STDMETHODCALLTYPE *SetFormat)(
|
---|
4154 | IWineD3DSurface* This,
|
---|
4155 | WINED3DFORMAT format);
|
---|
4156 |
|
---|
4157 | HRESULT (STDMETHODCALLTYPE *PrivateSetup)(
|
---|
4158 | IWineD3DSurface* This);
|
---|
4159 |
|
---|
4160 | void (STDMETHODCALLTYPE *ModifyLocation)(
|
---|
4161 | IWineD3DSurface* This,
|
---|
4162 | DWORD location,
|
---|
4163 | BOOL persistent);
|
---|
4164 |
|
---|
4165 | HRESULT (STDMETHODCALLTYPE *LoadLocation)(
|
---|
4166 | IWineD3DSurface* This,
|
---|
4167 | DWORD location,
|
---|
4168 | const RECT *rect);
|
---|
4169 |
|
---|
4170 | WINED3DSURFTYPE (STDMETHODCALLTYPE *GetImplType)(
|
---|
4171 | IWineD3DSurface* This);
|
---|
4172 |
|
---|
4173 | HRESULT (STDMETHODCALLTYPE *DrawOverlay)(
|
---|
4174 | IWineD3DSurface* This);
|
---|
4175 |
|
---|
4176 | END_INTERFACE
|
---|
4177 | } IWineD3DSurfaceVtbl;
|
---|
4178 | interface IWineD3DSurface {
|
---|
4179 | CONST_VTBL IWineD3DSurfaceVtbl* lpVtbl;
|
---|
4180 | };
|
---|
4181 |
|
---|
4182 | #ifdef COBJMACROS
|
---|
4183 | /*** IUnknown methods ***/
|
---|
4184 | #define IWineD3DSurface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4185 | #define IWineD3DSurface_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4186 | #define IWineD3DSurface_Release(This) (This)->lpVtbl->Release(This)
|
---|
4187 | /*** IWineD3DBase methods ***/
|
---|
4188 | #define IWineD3DSurface_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4189 | /*** IWineD3DResource methods ***/
|
---|
4190 | #define IWineD3DSurface_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4191 | #define IWineD3DSurface_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4192 | #define IWineD3DSurface_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4193 | #define IWineD3DSurface_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4194 | #define IWineD3DSurface_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4195 | #define IWineD3DSurface_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4196 | #define IWineD3DSurface_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4197 | #define IWineD3DSurface_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4198 | /*** IWineD3DSurface methods ***/
|
---|
4199 | #define IWineD3DSurface_GetContainer(This,riid,container) (This)->lpVtbl->GetContainer(This,riid,container)
|
---|
4200 | #define IWineD3DSurface_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
4201 | #define IWineD3DSurface_LockRect(This,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,locked_rect,rect,flags)
|
---|
4202 | #define IWineD3DSurface_UnlockRect(This) (This)->lpVtbl->UnlockRect(This)
|
---|
4203 | #define IWineD3DSurface_GetDC(This,dc) (This)->lpVtbl->GetDC(This,dc)
|
---|
4204 | #define IWineD3DSurface_ReleaseDC(This,dc) (This)->lpVtbl->ReleaseDC(This,dc)
|
---|
4205 | #define IWineD3DSurface_Flip(This,override,flags) (This)->lpVtbl->Flip(This,override,flags)
|
---|
4206 | #define IWineD3DSurface_Blt(This,dst_rect,src_surface,src_rect,flags,blt_fx,filter) (This)->lpVtbl->Blt(This,dst_rect,src_surface,src_rect,flags,blt_fx,filter)
|
---|
4207 | #define IWineD3DSurface_GetBltStatus(This,flags) (This)->lpVtbl->GetBltStatus(This,flags)
|
---|
4208 | #define IWineD3DSurface_GetFlipStatus(This,flags) (This)->lpVtbl->GetFlipStatus(This,flags)
|
---|
4209 | #define IWineD3DSurface_IsLost(This) (This)->lpVtbl->IsLost(This)
|
---|
4210 | #define IWineD3DSurface_Restore(This) (This)->lpVtbl->Restore(This)
|
---|
4211 | #define IWineD3DSurface_BltFast(This,dst_x,dst_y,src_surface,src_rect,trans) (This)->lpVtbl->BltFast(This,dst_x,dst_y,src_surface,src_rect,trans)
|
---|
4212 | #define IWineD3DSurface_GetPalette(This,palette) (This)->lpVtbl->GetPalette(This,palette)
|
---|
4213 | #define IWineD3DSurface_SetPalette(This,palette) (This)->lpVtbl->SetPalette(This,palette)
|
---|
4214 | #define IWineD3DSurface_RealizePalette(This) (This)->lpVtbl->RealizePalette(This)
|
---|
4215 | #define IWineD3DSurface_SetColorKey(This,flags,color_key) (This)->lpVtbl->SetColorKey(This,flags,color_key)
|
---|
4216 | #define IWineD3DSurface_GetPitch(This) (This)->lpVtbl->GetPitch(This)
|
---|
4217 | #define IWineD3DSurface_SetMem(This,mem) (This)->lpVtbl->SetMem(This,mem)
|
---|
4218 | #define IWineD3DSurface_SetOverlayPosition(This,x,y) (This)->lpVtbl->SetOverlayPosition(This,x,y)
|
---|
4219 | #define IWineD3DSurface_GetOverlayPosition(This,x,y) (This)->lpVtbl->GetOverlayPosition(This,x,y)
|
---|
4220 | #define IWineD3DSurface_UpdateOverlayZOrder(This,flags,ref) (This)->lpVtbl->UpdateOverlayZOrder(This,flags,ref)
|
---|
4221 | #define IWineD3DSurface_UpdateOverlay(This,src_rect,dst_surface,dst_rect,flags,fx) (This)->lpVtbl->UpdateOverlay(This,src_rect,dst_surface,dst_rect,flags,fx)
|
---|
4222 | #define IWineD3DSurface_SetClipper(This,clipper) (This)->lpVtbl->SetClipper(This,clipper)
|
---|
4223 | #define IWineD3DSurface_GetClipper(This,clipper) (This)->lpVtbl->GetClipper(This,clipper)
|
---|
4224 | #define IWineD3DSurface_LoadTexture(This,srgb_mode) (This)->lpVtbl->LoadTexture(This,srgb_mode)
|
---|
4225 | #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
4226 | #define IWineD3DSurface_SaveSnapshot(This,filename) (This)->lpVtbl->SaveSnapshot(This,filename)
|
---|
4227 | #define IWineD3DSurface_SetContainer(This,container) (This)->lpVtbl->SetContainer(This,container)
|
---|
4228 | #define IWineD3DSurface_GetData(This) (This)->lpVtbl->GetData(This)
|
---|
4229 | #define IWineD3DSurface_SetFormat(This,format) (This)->lpVtbl->SetFormat(This,format)
|
---|
4230 | #define IWineD3DSurface_PrivateSetup(This) (This)->lpVtbl->PrivateSetup(This)
|
---|
4231 | #define IWineD3DSurface_ModifyLocation(This,location,persistent) (This)->lpVtbl->ModifyLocation(This,location,persistent)
|
---|
4232 | #define IWineD3DSurface_LoadLocation(This,location,rect) (This)->lpVtbl->LoadLocation(This,location,rect)
|
---|
4233 | #define IWineD3DSurface_GetImplType(This) (This)->lpVtbl->GetImplType(This)
|
---|
4234 | #define IWineD3DSurface_DrawOverlay(This) (This)->lpVtbl->DrawOverlay(This)
|
---|
4235 | #endif
|
---|
4236 |
|
---|
4237 | #endif
|
---|
4238 |
|
---|
4239 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetContainer_Proxy(
|
---|
4240 | IWineD3DSurface* This,
|
---|
4241 | REFIID riid,
|
---|
4242 | void **container);
|
---|
4243 | void __RPC_STUB IWineD3DSurface_GetContainer_Stub(
|
---|
4244 | IRpcStubBuffer* This,
|
---|
4245 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4246 | PRPC_MESSAGE pRpcMessage,
|
---|
4247 | DWORD* pdwStubPhase);
|
---|
4248 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetDesc_Proxy(
|
---|
4249 | IWineD3DSurface* This,
|
---|
4250 | WINED3DSURFACE_DESC *desc);
|
---|
4251 | void __RPC_STUB IWineD3DSurface_GetDesc_Stub(
|
---|
4252 | IRpcStubBuffer* This,
|
---|
4253 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4254 | PRPC_MESSAGE pRpcMessage,
|
---|
4255 | DWORD* pdwStubPhase);
|
---|
4256 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LockRect_Proxy(
|
---|
4257 | IWineD3DSurface* This,
|
---|
4258 | WINED3DLOCKED_RECT *locked_rect,
|
---|
4259 | const RECT *rect,
|
---|
4260 | DWORD flags);
|
---|
4261 | void __RPC_STUB IWineD3DSurface_LockRect_Stub(
|
---|
4262 | IRpcStubBuffer* This,
|
---|
4263 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4264 | PRPC_MESSAGE pRpcMessage,
|
---|
4265 | DWORD* pdwStubPhase);
|
---|
4266 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UnlockRect_Proxy(
|
---|
4267 | IWineD3DSurface* This);
|
---|
4268 | void __RPC_STUB IWineD3DSurface_UnlockRect_Stub(
|
---|
4269 | IRpcStubBuffer* This,
|
---|
4270 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4271 | PRPC_MESSAGE pRpcMessage,
|
---|
4272 | DWORD* pdwStubPhase);
|
---|
4273 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetDC_Proxy(
|
---|
4274 | IWineD3DSurface* This,
|
---|
4275 | HDC *dc);
|
---|
4276 | void __RPC_STUB IWineD3DSurface_GetDC_Stub(
|
---|
4277 | IRpcStubBuffer* This,
|
---|
4278 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4279 | PRPC_MESSAGE pRpcMessage,
|
---|
4280 | DWORD* pdwStubPhase);
|
---|
4281 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_ReleaseDC_Proxy(
|
---|
4282 | IWineD3DSurface* This,
|
---|
4283 | HDC dc);
|
---|
4284 | void __RPC_STUB IWineD3DSurface_ReleaseDC_Stub(
|
---|
4285 | IRpcStubBuffer* This,
|
---|
4286 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4287 | PRPC_MESSAGE pRpcMessage,
|
---|
4288 | DWORD* pdwStubPhase);
|
---|
4289 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Flip_Proxy(
|
---|
4290 | IWineD3DSurface* This,
|
---|
4291 | IWineD3DSurface *override,
|
---|
4292 | DWORD flags);
|
---|
4293 | void __RPC_STUB IWineD3DSurface_Flip_Stub(
|
---|
4294 | IRpcStubBuffer* This,
|
---|
4295 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4296 | PRPC_MESSAGE pRpcMessage,
|
---|
4297 | DWORD* pdwStubPhase);
|
---|
4298 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Blt_Proxy(
|
---|
4299 | IWineD3DSurface* This,
|
---|
4300 | const RECT *dst_rect,
|
---|
4301 | IWineD3DSurface *src_surface,
|
---|
4302 | const RECT *src_rect,
|
---|
4303 | DWORD flags,
|
---|
4304 | const WINEDDBLTFX *blt_fx,
|
---|
4305 | WINED3DTEXTUREFILTERTYPE filter);
|
---|
4306 | void __RPC_STUB IWineD3DSurface_Blt_Stub(
|
---|
4307 | IRpcStubBuffer* This,
|
---|
4308 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4309 | PRPC_MESSAGE pRpcMessage,
|
---|
4310 | DWORD* pdwStubPhase);
|
---|
4311 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetBltStatus_Proxy(
|
---|
4312 | IWineD3DSurface* This,
|
---|
4313 | DWORD flags);
|
---|
4314 | void __RPC_STUB IWineD3DSurface_GetBltStatus_Stub(
|
---|
4315 | IRpcStubBuffer* This,
|
---|
4316 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4317 | PRPC_MESSAGE pRpcMessage,
|
---|
4318 | DWORD* pdwStubPhase);
|
---|
4319 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetFlipStatus_Proxy(
|
---|
4320 | IWineD3DSurface* This,
|
---|
4321 | DWORD flags);
|
---|
4322 | void __RPC_STUB IWineD3DSurface_GetFlipStatus_Stub(
|
---|
4323 | IRpcStubBuffer* This,
|
---|
4324 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4325 | PRPC_MESSAGE pRpcMessage,
|
---|
4326 | DWORD* pdwStubPhase);
|
---|
4327 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_IsLost_Proxy(
|
---|
4328 | IWineD3DSurface* This);
|
---|
4329 | void __RPC_STUB IWineD3DSurface_IsLost_Stub(
|
---|
4330 | IRpcStubBuffer* This,
|
---|
4331 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4332 | PRPC_MESSAGE pRpcMessage,
|
---|
4333 | DWORD* pdwStubPhase);
|
---|
4334 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Restore_Proxy(
|
---|
4335 | IWineD3DSurface* This);
|
---|
4336 | void __RPC_STUB IWineD3DSurface_Restore_Stub(
|
---|
4337 | IRpcStubBuffer* This,
|
---|
4338 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4339 | PRPC_MESSAGE pRpcMessage,
|
---|
4340 | DWORD* pdwStubPhase);
|
---|
4341 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_BltFast_Proxy(
|
---|
4342 | IWineD3DSurface* This,
|
---|
4343 | DWORD dst_x,
|
---|
4344 | DWORD dst_y,
|
---|
4345 | IWineD3DSurface *src_surface,
|
---|
4346 | const RECT *src_rect,
|
---|
4347 | DWORD trans);
|
---|
4348 | void __RPC_STUB IWineD3DSurface_BltFast_Stub(
|
---|
4349 | IRpcStubBuffer* This,
|
---|
4350 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4351 | PRPC_MESSAGE pRpcMessage,
|
---|
4352 | DWORD* pdwStubPhase);
|
---|
4353 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetPalette_Proxy(
|
---|
4354 | IWineD3DSurface* This,
|
---|
4355 | IWineD3DPalette **palette);
|
---|
4356 | void __RPC_STUB IWineD3DSurface_GetPalette_Stub(
|
---|
4357 | IRpcStubBuffer* This,
|
---|
4358 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4359 | PRPC_MESSAGE pRpcMessage,
|
---|
4360 | DWORD* pdwStubPhase);
|
---|
4361 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetPalette_Proxy(
|
---|
4362 | IWineD3DSurface* This,
|
---|
4363 | IWineD3DPalette *palette);
|
---|
4364 | void __RPC_STUB IWineD3DSurface_SetPalette_Stub(
|
---|
4365 | IRpcStubBuffer* This,
|
---|
4366 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4367 | PRPC_MESSAGE pRpcMessage,
|
---|
4368 | DWORD* pdwStubPhase);
|
---|
4369 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_RealizePalette_Proxy(
|
---|
4370 | IWineD3DSurface* This);
|
---|
4371 | void __RPC_STUB IWineD3DSurface_RealizePalette_Stub(
|
---|
4372 | IRpcStubBuffer* This,
|
---|
4373 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4374 | PRPC_MESSAGE pRpcMessage,
|
---|
4375 | DWORD* pdwStubPhase);
|
---|
4376 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetColorKey_Proxy(
|
---|
4377 | IWineD3DSurface* This,
|
---|
4378 | DWORD flags,
|
---|
4379 | const WINEDDCOLORKEY *color_key);
|
---|
4380 | void __RPC_STUB IWineD3DSurface_SetColorKey_Stub(
|
---|
4381 | IRpcStubBuffer* This,
|
---|
4382 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4383 | PRPC_MESSAGE pRpcMessage,
|
---|
4384 | DWORD* pdwStubPhase);
|
---|
4385 | DWORD STDMETHODCALLTYPE IWineD3DSurface_GetPitch_Proxy(
|
---|
4386 | IWineD3DSurface* This);
|
---|
4387 | void __RPC_STUB IWineD3DSurface_GetPitch_Stub(
|
---|
4388 | IRpcStubBuffer* This,
|
---|
4389 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4390 | PRPC_MESSAGE pRpcMessage,
|
---|
4391 | DWORD* pdwStubPhase);
|
---|
4392 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetMem_Proxy(
|
---|
4393 | IWineD3DSurface* This,
|
---|
4394 | void *mem);
|
---|
4395 | void __RPC_STUB IWineD3DSurface_SetMem_Stub(
|
---|
4396 | IRpcStubBuffer* This,
|
---|
4397 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4398 | PRPC_MESSAGE pRpcMessage,
|
---|
4399 | DWORD* pdwStubPhase);
|
---|
4400 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetOverlayPosition_Proxy(
|
---|
4401 | IWineD3DSurface* This,
|
---|
4402 | LONG x,
|
---|
4403 | LONG y);
|
---|
4404 | void __RPC_STUB IWineD3DSurface_SetOverlayPosition_Stub(
|
---|
4405 | IRpcStubBuffer* This,
|
---|
4406 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4407 | PRPC_MESSAGE pRpcMessage,
|
---|
4408 | DWORD* pdwStubPhase);
|
---|
4409 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetOverlayPosition_Proxy(
|
---|
4410 | IWineD3DSurface* This,
|
---|
4411 | LONG *x,
|
---|
4412 | LONG *y);
|
---|
4413 | void __RPC_STUB IWineD3DSurface_GetOverlayPosition_Stub(
|
---|
4414 | IRpcStubBuffer* This,
|
---|
4415 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4416 | PRPC_MESSAGE pRpcMessage,
|
---|
4417 | DWORD* pdwStubPhase);
|
---|
4418 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UpdateOverlayZOrder_Proxy(
|
---|
4419 | IWineD3DSurface* This,
|
---|
4420 | DWORD flags,
|
---|
4421 | IWineD3DSurface *ref);
|
---|
4422 | void __RPC_STUB IWineD3DSurface_UpdateOverlayZOrder_Stub(
|
---|
4423 | IRpcStubBuffer* This,
|
---|
4424 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4425 | PRPC_MESSAGE pRpcMessage,
|
---|
4426 | DWORD* pdwStubPhase);
|
---|
4427 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UpdateOverlay_Proxy(
|
---|
4428 | IWineD3DSurface* This,
|
---|
4429 | const RECT *src_rect,
|
---|
4430 | IWineD3DSurface *dst_surface,
|
---|
4431 | const RECT *dst_rect,
|
---|
4432 | DWORD flags,
|
---|
4433 | const WINEDDOVERLAYFX *fx);
|
---|
4434 | void __RPC_STUB IWineD3DSurface_UpdateOverlay_Stub(
|
---|
4435 | IRpcStubBuffer* This,
|
---|
4436 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4437 | PRPC_MESSAGE pRpcMessage,
|
---|
4438 | DWORD* pdwStubPhase);
|
---|
4439 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetClipper_Proxy(
|
---|
4440 | IWineD3DSurface* This,
|
---|
4441 | IWineD3DClipper *clipper);
|
---|
4442 | void __RPC_STUB IWineD3DSurface_SetClipper_Stub(
|
---|
4443 | IRpcStubBuffer* This,
|
---|
4444 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4445 | PRPC_MESSAGE pRpcMessage,
|
---|
4446 | DWORD* pdwStubPhase);
|
---|
4447 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetClipper_Proxy(
|
---|
4448 | IWineD3DSurface* This,
|
---|
4449 | IWineD3DClipper **clipper);
|
---|
4450 | void __RPC_STUB IWineD3DSurface_GetClipper_Stub(
|
---|
4451 | IRpcStubBuffer* This,
|
---|
4452 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4453 | PRPC_MESSAGE pRpcMessage,
|
---|
4454 | DWORD* pdwStubPhase);
|
---|
4455 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LoadTexture_Proxy(
|
---|
4456 | IWineD3DSurface* This,
|
---|
4457 | BOOL srgb_mode);
|
---|
4458 | void __RPC_STUB IWineD3DSurface_LoadTexture_Stub(
|
---|
4459 | IRpcStubBuffer* This,
|
---|
4460 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4461 | PRPC_MESSAGE pRpcMessage,
|
---|
4462 | DWORD* pdwStubPhase);
|
---|
4463 | void STDMETHODCALLTYPE IWineD3DSurface_BindTexture_Proxy(
|
---|
4464 | IWineD3DSurface* This,
|
---|
4465 | BOOL srgb);
|
---|
4466 | void __RPC_STUB IWineD3DSurface_BindTexture_Stub(
|
---|
4467 | IRpcStubBuffer* This,
|
---|
4468 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4469 | PRPC_MESSAGE pRpcMessage,
|
---|
4470 | DWORD* pdwStubPhase);
|
---|
4471 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SaveSnapshot_Proxy(
|
---|
4472 | IWineD3DSurface* This,
|
---|
4473 | const char *filename);
|
---|
4474 | void __RPC_STUB IWineD3DSurface_SaveSnapshot_Stub(
|
---|
4475 | IRpcStubBuffer* This,
|
---|
4476 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4477 | PRPC_MESSAGE pRpcMessage,
|
---|
4478 | DWORD* pdwStubPhase);
|
---|
4479 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetContainer_Proxy(
|
---|
4480 | IWineD3DSurface* This,
|
---|
4481 | IWineD3DBase *container);
|
---|
4482 | void __RPC_STUB IWineD3DSurface_SetContainer_Stub(
|
---|
4483 | IRpcStubBuffer* This,
|
---|
4484 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4485 | PRPC_MESSAGE pRpcMessage,
|
---|
4486 | DWORD* pdwStubPhase);
|
---|
4487 | const void * STDMETHODCALLTYPE IWineD3DSurface_GetData_Proxy(
|
---|
4488 | IWineD3DSurface* This);
|
---|
4489 | void __RPC_STUB IWineD3DSurface_GetData_Stub(
|
---|
4490 | IRpcStubBuffer* This,
|
---|
4491 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4492 | PRPC_MESSAGE pRpcMessage,
|
---|
4493 | DWORD* pdwStubPhase);
|
---|
4494 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetFormat_Proxy(
|
---|
4495 | IWineD3DSurface* This,
|
---|
4496 | WINED3DFORMAT format);
|
---|
4497 | void __RPC_STUB IWineD3DSurface_SetFormat_Stub(
|
---|
4498 | IRpcStubBuffer* This,
|
---|
4499 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4500 | PRPC_MESSAGE pRpcMessage,
|
---|
4501 | DWORD* pdwStubPhase);
|
---|
4502 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_PrivateSetup_Proxy(
|
---|
4503 | IWineD3DSurface* This);
|
---|
4504 | void __RPC_STUB IWineD3DSurface_PrivateSetup_Stub(
|
---|
4505 | IRpcStubBuffer* This,
|
---|
4506 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4507 | PRPC_MESSAGE pRpcMessage,
|
---|
4508 | DWORD* pdwStubPhase);
|
---|
4509 | void STDMETHODCALLTYPE IWineD3DSurface_ModifyLocation_Proxy(
|
---|
4510 | IWineD3DSurface* This,
|
---|
4511 | DWORD location,
|
---|
4512 | BOOL persistent);
|
---|
4513 | void __RPC_STUB IWineD3DSurface_ModifyLocation_Stub(
|
---|
4514 | IRpcStubBuffer* This,
|
---|
4515 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4516 | PRPC_MESSAGE pRpcMessage,
|
---|
4517 | DWORD* pdwStubPhase);
|
---|
4518 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LoadLocation_Proxy(
|
---|
4519 | IWineD3DSurface* This,
|
---|
4520 | DWORD location,
|
---|
4521 | const RECT *rect);
|
---|
4522 | void __RPC_STUB IWineD3DSurface_LoadLocation_Stub(
|
---|
4523 | IRpcStubBuffer* This,
|
---|
4524 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4525 | PRPC_MESSAGE pRpcMessage,
|
---|
4526 | DWORD* pdwStubPhase);
|
---|
4527 | WINED3DSURFTYPE STDMETHODCALLTYPE IWineD3DSurface_GetImplType_Proxy(
|
---|
4528 | IWineD3DSurface* This);
|
---|
4529 | void __RPC_STUB IWineD3DSurface_GetImplType_Stub(
|
---|
4530 | IRpcStubBuffer* This,
|
---|
4531 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4532 | PRPC_MESSAGE pRpcMessage,
|
---|
4533 | DWORD* pdwStubPhase);
|
---|
4534 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_DrawOverlay_Proxy(
|
---|
4535 | IWineD3DSurface* This);
|
---|
4536 | void __RPC_STUB IWineD3DSurface_DrawOverlay_Stub(
|
---|
4537 | IRpcStubBuffer* This,
|
---|
4538 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4539 | PRPC_MESSAGE pRpcMessage,
|
---|
4540 | DWORD* pdwStubPhase);
|
---|
4541 |
|
---|
4542 | #endif /* __IWineD3DSurface_INTERFACE_DEFINED__ */
|
---|
4543 |
|
---|
4544 | /*****************************************************************************
|
---|
4545 | * IWineD3DVolume interface
|
---|
4546 | */
|
---|
4547 | #ifndef __IWineD3DVolume_INTERFACE_DEFINED__
|
---|
4548 | #define __IWineD3DVolume_INTERFACE_DEFINED__
|
---|
4549 |
|
---|
4550 | DEFINE_GUID(IID_IWineD3DVolume, 0x24769ed8, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
4551 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4552 | interface IWineD3DVolume : public IWineD3DResource
|
---|
4553 | {
|
---|
4554 | virtual HRESULT STDMETHODCALLTYPE GetContainer(
|
---|
4555 | REFIID riid,
|
---|
4556 | void **container) = 0;
|
---|
4557 |
|
---|
4558 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
4559 | WINED3DVOLUME_DESC *desc) = 0;
|
---|
4560 |
|
---|
4561 | virtual HRESULT STDMETHODCALLTYPE LockBox(
|
---|
4562 | WINED3DLOCKED_BOX *locked_box,
|
---|
4563 | const WINED3DBOX *box,
|
---|
4564 | DWORD flags) = 0;
|
---|
4565 |
|
---|
4566 | virtual HRESULT STDMETHODCALLTYPE UnlockBox(
|
---|
4567 | ) = 0;
|
---|
4568 |
|
---|
4569 | virtual HRESULT STDMETHODCALLTYPE LoadTexture(
|
---|
4570 | int gl_level,
|
---|
4571 | BOOL srgb_mode) = 0;
|
---|
4572 |
|
---|
4573 | virtual HRESULT STDMETHODCALLTYPE SetContainer(
|
---|
4574 | IWineD3DBase *container) = 0;
|
---|
4575 |
|
---|
4576 | };
|
---|
4577 | #else
|
---|
4578 | typedef struct IWineD3DVolumeVtbl {
|
---|
4579 | BEGIN_INTERFACE
|
---|
4580 |
|
---|
4581 | /*** IUnknown methods ***/
|
---|
4582 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4583 | IWineD3DVolume* This,
|
---|
4584 | REFIID riid,
|
---|
4585 | void **ppvObject);
|
---|
4586 |
|
---|
4587 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4588 | IWineD3DVolume* This);
|
---|
4589 |
|
---|
4590 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4591 | IWineD3DVolume* This);
|
---|
4592 |
|
---|
4593 | /*** IWineD3DBase methods ***/
|
---|
4594 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
4595 | IWineD3DVolume* This,
|
---|
4596 | IUnknown **parent);
|
---|
4597 |
|
---|
4598 | /*** IWineD3DResource methods ***/
|
---|
4599 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
4600 | IWineD3DVolume* This,
|
---|
4601 | REFGUID guid,
|
---|
4602 | const void *data,
|
---|
4603 | DWORD data_size,
|
---|
4604 | DWORD flags);
|
---|
4605 |
|
---|
4606 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
4607 | IWineD3DVolume* This,
|
---|
4608 | REFGUID guid,
|
---|
4609 | void *data,
|
---|
4610 | DWORD *data_size);
|
---|
4611 |
|
---|
4612 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
4613 | IWineD3DVolume* This,
|
---|
4614 | REFGUID guid);
|
---|
4615 |
|
---|
4616 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4617 | IWineD3DVolume* This,
|
---|
4618 | DWORD new_priority);
|
---|
4619 |
|
---|
4620 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4621 | IWineD3DVolume* This);
|
---|
4622 |
|
---|
4623 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4624 | IWineD3DVolume* This);
|
---|
4625 |
|
---|
4626 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4627 | IWineD3DVolume* This);
|
---|
4628 |
|
---|
4629 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4630 | IWineD3DVolume* This);
|
---|
4631 |
|
---|
4632 | /*** IWineD3DVolume methods ***/
|
---|
4633 | HRESULT (STDMETHODCALLTYPE *GetContainer)(
|
---|
4634 | IWineD3DVolume* This,
|
---|
4635 | REFIID riid,
|
---|
4636 | void **container);
|
---|
4637 |
|
---|
4638 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
4639 | IWineD3DVolume* This,
|
---|
4640 | WINED3DVOLUME_DESC *desc);
|
---|
4641 |
|
---|
4642 | HRESULT (STDMETHODCALLTYPE *LockBox)(
|
---|
4643 | IWineD3DVolume* This,
|
---|
4644 | WINED3DLOCKED_BOX *locked_box,
|
---|
4645 | const WINED3DBOX *box,
|
---|
4646 | DWORD flags);
|
---|
4647 |
|
---|
4648 | HRESULT (STDMETHODCALLTYPE *UnlockBox)(
|
---|
4649 | IWineD3DVolume* This);
|
---|
4650 |
|
---|
4651 | HRESULT (STDMETHODCALLTYPE *LoadTexture)(
|
---|
4652 | IWineD3DVolume* This,
|
---|
4653 | int gl_level,
|
---|
4654 | BOOL srgb_mode);
|
---|
4655 |
|
---|
4656 | HRESULT (STDMETHODCALLTYPE *SetContainer)(
|
---|
4657 | IWineD3DVolume* This,
|
---|
4658 | IWineD3DBase *container);
|
---|
4659 |
|
---|
4660 | END_INTERFACE
|
---|
4661 | } IWineD3DVolumeVtbl;
|
---|
4662 | interface IWineD3DVolume {
|
---|
4663 | CONST_VTBL IWineD3DVolumeVtbl* lpVtbl;
|
---|
4664 | };
|
---|
4665 |
|
---|
4666 | #ifdef COBJMACROS
|
---|
4667 | /*** IUnknown methods ***/
|
---|
4668 | #define IWineD3DVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4669 | #define IWineD3DVolume_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4670 | #define IWineD3DVolume_Release(This) (This)->lpVtbl->Release(This)
|
---|
4671 | /*** IWineD3DBase methods ***/
|
---|
4672 | #define IWineD3DVolume_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4673 | /*** IWineD3DResource methods ***/
|
---|
4674 | #define IWineD3DVolume_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4675 | #define IWineD3DVolume_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4676 | #define IWineD3DVolume_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4677 | #define IWineD3DVolume_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4678 | #define IWineD3DVolume_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4679 | #define IWineD3DVolume_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4680 | #define IWineD3DVolume_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4681 | #define IWineD3DVolume_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4682 | /*** IWineD3DVolume methods ***/
|
---|
4683 | #define IWineD3DVolume_GetContainer(This,riid,container) (This)->lpVtbl->GetContainer(This,riid,container)
|
---|
4684 | #define IWineD3DVolume_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
4685 | #define IWineD3DVolume_LockBox(This,locked_box,box,flags) (This)->lpVtbl->LockBox(This,locked_box,box,flags)
|
---|
4686 | #define IWineD3DVolume_UnlockBox(This) (This)->lpVtbl->UnlockBox(This)
|
---|
4687 | #define IWineD3DVolume_LoadTexture(This,gl_level,srgb_mode) (This)->lpVtbl->LoadTexture(This,gl_level,srgb_mode)
|
---|
4688 | #define IWineD3DVolume_SetContainer(This,container) (This)->lpVtbl->SetContainer(This,container)
|
---|
4689 | #endif
|
---|
4690 |
|
---|
4691 | #endif
|
---|
4692 |
|
---|
4693 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_GetContainer_Proxy(
|
---|
4694 | IWineD3DVolume* This,
|
---|
4695 | REFIID riid,
|
---|
4696 | void **container);
|
---|
4697 | void __RPC_STUB IWineD3DVolume_GetContainer_Stub(
|
---|
4698 | IRpcStubBuffer* This,
|
---|
4699 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4700 | PRPC_MESSAGE pRpcMessage,
|
---|
4701 | DWORD* pdwStubPhase);
|
---|
4702 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_GetDesc_Proxy(
|
---|
4703 | IWineD3DVolume* This,
|
---|
4704 | WINED3DVOLUME_DESC *desc);
|
---|
4705 | void __RPC_STUB IWineD3DVolume_GetDesc_Stub(
|
---|
4706 | IRpcStubBuffer* This,
|
---|
4707 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4708 | PRPC_MESSAGE pRpcMessage,
|
---|
4709 | DWORD* pdwStubPhase);
|
---|
4710 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_LockBox_Proxy(
|
---|
4711 | IWineD3DVolume* This,
|
---|
4712 | WINED3DLOCKED_BOX *locked_box,
|
---|
4713 | const WINED3DBOX *box,
|
---|
4714 | DWORD flags);
|
---|
4715 | void __RPC_STUB IWineD3DVolume_LockBox_Stub(
|
---|
4716 | IRpcStubBuffer* This,
|
---|
4717 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4718 | PRPC_MESSAGE pRpcMessage,
|
---|
4719 | DWORD* pdwStubPhase);
|
---|
4720 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_UnlockBox_Proxy(
|
---|
4721 | IWineD3DVolume* This);
|
---|
4722 | void __RPC_STUB IWineD3DVolume_UnlockBox_Stub(
|
---|
4723 | IRpcStubBuffer* This,
|
---|
4724 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4725 | PRPC_MESSAGE pRpcMessage,
|
---|
4726 | DWORD* pdwStubPhase);
|
---|
4727 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_LoadTexture_Proxy(
|
---|
4728 | IWineD3DVolume* This,
|
---|
4729 | int gl_level,
|
---|
4730 | BOOL srgb_mode);
|
---|
4731 | void __RPC_STUB IWineD3DVolume_LoadTexture_Stub(
|
---|
4732 | IRpcStubBuffer* This,
|
---|
4733 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4734 | PRPC_MESSAGE pRpcMessage,
|
---|
4735 | DWORD* pdwStubPhase);
|
---|
4736 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_SetContainer_Proxy(
|
---|
4737 | IWineD3DVolume* This,
|
---|
4738 | IWineD3DBase *container);
|
---|
4739 | void __RPC_STUB IWineD3DVolume_SetContainer_Stub(
|
---|
4740 | IRpcStubBuffer* This,
|
---|
4741 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4742 | PRPC_MESSAGE pRpcMessage,
|
---|
4743 | DWORD* pdwStubPhase);
|
---|
4744 |
|
---|
4745 | #endif /* __IWineD3DVolume_INTERFACE_DEFINED__ */
|
---|
4746 |
|
---|
4747 | /*****************************************************************************
|
---|
4748 | * IWineD3DBaseTexture interface
|
---|
4749 | */
|
---|
4750 | #ifndef __IWineD3DBaseTexture_INTERFACE_DEFINED__
|
---|
4751 | #define __IWineD3DBaseTexture_INTERFACE_DEFINED__
|
---|
4752 |
|
---|
4753 | DEFINE_GUID(IID_IWineD3DBaseTexture, 0x3c2aebf6, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
4754 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4755 | interface IWineD3DBaseTexture : public IWineD3DResource
|
---|
4756 | {
|
---|
4757 | virtual DWORD STDMETHODCALLTYPE SetLOD(
|
---|
4758 | DWORD new_lod) = 0;
|
---|
4759 |
|
---|
4760 | virtual DWORD STDMETHODCALLTYPE GetLOD(
|
---|
4761 | ) = 0;
|
---|
4762 |
|
---|
4763 | virtual DWORD STDMETHODCALLTYPE GetLevelCount(
|
---|
4764 | ) = 0;
|
---|
4765 |
|
---|
4766 | virtual HRESULT STDMETHODCALLTYPE SetAutoGenFilterType(
|
---|
4767 | WINED3DTEXTUREFILTERTYPE filter_type) = 0;
|
---|
4768 |
|
---|
4769 | virtual WINED3DTEXTUREFILTERTYPE STDMETHODCALLTYPE GetAutoGenFilterType(
|
---|
4770 | ) = 0;
|
---|
4771 |
|
---|
4772 | virtual void STDMETHODCALLTYPE GenerateMipSubLevels(
|
---|
4773 | ) = 0;
|
---|
4774 |
|
---|
4775 | virtual BOOL STDMETHODCALLTYPE SetDirty(
|
---|
4776 | BOOL dirty) = 0;
|
---|
4777 |
|
---|
4778 | virtual BOOL STDMETHODCALLTYPE GetDirty(
|
---|
4779 | ) = 0;
|
---|
4780 |
|
---|
4781 | virtual HRESULT STDMETHODCALLTYPE BindTexture(
|
---|
4782 | BOOL srgb) = 0;
|
---|
4783 |
|
---|
4784 | virtual UINT STDMETHODCALLTYPE GetTextureDimensions(
|
---|
4785 | ) = 0;
|
---|
4786 |
|
---|
4787 | virtual BOOL STDMETHODCALLTYPE IsCondNP2(
|
---|
4788 | ) = 0;
|
---|
4789 |
|
---|
4790 | };
|
---|
4791 | #else
|
---|
4792 | typedef struct IWineD3DBaseTextureVtbl {
|
---|
4793 | BEGIN_INTERFACE
|
---|
4794 |
|
---|
4795 | /*** IUnknown methods ***/
|
---|
4796 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4797 | IWineD3DBaseTexture* This,
|
---|
4798 | REFIID riid,
|
---|
4799 | void **ppvObject);
|
---|
4800 |
|
---|
4801 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4802 | IWineD3DBaseTexture* This);
|
---|
4803 |
|
---|
4804 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4805 | IWineD3DBaseTexture* This);
|
---|
4806 |
|
---|
4807 | /*** IWineD3DBase methods ***/
|
---|
4808 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
4809 | IWineD3DBaseTexture* This,
|
---|
4810 | IUnknown **parent);
|
---|
4811 |
|
---|
4812 | /*** IWineD3DResource methods ***/
|
---|
4813 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
4814 | IWineD3DBaseTexture* This,
|
---|
4815 | REFGUID guid,
|
---|
4816 | const void *data,
|
---|
4817 | DWORD data_size,
|
---|
4818 | DWORD flags);
|
---|
4819 |
|
---|
4820 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
4821 | IWineD3DBaseTexture* This,
|
---|
4822 | REFGUID guid,
|
---|
4823 | void *data,
|
---|
4824 | DWORD *data_size);
|
---|
4825 |
|
---|
4826 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
4827 | IWineD3DBaseTexture* This,
|
---|
4828 | REFGUID guid);
|
---|
4829 |
|
---|
4830 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4831 | IWineD3DBaseTexture* This,
|
---|
4832 | DWORD new_priority);
|
---|
4833 |
|
---|
4834 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4835 | IWineD3DBaseTexture* This);
|
---|
4836 |
|
---|
4837 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4838 | IWineD3DBaseTexture* This);
|
---|
4839 |
|
---|
4840 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4841 | IWineD3DBaseTexture* This);
|
---|
4842 |
|
---|
4843 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4844 | IWineD3DBaseTexture* This);
|
---|
4845 |
|
---|
4846 | /*** IWineD3DBaseTexture methods ***/
|
---|
4847 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
4848 | IWineD3DBaseTexture* This,
|
---|
4849 | DWORD new_lod);
|
---|
4850 |
|
---|
4851 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
4852 | IWineD3DBaseTexture* This);
|
---|
4853 |
|
---|
4854 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
4855 | IWineD3DBaseTexture* This);
|
---|
4856 |
|
---|
4857 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
4858 | IWineD3DBaseTexture* This,
|
---|
4859 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
4860 |
|
---|
4861 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
4862 | IWineD3DBaseTexture* This);
|
---|
4863 |
|
---|
4864 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
4865 | IWineD3DBaseTexture* This);
|
---|
4866 |
|
---|
4867 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
4868 | IWineD3DBaseTexture* This,
|
---|
4869 | BOOL dirty);
|
---|
4870 |
|
---|
4871 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
4872 | IWineD3DBaseTexture* This);
|
---|
4873 |
|
---|
4874 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
4875 | IWineD3DBaseTexture* This,
|
---|
4876 | BOOL srgb);
|
---|
4877 |
|
---|
4878 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
4879 | IWineD3DBaseTexture* This);
|
---|
4880 |
|
---|
4881 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
4882 | IWineD3DBaseTexture* This);
|
---|
4883 |
|
---|
4884 | END_INTERFACE
|
---|
4885 | } IWineD3DBaseTextureVtbl;
|
---|
4886 | interface IWineD3DBaseTexture {
|
---|
4887 | CONST_VTBL IWineD3DBaseTextureVtbl* lpVtbl;
|
---|
4888 | };
|
---|
4889 |
|
---|
4890 | #ifdef COBJMACROS
|
---|
4891 | /*** IUnknown methods ***/
|
---|
4892 | #define IWineD3DBaseTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4893 | #define IWineD3DBaseTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4894 | #define IWineD3DBaseTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
4895 | /*** IWineD3DBase methods ***/
|
---|
4896 | #define IWineD3DBaseTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4897 | /*** IWineD3DResource methods ***/
|
---|
4898 | #define IWineD3DBaseTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4899 | #define IWineD3DBaseTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4900 | #define IWineD3DBaseTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4901 | #define IWineD3DBaseTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4902 | #define IWineD3DBaseTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4903 | #define IWineD3DBaseTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4904 | #define IWineD3DBaseTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4905 | #define IWineD3DBaseTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4906 | /*** IWineD3DBaseTexture methods ***/
|
---|
4907 | #define IWineD3DBaseTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
4908 | #define IWineD3DBaseTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
4909 | #define IWineD3DBaseTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
4910 | #define IWineD3DBaseTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
4911 | #define IWineD3DBaseTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
4912 | #define IWineD3DBaseTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
4913 | #define IWineD3DBaseTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
4914 | #define IWineD3DBaseTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
4915 | #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
4916 | #define IWineD3DBaseTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
4917 | #define IWineD3DBaseTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
4918 | #endif
|
---|
4919 |
|
---|
4920 | #endif
|
---|
4921 |
|
---|
4922 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_SetLOD_Proxy(
|
---|
4923 | IWineD3DBaseTexture* This,
|
---|
4924 | DWORD new_lod);
|
---|
4925 | void __RPC_STUB IWineD3DBaseTexture_SetLOD_Stub(
|
---|
4926 | IRpcStubBuffer* This,
|
---|
4927 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4928 | PRPC_MESSAGE pRpcMessage,
|
---|
4929 | DWORD* pdwStubPhase);
|
---|
4930 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_GetLOD_Proxy(
|
---|
4931 | IWineD3DBaseTexture* This);
|
---|
4932 | void __RPC_STUB IWineD3DBaseTexture_GetLOD_Stub(
|
---|
4933 | IRpcStubBuffer* This,
|
---|
4934 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4935 | PRPC_MESSAGE pRpcMessage,
|
---|
4936 | DWORD* pdwStubPhase);
|
---|
4937 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_GetLevelCount_Proxy(
|
---|
4938 | IWineD3DBaseTexture* This);
|
---|
4939 | void __RPC_STUB IWineD3DBaseTexture_GetLevelCount_Stub(
|
---|
4940 | IRpcStubBuffer* This,
|
---|
4941 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4942 | PRPC_MESSAGE pRpcMessage,
|
---|
4943 | DWORD* pdwStubPhase);
|
---|
4944 | HRESULT STDMETHODCALLTYPE IWineD3DBaseTexture_SetAutoGenFilterType_Proxy(
|
---|
4945 | IWineD3DBaseTexture* This,
|
---|
4946 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
4947 | void __RPC_STUB IWineD3DBaseTexture_SetAutoGenFilterType_Stub(
|
---|
4948 | IRpcStubBuffer* This,
|
---|
4949 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4950 | PRPC_MESSAGE pRpcMessage,
|
---|
4951 | DWORD* pdwStubPhase);
|
---|
4952 | WINED3DTEXTUREFILTERTYPE STDMETHODCALLTYPE IWineD3DBaseTexture_GetAutoGenFilterType_Proxy(
|
---|
4953 | IWineD3DBaseTexture* This);
|
---|
4954 | void __RPC_STUB IWineD3DBaseTexture_GetAutoGenFilterType_Stub(
|
---|
4955 | IRpcStubBuffer* This,
|
---|
4956 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4957 | PRPC_MESSAGE pRpcMessage,
|
---|
4958 | DWORD* pdwStubPhase);
|
---|
4959 | void STDMETHODCALLTYPE IWineD3DBaseTexture_GenerateMipSubLevels_Proxy(
|
---|
4960 | IWineD3DBaseTexture* This);
|
---|
4961 | void __RPC_STUB IWineD3DBaseTexture_GenerateMipSubLevels_Stub(
|
---|
4962 | IRpcStubBuffer* This,
|
---|
4963 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4964 | PRPC_MESSAGE pRpcMessage,
|
---|
4965 | DWORD* pdwStubPhase);
|
---|
4966 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_SetDirty_Proxy(
|
---|
4967 | IWineD3DBaseTexture* This,
|
---|
4968 | BOOL dirty);
|
---|
4969 | void __RPC_STUB IWineD3DBaseTexture_SetDirty_Stub(
|
---|
4970 | IRpcStubBuffer* This,
|
---|
4971 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4972 | PRPC_MESSAGE pRpcMessage,
|
---|
4973 | DWORD* pdwStubPhase);
|
---|
4974 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_GetDirty_Proxy(
|
---|
4975 | IWineD3DBaseTexture* This);
|
---|
4976 | void __RPC_STUB IWineD3DBaseTexture_GetDirty_Stub(
|
---|
4977 | IRpcStubBuffer* This,
|
---|
4978 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4979 | PRPC_MESSAGE pRpcMessage,
|
---|
4980 | DWORD* pdwStubPhase);
|
---|
4981 | HRESULT STDMETHODCALLTYPE IWineD3DBaseTexture_BindTexture_Proxy(
|
---|
4982 | IWineD3DBaseTexture* This,
|
---|
4983 | BOOL srgb);
|
---|
4984 | void __RPC_STUB IWineD3DBaseTexture_BindTexture_Stub(
|
---|
4985 | IRpcStubBuffer* This,
|
---|
4986 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4987 | PRPC_MESSAGE pRpcMessage,
|
---|
4988 | DWORD* pdwStubPhase);
|
---|
4989 | UINT STDMETHODCALLTYPE IWineD3DBaseTexture_GetTextureDimensions_Proxy(
|
---|
4990 | IWineD3DBaseTexture* This);
|
---|
4991 | void __RPC_STUB IWineD3DBaseTexture_GetTextureDimensions_Stub(
|
---|
4992 | IRpcStubBuffer* This,
|
---|
4993 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4994 | PRPC_MESSAGE pRpcMessage,
|
---|
4995 | DWORD* pdwStubPhase);
|
---|
4996 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_IsCondNP2_Proxy(
|
---|
4997 | IWineD3DBaseTexture* This);
|
---|
4998 | void __RPC_STUB IWineD3DBaseTexture_IsCondNP2_Stub(
|
---|
4999 | IRpcStubBuffer* This,
|
---|
5000 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5001 | PRPC_MESSAGE pRpcMessage,
|
---|
5002 | DWORD* pdwStubPhase);
|
---|
5003 |
|
---|
5004 | #endif /* __IWineD3DBaseTexture_INTERFACE_DEFINED__ */
|
---|
5005 |
|
---|
5006 | /*****************************************************************************
|
---|
5007 | * IWineD3DTexture interface
|
---|
5008 | */
|
---|
5009 | #ifndef __IWineD3DTexture_INTERFACE_DEFINED__
|
---|
5010 | #define __IWineD3DTexture_INTERFACE_DEFINED__
|
---|
5011 |
|
---|
5012 | DEFINE_GUID(IID_IWineD3DTexture, 0x3e72cc1c, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5013 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5014 | interface IWineD3DTexture : public IWineD3DBaseTexture
|
---|
5015 | {
|
---|
5016 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5017 | UINT level,
|
---|
5018 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
5019 |
|
---|
5020 | virtual HRESULT STDMETHODCALLTYPE GetSurfaceLevel(
|
---|
5021 | UINT level,
|
---|
5022 | IWineD3DSurface **surface) = 0;
|
---|
5023 |
|
---|
5024 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
5025 | UINT level,
|
---|
5026 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5027 | const RECT *rect,
|
---|
5028 | DWORD flags) = 0;
|
---|
5029 |
|
---|
5030 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
5031 | UINT level) = 0;
|
---|
5032 |
|
---|
5033 | virtual HRESULT STDMETHODCALLTYPE AddDirtyRect(
|
---|
5034 | const RECT *dirty_rect) = 0;
|
---|
5035 |
|
---|
5036 | };
|
---|
5037 | #else
|
---|
5038 | typedef struct IWineD3DTextureVtbl {
|
---|
5039 | BEGIN_INTERFACE
|
---|
5040 |
|
---|
5041 | /*** IUnknown methods ***/
|
---|
5042 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5043 | IWineD3DTexture* This,
|
---|
5044 | REFIID riid,
|
---|
5045 | void **ppvObject);
|
---|
5046 |
|
---|
5047 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5048 | IWineD3DTexture* This);
|
---|
5049 |
|
---|
5050 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5051 | IWineD3DTexture* This);
|
---|
5052 |
|
---|
5053 | /*** IWineD3DBase methods ***/
|
---|
5054 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5055 | IWineD3DTexture* This,
|
---|
5056 | IUnknown **parent);
|
---|
5057 |
|
---|
5058 | /*** IWineD3DResource methods ***/
|
---|
5059 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5060 | IWineD3DTexture* This,
|
---|
5061 | REFGUID guid,
|
---|
5062 | const void *data,
|
---|
5063 | DWORD data_size,
|
---|
5064 | DWORD flags);
|
---|
5065 |
|
---|
5066 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5067 | IWineD3DTexture* This,
|
---|
5068 | REFGUID guid,
|
---|
5069 | void *data,
|
---|
5070 | DWORD *data_size);
|
---|
5071 |
|
---|
5072 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5073 | IWineD3DTexture* This,
|
---|
5074 | REFGUID guid);
|
---|
5075 |
|
---|
5076 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5077 | IWineD3DTexture* This,
|
---|
5078 | DWORD new_priority);
|
---|
5079 |
|
---|
5080 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5081 | IWineD3DTexture* This);
|
---|
5082 |
|
---|
5083 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5084 | IWineD3DTexture* This);
|
---|
5085 |
|
---|
5086 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5087 | IWineD3DTexture* This);
|
---|
5088 |
|
---|
5089 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5090 | IWineD3DTexture* This);
|
---|
5091 |
|
---|
5092 | /*** IWineD3DBaseTexture methods ***/
|
---|
5093 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5094 | IWineD3DTexture* This,
|
---|
5095 | DWORD new_lod);
|
---|
5096 |
|
---|
5097 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5098 | IWineD3DTexture* This);
|
---|
5099 |
|
---|
5100 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5101 | IWineD3DTexture* This);
|
---|
5102 |
|
---|
5103 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5104 | IWineD3DTexture* This,
|
---|
5105 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5106 |
|
---|
5107 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5108 | IWineD3DTexture* This);
|
---|
5109 |
|
---|
5110 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5111 | IWineD3DTexture* This);
|
---|
5112 |
|
---|
5113 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5114 | IWineD3DTexture* This,
|
---|
5115 | BOOL dirty);
|
---|
5116 |
|
---|
5117 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5118 | IWineD3DTexture* This);
|
---|
5119 |
|
---|
5120 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5121 | IWineD3DTexture* This,
|
---|
5122 | BOOL srgb);
|
---|
5123 |
|
---|
5124 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5125 | IWineD3DTexture* This);
|
---|
5126 |
|
---|
5127 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5128 | IWineD3DTexture* This);
|
---|
5129 |
|
---|
5130 | /*** IWineD3DTexture methods ***/
|
---|
5131 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5132 | IWineD3DTexture* This,
|
---|
5133 | UINT level,
|
---|
5134 | WINED3DSURFACE_DESC *desc);
|
---|
5135 |
|
---|
5136 | HRESULT (STDMETHODCALLTYPE *GetSurfaceLevel)(
|
---|
5137 | IWineD3DTexture* This,
|
---|
5138 | UINT level,
|
---|
5139 | IWineD3DSurface **surface);
|
---|
5140 |
|
---|
5141 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
5142 | IWineD3DTexture* This,
|
---|
5143 | UINT level,
|
---|
5144 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5145 | const RECT *rect,
|
---|
5146 | DWORD flags);
|
---|
5147 |
|
---|
5148 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
5149 | IWineD3DTexture* This,
|
---|
5150 | UINT level);
|
---|
5151 |
|
---|
5152 | HRESULT (STDMETHODCALLTYPE *AddDirtyRect)(
|
---|
5153 | IWineD3DTexture* This,
|
---|
5154 | const RECT *dirty_rect);
|
---|
5155 |
|
---|
5156 | END_INTERFACE
|
---|
5157 | } IWineD3DTextureVtbl;
|
---|
5158 | interface IWineD3DTexture {
|
---|
5159 | CONST_VTBL IWineD3DTextureVtbl* lpVtbl;
|
---|
5160 | };
|
---|
5161 |
|
---|
5162 | #ifdef COBJMACROS
|
---|
5163 | /*** IUnknown methods ***/
|
---|
5164 | #define IWineD3DTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5165 | #define IWineD3DTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5166 | #define IWineD3DTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5167 | /*** IWineD3DBase methods ***/
|
---|
5168 | #define IWineD3DTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5169 | /*** IWineD3DResource methods ***/
|
---|
5170 | #define IWineD3DTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5171 | #define IWineD3DTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5172 | #define IWineD3DTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5173 | #define IWineD3DTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5174 | #define IWineD3DTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5175 | #define IWineD3DTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5176 | #define IWineD3DTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5177 | #define IWineD3DTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5178 | /*** IWineD3DBaseTexture methods ***/
|
---|
5179 | #define IWineD3DTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5180 | #define IWineD3DTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5181 | #define IWineD3DTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5182 | #define IWineD3DTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5183 | #define IWineD3DTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5184 | #define IWineD3DTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5185 | #define IWineD3DTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5186 | #define IWineD3DTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5187 | #define IWineD3DTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5188 | #define IWineD3DTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5189 | #define IWineD3DTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5190 | /*** IWineD3DTexture methods ***/
|
---|
5191 | #define IWineD3DTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5192 | #define IWineD3DTexture_GetSurfaceLevel(This,level,surface) (This)->lpVtbl->GetSurfaceLevel(This,level,surface)
|
---|
5193 | #define IWineD3DTexture_LockRect(This,level,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,level,locked_rect,rect,flags)
|
---|
5194 | #define IWineD3DTexture_UnlockRect(This,level) (This)->lpVtbl->UnlockRect(This,level)
|
---|
5195 | #define IWineD3DTexture_AddDirtyRect(This,dirty_rect) (This)->lpVtbl->AddDirtyRect(This,dirty_rect)
|
---|
5196 | #endif
|
---|
5197 |
|
---|
5198 | #endif
|
---|
5199 |
|
---|
5200 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetLevelDesc_Proxy(
|
---|
5201 | IWineD3DTexture* This,
|
---|
5202 | UINT level,
|
---|
5203 | WINED3DSURFACE_DESC *desc);
|
---|
5204 | void __RPC_STUB IWineD3DTexture_GetLevelDesc_Stub(
|
---|
5205 | IRpcStubBuffer* This,
|
---|
5206 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5207 | PRPC_MESSAGE pRpcMessage,
|
---|
5208 | DWORD* pdwStubPhase);
|
---|
5209 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetSurfaceLevel_Proxy(
|
---|
5210 | IWineD3DTexture* This,
|
---|
5211 | UINT level,
|
---|
5212 | IWineD3DSurface **surface);
|
---|
5213 | void __RPC_STUB IWineD3DTexture_GetSurfaceLevel_Stub(
|
---|
5214 | IRpcStubBuffer* This,
|
---|
5215 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5216 | PRPC_MESSAGE pRpcMessage,
|
---|
5217 | DWORD* pdwStubPhase);
|
---|
5218 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_LockRect_Proxy(
|
---|
5219 | IWineD3DTexture* This,
|
---|
5220 | UINT level,
|
---|
5221 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5222 | const RECT *rect,
|
---|
5223 | DWORD flags);
|
---|
5224 | void __RPC_STUB IWineD3DTexture_LockRect_Stub(
|
---|
5225 | IRpcStubBuffer* This,
|
---|
5226 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5227 | PRPC_MESSAGE pRpcMessage,
|
---|
5228 | DWORD* pdwStubPhase);
|
---|
5229 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_UnlockRect_Proxy(
|
---|
5230 | IWineD3DTexture* This,
|
---|
5231 | UINT level);
|
---|
5232 | void __RPC_STUB IWineD3DTexture_UnlockRect_Stub(
|
---|
5233 | IRpcStubBuffer* This,
|
---|
5234 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5235 | PRPC_MESSAGE pRpcMessage,
|
---|
5236 | DWORD* pdwStubPhase);
|
---|
5237 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_AddDirtyRect_Proxy(
|
---|
5238 | IWineD3DTexture* This,
|
---|
5239 | const RECT *dirty_rect);
|
---|
5240 | void __RPC_STUB IWineD3DTexture_AddDirtyRect_Stub(
|
---|
5241 | IRpcStubBuffer* This,
|
---|
5242 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5243 | PRPC_MESSAGE pRpcMessage,
|
---|
5244 | DWORD* pdwStubPhase);
|
---|
5245 |
|
---|
5246 | #endif /* __IWineD3DTexture_INTERFACE_DEFINED__ */
|
---|
5247 |
|
---|
5248 | /*****************************************************************************
|
---|
5249 | * IWineD3DCubeTexture interface
|
---|
5250 | */
|
---|
5251 | #ifndef __IWineD3DCubeTexture_INTERFACE_DEFINED__
|
---|
5252 | #define __IWineD3DCubeTexture_INTERFACE_DEFINED__
|
---|
5253 |
|
---|
5254 | DEFINE_GUID(IID_IWineD3DCubeTexture, 0x41752900, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5255 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5256 | interface IWineD3DCubeTexture : public IWineD3DBaseTexture
|
---|
5257 | {
|
---|
5258 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5259 | UINT level,
|
---|
5260 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
5261 |
|
---|
5262 | virtual HRESULT STDMETHODCALLTYPE GetCubeMapSurface(
|
---|
5263 | WINED3DCUBEMAP_FACES face,
|
---|
5264 | UINT level,
|
---|
5265 | IWineD3DSurface **surface) = 0;
|
---|
5266 |
|
---|
5267 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
5268 | WINED3DCUBEMAP_FACES face,
|
---|
5269 | UINT level,
|
---|
5270 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5271 | const RECT *rect,
|
---|
5272 | DWORD flags) = 0;
|
---|
5273 |
|
---|
5274 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
5275 | WINED3DCUBEMAP_FACES face,
|
---|
5276 | UINT level) = 0;
|
---|
5277 |
|
---|
5278 | virtual HRESULT STDMETHODCALLTYPE AddDirtyRect(
|
---|
5279 | WINED3DCUBEMAP_FACES face,
|
---|
5280 | const RECT *dirty_rect) = 0;
|
---|
5281 |
|
---|
5282 | };
|
---|
5283 | #else
|
---|
5284 | typedef struct IWineD3DCubeTextureVtbl {
|
---|
5285 | BEGIN_INTERFACE
|
---|
5286 |
|
---|
5287 | /*** IUnknown methods ***/
|
---|
5288 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5289 | IWineD3DCubeTexture* This,
|
---|
5290 | REFIID riid,
|
---|
5291 | void **ppvObject);
|
---|
5292 |
|
---|
5293 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5294 | IWineD3DCubeTexture* This);
|
---|
5295 |
|
---|
5296 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5297 | IWineD3DCubeTexture* This);
|
---|
5298 |
|
---|
5299 | /*** IWineD3DBase methods ***/
|
---|
5300 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5301 | IWineD3DCubeTexture* This,
|
---|
5302 | IUnknown **parent);
|
---|
5303 |
|
---|
5304 | /*** IWineD3DResource methods ***/
|
---|
5305 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5306 | IWineD3DCubeTexture* This,
|
---|
5307 | REFGUID guid,
|
---|
5308 | const void *data,
|
---|
5309 | DWORD data_size,
|
---|
5310 | DWORD flags);
|
---|
5311 |
|
---|
5312 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5313 | IWineD3DCubeTexture* This,
|
---|
5314 | REFGUID guid,
|
---|
5315 | void *data,
|
---|
5316 | DWORD *data_size);
|
---|
5317 |
|
---|
5318 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5319 | IWineD3DCubeTexture* This,
|
---|
5320 | REFGUID guid);
|
---|
5321 |
|
---|
5322 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5323 | IWineD3DCubeTexture* This,
|
---|
5324 | DWORD new_priority);
|
---|
5325 |
|
---|
5326 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5327 | IWineD3DCubeTexture* This);
|
---|
5328 |
|
---|
5329 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5330 | IWineD3DCubeTexture* This);
|
---|
5331 |
|
---|
5332 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5333 | IWineD3DCubeTexture* This);
|
---|
5334 |
|
---|
5335 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5336 | IWineD3DCubeTexture* This);
|
---|
5337 |
|
---|
5338 | /*** IWineD3DBaseTexture methods ***/
|
---|
5339 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5340 | IWineD3DCubeTexture* This,
|
---|
5341 | DWORD new_lod);
|
---|
5342 |
|
---|
5343 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5344 | IWineD3DCubeTexture* This);
|
---|
5345 |
|
---|
5346 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5347 | IWineD3DCubeTexture* This);
|
---|
5348 |
|
---|
5349 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5350 | IWineD3DCubeTexture* This,
|
---|
5351 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5352 |
|
---|
5353 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5354 | IWineD3DCubeTexture* This);
|
---|
5355 |
|
---|
5356 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5357 | IWineD3DCubeTexture* This);
|
---|
5358 |
|
---|
5359 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5360 | IWineD3DCubeTexture* This,
|
---|
5361 | BOOL dirty);
|
---|
5362 |
|
---|
5363 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5364 | IWineD3DCubeTexture* This);
|
---|
5365 |
|
---|
5366 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5367 | IWineD3DCubeTexture* This,
|
---|
5368 | BOOL srgb);
|
---|
5369 |
|
---|
5370 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5371 | IWineD3DCubeTexture* This);
|
---|
5372 |
|
---|
5373 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5374 | IWineD3DCubeTexture* This);
|
---|
5375 |
|
---|
5376 | /*** IWineD3DCubeTexture methods ***/
|
---|
5377 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5378 | IWineD3DCubeTexture* This,
|
---|
5379 | UINT level,
|
---|
5380 | WINED3DSURFACE_DESC *desc);
|
---|
5381 |
|
---|
5382 | HRESULT (STDMETHODCALLTYPE *GetCubeMapSurface)(
|
---|
5383 | IWineD3DCubeTexture* This,
|
---|
5384 | WINED3DCUBEMAP_FACES face,
|
---|
5385 | UINT level,
|
---|
5386 | IWineD3DSurface **surface);
|
---|
5387 |
|
---|
5388 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
5389 | IWineD3DCubeTexture* This,
|
---|
5390 | WINED3DCUBEMAP_FACES face,
|
---|
5391 | UINT level,
|
---|
5392 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5393 | const RECT *rect,
|
---|
5394 | DWORD flags);
|
---|
5395 |
|
---|
5396 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
5397 | IWineD3DCubeTexture* This,
|
---|
5398 | WINED3DCUBEMAP_FACES face,
|
---|
5399 | UINT level);
|
---|
5400 |
|
---|
5401 | HRESULT (STDMETHODCALLTYPE *AddDirtyRect)(
|
---|
5402 | IWineD3DCubeTexture* This,
|
---|
5403 | WINED3DCUBEMAP_FACES face,
|
---|
5404 | const RECT *dirty_rect);
|
---|
5405 |
|
---|
5406 | END_INTERFACE
|
---|
5407 | } IWineD3DCubeTextureVtbl;
|
---|
5408 | interface IWineD3DCubeTexture {
|
---|
5409 | CONST_VTBL IWineD3DCubeTextureVtbl* lpVtbl;
|
---|
5410 | };
|
---|
5411 |
|
---|
5412 | #ifdef COBJMACROS
|
---|
5413 | /*** IUnknown methods ***/
|
---|
5414 | #define IWineD3DCubeTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5415 | #define IWineD3DCubeTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5416 | #define IWineD3DCubeTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5417 | /*** IWineD3DBase methods ***/
|
---|
5418 | #define IWineD3DCubeTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5419 | /*** IWineD3DResource methods ***/
|
---|
5420 | #define IWineD3DCubeTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5421 | #define IWineD3DCubeTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5422 | #define IWineD3DCubeTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5423 | #define IWineD3DCubeTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5424 | #define IWineD3DCubeTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5425 | #define IWineD3DCubeTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5426 | #define IWineD3DCubeTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5427 | #define IWineD3DCubeTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5428 | /*** IWineD3DBaseTexture methods ***/
|
---|
5429 | #define IWineD3DCubeTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5430 | #define IWineD3DCubeTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5431 | #define IWineD3DCubeTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5432 | #define IWineD3DCubeTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5433 | #define IWineD3DCubeTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5434 | #define IWineD3DCubeTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5435 | #define IWineD3DCubeTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5436 | #define IWineD3DCubeTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5437 | #define IWineD3DCubeTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5438 | #define IWineD3DCubeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5439 | #define IWineD3DCubeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5440 | /*** IWineD3DCubeTexture methods ***/
|
---|
5441 | #define IWineD3DCubeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5442 | #define IWineD3DCubeTexture_GetCubeMapSurface(This,face,level,surface) (This)->lpVtbl->GetCubeMapSurface(This,face,level,surface)
|
---|
5443 | #define IWineD3DCubeTexture_LockRect(This,face,level,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,face,level,locked_rect,rect,flags)
|
---|
5444 | #define IWineD3DCubeTexture_UnlockRect(This,face,level) (This)->lpVtbl->UnlockRect(This,face,level)
|
---|
5445 | #define IWineD3DCubeTexture_AddDirtyRect(This,face,dirty_rect) (This)->lpVtbl->AddDirtyRect(This,face,dirty_rect)
|
---|
5446 | #endif
|
---|
5447 |
|
---|
5448 | #endif
|
---|
5449 |
|
---|
5450 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetLevelDesc_Proxy(
|
---|
5451 | IWineD3DCubeTexture* This,
|
---|
5452 | UINT level,
|
---|
5453 | WINED3DSURFACE_DESC *desc);
|
---|
5454 | void __RPC_STUB IWineD3DCubeTexture_GetLevelDesc_Stub(
|
---|
5455 | IRpcStubBuffer* This,
|
---|
5456 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5457 | PRPC_MESSAGE pRpcMessage,
|
---|
5458 | DWORD* pdwStubPhase);
|
---|
5459 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetCubeMapSurface_Proxy(
|
---|
5460 | IWineD3DCubeTexture* This,
|
---|
5461 | WINED3DCUBEMAP_FACES face,
|
---|
5462 | UINT level,
|
---|
5463 | IWineD3DSurface **surface);
|
---|
5464 | void __RPC_STUB IWineD3DCubeTexture_GetCubeMapSurface_Stub(
|
---|
5465 | IRpcStubBuffer* This,
|
---|
5466 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5467 | PRPC_MESSAGE pRpcMessage,
|
---|
5468 | DWORD* pdwStubPhase);
|
---|
5469 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_LockRect_Proxy(
|
---|
5470 | IWineD3DCubeTexture* This,
|
---|
5471 | WINED3DCUBEMAP_FACES face,
|
---|
5472 | UINT level,
|
---|
5473 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5474 | const RECT *rect,
|
---|
5475 | DWORD flags);
|
---|
5476 | void __RPC_STUB IWineD3DCubeTexture_LockRect_Stub(
|
---|
5477 | IRpcStubBuffer* This,
|
---|
5478 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5479 | PRPC_MESSAGE pRpcMessage,
|
---|
5480 | DWORD* pdwStubPhase);
|
---|
5481 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_UnlockRect_Proxy(
|
---|
5482 | IWineD3DCubeTexture* This,
|
---|
5483 | WINED3DCUBEMAP_FACES face,
|
---|
5484 | UINT level);
|
---|
5485 | void __RPC_STUB IWineD3DCubeTexture_UnlockRect_Stub(
|
---|
5486 | IRpcStubBuffer* This,
|
---|
5487 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5488 | PRPC_MESSAGE pRpcMessage,
|
---|
5489 | DWORD* pdwStubPhase);
|
---|
5490 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_AddDirtyRect_Proxy(
|
---|
5491 | IWineD3DCubeTexture* This,
|
---|
5492 | WINED3DCUBEMAP_FACES face,
|
---|
5493 | const RECT *dirty_rect);
|
---|
5494 | void __RPC_STUB IWineD3DCubeTexture_AddDirtyRect_Stub(
|
---|
5495 | IRpcStubBuffer* This,
|
---|
5496 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5497 | PRPC_MESSAGE pRpcMessage,
|
---|
5498 | DWORD* pdwStubPhase);
|
---|
5499 |
|
---|
5500 | #endif /* __IWineD3DCubeTexture_INTERFACE_DEFINED__ */
|
---|
5501 |
|
---|
5502 | /*****************************************************************************
|
---|
5503 | * IWineD3DVolumeTexture interface
|
---|
5504 | */
|
---|
5505 | #ifndef __IWineD3DVolumeTexture_INTERFACE_DEFINED__
|
---|
5506 | #define __IWineD3DVolumeTexture_INTERFACE_DEFINED__
|
---|
5507 |
|
---|
5508 | DEFINE_GUID(IID_IWineD3DVolumeTexture, 0x7b39470c, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5509 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5510 | interface IWineD3DVolumeTexture : public IWineD3DBaseTexture
|
---|
5511 | {
|
---|
5512 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5513 | UINT level,
|
---|
5514 | WINED3DVOLUME_DESC *desc) = 0;
|
---|
5515 |
|
---|
5516 | virtual HRESULT STDMETHODCALLTYPE GetVolumeLevel(
|
---|
5517 | UINT level,
|
---|
5518 | IWineD3DVolume **volume) = 0;
|
---|
5519 |
|
---|
5520 | virtual HRESULT STDMETHODCALLTYPE LockBox(
|
---|
5521 | UINT level,
|
---|
5522 | WINED3DLOCKED_BOX *locked_box,
|
---|
5523 | const WINED3DBOX *box,
|
---|
5524 | DWORD flags) = 0;
|
---|
5525 |
|
---|
5526 | virtual HRESULT STDMETHODCALLTYPE UnlockBox(
|
---|
5527 | UINT level) = 0;
|
---|
5528 |
|
---|
5529 | virtual HRESULT STDMETHODCALLTYPE AddDirtyBox(
|
---|
5530 | const WINED3DBOX *dirty_box) = 0;
|
---|
5531 |
|
---|
5532 | };
|
---|
5533 | #else
|
---|
5534 | typedef struct IWineD3DVolumeTextureVtbl {
|
---|
5535 | BEGIN_INTERFACE
|
---|
5536 |
|
---|
5537 | /*** IUnknown methods ***/
|
---|
5538 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5539 | IWineD3DVolumeTexture* This,
|
---|
5540 | REFIID riid,
|
---|
5541 | void **ppvObject);
|
---|
5542 |
|
---|
5543 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5544 | IWineD3DVolumeTexture* This);
|
---|
5545 |
|
---|
5546 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5547 | IWineD3DVolumeTexture* This);
|
---|
5548 |
|
---|
5549 | /*** IWineD3DBase methods ***/
|
---|
5550 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5551 | IWineD3DVolumeTexture* This,
|
---|
5552 | IUnknown **parent);
|
---|
5553 |
|
---|
5554 | /*** IWineD3DResource methods ***/
|
---|
5555 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5556 | IWineD3DVolumeTexture* This,
|
---|
5557 | REFGUID guid,
|
---|
5558 | const void *data,
|
---|
5559 | DWORD data_size,
|
---|
5560 | DWORD flags);
|
---|
5561 |
|
---|
5562 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5563 | IWineD3DVolumeTexture* This,
|
---|
5564 | REFGUID guid,
|
---|
5565 | void *data,
|
---|
5566 | DWORD *data_size);
|
---|
5567 |
|
---|
5568 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5569 | IWineD3DVolumeTexture* This,
|
---|
5570 | REFGUID guid);
|
---|
5571 |
|
---|
5572 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5573 | IWineD3DVolumeTexture* This,
|
---|
5574 | DWORD new_priority);
|
---|
5575 |
|
---|
5576 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5577 | IWineD3DVolumeTexture* This);
|
---|
5578 |
|
---|
5579 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5580 | IWineD3DVolumeTexture* This);
|
---|
5581 |
|
---|
5582 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5583 | IWineD3DVolumeTexture* This);
|
---|
5584 |
|
---|
5585 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5586 | IWineD3DVolumeTexture* This);
|
---|
5587 |
|
---|
5588 | /*** IWineD3DBaseTexture methods ***/
|
---|
5589 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5590 | IWineD3DVolumeTexture* This,
|
---|
5591 | DWORD new_lod);
|
---|
5592 |
|
---|
5593 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5594 | IWineD3DVolumeTexture* This);
|
---|
5595 |
|
---|
5596 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5597 | IWineD3DVolumeTexture* This);
|
---|
5598 |
|
---|
5599 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5600 | IWineD3DVolumeTexture* This,
|
---|
5601 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5602 |
|
---|
5603 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5604 | IWineD3DVolumeTexture* This);
|
---|
5605 |
|
---|
5606 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5607 | IWineD3DVolumeTexture* This);
|
---|
5608 |
|
---|
5609 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5610 | IWineD3DVolumeTexture* This,
|
---|
5611 | BOOL dirty);
|
---|
5612 |
|
---|
5613 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5614 | IWineD3DVolumeTexture* This);
|
---|
5615 |
|
---|
5616 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5617 | IWineD3DVolumeTexture* This,
|
---|
5618 | BOOL srgb);
|
---|
5619 |
|
---|
5620 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5621 | IWineD3DVolumeTexture* This);
|
---|
5622 |
|
---|
5623 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5624 | IWineD3DVolumeTexture* This);
|
---|
5625 |
|
---|
5626 | /*** IWineD3DVolumeTexture methods ***/
|
---|
5627 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5628 | IWineD3DVolumeTexture* This,
|
---|
5629 | UINT level,
|
---|
5630 | WINED3DVOLUME_DESC *desc);
|
---|
5631 |
|
---|
5632 | HRESULT (STDMETHODCALLTYPE *GetVolumeLevel)(
|
---|
5633 | IWineD3DVolumeTexture* This,
|
---|
5634 | UINT level,
|
---|
5635 | IWineD3DVolume **volume);
|
---|
5636 |
|
---|
5637 | HRESULT (STDMETHODCALLTYPE *LockBox)(
|
---|
5638 | IWineD3DVolumeTexture* This,
|
---|
5639 | UINT level,
|
---|
5640 | WINED3DLOCKED_BOX *locked_box,
|
---|
5641 | const WINED3DBOX *box,
|
---|
5642 | DWORD flags);
|
---|
5643 |
|
---|
5644 | HRESULT (STDMETHODCALLTYPE *UnlockBox)(
|
---|
5645 | IWineD3DVolumeTexture* This,
|
---|
5646 | UINT level);
|
---|
5647 |
|
---|
5648 | HRESULT (STDMETHODCALLTYPE *AddDirtyBox)(
|
---|
5649 | IWineD3DVolumeTexture* This,
|
---|
5650 | const WINED3DBOX *dirty_box);
|
---|
5651 |
|
---|
5652 | END_INTERFACE
|
---|
5653 | } IWineD3DVolumeTextureVtbl;
|
---|
5654 | interface IWineD3DVolumeTexture {
|
---|
5655 | CONST_VTBL IWineD3DVolumeTextureVtbl* lpVtbl;
|
---|
5656 | };
|
---|
5657 |
|
---|
5658 | #ifdef COBJMACROS
|
---|
5659 | /*** IUnknown methods ***/
|
---|
5660 | #define IWineD3DVolumeTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5661 | #define IWineD3DVolumeTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5662 | #define IWineD3DVolumeTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5663 | /*** IWineD3DBase methods ***/
|
---|
5664 | #define IWineD3DVolumeTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5665 | /*** IWineD3DResource methods ***/
|
---|
5666 | #define IWineD3DVolumeTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5667 | #define IWineD3DVolumeTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5668 | #define IWineD3DVolumeTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5669 | #define IWineD3DVolumeTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5670 | #define IWineD3DVolumeTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5671 | #define IWineD3DVolumeTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5672 | #define IWineD3DVolumeTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5673 | #define IWineD3DVolumeTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5674 | /*** IWineD3DBaseTexture methods ***/
|
---|
5675 | #define IWineD3DVolumeTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5676 | #define IWineD3DVolumeTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5677 | #define IWineD3DVolumeTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5678 | #define IWineD3DVolumeTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5679 | #define IWineD3DVolumeTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5680 | #define IWineD3DVolumeTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5681 | #define IWineD3DVolumeTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5682 | #define IWineD3DVolumeTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5683 | #define IWineD3DVolumeTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5684 | #define IWineD3DVolumeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5685 | #define IWineD3DVolumeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5686 | /*** IWineD3DVolumeTexture methods ***/
|
---|
5687 | #define IWineD3DVolumeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5688 | #define IWineD3DVolumeTexture_GetVolumeLevel(This,level,volume) (This)->lpVtbl->GetVolumeLevel(This,level,volume)
|
---|
5689 | #define IWineD3DVolumeTexture_LockBox(This,level,locked_box,box,flags) (This)->lpVtbl->LockBox(This,level,locked_box,box,flags)
|
---|
5690 | #define IWineD3DVolumeTexture_UnlockBox(This,level) (This)->lpVtbl->UnlockBox(This,level)
|
---|
5691 | #define IWineD3DVolumeTexture_AddDirtyBox(This,dirty_box) (This)->lpVtbl->AddDirtyBox(This,dirty_box)
|
---|
5692 | #endif
|
---|
5693 |
|
---|
5694 | #endif
|
---|
5695 |
|
---|
5696 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetLevelDesc_Proxy(
|
---|
5697 | IWineD3DVolumeTexture* This,
|
---|
5698 | UINT level,
|
---|
5699 | WINED3DVOLUME_DESC *desc);
|
---|
5700 | void __RPC_STUB IWineD3DVolumeTexture_GetLevelDesc_Stub(
|
---|
5701 | IRpcStubBuffer* This,
|
---|
5702 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5703 | PRPC_MESSAGE pRpcMessage,
|
---|
5704 | DWORD* pdwStubPhase);
|
---|
5705 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetVolumeLevel_Proxy(
|
---|
5706 | IWineD3DVolumeTexture* This,
|
---|
5707 | UINT level,
|
---|
5708 | IWineD3DVolume **volume);
|
---|
5709 | void __RPC_STUB IWineD3DVolumeTexture_GetVolumeLevel_Stub(
|
---|
5710 | IRpcStubBuffer* This,
|
---|
5711 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5712 | PRPC_MESSAGE pRpcMessage,
|
---|
5713 | DWORD* pdwStubPhase);
|
---|
5714 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_LockBox_Proxy(
|
---|
5715 | IWineD3DVolumeTexture* This,
|
---|
5716 | UINT level,
|
---|
5717 | WINED3DLOCKED_BOX *locked_box,
|
---|
5718 | const WINED3DBOX *box,
|
---|
5719 | DWORD flags);
|
---|
5720 | void __RPC_STUB IWineD3DVolumeTexture_LockBox_Stub(
|
---|
5721 | IRpcStubBuffer* This,
|
---|
5722 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5723 | PRPC_MESSAGE pRpcMessage,
|
---|
5724 | DWORD* pdwStubPhase);
|
---|
5725 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_UnlockBox_Proxy(
|
---|
5726 | IWineD3DVolumeTexture* This,
|
---|
5727 | UINT level);
|
---|
5728 | void __RPC_STUB IWineD3DVolumeTexture_UnlockBox_Stub(
|
---|
5729 | IRpcStubBuffer* This,
|
---|
5730 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5731 | PRPC_MESSAGE pRpcMessage,
|
---|
5732 | DWORD* pdwStubPhase);
|
---|
5733 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_AddDirtyBox_Proxy(
|
---|
5734 | IWineD3DVolumeTexture* This,
|
---|
5735 | const WINED3DBOX *dirty_box);
|
---|
5736 | void __RPC_STUB IWineD3DVolumeTexture_AddDirtyBox_Stub(
|
---|
5737 | IRpcStubBuffer* This,
|
---|
5738 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5739 | PRPC_MESSAGE pRpcMessage,
|
---|
5740 | DWORD* pdwStubPhase);
|
---|
5741 |
|
---|
5742 | #endif /* __IWineD3DVolumeTexture_INTERFACE_DEFINED__ */
|
---|
5743 |
|
---|
5744 | /*****************************************************************************
|
---|
5745 | * IWineD3DVertexDeclaration interface
|
---|
5746 | */
|
---|
5747 | #ifndef __IWineD3DVertexDeclaration_INTERFACE_DEFINED__
|
---|
5748 | #define __IWineD3DVertexDeclaration_INTERFACE_DEFINED__
|
---|
5749 |
|
---|
5750 | DEFINE_GUID(IID_IWineD3DVertexDeclaration, 0x7cd55be6, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5751 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5752 | interface IWineD3DVertexDeclaration : public IWineD3DBase
|
---|
5753 | {
|
---|
5754 | };
|
---|
5755 | #else
|
---|
5756 | typedef struct IWineD3DVertexDeclarationVtbl {
|
---|
5757 | BEGIN_INTERFACE
|
---|
5758 |
|
---|
5759 | /*** IUnknown methods ***/
|
---|
5760 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5761 | IWineD3DVertexDeclaration* This,
|
---|
5762 | REFIID riid,
|
---|
5763 | void **ppvObject);
|
---|
5764 |
|
---|
5765 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5766 | IWineD3DVertexDeclaration* This);
|
---|
5767 |
|
---|
5768 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5769 | IWineD3DVertexDeclaration* This);
|
---|
5770 |
|
---|
5771 | /*** IWineD3DBase methods ***/
|
---|
5772 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5773 | IWineD3DVertexDeclaration* This,
|
---|
5774 | IUnknown **parent);
|
---|
5775 |
|
---|
5776 | END_INTERFACE
|
---|
5777 | } IWineD3DVertexDeclarationVtbl;
|
---|
5778 | interface IWineD3DVertexDeclaration {
|
---|
5779 | CONST_VTBL IWineD3DVertexDeclarationVtbl* lpVtbl;
|
---|
5780 | };
|
---|
5781 |
|
---|
5782 | #ifdef COBJMACROS
|
---|
5783 | /*** IUnknown methods ***/
|
---|
5784 | #define IWineD3DVertexDeclaration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5785 | #define IWineD3DVertexDeclaration_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5786 | #define IWineD3DVertexDeclaration_Release(This) (This)->lpVtbl->Release(This)
|
---|
5787 | /*** IWineD3DBase methods ***/
|
---|
5788 | #define IWineD3DVertexDeclaration_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5789 | #endif
|
---|
5790 |
|
---|
5791 | #endif
|
---|
5792 |
|
---|
5793 |
|
---|
5794 | #endif /* __IWineD3DVertexDeclaration_INTERFACE_DEFINED__ */
|
---|
5795 |
|
---|
5796 | /*****************************************************************************
|
---|
5797 | * IWineD3DStateBlock interface
|
---|
5798 | */
|
---|
5799 | #ifndef __IWineD3DStateBlock_INTERFACE_DEFINED__
|
---|
5800 | #define __IWineD3DStateBlock_INTERFACE_DEFINED__
|
---|
5801 |
|
---|
5802 | DEFINE_GUID(IID_IWineD3DStateBlock, 0x83b073ce, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5803 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5804 | interface IWineD3DStateBlock : public IUnknown
|
---|
5805 | {
|
---|
5806 | virtual HRESULT STDMETHODCALLTYPE Capture(
|
---|
5807 | ) = 0;
|
---|
5808 |
|
---|
5809 | virtual HRESULT STDMETHODCALLTYPE Apply(
|
---|
5810 | ) = 0;
|
---|
5811 |
|
---|
5812 | virtual HRESULT STDMETHODCALLTYPE InitStartupStateBlock(
|
---|
5813 | ) = 0;
|
---|
5814 |
|
---|
5815 | };
|
---|
5816 | #else
|
---|
5817 | typedef struct IWineD3DStateBlockVtbl {
|
---|
5818 | BEGIN_INTERFACE
|
---|
5819 |
|
---|
5820 | /*** IUnknown methods ***/
|
---|
5821 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5822 | IWineD3DStateBlock* This,
|
---|
5823 | REFIID riid,
|
---|
5824 | void **ppvObject);
|
---|
5825 |
|
---|
5826 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5827 | IWineD3DStateBlock* This);
|
---|
5828 |
|
---|
5829 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5830 | IWineD3DStateBlock* This);
|
---|
5831 |
|
---|
5832 | /*** IWineD3DStateBlock methods ***/
|
---|
5833 | HRESULT (STDMETHODCALLTYPE *Capture)(
|
---|
5834 | IWineD3DStateBlock* This);
|
---|
5835 |
|
---|
5836 | HRESULT (STDMETHODCALLTYPE *Apply)(
|
---|
5837 | IWineD3DStateBlock* This);
|
---|
5838 |
|
---|
5839 | HRESULT (STDMETHODCALLTYPE *InitStartupStateBlock)(
|
---|
5840 | IWineD3DStateBlock* This);
|
---|
5841 |
|
---|
5842 | END_INTERFACE
|
---|
5843 | } IWineD3DStateBlockVtbl;
|
---|
5844 | interface IWineD3DStateBlock {
|
---|
5845 | CONST_VTBL IWineD3DStateBlockVtbl* lpVtbl;
|
---|
5846 | };
|
---|
5847 |
|
---|
5848 | #ifdef COBJMACROS
|
---|
5849 | /*** IUnknown methods ***/
|
---|
5850 | #define IWineD3DStateBlock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5851 | #define IWineD3DStateBlock_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5852 | #define IWineD3DStateBlock_Release(This) (This)->lpVtbl->Release(This)
|
---|
5853 | /*** IWineD3DStateBlock methods ***/
|
---|
5854 | #define IWineD3DStateBlock_Capture(This) (This)->lpVtbl->Capture(This)
|
---|
5855 | #define IWineD3DStateBlock_Apply(This) (This)->lpVtbl->Apply(This)
|
---|
5856 | #define IWineD3DStateBlock_InitStartupStateBlock(This) (This)->lpVtbl->InitStartupStateBlock(This)
|
---|
5857 | #endif
|
---|
5858 |
|
---|
5859 | #endif
|
---|
5860 |
|
---|
5861 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_Capture_Proxy(
|
---|
5862 | IWineD3DStateBlock* This);
|
---|
5863 | void __RPC_STUB IWineD3DStateBlock_Capture_Stub(
|
---|
5864 | IRpcStubBuffer* This,
|
---|
5865 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5866 | PRPC_MESSAGE pRpcMessage,
|
---|
5867 | DWORD* pdwStubPhase);
|
---|
5868 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_Apply_Proxy(
|
---|
5869 | IWineD3DStateBlock* This);
|
---|
5870 | void __RPC_STUB IWineD3DStateBlock_Apply_Stub(
|
---|
5871 | IRpcStubBuffer* This,
|
---|
5872 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5873 | PRPC_MESSAGE pRpcMessage,
|
---|
5874 | DWORD* pdwStubPhase);
|
---|
5875 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_InitStartupStateBlock_Proxy(
|
---|
5876 | IWineD3DStateBlock* This);
|
---|
5877 | void __RPC_STUB IWineD3DStateBlock_InitStartupStateBlock_Stub(
|
---|
5878 | IRpcStubBuffer* This,
|
---|
5879 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5880 | PRPC_MESSAGE pRpcMessage,
|
---|
5881 | DWORD* pdwStubPhase);
|
---|
5882 |
|
---|
5883 | #endif /* __IWineD3DStateBlock_INTERFACE_DEFINED__ */
|
---|
5884 |
|
---|
5885 | /*****************************************************************************
|
---|
5886 | * IWineD3DQuery interface
|
---|
5887 | */
|
---|
5888 | #ifndef __IWineD3DQuery_INTERFACE_DEFINED__
|
---|
5889 | #define __IWineD3DQuery_INTERFACE_DEFINED__
|
---|
5890 |
|
---|
5891 | DEFINE_GUID(IID_IWineD3DQuery, 0x905ddbac, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5892 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5893 | interface IWineD3DQuery : public IWineD3DBase
|
---|
5894 | {
|
---|
5895 | virtual HRESULT STDMETHODCALLTYPE GetData(
|
---|
5896 | void *data,
|
---|
5897 | DWORD data_size,
|
---|
5898 | DWORD flags) = 0;
|
---|
5899 |
|
---|
5900 | virtual DWORD STDMETHODCALLTYPE GetDataSize(
|
---|
5901 | ) = 0;
|
---|
5902 |
|
---|
5903 | virtual WINED3DQUERYTYPE STDMETHODCALLTYPE GetType(
|
---|
5904 | ) = 0;
|
---|
5905 |
|
---|
5906 | virtual HRESULT STDMETHODCALLTYPE Issue(
|
---|
5907 | DWORD flags) = 0;
|
---|
5908 |
|
---|
5909 | };
|
---|
5910 | #else
|
---|
5911 | typedef struct IWineD3DQueryVtbl {
|
---|
5912 | BEGIN_INTERFACE
|
---|
5913 |
|
---|
5914 | /*** IUnknown methods ***/
|
---|
5915 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5916 | IWineD3DQuery* This,
|
---|
5917 | REFIID riid,
|
---|
5918 | void **ppvObject);
|
---|
5919 |
|
---|
5920 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5921 | IWineD3DQuery* This);
|
---|
5922 |
|
---|
5923 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5924 | IWineD3DQuery* This);
|
---|
5925 |
|
---|
5926 | /*** IWineD3DBase methods ***/
|
---|
5927 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5928 | IWineD3DQuery* This,
|
---|
5929 | IUnknown **parent);
|
---|
5930 |
|
---|
5931 | /*** IWineD3DQuery methods ***/
|
---|
5932 | HRESULT (STDMETHODCALLTYPE *GetData)(
|
---|
5933 | IWineD3DQuery* This,
|
---|
5934 | void *data,
|
---|
5935 | DWORD data_size,
|
---|
5936 | DWORD flags);
|
---|
5937 |
|
---|
5938 | DWORD (STDMETHODCALLTYPE *GetDataSize)(
|
---|
5939 | IWineD3DQuery* This);
|
---|
5940 |
|
---|
5941 | WINED3DQUERYTYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5942 | IWineD3DQuery* This);
|
---|
5943 |
|
---|
5944 | HRESULT (STDMETHODCALLTYPE *Issue)(
|
---|
5945 | IWineD3DQuery* This,
|
---|
5946 | DWORD flags);
|
---|
5947 |
|
---|
5948 | END_INTERFACE
|
---|
5949 | } IWineD3DQueryVtbl;
|
---|
5950 | interface IWineD3DQuery {
|
---|
5951 | CONST_VTBL IWineD3DQueryVtbl* lpVtbl;
|
---|
5952 | };
|
---|
5953 |
|
---|
5954 | #ifdef COBJMACROS
|
---|
5955 | /*** IUnknown methods ***/
|
---|
5956 | #define IWineD3DQuery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5957 | #define IWineD3DQuery_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5958 | #define IWineD3DQuery_Release(This) (This)->lpVtbl->Release(This)
|
---|
5959 | /*** IWineD3DBase methods ***/
|
---|
5960 | #define IWineD3DQuery_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5961 | /*** IWineD3DQuery methods ***/
|
---|
5962 | #define IWineD3DQuery_GetData(This,data,data_size,flags) (This)->lpVtbl->GetData(This,data,data_size,flags)
|
---|
5963 | #define IWineD3DQuery_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
|
---|
5964 | #define IWineD3DQuery_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5965 | #define IWineD3DQuery_Issue(This,flags) (This)->lpVtbl->Issue(This,flags)
|
---|
5966 | #endif
|
---|
5967 |
|
---|
5968 | #endif
|
---|
5969 |
|
---|
5970 | HRESULT STDMETHODCALLTYPE IWineD3DQuery_GetData_Proxy(
|
---|
5971 | IWineD3DQuery* This,
|
---|
5972 | void *data,
|
---|
5973 | DWORD data_size,
|
---|
5974 | DWORD flags);
|
---|
5975 | void __RPC_STUB IWineD3DQuery_GetData_Stub(
|
---|
5976 | IRpcStubBuffer* This,
|
---|
5977 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5978 | PRPC_MESSAGE pRpcMessage,
|
---|
5979 | DWORD* pdwStubPhase);
|
---|
5980 | DWORD STDMETHODCALLTYPE IWineD3DQuery_GetDataSize_Proxy(
|
---|
5981 | IWineD3DQuery* This);
|
---|
5982 | void __RPC_STUB IWineD3DQuery_GetDataSize_Stub(
|
---|
5983 | IRpcStubBuffer* This,
|
---|
5984 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5985 | PRPC_MESSAGE pRpcMessage,
|
---|
5986 | DWORD* pdwStubPhase);
|
---|
5987 | WINED3DQUERYTYPE STDMETHODCALLTYPE IWineD3DQuery_GetType_Proxy(
|
---|
5988 | IWineD3DQuery* This);
|
---|
5989 | void __RPC_STUB IWineD3DQuery_GetType_Stub(
|
---|
5990 | IRpcStubBuffer* This,
|
---|
5991 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5992 | PRPC_MESSAGE pRpcMessage,
|
---|
5993 | DWORD* pdwStubPhase);
|
---|
5994 | HRESULT STDMETHODCALLTYPE IWineD3DQuery_Issue_Proxy(
|
---|
5995 | IWineD3DQuery* This,
|
---|
5996 | DWORD flags);
|
---|
5997 | void __RPC_STUB IWineD3DQuery_Issue_Stub(
|
---|
5998 | IRpcStubBuffer* This,
|
---|
5999 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6000 | PRPC_MESSAGE pRpcMessage,
|
---|
6001 | DWORD* pdwStubPhase);
|
---|
6002 |
|
---|
6003 | #endif /* __IWineD3DQuery_INTERFACE_DEFINED__ */
|
---|
6004 |
|
---|
6005 | /*****************************************************************************
|
---|
6006 | * IWineD3DSwapChain interface
|
---|
6007 | */
|
---|
6008 | #ifndef __IWineD3DSwapChain_INTERFACE_DEFINED__
|
---|
6009 | #define __IWineD3DSwapChain_INTERFACE_DEFINED__
|
---|
6010 |
|
---|
6011 | DEFINE_GUID(IID_IWineD3DSwapChain, 0x34d01b10, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6012 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6013 | interface IWineD3DSwapChain : public IWineD3DBase
|
---|
6014 | {
|
---|
6015 | virtual void STDMETHODCALLTYPE Destroy(
|
---|
6016 | ) = 0;
|
---|
6017 |
|
---|
6018 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
6019 | IWineD3DDevice **device) = 0;
|
---|
6020 |
|
---|
6021 | virtual HRESULT STDMETHODCALLTYPE Present(
|
---|
6022 | const RECT *src_rect,
|
---|
6023 | const RECT *dst_rect,
|
---|
6024 | HWND dst_window_override,
|
---|
6025 | const RGNDATA *dirty_region,
|
---|
6026 | DWORD flags) = 0;
|
---|
6027 |
|
---|
6028 | virtual HRESULT STDMETHODCALLTYPE SetDestWindowOverride(
|
---|
6029 | HWND window) = 0;
|
---|
6030 |
|
---|
6031 | virtual HRESULT STDMETHODCALLTYPE GetFrontBufferData(
|
---|
6032 | IWineD3DSurface *dst_surface) = 0;
|
---|
6033 |
|
---|
6034 | virtual HRESULT STDMETHODCALLTYPE GetBackBuffer(
|
---|
6035 | UINT backbuffer_idx,
|
---|
6036 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6037 | IWineD3DSurface **backbuffer) = 0;
|
---|
6038 |
|
---|
6039 | virtual HRESULT STDMETHODCALLTYPE GetRasterStatus(
|
---|
6040 | WINED3DRASTER_STATUS *raster_status) = 0;
|
---|
6041 |
|
---|
6042 | virtual HRESULT STDMETHODCALLTYPE GetDisplayMode(
|
---|
6043 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
6044 |
|
---|
6045 | virtual HRESULT STDMETHODCALLTYPE GetPresentParameters(
|
---|
6046 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6047 |
|
---|
6048 | virtual HRESULT STDMETHODCALLTYPE SetGammaRamp(
|
---|
6049 | DWORD flags,
|
---|
6050 | const WINED3DGAMMARAMP *ramp) = 0;
|
---|
6051 |
|
---|
6052 | virtual HRESULT STDMETHODCALLTYPE GetGammaRamp(
|
---|
6053 | WINED3DGAMMARAMP *ramp) = 0;
|
---|
6054 |
|
---|
6055 | };
|
---|
6056 | #else
|
---|
6057 | typedef struct IWineD3DSwapChainVtbl {
|
---|
6058 | BEGIN_INTERFACE
|
---|
6059 |
|
---|
6060 | /*** IUnknown methods ***/
|
---|
6061 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6062 | IWineD3DSwapChain* This,
|
---|
6063 | REFIID riid,
|
---|
6064 | void **ppvObject);
|
---|
6065 |
|
---|
6066 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6067 | IWineD3DSwapChain* This);
|
---|
6068 |
|
---|
6069 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6070 | IWineD3DSwapChain* This);
|
---|
6071 |
|
---|
6072 | /*** IWineD3DBase methods ***/
|
---|
6073 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6074 | IWineD3DSwapChain* This,
|
---|
6075 | IUnknown **parent);
|
---|
6076 |
|
---|
6077 | /*** IWineD3DSwapChain methods ***/
|
---|
6078 | void (STDMETHODCALLTYPE *Destroy)(
|
---|
6079 | IWineD3DSwapChain* This);
|
---|
6080 |
|
---|
6081 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6082 | IWineD3DSwapChain* This,
|
---|
6083 | IWineD3DDevice **device);
|
---|
6084 |
|
---|
6085 | HRESULT (STDMETHODCALLTYPE *Present)(
|
---|
6086 | IWineD3DSwapChain* This,
|
---|
6087 | const RECT *src_rect,
|
---|
6088 | const RECT *dst_rect,
|
---|
6089 | HWND dst_window_override,
|
---|
6090 | const RGNDATA *dirty_region,
|
---|
6091 | DWORD flags);
|
---|
6092 |
|
---|
6093 | HRESULT (STDMETHODCALLTYPE *SetDestWindowOverride)(
|
---|
6094 | IWineD3DSwapChain* This,
|
---|
6095 | HWND window);
|
---|
6096 |
|
---|
6097 | HRESULT (STDMETHODCALLTYPE *GetFrontBufferData)(
|
---|
6098 | IWineD3DSwapChain* This,
|
---|
6099 | IWineD3DSurface *dst_surface);
|
---|
6100 |
|
---|
6101 | HRESULT (STDMETHODCALLTYPE *GetBackBuffer)(
|
---|
6102 | IWineD3DSwapChain* This,
|
---|
6103 | UINT backbuffer_idx,
|
---|
6104 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6105 | IWineD3DSurface **backbuffer);
|
---|
6106 |
|
---|
6107 | HRESULT (STDMETHODCALLTYPE *GetRasterStatus)(
|
---|
6108 | IWineD3DSwapChain* This,
|
---|
6109 | WINED3DRASTER_STATUS *raster_status);
|
---|
6110 |
|
---|
6111 | HRESULT (STDMETHODCALLTYPE *GetDisplayMode)(
|
---|
6112 | IWineD3DSwapChain* This,
|
---|
6113 | WINED3DDISPLAYMODE *mode);
|
---|
6114 |
|
---|
6115 | HRESULT (STDMETHODCALLTYPE *GetPresentParameters)(
|
---|
6116 | IWineD3DSwapChain* This,
|
---|
6117 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
6118 |
|
---|
6119 | HRESULT (STDMETHODCALLTYPE *SetGammaRamp)(
|
---|
6120 | IWineD3DSwapChain* This,
|
---|
6121 | DWORD flags,
|
---|
6122 | const WINED3DGAMMARAMP *ramp);
|
---|
6123 |
|
---|
6124 | HRESULT (STDMETHODCALLTYPE *GetGammaRamp)(
|
---|
6125 | IWineD3DSwapChain* This,
|
---|
6126 | WINED3DGAMMARAMP *ramp);
|
---|
6127 |
|
---|
6128 | END_INTERFACE
|
---|
6129 | } IWineD3DSwapChainVtbl;
|
---|
6130 | interface IWineD3DSwapChain {
|
---|
6131 | CONST_VTBL IWineD3DSwapChainVtbl* lpVtbl;
|
---|
6132 | };
|
---|
6133 |
|
---|
6134 | #ifdef COBJMACROS
|
---|
6135 | /*** IUnknown methods ***/
|
---|
6136 | #define IWineD3DSwapChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6137 | #define IWineD3DSwapChain_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6138 | #define IWineD3DSwapChain_Release(This) (This)->lpVtbl->Release(This)
|
---|
6139 | /*** IWineD3DBase methods ***/
|
---|
6140 | #define IWineD3DSwapChain_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6141 | /*** IWineD3DSwapChain methods ***/
|
---|
6142 | #define IWineD3DSwapChain_Destroy(This) (This)->lpVtbl->Destroy(This)
|
---|
6143 | #define IWineD3DSwapChain_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6144 | #define IWineD3DSwapChain_Present(This,src_rect,dst_rect,dst_window_override,dirty_region,flags) (This)->lpVtbl->Present(This,src_rect,dst_rect,dst_window_override,dirty_region,flags)
|
---|
6145 | #define IWineD3DSwapChain_SetDestWindowOverride(This,window) (This)->lpVtbl->SetDestWindowOverride(This,window)
|
---|
6146 | #define IWineD3DSwapChain_GetFrontBufferData(This,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,dst_surface)
|
---|
6147 | #define IWineD3DSwapChain_GetBackBuffer(This,backbuffer_idx,backbuffer_type,backbuffer) (This)->lpVtbl->GetBackBuffer(This,backbuffer_idx,backbuffer_type,backbuffer)
|
---|
6148 | #define IWineD3DSwapChain_GetRasterStatus(This,raster_status) (This)->lpVtbl->GetRasterStatus(This,raster_status)
|
---|
6149 | #define IWineD3DSwapChain_GetDisplayMode(This,mode) (This)->lpVtbl->GetDisplayMode(This,mode)
|
---|
6150 | #define IWineD3DSwapChain_GetPresentParameters(This,present_parameters) (This)->lpVtbl->GetPresentParameters(This,present_parameters)
|
---|
6151 | #define IWineD3DSwapChain_SetGammaRamp(This,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,flags,ramp)
|
---|
6152 | #define IWineD3DSwapChain_GetGammaRamp(This,ramp) (This)->lpVtbl->GetGammaRamp(This,ramp)
|
---|
6153 | #endif
|
---|
6154 |
|
---|
6155 | #endif
|
---|
6156 |
|
---|
6157 | void STDMETHODCALLTYPE IWineD3DSwapChain_Destroy_Proxy(
|
---|
6158 | IWineD3DSwapChain* This);
|
---|
6159 | void __RPC_STUB IWineD3DSwapChain_Destroy_Stub(
|
---|
6160 | IRpcStubBuffer* This,
|
---|
6161 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6162 | PRPC_MESSAGE pRpcMessage,
|
---|
6163 | DWORD* pdwStubPhase);
|
---|
6164 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetDevice_Proxy(
|
---|
6165 | IWineD3DSwapChain* This,
|
---|
6166 | IWineD3DDevice **device);
|
---|
6167 | void __RPC_STUB IWineD3DSwapChain_GetDevice_Stub(
|
---|
6168 | IRpcStubBuffer* This,
|
---|
6169 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6170 | PRPC_MESSAGE pRpcMessage,
|
---|
6171 | DWORD* pdwStubPhase);
|
---|
6172 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_Present_Proxy(
|
---|
6173 | IWineD3DSwapChain* This,
|
---|
6174 | const RECT *src_rect,
|
---|
6175 | const RECT *dst_rect,
|
---|
6176 | HWND dst_window_override,
|
---|
6177 | const RGNDATA *dirty_region,
|
---|
6178 | DWORD flags);
|
---|
6179 | void __RPC_STUB IWineD3DSwapChain_Present_Stub(
|
---|
6180 | IRpcStubBuffer* This,
|
---|
6181 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6182 | PRPC_MESSAGE pRpcMessage,
|
---|
6183 | DWORD* pdwStubPhase);
|
---|
6184 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_SetDestWindowOverride_Proxy(
|
---|
6185 | IWineD3DSwapChain* This,
|
---|
6186 | HWND window);
|
---|
6187 | void __RPC_STUB IWineD3DSwapChain_SetDestWindowOverride_Stub(
|
---|
6188 | IRpcStubBuffer* This,
|
---|
6189 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6190 | PRPC_MESSAGE pRpcMessage,
|
---|
6191 | DWORD* pdwStubPhase);
|
---|
6192 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetFrontBufferData_Proxy(
|
---|
6193 | IWineD3DSwapChain* This,
|
---|
6194 | IWineD3DSurface *dst_surface);
|
---|
6195 | void __RPC_STUB IWineD3DSwapChain_GetFrontBufferData_Stub(
|
---|
6196 | IRpcStubBuffer* This,
|
---|
6197 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6198 | PRPC_MESSAGE pRpcMessage,
|
---|
6199 | DWORD* pdwStubPhase);
|
---|
6200 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetBackBuffer_Proxy(
|
---|
6201 | IWineD3DSwapChain* This,
|
---|
6202 | UINT backbuffer_idx,
|
---|
6203 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6204 | IWineD3DSurface **backbuffer);
|
---|
6205 | void __RPC_STUB IWineD3DSwapChain_GetBackBuffer_Stub(
|
---|
6206 | IRpcStubBuffer* This,
|
---|
6207 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6208 | PRPC_MESSAGE pRpcMessage,
|
---|
6209 | DWORD* pdwStubPhase);
|
---|
6210 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetRasterStatus_Proxy(
|
---|
6211 | IWineD3DSwapChain* This,
|
---|
6212 | WINED3DRASTER_STATUS *raster_status);
|
---|
6213 | void __RPC_STUB IWineD3DSwapChain_GetRasterStatus_Stub(
|
---|
6214 | IRpcStubBuffer* This,
|
---|
6215 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6216 | PRPC_MESSAGE pRpcMessage,
|
---|
6217 | DWORD* pdwStubPhase);
|
---|
6218 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetDisplayMode_Proxy(
|
---|
6219 | IWineD3DSwapChain* This,
|
---|
6220 | WINED3DDISPLAYMODE *mode);
|
---|
6221 | void __RPC_STUB IWineD3DSwapChain_GetDisplayMode_Stub(
|
---|
6222 | IRpcStubBuffer* This,
|
---|
6223 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6224 | PRPC_MESSAGE pRpcMessage,
|
---|
6225 | DWORD* pdwStubPhase);
|
---|
6226 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetPresentParameters_Proxy(
|
---|
6227 | IWineD3DSwapChain* This,
|
---|
6228 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
6229 | void __RPC_STUB IWineD3DSwapChain_GetPresentParameters_Stub(
|
---|
6230 | IRpcStubBuffer* This,
|
---|
6231 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6232 | PRPC_MESSAGE pRpcMessage,
|
---|
6233 | DWORD* pdwStubPhase);
|
---|
6234 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_SetGammaRamp_Proxy(
|
---|
6235 | IWineD3DSwapChain* This,
|
---|
6236 | DWORD flags,
|
---|
6237 | const WINED3DGAMMARAMP *ramp);
|
---|
6238 | void __RPC_STUB IWineD3DSwapChain_SetGammaRamp_Stub(
|
---|
6239 | IRpcStubBuffer* This,
|
---|
6240 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6241 | PRPC_MESSAGE pRpcMessage,
|
---|
6242 | DWORD* pdwStubPhase);
|
---|
6243 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetGammaRamp_Proxy(
|
---|
6244 | IWineD3DSwapChain* This,
|
---|
6245 | WINED3DGAMMARAMP *ramp);
|
---|
6246 | void __RPC_STUB IWineD3DSwapChain_GetGammaRamp_Stub(
|
---|
6247 | IRpcStubBuffer* This,
|
---|
6248 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6249 | PRPC_MESSAGE pRpcMessage,
|
---|
6250 | DWORD* pdwStubPhase);
|
---|
6251 |
|
---|
6252 | #endif /* __IWineD3DSwapChain_INTERFACE_DEFINED__ */
|
---|
6253 |
|
---|
6254 | /*****************************************************************************
|
---|
6255 | * IWineD3DBuffer interface
|
---|
6256 | */
|
---|
6257 | #ifndef __IWineD3DBuffer_INTERFACE_DEFINED__
|
---|
6258 | #define __IWineD3DBuffer_INTERFACE_DEFINED__
|
---|
6259 |
|
---|
6260 | DEFINE_GUID(IID_IWineD3DBuffer, 0xb3f028e8, 0x1a40, 0x4ab3, 0x92,0x92, 0x5b,0xf6,0xcf,0xd8,0x02,0x09);
|
---|
6261 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6262 | interface IWineD3DBuffer : public IWineD3DResource
|
---|
6263 | {
|
---|
6264 | virtual HRESULT STDMETHODCALLTYPE Map(
|
---|
6265 | UINT offset,
|
---|
6266 | UINT size,
|
---|
6267 | BYTE **data,
|
---|
6268 | DWORD flags) = 0;
|
---|
6269 |
|
---|
6270 | virtual HRESULT STDMETHODCALLTYPE Unmap(
|
---|
6271 | ) = 0;
|
---|
6272 |
|
---|
6273 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
6274 | WINED3DBUFFER_DESC *desc) = 0;
|
---|
6275 |
|
---|
6276 | };
|
---|
6277 | #else
|
---|
6278 | typedef struct IWineD3DBufferVtbl {
|
---|
6279 | BEGIN_INTERFACE
|
---|
6280 |
|
---|
6281 | /*** IUnknown methods ***/
|
---|
6282 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6283 | IWineD3DBuffer* This,
|
---|
6284 | REFIID riid,
|
---|
6285 | void **ppvObject);
|
---|
6286 |
|
---|
6287 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6288 | IWineD3DBuffer* This);
|
---|
6289 |
|
---|
6290 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6291 | IWineD3DBuffer* This);
|
---|
6292 |
|
---|
6293 | /*** IWineD3DBase methods ***/
|
---|
6294 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6295 | IWineD3DBuffer* This,
|
---|
6296 | IUnknown **parent);
|
---|
6297 |
|
---|
6298 | /*** IWineD3DResource methods ***/
|
---|
6299 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
6300 | IWineD3DBuffer* This,
|
---|
6301 | REFGUID guid,
|
---|
6302 | const void *data,
|
---|
6303 | DWORD data_size,
|
---|
6304 | DWORD flags);
|
---|
6305 |
|
---|
6306 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
6307 | IWineD3DBuffer* This,
|
---|
6308 | REFGUID guid,
|
---|
6309 | void *data,
|
---|
6310 | DWORD *data_size);
|
---|
6311 |
|
---|
6312 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
6313 | IWineD3DBuffer* This,
|
---|
6314 | REFGUID guid);
|
---|
6315 |
|
---|
6316 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
6317 | IWineD3DBuffer* This,
|
---|
6318 | DWORD new_priority);
|
---|
6319 |
|
---|
6320 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
6321 | IWineD3DBuffer* This);
|
---|
6322 |
|
---|
6323 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
6324 | IWineD3DBuffer* This);
|
---|
6325 |
|
---|
6326 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
6327 | IWineD3DBuffer* This);
|
---|
6328 |
|
---|
6329 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
6330 | IWineD3DBuffer* This);
|
---|
6331 |
|
---|
6332 | /*** IWineD3DBuffer methods ***/
|
---|
6333 | HRESULT (STDMETHODCALLTYPE *Map)(
|
---|
6334 | IWineD3DBuffer* This,
|
---|
6335 | UINT offset,
|
---|
6336 | UINT size,
|
---|
6337 | BYTE **data,
|
---|
6338 | DWORD flags);
|
---|
6339 |
|
---|
6340 | HRESULT (STDMETHODCALLTYPE *Unmap)(
|
---|
6341 | IWineD3DBuffer* This);
|
---|
6342 |
|
---|
6343 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
6344 | IWineD3DBuffer* This,
|
---|
6345 | WINED3DBUFFER_DESC *desc);
|
---|
6346 |
|
---|
6347 | END_INTERFACE
|
---|
6348 | } IWineD3DBufferVtbl;
|
---|
6349 | interface IWineD3DBuffer {
|
---|
6350 | CONST_VTBL IWineD3DBufferVtbl* lpVtbl;
|
---|
6351 | };
|
---|
6352 |
|
---|
6353 | #ifdef COBJMACROS
|
---|
6354 | /*** IUnknown methods ***/
|
---|
6355 | #define IWineD3DBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6356 | #define IWineD3DBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6357 | #define IWineD3DBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
6358 | /*** IWineD3DBase methods ***/
|
---|
6359 | #define IWineD3DBuffer_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6360 | /*** IWineD3DResource methods ***/
|
---|
6361 | #define IWineD3DBuffer_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
6362 | #define IWineD3DBuffer_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
6363 | #define IWineD3DBuffer_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
6364 | #define IWineD3DBuffer_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
6365 | #define IWineD3DBuffer_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
6366 | #define IWineD3DBuffer_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
6367 | #define IWineD3DBuffer_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
6368 | #define IWineD3DBuffer_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
6369 | /*** IWineD3DBuffer methods ***/
|
---|
6370 | #define IWineD3DBuffer_Map(This,offset,size,data,flags) (This)->lpVtbl->Map(This,offset,size,data,flags)
|
---|
6371 | #define IWineD3DBuffer_Unmap(This) (This)->lpVtbl->Unmap(This)
|
---|
6372 | #define IWineD3DBuffer_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
6373 | #endif
|
---|
6374 |
|
---|
6375 | #endif
|
---|
6376 |
|
---|
6377 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_Map_Proxy(
|
---|
6378 | IWineD3DBuffer* This,
|
---|
6379 | UINT offset,
|
---|
6380 | UINT size,
|
---|
6381 | BYTE **data,
|
---|
6382 | DWORD flags);
|
---|
6383 | void __RPC_STUB IWineD3DBuffer_Map_Stub(
|
---|
6384 | IRpcStubBuffer* This,
|
---|
6385 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6386 | PRPC_MESSAGE pRpcMessage,
|
---|
6387 | DWORD* pdwStubPhase);
|
---|
6388 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_Unmap_Proxy(
|
---|
6389 | IWineD3DBuffer* This);
|
---|
6390 | void __RPC_STUB IWineD3DBuffer_Unmap_Stub(
|
---|
6391 | IRpcStubBuffer* This,
|
---|
6392 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6393 | PRPC_MESSAGE pRpcMessage,
|
---|
6394 | DWORD* pdwStubPhase);
|
---|
6395 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_GetDesc_Proxy(
|
---|
6396 | IWineD3DBuffer* This,
|
---|
6397 | WINED3DBUFFER_DESC *desc);
|
---|
6398 | void __RPC_STUB IWineD3DBuffer_GetDesc_Stub(
|
---|
6399 | IRpcStubBuffer* This,
|
---|
6400 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6401 | PRPC_MESSAGE pRpcMessage,
|
---|
6402 | DWORD* pdwStubPhase);
|
---|
6403 |
|
---|
6404 | #endif /* __IWineD3DBuffer_INTERFACE_DEFINED__ */
|
---|
6405 |
|
---|
6406 | /*****************************************************************************
|
---|
6407 | * IWineD3DBaseShader interface
|
---|
6408 | */
|
---|
6409 | #ifndef __IWineD3DBaseShader_INTERFACE_DEFINED__
|
---|
6410 | #define __IWineD3DBaseShader_INTERFACE_DEFINED__
|
---|
6411 |
|
---|
6412 | DEFINE_GUID(IID_IWineD3DBaseShader, 0xeac93065, 0xa4df, 0x446f, 0x86,0xa1, 0x9e,0xf2,0xbc,0xa4,0x0a,0x3c);
|
---|
6413 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6414 | interface IWineD3DBaseShader : public IWineD3DBase
|
---|
6415 | {
|
---|
6416 | virtual HRESULT STDMETHODCALLTYPE GetFunction(
|
---|
6417 | void *data,
|
---|
6418 | UINT *data_size) = 0;
|
---|
6419 |
|
---|
6420 | };
|
---|
6421 | #else
|
---|
6422 | typedef struct IWineD3DBaseShaderVtbl {
|
---|
6423 | BEGIN_INTERFACE
|
---|
6424 |
|
---|
6425 | /*** IUnknown methods ***/
|
---|
6426 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6427 | IWineD3DBaseShader* This,
|
---|
6428 | REFIID riid,
|
---|
6429 | void **ppvObject);
|
---|
6430 |
|
---|
6431 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6432 | IWineD3DBaseShader* This);
|
---|
6433 |
|
---|
6434 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6435 | IWineD3DBaseShader* This);
|
---|
6436 |
|
---|
6437 | /*** IWineD3DBase methods ***/
|
---|
6438 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6439 | IWineD3DBaseShader* This,
|
---|
6440 | IUnknown **parent);
|
---|
6441 |
|
---|
6442 | /*** IWineD3DBaseShader methods ***/
|
---|
6443 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6444 | IWineD3DBaseShader* This,
|
---|
6445 | void *data,
|
---|
6446 | UINT *data_size);
|
---|
6447 |
|
---|
6448 | END_INTERFACE
|
---|
6449 | } IWineD3DBaseShaderVtbl;
|
---|
6450 | interface IWineD3DBaseShader {
|
---|
6451 | CONST_VTBL IWineD3DBaseShaderVtbl* lpVtbl;
|
---|
6452 | };
|
---|
6453 |
|
---|
6454 | #ifdef COBJMACROS
|
---|
6455 | /*** IUnknown methods ***/
|
---|
6456 | #define IWineD3DBaseShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6457 | #define IWineD3DBaseShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6458 | #define IWineD3DBaseShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6459 | /*** IWineD3DBase methods ***/
|
---|
6460 | #define IWineD3DBaseShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6461 | /*** IWineD3DBaseShader methods ***/
|
---|
6462 | #define IWineD3DBaseShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6463 | #endif
|
---|
6464 |
|
---|
6465 | #endif
|
---|
6466 |
|
---|
6467 | HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetFunction_Proxy(
|
---|
6468 | IWineD3DBaseShader* This,
|
---|
6469 | void *data,
|
---|
6470 | UINT *data_size);
|
---|
6471 | void __RPC_STUB IWineD3DBaseShader_GetFunction_Stub(
|
---|
6472 | IRpcStubBuffer* This,
|
---|
6473 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6474 | PRPC_MESSAGE pRpcMessage,
|
---|
6475 | DWORD* pdwStubPhase);
|
---|
6476 |
|
---|
6477 | #endif /* __IWineD3DBaseShader_INTERFACE_DEFINED__ */
|
---|
6478 |
|
---|
6479 | /*****************************************************************************
|
---|
6480 | * IWineD3DVertexShader interface
|
---|
6481 | */
|
---|
6482 | #ifndef __IWineD3DVertexShader_INTERFACE_DEFINED__
|
---|
6483 | #define __IWineD3DVertexShader_INTERFACE_DEFINED__
|
---|
6484 |
|
---|
6485 | DEFINE_GUID(IID_IWineD3DVertexShader, 0x7f7a2b60, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6486 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6487 | interface IWineD3DVertexShader : public IWineD3DBaseShader
|
---|
6488 | {
|
---|
6489 | virtual HRESULT STDMETHODCALLTYPE SetLocalConstantsF(
|
---|
6490 | UINT start_idx,
|
---|
6491 | const float *src_data,
|
---|
6492 | UINT vector4f_count) = 0;
|
---|
6493 |
|
---|
6494 | };
|
---|
6495 | #else
|
---|
6496 | typedef struct IWineD3DVertexShaderVtbl {
|
---|
6497 | BEGIN_INTERFACE
|
---|
6498 |
|
---|
6499 | /*** IUnknown methods ***/
|
---|
6500 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6501 | IWineD3DVertexShader* This,
|
---|
6502 | REFIID riid,
|
---|
6503 | void **ppvObject);
|
---|
6504 |
|
---|
6505 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6506 | IWineD3DVertexShader* This);
|
---|
6507 |
|
---|
6508 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6509 | IWineD3DVertexShader* This);
|
---|
6510 |
|
---|
6511 | /*** IWineD3DBase methods ***/
|
---|
6512 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6513 | IWineD3DVertexShader* This,
|
---|
6514 | IUnknown **parent);
|
---|
6515 |
|
---|
6516 | /*** IWineD3DBaseShader methods ***/
|
---|
6517 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6518 | IWineD3DVertexShader* This,
|
---|
6519 | void *data,
|
---|
6520 | UINT *data_size);
|
---|
6521 |
|
---|
6522 | /*** IWineD3DVertexShader methods ***/
|
---|
6523 | HRESULT (STDMETHODCALLTYPE *SetLocalConstantsF)(
|
---|
6524 | IWineD3DVertexShader* This,
|
---|
6525 | UINT start_idx,
|
---|
6526 | const float *src_data,
|
---|
6527 | UINT vector4f_count);
|
---|
6528 |
|
---|
6529 | END_INTERFACE
|
---|
6530 | } IWineD3DVertexShaderVtbl;
|
---|
6531 | interface IWineD3DVertexShader {
|
---|
6532 | CONST_VTBL IWineD3DVertexShaderVtbl* lpVtbl;
|
---|
6533 | };
|
---|
6534 |
|
---|
6535 | #ifdef COBJMACROS
|
---|
6536 | /*** IUnknown methods ***/
|
---|
6537 | #define IWineD3DVertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6538 | #define IWineD3DVertexShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6539 | #define IWineD3DVertexShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6540 | /*** IWineD3DBase methods ***/
|
---|
6541 | #define IWineD3DVertexShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6542 | /*** IWineD3DBaseShader methods ***/
|
---|
6543 | #define IWineD3DVertexShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6544 | /*** IWineD3DVertexShader methods ***/
|
---|
6545 | #define IWineD3DVertexShader_SetLocalConstantsF(This,start_idx,src_data,vector4f_count) (This)->lpVtbl->SetLocalConstantsF(This,start_idx,src_data,vector4f_count)
|
---|
6546 | #endif
|
---|
6547 |
|
---|
6548 | #endif
|
---|
6549 |
|
---|
6550 | HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_SetLocalConstantsF_Proxy(
|
---|
6551 | IWineD3DVertexShader* This,
|
---|
6552 | UINT start_idx,
|
---|
6553 | const float *src_data,
|
---|
6554 | UINT vector4f_count);
|
---|
6555 | void __RPC_STUB IWineD3DVertexShader_SetLocalConstantsF_Stub(
|
---|
6556 | IRpcStubBuffer* This,
|
---|
6557 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6558 | PRPC_MESSAGE pRpcMessage,
|
---|
6559 | DWORD* pdwStubPhase);
|
---|
6560 |
|
---|
6561 | #endif /* __IWineD3DVertexShader_INTERFACE_DEFINED__ */
|
---|
6562 |
|
---|
6563 | /*****************************************************************************
|
---|
6564 | * IWineD3DGeometryShader interface
|
---|
6565 | */
|
---|
6566 | #ifndef __IWineD3DGeometryShader_INTERFACE_DEFINED__
|
---|
6567 | #define __IWineD3DGeometryShader_INTERFACE_DEFINED__
|
---|
6568 |
|
---|
6569 | DEFINE_GUID(IID_IWineD3DGeometryShader, 0x8276c113, 0x388b, 0x49d1, 0xad,0x8b, 0xc9,0xdd,0x8b,0xcb,0xab,0xcd);
|
---|
6570 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6571 | interface IWineD3DGeometryShader : public IWineD3DBaseShader
|
---|
6572 | {
|
---|
6573 | };
|
---|
6574 | #else
|
---|
6575 | typedef struct IWineD3DGeometryShaderVtbl {
|
---|
6576 | BEGIN_INTERFACE
|
---|
6577 |
|
---|
6578 | /*** IUnknown methods ***/
|
---|
6579 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6580 | IWineD3DGeometryShader* This,
|
---|
6581 | REFIID riid,
|
---|
6582 | void **ppvObject);
|
---|
6583 |
|
---|
6584 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6585 | IWineD3DGeometryShader* This);
|
---|
6586 |
|
---|
6587 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6588 | IWineD3DGeometryShader* This);
|
---|
6589 |
|
---|
6590 | /*** IWineD3DBase methods ***/
|
---|
6591 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6592 | IWineD3DGeometryShader* This,
|
---|
6593 | IUnknown **parent);
|
---|
6594 |
|
---|
6595 | /*** IWineD3DBaseShader methods ***/
|
---|
6596 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6597 | IWineD3DGeometryShader* This,
|
---|
6598 | void *data,
|
---|
6599 | UINT *data_size);
|
---|
6600 |
|
---|
6601 | END_INTERFACE
|
---|
6602 | } IWineD3DGeometryShaderVtbl;
|
---|
6603 | interface IWineD3DGeometryShader {
|
---|
6604 | CONST_VTBL IWineD3DGeometryShaderVtbl* lpVtbl;
|
---|
6605 | };
|
---|
6606 |
|
---|
6607 | #ifdef COBJMACROS
|
---|
6608 | /*** IUnknown methods ***/
|
---|
6609 | #define IWineD3DGeometryShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6610 | #define IWineD3DGeometryShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6611 | #define IWineD3DGeometryShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6612 | /*** IWineD3DBase methods ***/
|
---|
6613 | #define IWineD3DGeometryShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6614 | /*** IWineD3DBaseShader methods ***/
|
---|
6615 | #define IWineD3DGeometryShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6616 | #endif
|
---|
6617 |
|
---|
6618 | #endif
|
---|
6619 |
|
---|
6620 |
|
---|
6621 | #endif /* __IWineD3DGeometryShader_INTERFACE_DEFINED__ */
|
---|
6622 |
|
---|
6623 | /*****************************************************************************
|
---|
6624 | * IWineD3DPixelShader interface
|
---|
6625 | */
|
---|
6626 | #ifndef __IWineD3DPixelShader_INTERFACE_DEFINED__
|
---|
6627 | #define __IWineD3DPixelShader_INTERFACE_DEFINED__
|
---|
6628 |
|
---|
6629 | DEFINE_GUID(IID_IWineD3DPixelShader, 0x818503da, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6630 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6631 | interface IWineD3DPixelShader : public IWineD3DBaseShader
|
---|
6632 | {
|
---|
6633 | };
|
---|
6634 | #else
|
---|
6635 | typedef struct IWineD3DPixelShaderVtbl {
|
---|
6636 | BEGIN_INTERFACE
|
---|
6637 |
|
---|
6638 | /*** IUnknown methods ***/
|
---|
6639 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6640 | IWineD3DPixelShader* This,
|
---|
6641 | REFIID riid,
|
---|
6642 | void **ppvObject);
|
---|
6643 |
|
---|
6644 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6645 | IWineD3DPixelShader* This);
|
---|
6646 |
|
---|
6647 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6648 | IWineD3DPixelShader* This);
|
---|
6649 |
|
---|
6650 | /*** IWineD3DBase methods ***/
|
---|
6651 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6652 | IWineD3DPixelShader* This,
|
---|
6653 | IUnknown **parent);
|
---|
6654 |
|
---|
6655 | /*** IWineD3DBaseShader methods ***/
|
---|
6656 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6657 | IWineD3DPixelShader* This,
|
---|
6658 | void *data,
|
---|
6659 | UINT *data_size);
|
---|
6660 |
|
---|
6661 | END_INTERFACE
|
---|
6662 | } IWineD3DPixelShaderVtbl;
|
---|
6663 | interface IWineD3DPixelShader {
|
---|
6664 | CONST_VTBL IWineD3DPixelShaderVtbl* lpVtbl;
|
---|
6665 | };
|
---|
6666 |
|
---|
6667 | #ifdef COBJMACROS
|
---|
6668 | /*** IUnknown methods ***/
|
---|
6669 | #define IWineD3DPixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6670 | #define IWineD3DPixelShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6671 | #define IWineD3DPixelShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6672 | /*** IWineD3DBase methods ***/
|
---|
6673 | #define IWineD3DPixelShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6674 | /*** IWineD3DBaseShader methods ***/
|
---|
6675 | #define IWineD3DPixelShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6676 | #endif
|
---|
6677 |
|
---|
6678 | #endif
|
---|
6679 |
|
---|
6680 |
|
---|
6681 | #endif /* __IWineD3DPixelShader_INTERFACE_DEFINED__ */
|
---|
6682 |
|
---|
6683 | /*****************************************************************************
|
---|
6684 | * IWineD3DDevice interface
|
---|
6685 | */
|
---|
6686 | #ifndef __IWineD3DDevice_INTERFACE_DEFINED__
|
---|
6687 | #define __IWineD3DDevice_INTERFACE_DEFINED__
|
---|
6688 |
|
---|
6689 | DEFINE_GUID(IID_IWineD3DDevice, 0x6d10a2ce, 0x09d0, 0x4a53, 0xa4,0x27, 0x11,0x38,0x8f,0x9f,0x8c,0xa5);
|
---|
6690 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6691 | interface IWineD3DDevice : public IWineD3DBase
|
---|
6692 | {
|
---|
6693 | virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
|
---|
6694 | struct wined3d_buffer_desc *desc,
|
---|
6695 | const void *data,
|
---|
6696 | IUnknown *parent,
|
---|
6697 | const struct wined3d_parent_ops *parent_ops,
|
---|
6698 | IWineD3DBuffer **buffer) = 0;
|
---|
6699 |
|
---|
6700 | virtual HRESULT STDMETHODCALLTYPE CreateVertexBuffer(
|
---|
6701 | UINT length,
|
---|
6702 | DWORD usage,
|
---|
6703 | WINED3DPOOL pool,
|
---|
6704 | IWineD3DBuffer **vertex_buffer,
|
---|
6705 | IUnknown *parent,
|
---|
6706 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6707 |
|
---|
6708 | virtual HRESULT STDMETHODCALLTYPE CreateIndexBuffer(
|
---|
6709 | UINT length,
|
---|
6710 | DWORD usage,
|
---|
6711 | WINED3DPOOL pool,
|
---|
6712 | IWineD3DBuffer **index_buffer,
|
---|
6713 | IUnknown *parent,
|
---|
6714 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6715 |
|
---|
6716 | virtual HRESULT STDMETHODCALLTYPE CreateStateBlock(
|
---|
6717 | WINED3DSTATEBLOCKTYPE type,
|
---|
6718 | IWineD3DStateBlock **stateblock,
|
---|
6719 | IUnknown *parent) = 0;
|
---|
6720 |
|
---|
6721 | virtual HRESULT STDMETHODCALLTYPE CreateSurface(
|
---|
6722 | UINT width,
|
---|
6723 | UINT height,
|
---|
6724 | WINED3DFORMAT format,
|
---|
6725 | BOOL lockable,
|
---|
6726 | BOOL discard,
|
---|
6727 | UINT level,
|
---|
6728 | IWineD3DSurface **surface,
|
---|
6729 | DWORD usage,
|
---|
6730 | WINED3DPOOL pool,
|
---|
6731 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
6732 | DWORD multisample_quality,
|
---|
6733 | WINED3DSURFTYPE surface_type,
|
---|
6734 | IUnknown *parent,
|
---|
6735 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6736 |
|
---|
6737 | virtual HRESULT STDMETHODCALLTYPE CreateRendertargetView(
|
---|
6738 | IWineD3DResource *resource,
|
---|
6739 | IUnknown *parent,
|
---|
6740 | IWineD3DRendertargetView **rendertarget_view) = 0;
|
---|
6741 |
|
---|
6742 | virtual HRESULT STDMETHODCALLTYPE CreateTexture(
|
---|
6743 | UINT width,
|
---|
6744 | UINT height,
|
---|
6745 | UINT levels,
|
---|
6746 | DWORD usage,
|
---|
6747 | WINED3DFORMAT format,
|
---|
6748 | WINED3DPOOL pool,
|
---|
6749 | IWineD3DTexture **texture,
|
---|
6750 | IUnknown *parent,
|
---|
6751 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6752 |
|
---|
6753 | virtual HRESULT STDMETHODCALLTYPE CreateVolumeTexture(
|
---|
6754 | UINT width,
|
---|
6755 | UINT height,
|
---|
6756 | UINT depth,
|
---|
6757 | UINT levels,
|
---|
6758 | DWORD usage,
|
---|
6759 | WINED3DFORMAT format,
|
---|
6760 | WINED3DPOOL pool,
|
---|
6761 | IWineD3DVolumeTexture **texture,
|
---|
6762 | IUnknown *parent,
|
---|
6763 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6764 |
|
---|
6765 | virtual HRESULT STDMETHODCALLTYPE CreateVolume(
|
---|
6766 | UINT width,
|
---|
6767 | UINT height,
|
---|
6768 | UINT depth,
|
---|
6769 | DWORD usage,
|
---|
6770 | WINED3DFORMAT format,
|
---|
6771 | WINED3DPOOL pool,
|
---|
6772 | IWineD3DVolume **volume,
|
---|
6773 | IUnknown *parent,
|
---|
6774 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6775 |
|
---|
6776 | virtual HRESULT STDMETHODCALLTYPE CreateCubeTexture(
|
---|
6777 | UINT edge_length,
|
---|
6778 | UINT levels,
|
---|
6779 | DWORD usage,
|
---|
6780 | WINED3DFORMAT format,
|
---|
6781 | WINED3DPOOL pool,
|
---|
6782 | IWineD3DCubeTexture **texture,
|
---|
6783 | IUnknown *parent,
|
---|
6784 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6785 |
|
---|
6786 | virtual HRESULT STDMETHODCALLTYPE CreateQuery(
|
---|
6787 | WINED3DQUERYTYPE type,
|
---|
6788 | IWineD3DQuery **query,
|
---|
6789 | IUnknown *parent) = 0;
|
---|
6790 |
|
---|
6791 | virtual HRESULT STDMETHODCALLTYPE CreateSwapChain(
|
---|
6792 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
6793 | IWineD3DSwapChain **swapchain,
|
---|
6794 | IUnknown *parent,
|
---|
6795 | WINED3DSURFTYPE surface_type) = 0;
|
---|
6796 |
|
---|
6797 | virtual HRESULT STDMETHODCALLTYPE CreateVertexDeclaration(
|
---|
6798 | IWineD3DVertexDeclaration **declaration,
|
---|
6799 | IUnknown *parent,
|
---|
6800 | const struct wined3d_parent_ops *parent_ops,
|
---|
6801 | const WINED3DVERTEXELEMENT *elements,
|
---|
6802 | UINT element_count) = 0;
|
---|
6803 |
|
---|
6804 | virtual HRESULT STDMETHODCALLTYPE CreateVertexDeclarationFromFVF(
|
---|
6805 | IWineD3DVertexDeclaration **declaration,
|
---|
6806 | IUnknown *parent,
|
---|
6807 | const struct wined3d_parent_ops *parent_ops,
|
---|
6808 | DWORD fvf) = 0;
|
---|
6809 |
|
---|
6810 | virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
|
---|
6811 | const DWORD *function,
|
---|
6812 | const struct wined3d_shader_signature *output_signature,
|
---|
6813 | IWineD3DVertexShader **shader,
|
---|
6814 | IUnknown *parent,
|
---|
6815 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6816 |
|
---|
6817 | virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
|
---|
6818 | const DWORD *byte_code,
|
---|
6819 | const struct wined3d_shader_signature *output_signature,
|
---|
6820 | IWineD3DGeometryShader **shader,
|
---|
6821 | IUnknown *parent,
|
---|
6822 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6823 |
|
---|
6824 | virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
|
---|
6825 | const DWORD *function,
|
---|
6826 | const struct wined3d_shader_signature *output_signature,
|
---|
6827 | IWineD3DPixelShader **shader,
|
---|
6828 | IUnknown *parent,
|
---|
6829 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6830 |
|
---|
6831 | virtual HRESULT STDMETHODCALLTYPE CreatePalette(
|
---|
6832 | DWORD flags,
|
---|
6833 | const PALETTEENTRY *palette_entry,
|
---|
6834 | IWineD3DPalette **palette,
|
---|
6835 | IUnknown *parent) = 0;
|
---|
6836 |
|
---|
6837 | virtual HRESULT STDMETHODCALLTYPE Init3D(
|
---|
6838 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6839 |
|
---|
6840 | virtual HRESULT STDMETHODCALLTYPE InitGDI(
|
---|
6841 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6842 |
|
---|
6843 | virtual HRESULT STDMETHODCALLTYPE Uninit3D(
|
---|
6844 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0;
|
---|
6845 |
|
---|
6846 | virtual HRESULT STDMETHODCALLTYPE UninitGDI(
|
---|
6847 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0;
|
---|
6848 |
|
---|
6849 | virtual void STDMETHODCALLTYPE SetMultithreaded(
|
---|
6850 | ) = 0;
|
---|
6851 |
|
---|
6852 | virtual HRESULT STDMETHODCALLTYPE EvictManagedResources(
|
---|
6853 | ) = 0;
|
---|
6854 |
|
---|
6855 | virtual UINT STDMETHODCALLTYPE GetAvailableTextureMem(
|
---|
6856 | ) = 0;
|
---|
6857 |
|
---|
6858 | virtual HRESULT STDMETHODCALLTYPE GetBackBuffer(
|
---|
6859 | UINT swapchain_idx,
|
---|
6860 | UINT backbuffer_idx,
|
---|
6861 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6862 | IWineD3DSurface **backbuffer) = 0;
|
---|
6863 |
|
---|
6864 | virtual HRESULT STDMETHODCALLTYPE GetCreationParameters(
|
---|
6865 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters) = 0;
|
---|
6866 |
|
---|
6867 | virtual HRESULT STDMETHODCALLTYPE GetDeviceCaps(
|
---|
6868 | WINED3DCAPS *caps) = 0;
|
---|
6869 |
|
---|
6870 | virtual HRESULT STDMETHODCALLTYPE GetDirect3D(
|
---|
6871 | IWineD3D **d3d) = 0;
|
---|
6872 |
|
---|
6873 | virtual HRESULT STDMETHODCALLTYPE GetDisplayMode(
|
---|
6874 | UINT swapchain_idx,
|
---|
6875 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
6876 |
|
---|
6877 | virtual HRESULT STDMETHODCALLTYPE SetDisplayMode(
|
---|
6878 | UINT swapchain_idx,
|
---|
6879 | const WINED3DDISPLAYMODE *mode) = 0;
|
---|
6880 |
|
---|
6881 | virtual UINT STDMETHODCALLTYPE GetNumberOfSwapChains(
|
---|
6882 | ) = 0;
|
---|
6883 |
|
---|
6884 | virtual HRESULT STDMETHODCALLTYPE GetRasterStatus(
|
---|
6885 | UINT swapchain_idx,
|
---|
6886 | WINED3DRASTER_STATUS *raster_status) = 0;
|
---|
6887 |
|
---|
6888 | virtual HRESULT STDMETHODCALLTYPE GetSwapChain(
|
---|
6889 | UINT swapchain_idx,
|
---|
6890 | IWineD3DSwapChain **swapchain) = 0;
|
---|
6891 |
|
---|
6892 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
6893 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6894 |
|
---|
6895 | virtual HRESULT STDMETHODCALLTYPE SetDialogBoxMode(
|
---|
6896 | BOOL enable_dialogs) = 0;
|
---|
6897 |
|
---|
6898 | virtual HRESULT STDMETHODCALLTYPE SetCursorProperties(
|
---|
6899 | UINT x_hotspot,
|
---|
6900 | UINT y_hotspot,
|
---|
6901 | IWineD3DSurface *cursor_surface) = 0;
|
---|
6902 |
|
---|
6903 | virtual void STDMETHODCALLTYPE SetCursorPosition(
|
---|
6904 | int x_screen_space,
|
---|
6905 | int y_screen_space,
|
---|
6906 | DWORD flags) = 0;
|
---|
6907 |
|
---|
6908 | virtual BOOL STDMETHODCALLTYPE ShowCursor(
|
---|
6909 | BOOL show) = 0;
|
---|
6910 |
|
---|
6911 | virtual HRESULT STDMETHODCALLTYPE SetClipPlane(
|
---|
6912 | DWORD plane_idx,
|
---|
6913 | const float *plane) = 0;
|
---|
6914 |
|
---|
6915 | virtual HRESULT STDMETHODCALLTYPE GetClipPlane(
|
---|
6916 | DWORD plane_idx,
|
---|
6917 | float *plane) = 0;
|
---|
6918 |
|
---|
6919 | virtual HRESULT STDMETHODCALLTYPE SetClipStatus(
|
---|
6920 | const WINED3DCLIPSTATUS *clip_status) = 0;
|
---|
6921 |
|
---|
6922 | virtual HRESULT STDMETHODCALLTYPE GetClipStatus(
|
---|
6923 | WINED3DCLIPSTATUS *clip_status) = 0;
|
---|
6924 |
|
---|
6925 | virtual HRESULT STDMETHODCALLTYPE SetCurrentTexturePalette(
|
---|
6926 | UINT palette_number) = 0;
|
---|
6927 |
|
---|
6928 | virtual HRESULT STDMETHODCALLTYPE GetCurrentTexturePalette(
|
---|
6929 | UINT *palette_number) = 0;
|
---|
6930 |
|
---|
6931 | virtual HRESULT STDMETHODCALLTYPE SetDepthStencilSurface(
|
---|
6932 | IWineD3DSurface *depth_stencil) = 0;
|
---|
6933 |
|
---|
6934 | virtual HRESULT STDMETHODCALLTYPE GetDepthStencilSurface(
|
---|
6935 | IWineD3DSurface **depth_stencil) = 0;
|
---|
6936 |
|
---|
6937 | virtual void STDMETHODCALLTYPE SetGammaRamp(
|
---|
6938 | UINT swapchain_idx,
|
---|
6939 | DWORD flags,
|
---|
6940 | const WINED3DGAMMARAMP *ramp) = 0;
|
---|
6941 |
|
---|
6942 | virtual void STDMETHODCALLTYPE GetGammaRamp(
|
---|
6943 | UINT swapchain_idx,
|
---|
6944 | WINED3DGAMMARAMP *ramp) = 0;
|
---|
6945 |
|
---|
6946 | virtual HRESULT STDMETHODCALLTYPE SetIndexBuffer(
|
---|
6947 | IWineD3DBuffer *index_buffer,
|
---|
6948 | WINED3DFORMAT format) = 0;
|
---|
6949 |
|
---|
6950 | virtual HRESULT STDMETHODCALLTYPE GetIndexBuffer(
|
---|
6951 | IWineD3DBuffer **index_buffer) = 0;
|
---|
6952 |
|
---|
6953 | virtual HRESULT STDMETHODCALLTYPE SetBaseVertexIndex(
|
---|
6954 | INT base_index) = 0;
|
---|
6955 |
|
---|
6956 | virtual HRESULT STDMETHODCALLTYPE GetBaseVertexIndex(
|
---|
6957 | INT *base_index) = 0;
|
---|
6958 |
|
---|
6959 | virtual HRESULT STDMETHODCALLTYPE SetLight(
|
---|
6960 | DWORD light_idx,
|
---|
6961 | const WINED3DLIGHT *light) = 0;
|
---|
6962 |
|
---|
6963 | virtual HRESULT STDMETHODCALLTYPE GetLight(
|
---|
6964 | DWORD light_idx,
|
---|
6965 | WINED3DLIGHT *light) = 0;
|
---|
6966 |
|
---|
6967 | virtual HRESULT STDMETHODCALLTYPE SetLightEnable(
|
---|
6968 | DWORD light_idx,
|
---|
6969 | BOOL enable) = 0;
|
---|
6970 |
|
---|
6971 | virtual HRESULT STDMETHODCALLTYPE GetLightEnable(
|
---|
6972 | DWORD light_idx,
|
---|
6973 | BOOL *enable) = 0;
|
---|
6974 |
|
---|
6975 | virtual HRESULT STDMETHODCALLTYPE SetMaterial(
|
---|
6976 | const WINED3DMATERIAL *material) = 0;
|
---|
6977 |
|
---|
6978 | virtual HRESULT STDMETHODCALLTYPE GetMaterial(
|
---|
6979 | WINED3DMATERIAL *material) = 0;
|
---|
6980 |
|
---|
6981 | virtual HRESULT STDMETHODCALLTYPE SetNPatchMode(
|
---|
6982 | float segments) = 0;
|
---|
6983 |
|
---|
6984 | virtual float STDMETHODCALLTYPE GetNPatchMode(
|
---|
6985 | ) = 0;
|
---|
6986 |
|
---|
6987 | virtual HRESULT STDMETHODCALLTYPE SetPaletteEntries(
|
---|
6988 | UINT palette_number,
|
---|
6989 | const PALETTEENTRY *entries) = 0;
|
---|
6990 |
|
---|
6991 | virtual HRESULT STDMETHODCALLTYPE GetPaletteEntries(
|
---|
6992 | UINT palette_number,
|
---|
6993 | PALETTEENTRY *entries) = 0;
|
---|
6994 |
|
---|
6995 | virtual HRESULT STDMETHODCALLTYPE SetPixelShader(
|
---|
6996 | IWineD3DPixelShader *shader) = 0;
|
---|
6997 |
|
---|
6998 | virtual HRESULT STDMETHODCALLTYPE GetPixelShader(
|
---|
6999 | IWineD3DPixelShader **shader) = 0;
|
---|
7000 |
|
---|
7001 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantB(
|
---|
7002 | UINT start_register,
|
---|
7003 | const BOOL *constants,
|
---|
7004 | UINT bool_count) = 0;
|
---|
7005 |
|
---|
7006 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantB(
|
---|
7007 | UINT start_register,
|
---|
7008 | BOOL *constants,
|
---|
7009 | UINT bool_count) = 0;
|
---|
7010 |
|
---|
7011 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantI(
|
---|
7012 | UINT start_register,
|
---|
7013 | const int *constants,
|
---|
7014 | UINT vector4i_count) = 0;
|
---|
7015 |
|
---|
7016 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantI(
|
---|
7017 | UINT start_register,
|
---|
7018 | int *constants,
|
---|
7019 | UINT vector4i_count) = 0;
|
---|
7020 |
|
---|
7021 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantF(
|
---|
7022 | UINT start_register,
|
---|
7023 | const float *constants,
|
---|
7024 | UINT vector4f_count) = 0;
|
---|
7025 |
|
---|
7026 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantF(
|
---|
7027 | UINT start_register,
|
---|
7028 | float *constants,
|
---|
7029 | UINT vector4f_count) = 0;
|
---|
7030 |
|
---|
7031 | virtual HRESULT STDMETHODCALLTYPE SetRenderState(
|
---|
7032 | WINED3DRENDERSTATETYPE state,
|
---|
7033 | DWORD value) = 0;
|
---|
7034 |
|
---|
7035 | virtual HRESULT STDMETHODCALLTYPE GetRenderState(
|
---|
7036 | WINED3DRENDERSTATETYPE state,
|
---|
7037 | DWORD *value) = 0;
|
---|
7038 |
|
---|
7039 | virtual HRESULT STDMETHODCALLTYPE SetRenderTarget(
|
---|
7040 | DWORD render_target_idx,
|
---|
7041 | IWineD3DSurface *render_target,
|
---|
7042 | BOOL set_viewport) = 0;
|
---|
7043 |
|
---|
7044 | virtual HRESULT STDMETHODCALLTYPE GetRenderTarget(
|
---|
7045 | DWORD render_target_idx,
|
---|
7046 | IWineD3DSurface **render_target) = 0;
|
---|
7047 |
|
---|
7048 | virtual HRESULT STDMETHODCALLTYPE SetFrontBackBuffers(
|
---|
7049 | IWineD3DSurface *front,
|
---|
7050 | IWineD3DSurface *back) = 0;
|
---|
7051 |
|
---|
7052 | virtual HRESULT STDMETHODCALLTYPE SetSamplerState(
|
---|
7053 | DWORD sampler_idx,
|
---|
7054 | WINED3DSAMPLERSTATETYPE state,
|
---|
7055 | DWORD value) = 0;
|
---|
7056 |
|
---|
7057 | virtual HRESULT STDMETHODCALLTYPE GetSamplerState(
|
---|
7058 | DWORD sampler_idx,
|
---|
7059 | WINED3DSAMPLERSTATETYPE state,
|
---|
7060 | DWORD *value) = 0;
|
---|
7061 |
|
---|
7062 | virtual HRESULT STDMETHODCALLTYPE SetScissorRect(
|
---|
7063 | const RECT *rect) = 0;
|
---|
7064 |
|
---|
7065 | virtual HRESULT STDMETHODCALLTYPE GetScissorRect(
|
---|
7066 | RECT *rect) = 0;
|
---|
7067 |
|
---|
7068 | virtual HRESULT STDMETHODCALLTYPE SetSoftwareVertexProcessing(
|
---|
7069 | BOOL software) = 0;
|
---|
7070 |
|
---|
7071 | virtual BOOL STDMETHODCALLTYPE GetSoftwareVertexProcessing(
|
---|
7072 | ) = 0;
|
---|
7073 |
|
---|
7074 | virtual HRESULT STDMETHODCALLTYPE SetStreamSource(
|
---|
7075 | UINT stream_idx,
|
---|
7076 | IWineD3DBuffer *buffer,
|
---|
7077 | UINT offset,
|
---|
7078 | UINT stride) = 0;
|
---|
7079 |
|
---|
7080 | virtual HRESULT STDMETHODCALLTYPE GetStreamSource(
|
---|
7081 | UINT stream_idx,
|
---|
7082 | IWineD3DBuffer **buffer,
|
---|
7083 | UINT *offset,
|
---|
7084 | UINT *stride) = 0;
|
---|
7085 |
|
---|
7086 | virtual HRESULT STDMETHODCALLTYPE SetStreamSourceFreq(
|
---|
7087 | UINT stream_idx,
|
---|
7088 | UINT divider) = 0;
|
---|
7089 |
|
---|
7090 | virtual HRESULT STDMETHODCALLTYPE GetStreamSourceFreq(
|
---|
7091 | UINT stream_idx,
|
---|
7092 | UINT *divider) = 0;
|
---|
7093 |
|
---|
7094 | virtual HRESULT STDMETHODCALLTYPE SetTexture(
|
---|
7095 | DWORD stage,
|
---|
7096 | IWineD3DBaseTexture *texture) = 0;
|
---|
7097 |
|
---|
7098 | virtual HRESULT STDMETHODCALLTYPE GetTexture(
|
---|
7099 | DWORD stage,
|
---|
7100 | IWineD3DBaseTexture **texture) = 0;
|
---|
7101 |
|
---|
7102 | virtual HRESULT STDMETHODCALLTYPE SetTextureStageState(
|
---|
7103 | DWORD stage,
|
---|
7104 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7105 | DWORD value) = 0;
|
---|
7106 |
|
---|
7107 | virtual HRESULT STDMETHODCALLTYPE GetTextureStageState(
|
---|
7108 | DWORD stage,
|
---|
7109 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7110 | DWORD *value) = 0;
|
---|
7111 |
|
---|
7112 | virtual HRESULT STDMETHODCALLTYPE SetTransform(
|
---|
7113 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7114 | const WINED3DMATRIX *matrix) = 0;
|
---|
7115 |
|
---|
7116 | virtual HRESULT STDMETHODCALLTYPE GetTransform(
|
---|
7117 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7118 | WINED3DMATRIX *matrix) = 0;
|
---|
7119 |
|
---|
7120 | virtual HRESULT STDMETHODCALLTYPE SetVertexDeclaration(
|
---|
7121 | IWineD3DVertexDeclaration *declaration) = 0;
|
---|
7122 |
|
---|
7123 | virtual HRESULT STDMETHODCALLTYPE GetVertexDeclaration(
|
---|
7124 | IWineD3DVertexDeclaration **declaration) = 0;
|
---|
7125 |
|
---|
7126 | virtual HRESULT STDMETHODCALLTYPE SetVertexShader(
|
---|
7127 | IWineD3DVertexShader *shader) = 0;
|
---|
7128 |
|
---|
7129 | virtual HRESULT STDMETHODCALLTYPE GetVertexShader(
|
---|
7130 | IWineD3DVertexShader **shader) = 0;
|
---|
7131 |
|
---|
7132 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantB(
|
---|
7133 | UINT start_register,
|
---|
7134 | const BOOL *constants,
|
---|
7135 | UINT bool_count) = 0;
|
---|
7136 |
|
---|
7137 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantB(
|
---|
7138 | UINT start_register,
|
---|
7139 | BOOL *constants,
|
---|
7140 | UINT bool_count) = 0;
|
---|
7141 |
|
---|
7142 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantI(
|
---|
7143 | UINT start_register,
|
---|
7144 | const int *constants,
|
---|
7145 | UINT vector4i_count) = 0;
|
---|
7146 |
|
---|
7147 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantI(
|
---|
7148 | UINT start_register,
|
---|
7149 | int *constants,
|
---|
7150 | UINT vector4i_count) = 0;
|
---|
7151 |
|
---|
7152 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantF(
|
---|
7153 | UINT start_register,
|
---|
7154 | const float *constants,
|
---|
7155 | UINT vector4f_count) = 0;
|
---|
7156 |
|
---|
7157 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantF(
|
---|
7158 | UINT start_register,
|
---|
7159 | float *constants,
|
---|
7160 | UINT vector4f_count) = 0;
|
---|
7161 |
|
---|
7162 | virtual HRESULT STDMETHODCALLTYPE SetViewport(
|
---|
7163 | const WINED3DVIEWPORT *viewport) = 0;
|
---|
7164 |
|
---|
7165 | virtual HRESULT STDMETHODCALLTYPE GetViewport(
|
---|
7166 | WINED3DVIEWPORT *viewport) = 0;
|
---|
7167 |
|
---|
7168 | virtual HRESULT STDMETHODCALLTYPE MultiplyTransform(
|
---|
7169 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7170 | const WINED3DMATRIX *matrix) = 0;
|
---|
7171 |
|
---|
7172 | virtual HRESULT STDMETHODCALLTYPE ValidateDevice(
|
---|
7173 | DWORD *num_passes) = 0;
|
---|
7174 |
|
---|
7175 | virtual HRESULT STDMETHODCALLTYPE ProcessVertices(
|
---|
7176 | UINT src_start_idx,
|
---|
7177 | UINT dst_idx,
|
---|
7178 | UINT vertex_count,
|
---|
7179 | IWineD3DBuffer *dest_buffer,
|
---|
7180 | IWineD3DVertexDeclaration *declaration,
|
---|
7181 | DWORD flags,
|
---|
7182 | DWORD DestFVF) = 0;
|
---|
7183 |
|
---|
7184 | virtual HRESULT STDMETHODCALLTYPE BeginStateBlock(
|
---|
7185 | ) = 0;
|
---|
7186 |
|
---|
7187 | virtual HRESULT STDMETHODCALLTYPE EndStateBlock(
|
---|
7188 | IWineD3DStateBlock **stateblock) = 0;
|
---|
7189 |
|
---|
7190 | virtual HRESULT STDMETHODCALLTYPE BeginScene(
|
---|
7191 | ) = 0;
|
---|
7192 |
|
---|
7193 | virtual HRESULT STDMETHODCALLTYPE EndScene(
|
---|
7194 | ) = 0;
|
---|
7195 |
|
---|
7196 | virtual HRESULT STDMETHODCALLTYPE Present(
|
---|
7197 | const RECT *src_rect,
|
---|
7198 | const RECT *dst_rect,
|
---|
7199 | HWND dst_window_override,
|
---|
7200 | const RGNDATA *dirty_region) = 0;
|
---|
7201 |
|
---|
7202 | virtual HRESULT STDMETHODCALLTYPE Clear(
|
---|
7203 | DWORD rect_count,
|
---|
7204 | const WINED3DRECT *rects,
|
---|
7205 | DWORD flags,
|
---|
7206 | WINED3DCOLOR color,
|
---|
7207 | float z,
|
---|
7208 | DWORD stencil) = 0;
|
---|
7209 |
|
---|
7210 | virtual void STDMETHODCALLTYPE ClearRendertargetView(
|
---|
7211 | IWineD3DRendertargetView *rendertarget_view,
|
---|
7212 | const float color[4]) = 0;
|
---|
7213 |
|
---|
7214 | virtual void STDMETHODCALLTYPE SetPrimitiveType(
|
---|
7215 | WINED3DPRIMITIVETYPE primitive_topology) = 0;
|
---|
7216 |
|
---|
7217 | virtual void STDMETHODCALLTYPE GetPrimitiveType(
|
---|
7218 | WINED3DPRIMITIVETYPE *primitive_topology) = 0;
|
---|
7219 |
|
---|
7220 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitive(
|
---|
7221 | UINT start_vertex,
|
---|
7222 | UINT vertex_count) = 0;
|
---|
7223 |
|
---|
7224 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitive(
|
---|
7225 | UINT start_idx,
|
---|
7226 | UINT index_count) = 0;
|
---|
7227 |
|
---|
7228 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitiveUP(
|
---|
7229 | UINT vertex_count,
|
---|
7230 | const void *stream_data,
|
---|
7231 | UINT stream_stride) = 0;
|
---|
7232 |
|
---|
7233 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveUP(
|
---|
7234 | UINT index_count,
|
---|
7235 | const void *index_data,
|
---|
7236 | WINED3DFORMAT index_data_format,
|
---|
7237 | const void *stream_data,
|
---|
7238 | UINT stream_stride) = 0;
|
---|
7239 |
|
---|
7240 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitiveStrided(
|
---|
7241 | UINT vertex_count,
|
---|
7242 | const WineDirect3DVertexStridedData *strided_data) = 0;
|
---|
7243 |
|
---|
7244 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveStrided(
|
---|
7245 | UINT index_count,
|
---|
7246 | const WineDirect3DVertexStridedData *strided_data,
|
---|
7247 | UINT vertex_count,
|
---|
7248 | const void *index_data,
|
---|
7249 | WINED3DFORMAT index_data_format) = 0;
|
---|
7250 |
|
---|
7251 | virtual HRESULT STDMETHODCALLTYPE DrawRectPatch(
|
---|
7252 | UINT handle,
|
---|
7253 | const float *num_segs,
|
---|
7254 | const WINED3DRECTPATCH_INFO *rect_patch_info) = 0;
|
---|
7255 |
|
---|
7256 | virtual HRESULT STDMETHODCALLTYPE DrawTriPatch(
|
---|
7257 | UINT handle,
|
---|
7258 | const float *num_segs,
|
---|
7259 | const WINED3DTRIPATCH_INFO *tri_patch_info) = 0;
|
---|
7260 |
|
---|
7261 | virtual HRESULT STDMETHODCALLTYPE DeletePatch(
|
---|
7262 | UINT handle) = 0;
|
---|
7263 |
|
---|
7264 | virtual HRESULT STDMETHODCALLTYPE ColorFill(
|
---|
7265 | IWineD3DSurface *surface,
|
---|
7266 | const WINED3DRECT *rect,
|
---|
7267 | WINED3DCOLOR color) = 0;
|
---|
7268 |
|
---|
7269 | virtual HRESULT STDMETHODCALLTYPE UpdateTexture(
|
---|
7270 | IWineD3DBaseTexture *src_texture,
|
---|
7271 | IWineD3DBaseTexture *dst_texture) = 0;
|
---|
7272 |
|
---|
7273 | virtual HRESULT STDMETHODCALLTYPE UpdateSurface(
|
---|
7274 | IWineD3DSurface *src_surface,
|
---|
7275 | const RECT *src_rect,
|
---|
7276 | IWineD3DSurface *dst_surface,
|
---|
7277 | const POINT *dst_point) = 0;
|
---|
7278 |
|
---|
7279 | virtual HRESULT STDMETHODCALLTYPE GetFrontBufferData(
|
---|
7280 | UINT swapchain_idx,
|
---|
7281 | IWineD3DSurface *dst_surface) = 0;
|
---|
7282 |
|
---|
7283 | virtual HRESULT STDMETHODCALLTYPE EnumResources(
|
---|
7284 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
7285 | void *data) = 0;
|
---|
7286 |
|
---|
7287 | virtual HRESULT STDMETHODCALLTYPE GetSurfaceFromDC(
|
---|
7288 | HDC dc,
|
---|
7289 | IWineD3DSurface **surface) = 0;
|
---|
7290 |
|
---|
7291 | virtual HRESULT STDMETHODCALLTYPE AcquireFocusWindow(
|
---|
7292 | HWND window) = 0;
|
---|
7293 |
|
---|
7294 | virtual void STDMETHODCALLTYPE ReleaseFocusWindow(
|
---|
7295 | ) = 0;
|
---|
7296 |
|
---|
7297 | };
|
---|
7298 | #else
|
---|
7299 | typedef struct IWineD3DDeviceVtbl {
|
---|
7300 | BEGIN_INTERFACE
|
---|
7301 |
|
---|
7302 | /*** IUnknown methods ***/
|
---|
7303 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7304 | IWineD3DDevice* This,
|
---|
7305 | REFIID riid,
|
---|
7306 | void **ppvObject);
|
---|
7307 |
|
---|
7308 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7309 | IWineD3DDevice* This);
|
---|
7310 |
|
---|
7311 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7312 | IWineD3DDevice* This);
|
---|
7313 |
|
---|
7314 | /*** IWineD3DBase methods ***/
|
---|
7315 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
7316 | IWineD3DDevice* This,
|
---|
7317 | IUnknown **parent);
|
---|
7318 |
|
---|
7319 | /*** IWineD3DDevice methods ***/
|
---|
7320 | HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
|
---|
7321 | IWineD3DDevice* This,
|
---|
7322 | struct wined3d_buffer_desc *desc,
|
---|
7323 | const void *data,
|
---|
7324 | IUnknown *parent,
|
---|
7325 | const struct wined3d_parent_ops *parent_ops,
|
---|
7326 | IWineD3DBuffer **buffer);
|
---|
7327 |
|
---|
7328 | HRESULT (STDMETHODCALLTYPE *CreateVertexBuffer)(
|
---|
7329 | IWineD3DDevice* This,
|
---|
7330 | UINT length,
|
---|
7331 | DWORD usage,
|
---|
7332 | WINED3DPOOL pool,
|
---|
7333 | IWineD3DBuffer **vertex_buffer,
|
---|
7334 | IUnknown *parent,
|
---|
7335 | const struct wined3d_parent_ops *parent_ops);
|
---|
7336 |
|
---|
7337 | HRESULT (STDMETHODCALLTYPE *CreateIndexBuffer)(
|
---|
7338 | IWineD3DDevice* This,
|
---|
7339 | UINT length,
|
---|
7340 | DWORD usage,
|
---|
7341 | WINED3DPOOL pool,
|
---|
7342 | IWineD3DBuffer **index_buffer,
|
---|
7343 | IUnknown *parent,
|
---|
7344 | const struct wined3d_parent_ops *parent_ops);
|
---|
7345 |
|
---|
7346 | HRESULT (STDMETHODCALLTYPE *CreateStateBlock)(
|
---|
7347 | IWineD3DDevice* This,
|
---|
7348 | WINED3DSTATEBLOCKTYPE type,
|
---|
7349 | IWineD3DStateBlock **stateblock,
|
---|
7350 | IUnknown *parent);
|
---|
7351 |
|
---|
7352 | HRESULT (STDMETHODCALLTYPE *CreateSurface)(
|
---|
7353 | IWineD3DDevice* This,
|
---|
7354 | UINT width,
|
---|
7355 | UINT height,
|
---|
7356 | WINED3DFORMAT format,
|
---|
7357 | BOOL lockable,
|
---|
7358 | BOOL discard,
|
---|
7359 | UINT level,
|
---|
7360 | IWineD3DSurface **surface,
|
---|
7361 | DWORD usage,
|
---|
7362 | WINED3DPOOL pool,
|
---|
7363 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
7364 | DWORD multisample_quality,
|
---|
7365 | WINED3DSURFTYPE surface_type,
|
---|
7366 | IUnknown *parent,
|
---|
7367 | const struct wined3d_parent_ops *parent_ops
|
---|
7368 | #ifdef VBOXWDDM
|
---|
7369 | , HANDLE *shared_handle
|
---|
7370 | , void *pvClientMem
|
---|
7371 | #endif
|
---|
7372 | );
|
---|
7373 |
|
---|
7374 | HRESULT (STDMETHODCALLTYPE *CreateRendertargetView)(
|
---|
7375 | IWineD3DDevice* This,
|
---|
7376 | IWineD3DResource *resource,
|
---|
7377 | IUnknown *parent,
|
---|
7378 | IWineD3DRendertargetView **rendertarget_view);
|
---|
7379 |
|
---|
7380 | HRESULT (STDMETHODCALLTYPE *CreateTexture)(
|
---|
7381 | IWineD3DDevice* This,
|
---|
7382 | UINT width,
|
---|
7383 | UINT height,
|
---|
7384 | UINT levels,
|
---|
7385 | DWORD usage,
|
---|
7386 | WINED3DFORMAT format,
|
---|
7387 | WINED3DPOOL pool,
|
---|
7388 | IWineD3DTexture **texture,
|
---|
7389 | IUnknown *parent,
|
---|
7390 | const struct wined3d_parent_ops *parent_ops
|
---|
7391 | #ifdef VBOXWDDM
|
---|
7392 | , HANDLE *shared_handle
|
---|
7393 | , void *pvClientMem
|
---|
7394 | #endif
|
---|
7395 | );
|
---|
7396 |
|
---|
7397 | HRESULT (STDMETHODCALLTYPE *CreateVolumeTexture)(
|
---|
7398 | IWineD3DDevice* This,
|
---|
7399 | UINT width,
|
---|
7400 | UINT height,
|
---|
7401 | UINT depth,
|
---|
7402 | UINT levels,
|
---|
7403 | DWORD usage,
|
---|
7404 | WINED3DFORMAT format,
|
---|
7405 | WINED3DPOOL pool,
|
---|
7406 | IWineD3DVolumeTexture **texture,
|
---|
7407 | IUnknown *parent,
|
---|
7408 | const struct wined3d_parent_ops *parent_ops);
|
---|
7409 |
|
---|
7410 | HRESULT (STDMETHODCALLTYPE *CreateVolume)(
|
---|
7411 | IWineD3DDevice* This,
|
---|
7412 | UINT width,
|
---|
7413 | UINT height,
|
---|
7414 | UINT depth,
|
---|
7415 | DWORD usage,
|
---|
7416 | WINED3DFORMAT format,
|
---|
7417 | WINED3DPOOL pool,
|
---|
7418 | IWineD3DVolume **volume,
|
---|
7419 | IUnknown *parent,
|
---|
7420 | const struct wined3d_parent_ops *parent_ops);
|
---|
7421 |
|
---|
7422 | HRESULT (STDMETHODCALLTYPE *CreateCubeTexture)(
|
---|
7423 | IWineD3DDevice* This,
|
---|
7424 | UINT edge_length,
|
---|
7425 | UINT levels,
|
---|
7426 | DWORD usage,
|
---|
7427 | WINED3DFORMAT format,
|
---|
7428 | WINED3DPOOL pool,
|
---|
7429 | IWineD3DCubeTexture **texture,
|
---|
7430 | IUnknown *parent,
|
---|
7431 | const struct wined3d_parent_ops *parent_ops);
|
---|
7432 |
|
---|
7433 | HRESULT (STDMETHODCALLTYPE *CreateQuery)(
|
---|
7434 | IWineD3DDevice* This,
|
---|
7435 | WINED3DQUERYTYPE type,
|
---|
7436 | IWineD3DQuery **query,
|
---|
7437 | IUnknown *parent);
|
---|
7438 |
|
---|
7439 | HRESULT (STDMETHODCALLTYPE *CreateSwapChain)(
|
---|
7440 | IWineD3DDevice* This,
|
---|
7441 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
7442 | IWineD3DSwapChain **swapchain,
|
---|
7443 | IUnknown *parent,
|
---|
7444 | WINED3DSURFTYPE surface_type);
|
---|
7445 |
|
---|
7446 | HRESULT (STDMETHODCALLTYPE *CreateVertexDeclaration)(
|
---|
7447 | IWineD3DDevice* This,
|
---|
7448 | IWineD3DVertexDeclaration **declaration,
|
---|
7449 | IUnknown *parent,
|
---|
7450 | const struct wined3d_parent_ops *parent_ops,
|
---|
7451 | const WINED3DVERTEXELEMENT *elements,
|
---|
7452 | UINT element_count);
|
---|
7453 |
|
---|
7454 | HRESULT (STDMETHODCALLTYPE *CreateVertexDeclarationFromFVF)(
|
---|
7455 | IWineD3DDevice* This,
|
---|
7456 | IWineD3DVertexDeclaration **declaration,
|
---|
7457 | IUnknown *parent,
|
---|
7458 | const struct wined3d_parent_ops *parent_ops,
|
---|
7459 | DWORD fvf);
|
---|
7460 |
|
---|
7461 | HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
|
---|
7462 | IWineD3DDevice* This,
|
---|
7463 | const DWORD *function,
|
---|
7464 | const struct wined3d_shader_signature *output_signature,
|
---|
7465 | IWineD3DVertexShader **shader,
|
---|
7466 | IUnknown *parent,
|
---|
7467 | const struct wined3d_parent_ops *parent_ops);
|
---|
7468 |
|
---|
7469 | HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)(
|
---|
7470 | IWineD3DDevice* This,
|
---|
7471 | const DWORD *byte_code,
|
---|
7472 | const struct wined3d_shader_signature *output_signature,
|
---|
7473 | IWineD3DGeometryShader **shader,
|
---|
7474 | IUnknown *parent,
|
---|
7475 | const struct wined3d_parent_ops *parent_ops);
|
---|
7476 |
|
---|
7477 | HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
|
---|
7478 | IWineD3DDevice* This,
|
---|
7479 | const DWORD *function,
|
---|
7480 | const struct wined3d_shader_signature *output_signature,
|
---|
7481 | IWineD3DPixelShader **shader,
|
---|
7482 | IUnknown *parent,
|
---|
7483 | const struct wined3d_parent_ops *parent_ops);
|
---|
7484 |
|
---|
7485 | HRESULT (STDMETHODCALLTYPE *CreatePalette)(
|
---|
7486 | IWineD3DDevice* This,
|
---|
7487 | DWORD flags,
|
---|
7488 | const PALETTEENTRY *palette_entry,
|
---|
7489 | IWineD3DPalette **palette,
|
---|
7490 | IUnknown *parent);
|
---|
7491 |
|
---|
7492 | HRESULT (STDMETHODCALLTYPE *Init3D)(
|
---|
7493 | IWineD3DDevice* This,
|
---|
7494 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7495 |
|
---|
7496 | HRESULT (STDMETHODCALLTYPE *InitGDI)(
|
---|
7497 | IWineD3DDevice* This,
|
---|
7498 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7499 |
|
---|
7500 | HRESULT (STDMETHODCALLTYPE *Uninit3D)(
|
---|
7501 | IWineD3DDevice* This,
|
---|
7502 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
7503 |
|
---|
7504 | HRESULT (STDMETHODCALLTYPE *UninitGDI)(
|
---|
7505 | IWineD3DDevice* This,
|
---|
7506 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
7507 |
|
---|
7508 | void (STDMETHODCALLTYPE *SetMultithreaded)(
|
---|
7509 | IWineD3DDevice* This);
|
---|
7510 |
|
---|
7511 | HRESULT (STDMETHODCALLTYPE *EvictManagedResources)(
|
---|
7512 | IWineD3DDevice* This);
|
---|
7513 |
|
---|
7514 | UINT (STDMETHODCALLTYPE *GetAvailableTextureMem)(
|
---|
7515 | IWineD3DDevice* This);
|
---|
7516 |
|
---|
7517 | HRESULT (STDMETHODCALLTYPE *GetBackBuffer)(
|
---|
7518 | IWineD3DDevice* This,
|
---|
7519 | UINT swapchain_idx,
|
---|
7520 | UINT backbuffer_idx,
|
---|
7521 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
7522 | IWineD3DSurface **backbuffer);
|
---|
7523 |
|
---|
7524 | HRESULT (STDMETHODCALLTYPE *GetCreationParameters)(
|
---|
7525 | IWineD3DDevice* This,
|
---|
7526 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
---|
7527 |
|
---|
7528 | HRESULT (STDMETHODCALLTYPE *GetDeviceCaps)(
|
---|
7529 | IWineD3DDevice* This,
|
---|
7530 | WINED3DCAPS *caps);
|
---|
7531 |
|
---|
7532 | HRESULT (STDMETHODCALLTYPE *GetDirect3D)(
|
---|
7533 | IWineD3DDevice* This,
|
---|
7534 | IWineD3D **d3d);
|
---|
7535 |
|
---|
7536 | HRESULT (STDMETHODCALLTYPE *GetDisplayMode)(
|
---|
7537 | IWineD3DDevice* This,
|
---|
7538 | UINT swapchain_idx,
|
---|
7539 | WINED3DDISPLAYMODE *mode);
|
---|
7540 |
|
---|
7541 | HRESULT (STDMETHODCALLTYPE *SetDisplayMode)(
|
---|
7542 | IWineD3DDevice* This,
|
---|
7543 | UINT swapchain_idx,
|
---|
7544 | const WINED3DDISPLAYMODE *mode);
|
---|
7545 |
|
---|
7546 | UINT (STDMETHODCALLTYPE *GetNumberOfSwapChains)(
|
---|
7547 | IWineD3DDevice* This);
|
---|
7548 |
|
---|
7549 | HRESULT (STDMETHODCALLTYPE *GetRasterStatus)(
|
---|
7550 | IWineD3DDevice* This,
|
---|
7551 | UINT swapchain_idx,
|
---|
7552 | WINED3DRASTER_STATUS *raster_status);
|
---|
7553 |
|
---|
7554 | HRESULT (STDMETHODCALLTYPE *GetSwapChain)(
|
---|
7555 | IWineD3DDevice* This,
|
---|
7556 | UINT swapchain_idx,
|
---|
7557 | IWineD3DSwapChain **swapchain);
|
---|
7558 |
|
---|
7559 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
7560 | IWineD3DDevice* This,
|
---|
7561 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7562 |
|
---|
7563 | HRESULT (STDMETHODCALLTYPE *SetDialogBoxMode)(
|
---|
7564 | IWineD3DDevice* This,
|
---|
7565 | BOOL enable_dialogs);
|
---|
7566 |
|
---|
7567 | HRESULT (STDMETHODCALLTYPE *SetCursorProperties)(
|
---|
7568 | IWineD3DDevice* This,
|
---|
7569 | UINT x_hotspot,
|
---|
7570 | UINT y_hotspot,
|
---|
7571 | IWineD3DSurface *cursor_surface);
|
---|
7572 |
|
---|
7573 | void (STDMETHODCALLTYPE *SetCursorPosition)(
|
---|
7574 | IWineD3DDevice* This,
|
---|
7575 | int x_screen_space,
|
---|
7576 | int y_screen_space,
|
---|
7577 | DWORD flags);
|
---|
7578 |
|
---|
7579 | BOOL (STDMETHODCALLTYPE *ShowCursor)(
|
---|
7580 | IWineD3DDevice* This,
|
---|
7581 | BOOL show);
|
---|
7582 |
|
---|
7583 | HRESULT (STDMETHODCALLTYPE *SetClipPlane)(
|
---|
7584 | IWineD3DDevice* This,
|
---|
7585 | DWORD plane_idx,
|
---|
7586 | const float *plane);
|
---|
7587 |
|
---|
7588 | HRESULT (STDMETHODCALLTYPE *GetClipPlane)(
|
---|
7589 | IWineD3DDevice* This,
|
---|
7590 | DWORD plane_idx,
|
---|
7591 | float *plane);
|
---|
7592 |
|
---|
7593 | HRESULT (STDMETHODCALLTYPE *SetClipStatus)(
|
---|
7594 | IWineD3DDevice* This,
|
---|
7595 | const WINED3DCLIPSTATUS *clip_status);
|
---|
7596 |
|
---|
7597 | HRESULT (STDMETHODCALLTYPE *GetClipStatus)(
|
---|
7598 | IWineD3DDevice* This,
|
---|
7599 | WINED3DCLIPSTATUS *clip_status);
|
---|
7600 |
|
---|
7601 | HRESULT (STDMETHODCALLTYPE *SetCurrentTexturePalette)(
|
---|
7602 | IWineD3DDevice* This,
|
---|
7603 | UINT palette_number);
|
---|
7604 |
|
---|
7605 | HRESULT (STDMETHODCALLTYPE *GetCurrentTexturePalette)(
|
---|
7606 | IWineD3DDevice* This,
|
---|
7607 | UINT *palette_number);
|
---|
7608 |
|
---|
7609 | HRESULT (STDMETHODCALLTYPE *SetDepthStencilSurface)(
|
---|
7610 | IWineD3DDevice* This,
|
---|
7611 | IWineD3DSurface *depth_stencil);
|
---|
7612 |
|
---|
7613 | HRESULT (STDMETHODCALLTYPE *GetDepthStencilSurface)(
|
---|
7614 | IWineD3DDevice* This,
|
---|
7615 | IWineD3DSurface **depth_stencil);
|
---|
7616 |
|
---|
7617 | void (STDMETHODCALLTYPE *SetGammaRamp)(
|
---|
7618 | IWineD3DDevice* This,
|
---|
7619 | UINT swapchain_idx,
|
---|
7620 | DWORD flags,
|
---|
7621 | const WINED3DGAMMARAMP *ramp);
|
---|
7622 |
|
---|
7623 | void (STDMETHODCALLTYPE *GetGammaRamp)(
|
---|
7624 | IWineD3DDevice* This,
|
---|
7625 | UINT swapchain_idx,
|
---|
7626 | WINED3DGAMMARAMP *ramp);
|
---|
7627 |
|
---|
7628 | HRESULT (STDMETHODCALLTYPE *SetIndexBuffer)(
|
---|
7629 | IWineD3DDevice* This,
|
---|
7630 | IWineD3DBuffer *index_buffer,
|
---|
7631 | WINED3DFORMAT format);
|
---|
7632 |
|
---|
7633 | HRESULT (STDMETHODCALLTYPE *GetIndexBuffer)(
|
---|
7634 | IWineD3DDevice* This,
|
---|
7635 | IWineD3DBuffer **index_buffer);
|
---|
7636 |
|
---|
7637 | HRESULT (STDMETHODCALLTYPE *SetBaseVertexIndex)(
|
---|
7638 | IWineD3DDevice* This,
|
---|
7639 | INT base_index);
|
---|
7640 |
|
---|
7641 | HRESULT (STDMETHODCALLTYPE *GetBaseVertexIndex)(
|
---|
7642 | IWineD3DDevice* This,
|
---|
7643 | INT *base_index);
|
---|
7644 |
|
---|
7645 | HRESULT (STDMETHODCALLTYPE *SetLight)(
|
---|
7646 | IWineD3DDevice* This,
|
---|
7647 | DWORD light_idx,
|
---|
7648 | const WINED3DLIGHT *light);
|
---|
7649 |
|
---|
7650 | HRESULT (STDMETHODCALLTYPE *GetLight)(
|
---|
7651 | IWineD3DDevice* This,
|
---|
7652 | DWORD light_idx,
|
---|
7653 | WINED3DLIGHT *light);
|
---|
7654 |
|
---|
7655 | HRESULT (STDMETHODCALLTYPE *SetLightEnable)(
|
---|
7656 | IWineD3DDevice* This,
|
---|
7657 | DWORD light_idx,
|
---|
7658 | BOOL enable);
|
---|
7659 |
|
---|
7660 | HRESULT (STDMETHODCALLTYPE *GetLightEnable)(
|
---|
7661 | IWineD3DDevice* This,
|
---|
7662 | DWORD light_idx,
|
---|
7663 | BOOL *enable);
|
---|
7664 |
|
---|
7665 | HRESULT (STDMETHODCALLTYPE *SetMaterial)(
|
---|
7666 | IWineD3DDevice* This,
|
---|
7667 | const WINED3DMATERIAL *material);
|
---|
7668 |
|
---|
7669 | HRESULT (STDMETHODCALLTYPE *GetMaterial)(
|
---|
7670 | IWineD3DDevice* This,
|
---|
7671 | WINED3DMATERIAL *material);
|
---|
7672 |
|
---|
7673 | HRESULT (STDMETHODCALLTYPE *SetNPatchMode)(
|
---|
7674 | IWineD3DDevice* This,
|
---|
7675 | float segments);
|
---|
7676 |
|
---|
7677 | float (STDMETHODCALLTYPE *GetNPatchMode)(
|
---|
7678 | IWineD3DDevice* This);
|
---|
7679 |
|
---|
7680 | HRESULT (STDMETHODCALLTYPE *SetPaletteEntries)(
|
---|
7681 | IWineD3DDevice* This,
|
---|
7682 | UINT palette_number,
|
---|
7683 | const PALETTEENTRY *entries);
|
---|
7684 |
|
---|
7685 | HRESULT (STDMETHODCALLTYPE *GetPaletteEntries)(
|
---|
7686 | IWineD3DDevice* This,
|
---|
7687 | UINT palette_number,
|
---|
7688 | PALETTEENTRY *entries);
|
---|
7689 |
|
---|
7690 | HRESULT (STDMETHODCALLTYPE *SetPixelShader)(
|
---|
7691 | IWineD3DDevice* This,
|
---|
7692 | IWineD3DPixelShader *shader);
|
---|
7693 |
|
---|
7694 | HRESULT (STDMETHODCALLTYPE *GetPixelShader)(
|
---|
7695 | IWineD3DDevice* This,
|
---|
7696 | IWineD3DPixelShader **shader);
|
---|
7697 |
|
---|
7698 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantB)(
|
---|
7699 | IWineD3DDevice* This,
|
---|
7700 | UINT start_register,
|
---|
7701 | const BOOL *constants,
|
---|
7702 | UINT bool_count);
|
---|
7703 |
|
---|
7704 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantB)(
|
---|
7705 | IWineD3DDevice* This,
|
---|
7706 | UINT start_register,
|
---|
7707 | BOOL *constants,
|
---|
7708 | UINT bool_count);
|
---|
7709 |
|
---|
7710 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantI)(
|
---|
7711 | IWineD3DDevice* This,
|
---|
7712 | UINT start_register,
|
---|
7713 | const int *constants,
|
---|
7714 | UINT vector4i_count);
|
---|
7715 |
|
---|
7716 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantI)(
|
---|
7717 | IWineD3DDevice* This,
|
---|
7718 | UINT start_register,
|
---|
7719 | int *constants,
|
---|
7720 | UINT vector4i_count);
|
---|
7721 |
|
---|
7722 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantF)(
|
---|
7723 | IWineD3DDevice* This,
|
---|
7724 | UINT start_register,
|
---|
7725 | const float *constants,
|
---|
7726 | UINT vector4f_count);
|
---|
7727 |
|
---|
7728 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantF)(
|
---|
7729 | IWineD3DDevice* This,
|
---|
7730 | UINT start_register,
|
---|
7731 | float *constants,
|
---|
7732 | UINT vector4f_count);
|
---|
7733 |
|
---|
7734 | HRESULT (STDMETHODCALLTYPE *SetRenderState)(
|
---|
7735 | IWineD3DDevice* This,
|
---|
7736 | WINED3DRENDERSTATETYPE state,
|
---|
7737 | DWORD value);
|
---|
7738 |
|
---|
7739 | HRESULT (STDMETHODCALLTYPE *GetRenderState)(
|
---|
7740 | IWineD3DDevice* This,
|
---|
7741 | WINED3DRENDERSTATETYPE state,
|
---|
7742 | DWORD *value);
|
---|
7743 |
|
---|
7744 | HRESULT (STDMETHODCALLTYPE *SetRenderTarget)(
|
---|
7745 | IWineD3DDevice* This,
|
---|
7746 | DWORD render_target_idx,
|
---|
7747 | IWineD3DSurface *render_target,
|
---|
7748 | BOOL set_viewport);
|
---|
7749 |
|
---|
7750 | HRESULT (STDMETHODCALLTYPE *GetRenderTarget)(
|
---|
7751 | IWineD3DDevice* This,
|
---|
7752 | DWORD render_target_idx,
|
---|
7753 | IWineD3DSurface **render_target);
|
---|
7754 |
|
---|
7755 | HRESULT (STDMETHODCALLTYPE *SetFrontBackBuffers)(
|
---|
7756 | IWineD3DDevice* This,
|
---|
7757 | IWineD3DSurface *front,
|
---|
7758 | IWineD3DSurface *back);
|
---|
7759 |
|
---|
7760 | HRESULT (STDMETHODCALLTYPE *SetSamplerState)(
|
---|
7761 | IWineD3DDevice* This,
|
---|
7762 | DWORD sampler_idx,
|
---|
7763 | WINED3DSAMPLERSTATETYPE state,
|
---|
7764 | DWORD value);
|
---|
7765 |
|
---|
7766 | HRESULT (STDMETHODCALLTYPE *GetSamplerState)(
|
---|
7767 | IWineD3DDevice* This,
|
---|
7768 | DWORD sampler_idx,
|
---|
7769 | WINED3DSAMPLERSTATETYPE state,
|
---|
7770 | DWORD *value);
|
---|
7771 |
|
---|
7772 | HRESULT (STDMETHODCALLTYPE *SetScissorRect)(
|
---|
7773 | IWineD3DDevice* This,
|
---|
7774 | const RECT *rect);
|
---|
7775 |
|
---|
7776 | HRESULT (STDMETHODCALLTYPE *GetScissorRect)(
|
---|
7777 | IWineD3DDevice* This,
|
---|
7778 | RECT *rect);
|
---|
7779 |
|
---|
7780 | HRESULT (STDMETHODCALLTYPE *SetSoftwareVertexProcessing)(
|
---|
7781 | IWineD3DDevice* This,
|
---|
7782 | BOOL software);
|
---|
7783 |
|
---|
7784 | BOOL (STDMETHODCALLTYPE *GetSoftwareVertexProcessing)(
|
---|
7785 | IWineD3DDevice* This);
|
---|
7786 |
|
---|
7787 | HRESULT (STDMETHODCALLTYPE *SetStreamSource)(
|
---|
7788 | IWineD3DDevice* This,
|
---|
7789 | UINT stream_idx,
|
---|
7790 | IWineD3DBuffer *buffer,
|
---|
7791 | UINT offset,
|
---|
7792 | UINT stride);
|
---|
7793 |
|
---|
7794 | HRESULT (STDMETHODCALLTYPE *GetStreamSource)(
|
---|
7795 | IWineD3DDevice* This,
|
---|
7796 | UINT stream_idx,
|
---|
7797 | IWineD3DBuffer **buffer,
|
---|
7798 | UINT *offset,
|
---|
7799 | UINT *stride);
|
---|
7800 |
|
---|
7801 | HRESULT (STDMETHODCALLTYPE *SetStreamSourceFreq)(
|
---|
7802 | IWineD3DDevice* This,
|
---|
7803 | UINT stream_idx,
|
---|
7804 | UINT divider);
|
---|
7805 |
|
---|
7806 | HRESULT (STDMETHODCALLTYPE *GetStreamSourceFreq)(
|
---|
7807 | IWineD3DDevice* This,
|
---|
7808 | UINT stream_idx,
|
---|
7809 | UINT *divider);
|
---|
7810 |
|
---|
7811 | HRESULT (STDMETHODCALLTYPE *SetTexture)(
|
---|
7812 | IWineD3DDevice* This,
|
---|
7813 | DWORD stage,
|
---|
7814 | IWineD3DBaseTexture *texture);
|
---|
7815 |
|
---|
7816 | HRESULT (STDMETHODCALLTYPE *GetTexture)(
|
---|
7817 | IWineD3DDevice* This,
|
---|
7818 | DWORD stage,
|
---|
7819 | IWineD3DBaseTexture **texture);
|
---|
7820 |
|
---|
7821 | HRESULT (STDMETHODCALLTYPE *SetTextureStageState)(
|
---|
7822 | IWineD3DDevice* This,
|
---|
7823 | DWORD stage,
|
---|
7824 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7825 | DWORD value);
|
---|
7826 |
|
---|
7827 | HRESULT (STDMETHODCALLTYPE *GetTextureStageState)(
|
---|
7828 | IWineD3DDevice* This,
|
---|
7829 | DWORD stage,
|
---|
7830 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7831 | DWORD *value);
|
---|
7832 |
|
---|
7833 | HRESULT (STDMETHODCALLTYPE *SetTransform)(
|
---|
7834 | IWineD3DDevice* This,
|
---|
7835 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7836 | const WINED3DMATRIX *matrix);
|
---|
7837 |
|
---|
7838 | HRESULT (STDMETHODCALLTYPE *GetTransform)(
|
---|
7839 | IWineD3DDevice* This,
|
---|
7840 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7841 | WINED3DMATRIX *matrix);
|
---|
7842 |
|
---|
7843 | HRESULT (STDMETHODCALLTYPE *SetVertexDeclaration)(
|
---|
7844 | IWineD3DDevice* This,
|
---|
7845 | IWineD3DVertexDeclaration *declaration);
|
---|
7846 |
|
---|
7847 | HRESULT (STDMETHODCALLTYPE *GetVertexDeclaration)(
|
---|
7848 | IWineD3DDevice* This,
|
---|
7849 | IWineD3DVertexDeclaration **declaration);
|
---|
7850 |
|
---|
7851 | HRESULT (STDMETHODCALLTYPE *SetVertexShader)(
|
---|
7852 | IWineD3DDevice* This,
|
---|
7853 | IWineD3DVertexShader *shader);
|
---|
7854 |
|
---|
7855 | HRESULT (STDMETHODCALLTYPE *GetVertexShader)(
|
---|
7856 | IWineD3DDevice* This,
|
---|
7857 | IWineD3DVertexShader **shader);
|
---|
7858 |
|
---|
7859 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantB)(
|
---|
7860 | IWineD3DDevice* This,
|
---|
7861 | UINT start_register,
|
---|
7862 | const BOOL *constants,
|
---|
7863 | UINT bool_count);
|
---|
7864 |
|
---|
7865 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantB)(
|
---|
7866 | IWineD3DDevice* This,
|
---|
7867 | UINT start_register,
|
---|
7868 | BOOL *constants,
|
---|
7869 | UINT bool_count);
|
---|
7870 |
|
---|
7871 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantI)(
|
---|
7872 | IWineD3DDevice* This,
|
---|
7873 | UINT start_register,
|
---|
7874 | const int *constants,
|
---|
7875 | UINT vector4i_count);
|
---|
7876 |
|
---|
7877 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantI)(
|
---|
7878 | IWineD3DDevice* This,
|
---|
7879 | UINT start_register,
|
---|
7880 | int *constants,
|
---|
7881 | UINT vector4i_count);
|
---|
7882 |
|
---|
7883 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantF)(
|
---|
7884 | IWineD3DDevice* This,
|
---|
7885 | UINT start_register,
|
---|
7886 | const float *constants,
|
---|
7887 | UINT vector4f_count);
|
---|
7888 |
|
---|
7889 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantF)(
|
---|
7890 | IWineD3DDevice* This,
|
---|
7891 | UINT start_register,
|
---|
7892 | float *constants,
|
---|
7893 | UINT vector4f_count);
|
---|
7894 |
|
---|
7895 | HRESULT (STDMETHODCALLTYPE *SetViewport)(
|
---|
7896 | IWineD3DDevice* This,
|
---|
7897 | const WINED3DVIEWPORT *viewport);
|
---|
7898 |
|
---|
7899 | HRESULT (STDMETHODCALLTYPE *GetViewport)(
|
---|
7900 | IWineD3DDevice* This,
|
---|
7901 | WINED3DVIEWPORT *viewport);
|
---|
7902 |
|
---|
7903 | HRESULT (STDMETHODCALLTYPE *MultiplyTransform)(
|
---|
7904 | IWineD3DDevice* This,
|
---|
7905 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7906 | const WINED3DMATRIX *matrix);
|
---|
7907 |
|
---|
7908 | HRESULT (STDMETHODCALLTYPE *ValidateDevice)(
|
---|
7909 | IWineD3DDevice* This,
|
---|
7910 | DWORD *num_passes);
|
---|
7911 |
|
---|
7912 | HRESULT (STDMETHODCALLTYPE *ProcessVertices)(
|
---|
7913 | IWineD3DDevice* This,
|
---|
7914 | UINT src_start_idx,
|
---|
7915 | UINT dst_idx,
|
---|
7916 | UINT vertex_count,
|
---|
7917 | IWineD3DBuffer *dest_buffer,
|
---|
7918 | IWineD3DVertexDeclaration *declaration,
|
---|
7919 | DWORD flags,
|
---|
7920 | DWORD DestFVF);
|
---|
7921 |
|
---|
7922 | HRESULT (STDMETHODCALLTYPE *BeginStateBlock)(
|
---|
7923 | IWineD3DDevice* This);
|
---|
7924 |
|
---|
7925 | HRESULT (STDMETHODCALLTYPE *EndStateBlock)(
|
---|
7926 | IWineD3DDevice* This,
|
---|
7927 | IWineD3DStateBlock **stateblock);
|
---|
7928 |
|
---|
7929 | HRESULT (STDMETHODCALLTYPE *BeginScene)(
|
---|
7930 | IWineD3DDevice* This);
|
---|
7931 |
|
---|
7932 | HRESULT (STDMETHODCALLTYPE *EndScene)(
|
---|
7933 | IWineD3DDevice* This);
|
---|
7934 |
|
---|
7935 | HRESULT (STDMETHODCALLTYPE *Present)(
|
---|
7936 | IWineD3DDevice* This,
|
---|
7937 | const RECT *src_rect,
|
---|
7938 | const RECT *dst_rect,
|
---|
7939 | HWND dst_window_override,
|
---|
7940 | const RGNDATA *dirty_region);
|
---|
7941 |
|
---|
7942 | HRESULT (STDMETHODCALLTYPE *Clear)(
|
---|
7943 | IWineD3DDevice* This,
|
---|
7944 | DWORD rect_count,
|
---|
7945 | const WINED3DRECT *rects,
|
---|
7946 | DWORD flags,
|
---|
7947 | WINED3DCOLOR color,
|
---|
7948 | float z,
|
---|
7949 | DWORD stencil);
|
---|
7950 |
|
---|
7951 | void (STDMETHODCALLTYPE *ClearRendertargetView)(
|
---|
7952 | IWineD3DDevice* This,
|
---|
7953 | IWineD3DRendertargetView *rendertarget_view,
|
---|
7954 | const float color[4]);
|
---|
7955 |
|
---|
7956 | void (STDMETHODCALLTYPE *SetPrimitiveType)(
|
---|
7957 | IWineD3DDevice* This,
|
---|
7958 | WINED3DPRIMITIVETYPE primitive_topology);
|
---|
7959 |
|
---|
7960 | void (STDMETHODCALLTYPE *GetPrimitiveType)(
|
---|
7961 | IWineD3DDevice* This,
|
---|
7962 | WINED3DPRIMITIVETYPE *primitive_topology);
|
---|
7963 |
|
---|
7964 | HRESULT (STDMETHODCALLTYPE *DrawPrimitive)(
|
---|
7965 | IWineD3DDevice* This,
|
---|
7966 | UINT start_vertex,
|
---|
7967 | UINT vertex_count);
|
---|
7968 |
|
---|
7969 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitive)(
|
---|
7970 | IWineD3DDevice* This,
|
---|
7971 | UINT start_idx,
|
---|
7972 | UINT index_count);
|
---|
7973 |
|
---|
7974 | HRESULT (STDMETHODCALLTYPE *DrawPrimitiveUP)(
|
---|
7975 | IWineD3DDevice* This,
|
---|
7976 | UINT vertex_count,
|
---|
7977 | const void *stream_data,
|
---|
7978 | UINT stream_stride);
|
---|
7979 |
|
---|
7980 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveUP)(
|
---|
7981 | IWineD3DDevice* This,
|
---|
7982 | UINT index_count,
|
---|
7983 | const void *index_data,
|
---|
7984 | WINED3DFORMAT index_data_format,
|
---|
7985 | const void *stream_data,
|
---|
7986 | UINT stream_stride);
|
---|
7987 |
|
---|
7988 | HRESULT (STDMETHODCALLTYPE *DrawPrimitiveStrided)(
|
---|
7989 | IWineD3DDevice* This,
|
---|
7990 | UINT vertex_count,
|
---|
7991 | const WineDirect3DVertexStridedData *strided_data);
|
---|
7992 |
|
---|
7993 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveStrided)(
|
---|
7994 | IWineD3DDevice* This,
|
---|
7995 | UINT index_count,
|
---|
7996 | const WineDirect3DVertexStridedData *strided_data,
|
---|
7997 | UINT vertex_count,
|
---|
7998 | const void *index_data,
|
---|
7999 | WINED3DFORMAT index_data_format);
|
---|
8000 |
|
---|
8001 | HRESULT (STDMETHODCALLTYPE *DrawRectPatch)(
|
---|
8002 | IWineD3DDevice* This,
|
---|
8003 | UINT handle,
|
---|
8004 | const float *num_segs,
|
---|
8005 | const WINED3DRECTPATCH_INFO *rect_patch_info);
|
---|
8006 |
|
---|
8007 | HRESULT (STDMETHODCALLTYPE *DrawTriPatch)(
|
---|
8008 | IWineD3DDevice* This,
|
---|
8009 | UINT handle,
|
---|
8010 | const float *num_segs,
|
---|
8011 | const WINED3DTRIPATCH_INFO *tri_patch_info);
|
---|
8012 |
|
---|
8013 | HRESULT (STDMETHODCALLTYPE *DeletePatch)(
|
---|
8014 | IWineD3DDevice* This,
|
---|
8015 | UINT handle);
|
---|
8016 |
|
---|
8017 | HRESULT (STDMETHODCALLTYPE *ColorFill)(
|
---|
8018 | IWineD3DDevice* This,
|
---|
8019 | IWineD3DSurface *surface,
|
---|
8020 | const WINED3DRECT *rect,
|
---|
8021 | WINED3DCOLOR color);
|
---|
8022 |
|
---|
8023 | HRESULT (STDMETHODCALLTYPE *UpdateTexture)(
|
---|
8024 | IWineD3DDevice* This,
|
---|
8025 | IWineD3DBaseTexture *src_texture,
|
---|
8026 | IWineD3DBaseTexture *dst_texture);
|
---|
8027 |
|
---|
8028 | HRESULT (STDMETHODCALLTYPE *UpdateSurface)(
|
---|
8029 | IWineD3DDevice* This,
|
---|
8030 | IWineD3DSurface *src_surface,
|
---|
8031 | const RECT *src_rect,
|
---|
8032 | IWineD3DSurface *dst_surface,
|
---|
8033 | const POINT *dst_point);
|
---|
8034 |
|
---|
8035 | HRESULT (STDMETHODCALLTYPE *GetFrontBufferData)(
|
---|
8036 | IWineD3DDevice* This,
|
---|
8037 | UINT swapchain_idx,
|
---|
8038 | IWineD3DSurface *dst_surface);
|
---|
8039 |
|
---|
8040 | HRESULT (STDMETHODCALLTYPE *EnumResources)(
|
---|
8041 | IWineD3DDevice* This,
|
---|
8042 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
8043 | void *data);
|
---|
8044 |
|
---|
8045 | HRESULT (STDMETHODCALLTYPE *GetSurfaceFromDC)(
|
---|
8046 | IWineD3DDevice* This,
|
---|
8047 | HDC dc,
|
---|
8048 | IWineD3DSurface **surface);
|
---|
8049 |
|
---|
8050 | HRESULT (STDMETHODCALLTYPE *AcquireFocusWindow)(
|
---|
8051 | IWineD3DDevice* This,
|
---|
8052 | HWND window);
|
---|
8053 |
|
---|
8054 | void (STDMETHODCALLTYPE *ReleaseFocusWindow)(
|
---|
8055 | IWineD3DDevice* This);
|
---|
8056 |
|
---|
8057 | END_INTERFACE
|
---|
8058 | } IWineD3DDeviceVtbl;
|
---|
8059 | interface IWineD3DDevice {
|
---|
8060 | CONST_VTBL IWineD3DDeviceVtbl* lpVtbl;
|
---|
8061 | };
|
---|
8062 |
|
---|
8063 | #ifdef COBJMACROS
|
---|
8064 | /*** IUnknown methods ***/
|
---|
8065 | #define IWineD3DDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8066 | #define IWineD3DDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8067 | #define IWineD3DDevice_Release(This) (This)->lpVtbl->Release(This)
|
---|
8068 | /*** IWineD3DBase methods ***/
|
---|
8069 | #define IWineD3DDevice_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
8070 | /*** IWineD3DDevice methods ***/
|
---|
8071 | #define IWineD3DDevice_CreateBuffer(This,desc,data,parent,parent_ops,buffer) (This)->lpVtbl->CreateBuffer(This,desc,data,parent,parent_ops,buffer)
|
---|
8072 | #define IWineD3DDevice_CreateVertexBuffer(This,length,usage,pool,vertex_buffer,parent,parent_ops) (This)->lpVtbl->CreateVertexBuffer(This,length,usage,pool,vertex_buffer,parent,parent_ops)
|
---|
8073 | #define IWineD3DDevice_CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops) (This)->lpVtbl->CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops)
|
---|
8074 | #define IWineD3DDevice_CreateStateBlock(This,type,stateblock,parent) (This)->lpVtbl->CreateStateBlock(This,type,stateblock,parent)
|
---|
8075 | #ifdef VBOXWDDM
|
---|
8076 | #define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops,shared_handle,pvClientMem) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops,shared_handle,pvClientMem)
|
---|
8077 | #else
|
---|
8078 | #define IWineD3DDevice_CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops) (This)->lpVtbl->CreateSurface(This,width,height,format,lockable,discard,level,surface,usage,pool,multisample_type,multisample_quality,surface_type,parent,parent_ops)
|
---|
8079 | #endif
|
---|
8080 | #define IWineD3DDevice_CreateRendertargetView(This,resource,parent,rendertarget_view) (This)->lpVtbl->CreateRendertargetView(This,resource,parent,rendertarget_view)
|
---|
8081 | #ifdef VBOXWDDM
|
---|
8082 | #define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops,shared_handle,pvClientMem) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops,shared_handle,pvClientMem)
|
---|
8083 | #else
|
---|
8084 | #define IWineD3DDevice_CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateTexture(This,width,height,levels,usage,format,pool,texture,parent,parent_ops)
|
---|
8085 | #endif
|
---|
8086 | #define IWineD3DDevice_CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateVolumeTexture(This,width,height,depth,levels,usage,format,pool,texture,parent,parent_ops)
|
---|
8087 | #define IWineD3DDevice_CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops) (This)->lpVtbl->CreateVolume(This,width,height,depth,usage,format,pool,volume,parent,parent_ops)
|
---|
8088 | #define IWineD3DDevice_CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent,parent_ops) (This)->lpVtbl->CreateCubeTexture(This,edge_length,levels,usage,format,pool,texture,parent,parent_ops)
|
---|
8089 | #define IWineD3DDevice_CreateQuery(This,type,query,parent) (This)->lpVtbl->CreateQuery(This,type,query,parent)
|
---|
8090 | #define IWineD3DDevice_CreateSwapChain(This,present_parameters,swapchain,parent,surface_type) (This)->lpVtbl->CreateSwapChain(This,present_parameters,swapchain,parent,surface_type)
|
---|
8091 | #define IWineD3DDevice_CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count) (This)->lpVtbl->CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count)
|
---|
8092 | #define IWineD3DDevice_CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf) (This)->lpVtbl->CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf)
|
---|
8093 | #define IWineD3DDevice_CreateVertexShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreateVertexShader(This,function,output_signature,shader,parent,parent_ops)
|
---|
8094 | #define IWineD3DDevice_CreateGeometryShader(This,byte_code,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreateGeometryShader(This,byte_code,output_signature,shader,parent,parent_ops)
|
---|
8095 | #define IWineD3DDevice_CreatePixelShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreatePixelShader(This,function,output_signature,shader,parent,parent_ops)
|
---|
8096 | #define IWineD3DDevice_CreatePalette(This,flags,palette_entry,palette,parent) (This)->lpVtbl->CreatePalette(This,flags,palette_entry,palette,parent)
|
---|
8097 | #define IWineD3DDevice_Init3D(This,present_parameters) (This)->lpVtbl->Init3D(This,present_parameters)
|
---|
8098 | #define IWineD3DDevice_InitGDI(This,present_parameters) (This)->lpVtbl->InitGDI(This,present_parameters)
|
---|
8099 | #define IWineD3DDevice_Uninit3D(This,destroy_swapchain_callback) (This)->lpVtbl->Uninit3D(This,destroy_swapchain_callback)
|
---|
8100 | #define IWineD3DDevice_UninitGDI(This,destroy_swapchain_callback) (This)->lpVtbl->UninitGDI(This,destroy_swapchain_callback)
|
---|
8101 | #define IWineD3DDevice_SetMultithreaded(This) (This)->lpVtbl->SetMultithreaded(This)
|
---|
8102 | #define IWineD3DDevice_EvictManagedResources(This) (This)->lpVtbl->EvictManagedResources(This)
|
---|
8103 | #define IWineD3DDevice_GetAvailableTextureMem(This) (This)->lpVtbl->GetAvailableTextureMem(This)
|
---|
8104 | #define IWineD3DDevice_GetBackBuffer(This,swapchain_idx,backbuffer_idx,backbuffer_type,backbuffer) (This)->lpVtbl->GetBackBuffer(This,swapchain_idx,backbuffer_idx,backbuffer_type,backbuffer)
|
---|
8105 | #define IWineD3DDevice_GetCreationParameters(This,creation_parameters) (This)->lpVtbl->GetCreationParameters(This,creation_parameters)
|
---|
8106 | #define IWineD3DDevice_GetDeviceCaps(This,caps) (This)->lpVtbl->GetDeviceCaps(This,caps)
|
---|
8107 | #define IWineD3DDevice_GetDirect3D(This,d3d) (This)->lpVtbl->GetDirect3D(This,d3d)
|
---|
8108 | #define IWineD3DDevice_GetDisplayMode(This,swapchain_idx,mode) (This)->lpVtbl->GetDisplayMode(This,swapchain_idx,mode)
|
---|
8109 | #define IWineD3DDevice_SetDisplayMode(This,swapchain_idx,mode) (This)->lpVtbl->SetDisplayMode(This,swapchain_idx,mode)
|
---|
8110 | #define IWineD3DDevice_GetNumberOfSwapChains(This) (This)->lpVtbl->GetNumberOfSwapChains(This)
|
---|
8111 | #define IWineD3DDevice_GetRasterStatus(This,swapchain_idx,raster_status) (This)->lpVtbl->GetRasterStatus(This,swapchain_idx,raster_status)
|
---|
8112 | #define IWineD3DDevice_GetSwapChain(This,swapchain_idx,swapchain) (This)->lpVtbl->GetSwapChain(This,swapchain_idx,swapchain)
|
---|
8113 | #define IWineD3DDevice_Reset(This,present_parameters) (This)->lpVtbl->Reset(This,present_parameters)
|
---|
8114 | #define IWineD3DDevice_SetDialogBoxMode(This,enable_dialogs) (This)->lpVtbl->SetDialogBoxMode(This,enable_dialogs)
|
---|
8115 | #define IWineD3DDevice_SetCursorProperties(This,x_hotspot,y_hotspot,cursor_surface) (This)->lpVtbl->SetCursorProperties(This,x_hotspot,y_hotspot,cursor_surface)
|
---|
8116 | #define IWineD3DDevice_SetCursorPosition(This,x_screen_space,y_screen_space,flags) (This)->lpVtbl->SetCursorPosition(This,x_screen_space,y_screen_space,flags)
|
---|
8117 | #define IWineD3DDevice_ShowCursor(This,show) (This)->lpVtbl->ShowCursor(This,show)
|
---|
8118 | #define IWineD3DDevice_SetClipPlane(This,plane_idx,plane) (This)->lpVtbl->SetClipPlane(This,plane_idx,plane)
|
---|
8119 | #define IWineD3DDevice_GetClipPlane(This,plane_idx,plane) (This)->lpVtbl->GetClipPlane(This,plane_idx,plane)
|
---|
8120 | #define IWineD3DDevice_SetClipStatus(This,clip_status) (This)->lpVtbl->SetClipStatus(This,clip_status)
|
---|
8121 | #define IWineD3DDevice_GetClipStatus(This,clip_status) (This)->lpVtbl->GetClipStatus(This,clip_status)
|
---|
8122 | #define IWineD3DDevice_SetCurrentTexturePalette(This,palette_number) (This)->lpVtbl->SetCurrentTexturePalette(This,palette_number)
|
---|
8123 | #define IWineD3DDevice_GetCurrentTexturePalette(This,palette_number) (This)->lpVtbl->GetCurrentTexturePalette(This,palette_number)
|
---|
8124 | #define IWineD3DDevice_SetDepthStencilSurface(This,depth_stencil) (This)->lpVtbl->SetDepthStencilSurface(This,depth_stencil)
|
---|
8125 | #define IWineD3DDevice_GetDepthStencilSurface(This,depth_stencil) (This)->lpVtbl->GetDepthStencilSurface(This,depth_stencil)
|
---|
8126 | #define IWineD3DDevice_SetGammaRamp(This,swapchain_idx,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,swapchain_idx,flags,ramp)
|
---|
8127 | #define IWineD3DDevice_GetGammaRamp(This,swapchain_idx,ramp) (This)->lpVtbl->GetGammaRamp(This,swapchain_idx,ramp)
|
---|
8128 | #define IWineD3DDevice_SetIndexBuffer(This,index_buffer,format) (This)->lpVtbl->SetIndexBuffer(This,index_buffer,format)
|
---|
8129 | #define IWineD3DDevice_GetIndexBuffer(This,index_buffer) (This)->lpVtbl->GetIndexBuffer(This,index_buffer)
|
---|
8130 | #define IWineD3DDevice_SetBaseVertexIndex(This,base_index) (This)->lpVtbl->SetBaseVertexIndex(This,base_index)
|
---|
8131 | #define IWineD3DDevice_GetBaseVertexIndex(This,base_index) (This)->lpVtbl->GetBaseVertexIndex(This,base_index)
|
---|
8132 | #define IWineD3DDevice_SetLight(This,light_idx,light) (This)->lpVtbl->SetLight(This,light_idx,light)
|
---|
8133 | #define IWineD3DDevice_GetLight(This,light_idx,light) (This)->lpVtbl->GetLight(This,light_idx,light)
|
---|
8134 | #define IWineD3DDevice_SetLightEnable(This,light_idx,enable) (This)->lpVtbl->SetLightEnable(This,light_idx,enable)
|
---|
8135 | #define IWineD3DDevice_GetLightEnable(This,light_idx,enable) (This)->lpVtbl->GetLightEnable(This,light_idx,enable)
|
---|
8136 | #define IWineD3DDevice_SetMaterial(This,material) (This)->lpVtbl->SetMaterial(This,material)
|
---|
8137 | #define IWineD3DDevice_GetMaterial(This,material) (This)->lpVtbl->GetMaterial(This,material)
|
---|
8138 | #define IWineD3DDevice_SetNPatchMode(This,segments) (This)->lpVtbl->SetNPatchMode(This,segments)
|
---|
8139 | #define IWineD3DDevice_GetNPatchMode(This) (This)->lpVtbl->GetNPatchMode(This)
|
---|
8140 | #define IWineD3DDevice_SetPaletteEntries(This,palette_number,entries) (This)->lpVtbl->SetPaletteEntries(This,palette_number,entries)
|
---|
8141 | #define IWineD3DDevice_GetPaletteEntries(This,palette_number,entries) (This)->lpVtbl->GetPaletteEntries(This,palette_number,entries)
|
---|
8142 | #define IWineD3DDevice_SetPixelShader(This,shader) (This)->lpVtbl->SetPixelShader(This,shader)
|
---|
8143 | #define IWineD3DDevice_GetPixelShader(This,shader) (This)->lpVtbl->GetPixelShader(This,shader)
|
---|
8144 | #define IWineD3DDevice_SetPixelShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->SetPixelShaderConstantB(This,start_register,constants,bool_count)
|
---|
8145 | #define IWineD3DDevice_GetPixelShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->GetPixelShaderConstantB(This,start_register,constants,bool_count)
|
---|
8146 | #define IWineD3DDevice_SetPixelShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->SetPixelShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8147 | #define IWineD3DDevice_GetPixelShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->GetPixelShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8148 | #define IWineD3DDevice_SetPixelShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->SetPixelShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8149 | #define IWineD3DDevice_GetPixelShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->GetPixelShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8150 | #define IWineD3DDevice_SetRenderState(This,state,value) (This)->lpVtbl->SetRenderState(This,state,value)
|
---|
8151 | #define IWineD3DDevice_GetRenderState(This,state,value) (This)->lpVtbl->GetRenderState(This,state,value)
|
---|
8152 | #define IWineD3DDevice_SetRenderTarget(This,render_target_idx,render_target,set_viewport) (This)->lpVtbl->SetRenderTarget(This,render_target_idx,render_target,set_viewport)
|
---|
8153 | #define IWineD3DDevice_GetRenderTarget(This,render_target_idx,render_target) (This)->lpVtbl->GetRenderTarget(This,render_target_idx,render_target)
|
---|
8154 | #define IWineD3DDevice_SetFrontBackBuffers(This,front,back) (This)->lpVtbl->SetFrontBackBuffers(This,front,back)
|
---|
8155 | #define IWineD3DDevice_SetSamplerState(This,sampler_idx,state,value) (This)->lpVtbl->SetSamplerState(This,sampler_idx,state,value)
|
---|
8156 | #define IWineD3DDevice_GetSamplerState(This,sampler_idx,state,value) (This)->lpVtbl->GetSamplerState(This,sampler_idx,state,value)
|
---|
8157 | #define IWineD3DDevice_SetScissorRect(This,rect) (This)->lpVtbl->SetScissorRect(This,rect)
|
---|
8158 | #define IWineD3DDevice_GetScissorRect(This,rect) (This)->lpVtbl->GetScissorRect(This,rect)
|
---|
8159 | #define IWineD3DDevice_SetSoftwareVertexProcessing(This,software) (This)->lpVtbl->SetSoftwareVertexProcessing(This,software)
|
---|
8160 | #define IWineD3DDevice_GetSoftwareVertexProcessing(This) (This)->lpVtbl->GetSoftwareVertexProcessing(This)
|
---|
8161 | #define IWineD3DDevice_SetStreamSource(This,stream_idx,buffer,offset,stride) (This)->lpVtbl->SetStreamSource(This,stream_idx,buffer,offset,stride)
|
---|
8162 | #define IWineD3DDevice_GetStreamSource(This,stream_idx,buffer,offset,stride) (This)->lpVtbl->GetStreamSource(This,stream_idx,buffer,offset,stride)
|
---|
8163 | #define IWineD3DDevice_SetStreamSourceFreq(This,stream_idx,divider) (This)->lpVtbl->SetStreamSourceFreq(This,stream_idx,divider)
|
---|
8164 | #define IWineD3DDevice_GetStreamSourceFreq(This,stream_idx,divider) (This)->lpVtbl->GetStreamSourceFreq(This,stream_idx,divider)
|
---|
8165 | #define IWineD3DDevice_SetTexture(This,stage,texture) (This)->lpVtbl->SetTexture(This,stage,texture)
|
---|
8166 | #define IWineD3DDevice_GetTexture(This,stage,texture) (This)->lpVtbl->GetTexture(This,stage,texture)
|
---|
8167 | #define IWineD3DDevice_SetTextureStageState(This,stage,state,value) (This)->lpVtbl->SetTextureStageState(This,stage,state,value)
|
---|
8168 | #define IWineD3DDevice_GetTextureStageState(This,stage,state,value) (This)->lpVtbl->GetTextureStageState(This,stage,state,value)
|
---|
8169 | #define IWineD3DDevice_SetTransform(This,state,matrix) (This)->lpVtbl->SetTransform(This,state,matrix)
|
---|
8170 | #define IWineD3DDevice_GetTransform(This,state,matrix) (This)->lpVtbl->GetTransform(This,state,matrix)
|
---|
8171 | #define IWineD3DDevice_SetVertexDeclaration(This,declaration) (This)->lpVtbl->SetVertexDeclaration(This,declaration)
|
---|
8172 | #define IWineD3DDevice_GetVertexDeclaration(This,declaration) (This)->lpVtbl->GetVertexDeclaration(This,declaration)
|
---|
8173 | #define IWineD3DDevice_SetVertexShader(This,shader) (This)->lpVtbl->SetVertexShader(This,shader)
|
---|
8174 | #define IWineD3DDevice_GetVertexShader(This,shader) (This)->lpVtbl->GetVertexShader(This,shader)
|
---|
8175 | #define IWineD3DDevice_SetVertexShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->SetVertexShaderConstantB(This,start_register,constants,bool_count)
|
---|
8176 | #define IWineD3DDevice_GetVertexShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->GetVertexShaderConstantB(This,start_register,constants,bool_count)
|
---|
8177 | #define IWineD3DDevice_SetVertexShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->SetVertexShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8178 | #define IWineD3DDevice_GetVertexShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->GetVertexShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8179 | #define IWineD3DDevice_SetVertexShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->SetVertexShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8180 | #define IWineD3DDevice_GetVertexShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->GetVertexShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8181 | #define IWineD3DDevice_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
|
---|
8182 | #define IWineD3DDevice_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
|
---|
8183 | #define IWineD3DDevice_MultiplyTransform(This,state,matrix) (This)->lpVtbl->MultiplyTransform(This,state,matrix)
|
---|
8184 | #define IWineD3DDevice_ValidateDevice(This,num_passes) (This)->lpVtbl->ValidateDevice(This,num_passes)
|
---|
8185 | #define IWineD3DDevice_ProcessVertices(This,src_start_idx,dst_idx,vertex_count,dest_buffer,declaration,flags,DestFVF) (This)->lpVtbl->ProcessVertices(This,src_start_idx,dst_idx,vertex_count,dest_buffer,declaration,flags,DestFVF)
|
---|
8186 | #define IWineD3DDevice_BeginStateBlock(This) (This)->lpVtbl->BeginStateBlock(This)
|
---|
8187 | #define IWineD3DDevice_EndStateBlock(This,stateblock) (This)->lpVtbl->EndStateBlock(This,stateblock)
|
---|
8188 | #define IWineD3DDevice_BeginScene(This) (This)->lpVtbl->BeginScene(This)
|
---|
8189 | #define IWineD3DDevice_EndScene(This) (This)->lpVtbl->EndScene(This)
|
---|
8190 | #define IWineD3DDevice_Present(This,src_rect,dst_rect,dst_window_override,dirty_region) (This)->lpVtbl->Present(This,src_rect,dst_rect,dst_window_override,dirty_region)
|
---|
8191 | #define IWineD3DDevice_Clear(This,rect_count,rects,flags,color,z,stencil) (This)->lpVtbl->Clear(This,rect_count,rects,flags,color,z,stencil)
|
---|
8192 | #define IWineD3DDevice_ClearRendertargetView(This,rendertarget_view,color) (This)->lpVtbl->ClearRendertargetView(This,rendertarget_view,color)
|
---|
8193 | #define IWineD3DDevice_SetPrimitiveType(This,primitive_topology) (This)->lpVtbl->SetPrimitiveType(This,primitive_topology)
|
---|
8194 | #define IWineD3DDevice_GetPrimitiveType(This,primitive_topology) (This)->lpVtbl->GetPrimitiveType(This,primitive_topology)
|
---|
8195 | #define IWineD3DDevice_DrawPrimitive(This,start_vertex,vertex_count) (This)->lpVtbl->DrawPrimitive(This,start_vertex,vertex_count)
|
---|
8196 | #define IWineD3DDevice_DrawIndexedPrimitive(This,start_idx,index_count) (This)->lpVtbl->DrawIndexedPrimitive(This,start_idx,index_count)
|
---|
8197 | #define IWineD3DDevice_DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride) (This)->lpVtbl->DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride)
|
---|
8198 | #define IWineD3DDevice_DrawIndexedPrimitiveUP(This,index_count,index_data,index_data_format,stream_data,stream_stride) (This)->lpVtbl->DrawIndexedPrimitiveUP(This,index_count,index_data,index_data_format,stream_data,stream_stride)
|
---|
8199 | #define IWineD3DDevice_DrawPrimitiveStrided(This,vertex_count,strided_data) (This)->lpVtbl->DrawPrimitiveStrided(This,vertex_count,strided_data)
|
---|
8200 | #define IWineD3DDevice_DrawIndexedPrimitiveStrided(This,index_count,strided_data,vertex_count,index_data,index_data_format) (This)->lpVtbl->DrawIndexedPrimitiveStrided(This,index_count,strided_data,vertex_count,index_data,index_data_format)
|
---|
8201 | #define IWineD3DDevice_DrawRectPatch(This,handle,num_segs,rect_patch_info) (This)->lpVtbl->DrawRectPatch(This,handle,num_segs,rect_patch_info)
|
---|
8202 | #define IWineD3DDevice_DrawTriPatch(This,handle,num_segs,tri_patch_info) (This)->lpVtbl->DrawTriPatch(This,handle,num_segs,tri_patch_info)
|
---|
8203 | #define IWineD3DDevice_DeletePatch(This,handle) (This)->lpVtbl->DeletePatch(This,handle)
|
---|
8204 | #define IWineD3DDevice_ColorFill(This,surface,rect,color) (This)->lpVtbl->ColorFill(This,surface,rect,color)
|
---|
8205 | #define IWineD3DDevice_UpdateTexture(This,src_texture,dst_texture) (This)->lpVtbl->UpdateTexture(This,src_texture,dst_texture)
|
---|
8206 | #define IWineD3DDevice_UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point) (This)->lpVtbl->UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point)
|
---|
8207 | #define IWineD3DDevice_GetFrontBufferData(This,swapchain_idx,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,swapchain_idx,dst_surface)
|
---|
8208 | #define IWineD3DDevice_EnumResources(This,callback,data) (This)->lpVtbl->EnumResources(This,callback,data)
|
---|
8209 | #define IWineD3DDevice_GetSurfaceFromDC(This,dc,surface) (This)->lpVtbl->GetSurfaceFromDC(This,dc,surface)
|
---|
8210 | #define IWineD3DDevice_AcquireFocusWindow(This,window) (This)->lpVtbl->AcquireFocusWindow(This,window)
|
---|
8211 | #define IWineD3DDevice_ReleaseFocusWindow(This) (This)->lpVtbl->ReleaseFocusWindow(This)
|
---|
8212 | #endif
|
---|
8213 |
|
---|
8214 | #endif
|
---|
8215 |
|
---|
8216 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateBuffer_Proxy(
|
---|
8217 | IWineD3DDevice* This,
|
---|
8218 | struct wined3d_buffer_desc *desc,
|
---|
8219 | const void *data,
|
---|
8220 | IUnknown *parent,
|
---|
8221 | const struct wined3d_parent_ops *parent_ops,
|
---|
8222 | IWineD3DBuffer **buffer);
|
---|
8223 | void __RPC_STUB IWineD3DDevice_CreateBuffer_Stub(
|
---|
8224 | IRpcStubBuffer* This,
|
---|
8225 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8226 | PRPC_MESSAGE pRpcMessage,
|
---|
8227 | DWORD* pdwStubPhase);
|
---|
8228 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexBuffer_Proxy(
|
---|
8229 | IWineD3DDevice* This,
|
---|
8230 | UINT length,
|
---|
8231 | DWORD usage,
|
---|
8232 | WINED3DPOOL pool,
|
---|
8233 | IWineD3DBuffer **vertex_buffer,
|
---|
8234 | IUnknown *parent,
|
---|
8235 | const struct wined3d_parent_ops *parent_ops);
|
---|
8236 | void __RPC_STUB IWineD3DDevice_CreateVertexBuffer_Stub(
|
---|
8237 | IRpcStubBuffer* This,
|
---|
8238 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8239 | PRPC_MESSAGE pRpcMessage,
|
---|
8240 | DWORD* pdwStubPhase);
|
---|
8241 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateIndexBuffer_Proxy(
|
---|
8242 | IWineD3DDevice* This,
|
---|
8243 | UINT length,
|
---|
8244 | DWORD usage,
|
---|
8245 | WINED3DPOOL pool,
|
---|
8246 | IWineD3DBuffer **index_buffer,
|
---|
8247 | IUnknown *parent,
|
---|
8248 | const struct wined3d_parent_ops *parent_ops);
|
---|
8249 | void __RPC_STUB IWineD3DDevice_CreateIndexBuffer_Stub(
|
---|
8250 | IRpcStubBuffer* This,
|
---|
8251 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8252 | PRPC_MESSAGE pRpcMessage,
|
---|
8253 | DWORD* pdwStubPhase);
|
---|
8254 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateStateBlock_Proxy(
|
---|
8255 | IWineD3DDevice* This,
|
---|
8256 | WINED3DSTATEBLOCKTYPE type,
|
---|
8257 | IWineD3DStateBlock **stateblock,
|
---|
8258 | IUnknown *parent);
|
---|
8259 | void __RPC_STUB IWineD3DDevice_CreateStateBlock_Stub(
|
---|
8260 | IRpcStubBuffer* This,
|
---|
8261 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8262 | PRPC_MESSAGE pRpcMessage,
|
---|
8263 | DWORD* pdwStubPhase);
|
---|
8264 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateSurface_Proxy(
|
---|
8265 | IWineD3DDevice* This,
|
---|
8266 | UINT width,
|
---|
8267 | UINT height,
|
---|
8268 | WINED3DFORMAT format,
|
---|
8269 | BOOL lockable,
|
---|
8270 | BOOL discard,
|
---|
8271 | UINT level,
|
---|
8272 | IWineD3DSurface **surface,
|
---|
8273 | DWORD usage,
|
---|
8274 | WINED3DPOOL pool,
|
---|
8275 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
8276 | DWORD multisample_quality,
|
---|
8277 | WINED3DSURFTYPE surface_type,
|
---|
8278 | IUnknown *parent,
|
---|
8279 | const struct wined3d_parent_ops *parent_ops);
|
---|
8280 | void __RPC_STUB IWineD3DDevice_CreateSurface_Stub(
|
---|
8281 | IRpcStubBuffer* This,
|
---|
8282 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8283 | PRPC_MESSAGE pRpcMessage,
|
---|
8284 | DWORD* pdwStubPhase);
|
---|
8285 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateRendertargetView_Proxy(
|
---|
8286 | IWineD3DDevice* This,
|
---|
8287 | IWineD3DResource *resource,
|
---|
8288 | IUnknown *parent,
|
---|
8289 | IWineD3DRendertargetView **rendertarget_view);
|
---|
8290 | void __RPC_STUB IWineD3DDevice_CreateRendertargetView_Stub(
|
---|
8291 | IRpcStubBuffer* This,
|
---|
8292 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8293 | PRPC_MESSAGE pRpcMessage,
|
---|
8294 | DWORD* pdwStubPhase);
|
---|
8295 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateTexture_Proxy(
|
---|
8296 | IWineD3DDevice* This,
|
---|
8297 | UINT width,
|
---|
8298 | UINT height,
|
---|
8299 | UINT levels,
|
---|
8300 | DWORD usage,
|
---|
8301 | WINED3DFORMAT format,
|
---|
8302 | WINED3DPOOL pool,
|
---|
8303 | IWineD3DTexture **texture,
|
---|
8304 | IUnknown *parent,
|
---|
8305 | const struct wined3d_parent_ops *parent_ops);
|
---|
8306 | void __RPC_STUB IWineD3DDevice_CreateTexture_Stub(
|
---|
8307 | IRpcStubBuffer* This,
|
---|
8308 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8309 | PRPC_MESSAGE pRpcMessage,
|
---|
8310 | DWORD* pdwStubPhase);
|
---|
8311 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVolumeTexture_Proxy(
|
---|
8312 | IWineD3DDevice* This,
|
---|
8313 | UINT width,
|
---|
8314 | UINT height,
|
---|
8315 | UINT depth,
|
---|
8316 | UINT levels,
|
---|
8317 | DWORD usage,
|
---|
8318 | WINED3DFORMAT format,
|
---|
8319 | WINED3DPOOL pool,
|
---|
8320 | IWineD3DVolumeTexture **texture,
|
---|
8321 | IUnknown *parent,
|
---|
8322 | const struct wined3d_parent_ops *parent_ops);
|
---|
8323 | void __RPC_STUB IWineD3DDevice_CreateVolumeTexture_Stub(
|
---|
8324 | IRpcStubBuffer* This,
|
---|
8325 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8326 | PRPC_MESSAGE pRpcMessage,
|
---|
8327 | DWORD* pdwStubPhase);
|
---|
8328 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVolume_Proxy(
|
---|
8329 | IWineD3DDevice* This,
|
---|
8330 | UINT width,
|
---|
8331 | UINT height,
|
---|
8332 | UINT depth,
|
---|
8333 | DWORD usage,
|
---|
8334 | WINED3DFORMAT format,
|
---|
8335 | WINED3DPOOL pool,
|
---|
8336 | IWineD3DVolume **volume,
|
---|
8337 | IUnknown *parent,
|
---|
8338 | const struct wined3d_parent_ops *parent_ops);
|
---|
8339 | void __RPC_STUB IWineD3DDevice_CreateVolume_Stub(
|
---|
8340 | IRpcStubBuffer* This,
|
---|
8341 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8342 | PRPC_MESSAGE pRpcMessage,
|
---|
8343 | DWORD* pdwStubPhase);
|
---|
8344 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateCubeTexture_Proxy(
|
---|
8345 | IWineD3DDevice* This,
|
---|
8346 | UINT edge_length,
|
---|
8347 | UINT levels,
|
---|
8348 | DWORD usage,
|
---|
8349 | WINED3DFORMAT format,
|
---|
8350 | WINED3DPOOL pool,
|
---|
8351 | IWineD3DCubeTexture **texture,
|
---|
8352 | IUnknown *parent,
|
---|
8353 | const struct wined3d_parent_ops *parent_ops);
|
---|
8354 | void __RPC_STUB IWineD3DDevice_CreateCubeTexture_Stub(
|
---|
8355 | IRpcStubBuffer* This,
|
---|
8356 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8357 | PRPC_MESSAGE pRpcMessage,
|
---|
8358 | DWORD* pdwStubPhase);
|
---|
8359 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateQuery_Proxy(
|
---|
8360 | IWineD3DDevice* This,
|
---|
8361 | WINED3DQUERYTYPE type,
|
---|
8362 | IWineD3DQuery **query,
|
---|
8363 | IUnknown *parent);
|
---|
8364 | void __RPC_STUB IWineD3DDevice_CreateQuery_Stub(
|
---|
8365 | IRpcStubBuffer* This,
|
---|
8366 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8367 | PRPC_MESSAGE pRpcMessage,
|
---|
8368 | DWORD* pdwStubPhase);
|
---|
8369 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateSwapChain_Proxy(
|
---|
8370 | IWineD3DDevice* This,
|
---|
8371 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
8372 | IWineD3DSwapChain **swapchain,
|
---|
8373 | IUnknown *parent,
|
---|
8374 | WINED3DSURFTYPE surface_type);
|
---|
8375 | void __RPC_STUB IWineD3DDevice_CreateSwapChain_Stub(
|
---|
8376 | IRpcStubBuffer* This,
|
---|
8377 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8378 | PRPC_MESSAGE pRpcMessage,
|
---|
8379 | DWORD* pdwStubPhase);
|
---|
8380 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexDeclaration_Proxy(
|
---|
8381 | IWineD3DDevice* This,
|
---|
8382 | IWineD3DVertexDeclaration **declaration,
|
---|
8383 | IUnknown *parent,
|
---|
8384 | const struct wined3d_parent_ops *parent_ops,
|
---|
8385 | const WINED3DVERTEXELEMENT *elements,
|
---|
8386 | UINT element_count);
|
---|
8387 | void __RPC_STUB IWineD3DDevice_CreateVertexDeclaration_Stub(
|
---|
8388 | IRpcStubBuffer* This,
|
---|
8389 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8390 | PRPC_MESSAGE pRpcMessage,
|
---|
8391 | DWORD* pdwStubPhase);
|
---|
8392 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexDeclarationFromFVF_Proxy(
|
---|
8393 | IWineD3DDevice* This,
|
---|
8394 | IWineD3DVertexDeclaration **declaration,
|
---|
8395 | IUnknown *parent,
|
---|
8396 | const struct wined3d_parent_ops *parent_ops,
|
---|
8397 | DWORD fvf);
|
---|
8398 | void __RPC_STUB IWineD3DDevice_CreateVertexDeclarationFromFVF_Stub(
|
---|
8399 | IRpcStubBuffer* This,
|
---|
8400 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8401 | PRPC_MESSAGE pRpcMessage,
|
---|
8402 | DWORD* pdwStubPhase);
|
---|
8403 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexShader_Proxy(
|
---|
8404 | IWineD3DDevice* This,
|
---|
8405 | const DWORD *function,
|
---|
8406 | const struct wined3d_shader_signature *output_signature,
|
---|
8407 | IWineD3DVertexShader **shader,
|
---|
8408 | IUnknown *parent,
|
---|
8409 | const struct wined3d_parent_ops *parent_ops);
|
---|
8410 | void __RPC_STUB IWineD3DDevice_CreateVertexShader_Stub(
|
---|
8411 | IRpcStubBuffer* This,
|
---|
8412 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8413 | PRPC_MESSAGE pRpcMessage,
|
---|
8414 | DWORD* pdwStubPhase);
|
---|
8415 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateGeometryShader_Proxy(
|
---|
8416 | IWineD3DDevice* This,
|
---|
8417 | const DWORD *byte_code,
|
---|
8418 | const struct wined3d_shader_signature *output_signature,
|
---|
8419 | IWineD3DGeometryShader **shader,
|
---|
8420 | IUnknown *parent,
|
---|
8421 | const struct wined3d_parent_ops *parent_ops);
|
---|
8422 | void __RPC_STUB IWineD3DDevice_CreateGeometryShader_Stub(
|
---|
8423 | IRpcStubBuffer* This,
|
---|
8424 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8425 | PRPC_MESSAGE pRpcMessage,
|
---|
8426 | DWORD* pdwStubPhase);
|
---|
8427 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreatePixelShader_Proxy(
|
---|
8428 | IWineD3DDevice* This,
|
---|
8429 | const DWORD *function,
|
---|
8430 | const struct wined3d_shader_signature *output_signature,
|
---|
8431 | IWineD3DPixelShader **shader,
|
---|
8432 | IUnknown *parent,
|
---|
8433 | const struct wined3d_parent_ops *parent_ops);
|
---|
8434 | void __RPC_STUB IWineD3DDevice_CreatePixelShader_Stub(
|
---|
8435 | IRpcStubBuffer* This,
|
---|
8436 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8437 | PRPC_MESSAGE pRpcMessage,
|
---|
8438 | DWORD* pdwStubPhase);
|
---|
8439 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreatePalette_Proxy(
|
---|
8440 | IWineD3DDevice* This,
|
---|
8441 | DWORD flags,
|
---|
8442 | const PALETTEENTRY *palette_entry,
|
---|
8443 | IWineD3DPalette **palette,
|
---|
8444 | IUnknown *parent);
|
---|
8445 | void __RPC_STUB IWineD3DDevice_CreatePalette_Stub(
|
---|
8446 | IRpcStubBuffer* This,
|
---|
8447 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8448 | PRPC_MESSAGE pRpcMessage,
|
---|
8449 | DWORD* pdwStubPhase);
|
---|
8450 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Init3D_Proxy(
|
---|
8451 | IWineD3DDevice* This,
|
---|
8452 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8453 | void __RPC_STUB IWineD3DDevice_Init3D_Stub(
|
---|
8454 | IRpcStubBuffer* This,
|
---|
8455 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8456 | PRPC_MESSAGE pRpcMessage,
|
---|
8457 | DWORD* pdwStubPhase);
|
---|
8458 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_InitGDI_Proxy(
|
---|
8459 | IWineD3DDevice* This,
|
---|
8460 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8461 | void __RPC_STUB IWineD3DDevice_InitGDI_Stub(
|
---|
8462 | IRpcStubBuffer* This,
|
---|
8463 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8464 | PRPC_MESSAGE pRpcMessage,
|
---|
8465 | DWORD* pdwStubPhase);
|
---|
8466 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Uninit3D_Proxy(
|
---|
8467 | IWineD3DDevice* This,
|
---|
8468 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
8469 | void __RPC_STUB IWineD3DDevice_Uninit3D_Stub(
|
---|
8470 | IRpcStubBuffer* This,
|
---|
8471 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8472 | PRPC_MESSAGE pRpcMessage,
|
---|
8473 | DWORD* pdwStubPhase);
|
---|
8474 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UninitGDI_Proxy(
|
---|
8475 | IWineD3DDevice* This,
|
---|
8476 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
8477 | void __RPC_STUB IWineD3DDevice_UninitGDI_Stub(
|
---|
8478 | IRpcStubBuffer* This,
|
---|
8479 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8480 | PRPC_MESSAGE pRpcMessage,
|
---|
8481 | DWORD* pdwStubPhase);
|
---|
8482 | void STDMETHODCALLTYPE IWineD3DDevice_SetMultithreaded_Proxy(
|
---|
8483 | IWineD3DDevice* This);
|
---|
8484 | void __RPC_STUB IWineD3DDevice_SetMultithreaded_Stub(
|
---|
8485 | IRpcStubBuffer* This,
|
---|
8486 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8487 | PRPC_MESSAGE pRpcMessage,
|
---|
8488 | DWORD* pdwStubPhase);
|
---|
8489 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EvictManagedResources_Proxy(
|
---|
8490 | IWineD3DDevice* This);
|
---|
8491 | void __RPC_STUB IWineD3DDevice_EvictManagedResources_Stub(
|
---|
8492 | IRpcStubBuffer* This,
|
---|
8493 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8494 | PRPC_MESSAGE pRpcMessage,
|
---|
8495 | DWORD* pdwStubPhase);
|
---|
8496 | UINT STDMETHODCALLTYPE IWineD3DDevice_GetAvailableTextureMem_Proxy(
|
---|
8497 | IWineD3DDevice* This);
|
---|
8498 | void __RPC_STUB IWineD3DDevice_GetAvailableTextureMem_Stub(
|
---|
8499 | IRpcStubBuffer* This,
|
---|
8500 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8501 | PRPC_MESSAGE pRpcMessage,
|
---|
8502 | DWORD* pdwStubPhase);
|
---|
8503 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetBackBuffer_Proxy(
|
---|
8504 | IWineD3DDevice* This,
|
---|
8505 | UINT swapchain_idx,
|
---|
8506 | UINT backbuffer_idx,
|
---|
8507 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
8508 | IWineD3DSurface **backbuffer);
|
---|
8509 | void __RPC_STUB IWineD3DDevice_GetBackBuffer_Stub(
|
---|
8510 | IRpcStubBuffer* This,
|
---|
8511 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8512 | PRPC_MESSAGE pRpcMessage,
|
---|
8513 | DWORD* pdwStubPhase);
|
---|
8514 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetCreationParameters_Proxy(
|
---|
8515 | IWineD3DDevice* This,
|
---|
8516 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
---|
8517 | void __RPC_STUB IWineD3DDevice_GetCreationParameters_Stub(
|
---|
8518 | IRpcStubBuffer* This,
|
---|
8519 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8520 | PRPC_MESSAGE pRpcMessage,
|
---|
8521 | DWORD* pdwStubPhase);
|
---|
8522 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDeviceCaps_Proxy(
|
---|
8523 | IWineD3DDevice* This,
|
---|
8524 | WINED3DCAPS *caps);
|
---|
8525 | void __RPC_STUB IWineD3DDevice_GetDeviceCaps_Stub(
|
---|
8526 | IRpcStubBuffer* This,
|
---|
8527 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8528 | PRPC_MESSAGE pRpcMessage,
|
---|
8529 | DWORD* pdwStubPhase);
|
---|
8530 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDirect3D_Proxy(
|
---|
8531 | IWineD3DDevice* This,
|
---|
8532 | IWineD3D **d3d);
|
---|
8533 | void __RPC_STUB IWineD3DDevice_GetDirect3D_Stub(
|
---|
8534 | IRpcStubBuffer* This,
|
---|
8535 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8536 | PRPC_MESSAGE pRpcMessage,
|
---|
8537 | DWORD* pdwStubPhase);
|
---|
8538 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDisplayMode_Proxy(
|
---|
8539 | IWineD3DDevice* This,
|
---|
8540 | UINT swapchain_idx,
|
---|
8541 | WINED3DDISPLAYMODE *mode);
|
---|
8542 | void __RPC_STUB IWineD3DDevice_GetDisplayMode_Stub(
|
---|
8543 | IRpcStubBuffer* This,
|
---|
8544 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8545 | PRPC_MESSAGE pRpcMessage,
|
---|
8546 | DWORD* pdwStubPhase);
|
---|
8547 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDisplayMode_Proxy(
|
---|
8548 | IWineD3DDevice* This,
|
---|
8549 | UINT swapchain_idx,
|
---|
8550 | const WINED3DDISPLAYMODE *mode);
|
---|
8551 | void __RPC_STUB IWineD3DDevice_SetDisplayMode_Stub(
|
---|
8552 | IRpcStubBuffer* This,
|
---|
8553 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8554 | PRPC_MESSAGE pRpcMessage,
|
---|
8555 | DWORD* pdwStubPhase);
|
---|
8556 | UINT STDMETHODCALLTYPE IWineD3DDevice_GetNumberOfSwapChains_Proxy(
|
---|
8557 | IWineD3DDevice* This);
|
---|
8558 | void __RPC_STUB IWineD3DDevice_GetNumberOfSwapChains_Stub(
|
---|
8559 | IRpcStubBuffer* This,
|
---|
8560 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8561 | PRPC_MESSAGE pRpcMessage,
|
---|
8562 | DWORD* pdwStubPhase);
|
---|
8563 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRasterStatus_Proxy(
|
---|
8564 | IWineD3DDevice* This,
|
---|
8565 | UINT swapchain_idx,
|
---|
8566 | WINED3DRASTER_STATUS *raster_status);
|
---|
8567 | void __RPC_STUB IWineD3DDevice_GetRasterStatus_Stub(
|
---|
8568 | IRpcStubBuffer* This,
|
---|
8569 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8570 | PRPC_MESSAGE pRpcMessage,
|
---|
8571 | DWORD* pdwStubPhase);
|
---|
8572 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSwapChain_Proxy(
|
---|
8573 | IWineD3DDevice* This,
|
---|
8574 | UINT swapchain_idx,
|
---|
8575 | IWineD3DSwapChain **swapchain);
|
---|
8576 | void __RPC_STUB IWineD3DDevice_GetSwapChain_Stub(
|
---|
8577 | IRpcStubBuffer* This,
|
---|
8578 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8579 | PRPC_MESSAGE pRpcMessage,
|
---|
8580 | DWORD* pdwStubPhase);
|
---|
8581 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Reset_Proxy(
|
---|
8582 | IWineD3DDevice* This,
|
---|
8583 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8584 | void __RPC_STUB IWineD3DDevice_Reset_Stub(
|
---|
8585 | IRpcStubBuffer* This,
|
---|
8586 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8587 | PRPC_MESSAGE pRpcMessage,
|
---|
8588 | DWORD* pdwStubPhase);
|
---|
8589 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDialogBoxMode_Proxy(
|
---|
8590 | IWineD3DDevice* This,
|
---|
8591 | BOOL enable_dialogs);
|
---|
8592 | void __RPC_STUB IWineD3DDevice_SetDialogBoxMode_Stub(
|
---|
8593 | IRpcStubBuffer* This,
|
---|
8594 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8595 | PRPC_MESSAGE pRpcMessage,
|
---|
8596 | DWORD* pdwStubPhase);
|
---|
8597 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetCursorProperties_Proxy(
|
---|
8598 | IWineD3DDevice* This,
|
---|
8599 | UINT x_hotspot,
|
---|
8600 | UINT y_hotspot,
|
---|
8601 | IWineD3DSurface *cursor_surface);
|
---|
8602 | void __RPC_STUB IWineD3DDevice_SetCursorProperties_Stub(
|
---|
8603 | IRpcStubBuffer* This,
|
---|
8604 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8605 | PRPC_MESSAGE pRpcMessage,
|
---|
8606 | DWORD* pdwStubPhase);
|
---|
8607 | void STDMETHODCALLTYPE IWineD3DDevice_SetCursorPosition_Proxy(
|
---|
8608 | IWineD3DDevice* This,
|
---|
8609 | int x_screen_space,
|
---|
8610 | int y_screen_space,
|
---|
8611 | DWORD flags);
|
---|
8612 | void __RPC_STUB IWineD3DDevice_SetCursorPosition_Stub(
|
---|
8613 | IRpcStubBuffer* This,
|
---|
8614 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8615 | PRPC_MESSAGE pRpcMessage,
|
---|
8616 | DWORD* pdwStubPhase);
|
---|
8617 | BOOL STDMETHODCALLTYPE IWineD3DDevice_ShowCursor_Proxy(
|
---|
8618 | IWineD3DDevice* This,
|
---|
8619 | BOOL show);
|
---|
8620 | void __RPC_STUB IWineD3DDevice_ShowCursor_Stub(
|
---|
8621 | IRpcStubBuffer* This,
|
---|
8622 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8623 | PRPC_MESSAGE pRpcMessage,
|
---|
8624 | DWORD* pdwStubPhase);
|
---|
8625 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetClipPlane_Proxy(
|
---|
8626 | IWineD3DDevice* This,
|
---|
8627 | DWORD plane_idx,
|
---|
8628 | const float *plane);
|
---|
8629 | void __RPC_STUB IWineD3DDevice_SetClipPlane_Stub(
|
---|
8630 | IRpcStubBuffer* This,
|
---|
8631 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8632 | PRPC_MESSAGE pRpcMessage,
|
---|
8633 | DWORD* pdwStubPhase);
|
---|
8634 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetClipPlane_Proxy(
|
---|
8635 | IWineD3DDevice* This,
|
---|
8636 | DWORD plane_idx,
|
---|
8637 | float *plane);
|
---|
8638 | void __RPC_STUB IWineD3DDevice_GetClipPlane_Stub(
|
---|
8639 | IRpcStubBuffer* This,
|
---|
8640 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8641 | PRPC_MESSAGE pRpcMessage,
|
---|
8642 | DWORD* pdwStubPhase);
|
---|
8643 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetClipStatus_Proxy(
|
---|
8644 | IWineD3DDevice* This,
|
---|
8645 | const WINED3DCLIPSTATUS *clip_status);
|
---|
8646 | void __RPC_STUB IWineD3DDevice_SetClipStatus_Stub(
|
---|
8647 | IRpcStubBuffer* This,
|
---|
8648 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8649 | PRPC_MESSAGE pRpcMessage,
|
---|
8650 | DWORD* pdwStubPhase);
|
---|
8651 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetClipStatus_Proxy(
|
---|
8652 | IWineD3DDevice* This,
|
---|
8653 | WINED3DCLIPSTATUS *clip_status);
|
---|
8654 | void __RPC_STUB IWineD3DDevice_GetClipStatus_Stub(
|
---|
8655 | IRpcStubBuffer* This,
|
---|
8656 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8657 | PRPC_MESSAGE pRpcMessage,
|
---|
8658 | DWORD* pdwStubPhase);
|
---|
8659 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetCurrentTexturePalette_Proxy(
|
---|
8660 | IWineD3DDevice* This,
|
---|
8661 | UINT palette_number);
|
---|
8662 | void __RPC_STUB IWineD3DDevice_SetCurrentTexturePalette_Stub(
|
---|
8663 | IRpcStubBuffer* This,
|
---|
8664 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8665 | PRPC_MESSAGE pRpcMessage,
|
---|
8666 | DWORD* pdwStubPhase);
|
---|
8667 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetCurrentTexturePalette_Proxy(
|
---|
8668 | IWineD3DDevice* This,
|
---|
8669 | UINT *palette_number);
|
---|
8670 | void __RPC_STUB IWineD3DDevice_GetCurrentTexturePalette_Stub(
|
---|
8671 | IRpcStubBuffer* This,
|
---|
8672 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8673 | PRPC_MESSAGE pRpcMessage,
|
---|
8674 | DWORD* pdwStubPhase);
|
---|
8675 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDepthStencilSurface_Proxy(
|
---|
8676 | IWineD3DDevice* This,
|
---|
8677 | IWineD3DSurface *depth_stencil);
|
---|
8678 | void __RPC_STUB IWineD3DDevice_SetDepthStencilSurface_Stub(
|
---|
8679 | IRpcStubBuffer* This,
|
---|
8680 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8681 | PRPC_MESSAGE pRpcMessage,
|
---|
8682 | DWORD* pdwStubPhase);
|
---|
8683 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDepthStencilSurface_Proxy(
|
---|
8684 | IWineD3DDevice* This,
|
---|
8685 | IWineD3DSurface **depth_stencil);
|
---|
8686 | void __RPC_STUB IWineD3DDevice_GetDepthStencilSurface_Stub(
|
---|
8687 | IRpcStubBuffer* This,
|
---|
8688 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8689 | PRPC_MESSAGE pRpcMessage,
|
---|
8690 | DWORD* pdwStubPhase);
|
---|
8691 | void STDMETHODCALLTYPE IWineD3DDevice_SetGammaRamp_Proxy(
|
---|
8692 | IWineD3DDevice* This,
|
---|
8693 | UINT swapchain_idx,
|
---|
8694 | DWORD flags,
|
---|
8695 | const WINED3DGAMMARAMP *ramp);
|
---|
8696 | void __RPC_STUB IWineD3DDevice_SetGammaRamp_Stub(
|
---|
8697 | IRpcStubBuffer* This,
|
---|
8698 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8699 | PRPC_MESSAGE pRpcMessage,
|
---|
8700 | DWORD* pdwStubPhase);
|
---|
8701 | void STDMETHODCALLTYPE IWineD3DDevice_GetGammaRamp_Proxy(
|
---|
8702 | IWineD3DDevice* This,
|
---|
8703 | UINT swapchain_idx,
|
---|
8704 | WINED3DGAMMARAMP *ramp);
|
---|
8705 | void __RPC_STUB IWineD3DDevice_GetGammaRamp_Stub(
|
---|
8706 | IRpcStubBuffer* This,
|
---|
8707 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8708 | PRPC_MESSAGE pRpcMessage,
|
---|
8709 | DWORD* pdwStubPhase);
|
---|
8710 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetIndexBuffer_Proxy(
|
---|
8711 | IWineD3DDevice* This,
|
---|
8712 | IWineD3DBuffer *index_buffer,
|
---|
8713 | WINED3DFORMAT format);
|
---|
8714 | void __RPC_STUB IWineD3DDevice_SetIndexBuffer_Stub(
|
---|
8715 | IRpcStubBuffer* This,
|
---|
8716 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8717 | PRPC_MESSAGE pRpcMessage,
|
---|
8718 | DWORD* pdwStubPhase);
|
---|
8719 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetIndexBuffer_Proxy(
|
---|
8720 | IWineD3DDevice* This,
|
---|
8721 | IWineD3DBuffer **index_buffer);
|
---|
8722 | void __RPC_STUB IWineD3DDevice_GetIndexBuffer_Stub(
|
---|
8723 | IRpcStubBuffer* This,
|
---|
8724 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8725 | PRPC_MESSAGE pRpcMessage,
|
---|
8726 | DWORD* pdwStubPhase);
|
---|
8727 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetBaseVertexIndex_Proxy(
|
---|
8728 | IWineD3DDevice* This,
|
---|
8729 | INT base_index);
|
---|
8730 | void __RPC_STUB IWineD3DDevice_SetBaseVertexIndex_Stub(
|
---|
8731 | IRpcStubBuffer* This,
|
---|
8732 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8733 | PRPC_MESSAGE pRpcMessage,
|
---|
8734 | DWORD* pdwStubPhase);
|
---|
8735 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetBaseVertexIndex_Proxy(
|
---|
8736 | IWineD3DDevice* This,
|
---|
8737 | INT *base_index);
|
---|
8738 | void __RPC_STUB IWineD3DDevice_GetBaseVertexIndex_Stub(
|
---|
8739 | IRpcStubBuffer* This,
|
---|
8740 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8741 | PRPC_MESSAGE pRpcMessage,
|
---|
8742 | DWORD* pdwStubPhase);
|
---|
8743 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetLight_Proxy(
|
---|
8744 | IWineD3DDevice* This,
|
---|
8745 | DWORD light_idx,
|
---|
8746 | const WINED3DLIGHT *light);
|
---|
8747 | void __RPC_STUB IWineD3DDevice_SetLight_Stub(
|
---|
8748 | IRpcStubBuffer* This,
|
---|
8749 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8750 | PRPC_MESSAGE pRpcMessage,
|
---|
8751 | DWORD* pdwStubPhase);
|
---|
8752 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetLight_Proxy(
|
---|
8753 | IWineD3DDevice* This,
|
---|
8754 | DWORD light_idx,
|
---|
8755 | WINED3DLIGHT *light);
|
---|
8756 | void __RPC_STUB IWineD3DDevice_GetLight_Stub(
|
---|
8757 | IRpcStubBuffer* This,
|
---|
8758 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8759 | PRPC_MESSAGE pRpcMessage,
|
---|
8760 | DWORD* pdwStubPhase);
|
---|
8761 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetLightEnable_Proxy(
|
---|
8762 | IWineD3DDevice* This,
|
---|
8763 | DWORD light_idx,
|
---|
8764 | BOOL enable);
|
---|
8765 | void __RPC_STUB IWineD3DDevice_SetLightEnable_Stub(
|
---|
8766 | IRpcStubBuffer* This,
|
---|
8767 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8768 | PRPC_MESSAGE pRpcMessage,
|
---|
8769 | DWORD* pdwStubPhase);
|
---|
8770 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetLightEnable_Proxy(
|
---|
8771 | IWineD3DDevice* This,
|
---|
8772 | DWORD light_idx,
|
---|
8773 | BOOL *enable);
|
---|
8774 | void __RPC_STUB IWineD3DDevice_GetLightEnable_Stub(
|
---|
8775 | IRpcStubBuffer* This,
|
---|
8776 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8777 | PRPC_MESSAGE pRpcMessage,
|
---|
8778 | DWORD* pdwStubPhase);
|
---|
8779 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetMaterial_Proxy(
|
---|
8780 | IWineD3DDevice* This,
|
---|
8781 | const WINED3DMATERIAL *material);
|
---|
8782 | void __RPC_STUB IWineD3DDevice_SetMaterial_Stub(
|
---|
8783 | IRpcStubBuffer* This,
|
---|
8784 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8785 | PRPC_MESSAGE pRpcMessage,
|
---|
8786 | DWORD* pdwStubPhase);
|
---|
8787 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetMaterial_Proxy(
|
---|
8788 | IWineD3DDevice* This,
|
---|
8789 | WINED3DMATERIAL *material);
|
---|
8790 | void __RPC_STUB IWineD3DDevice_GetMaterial_Stub(
|
---|
8791 | IRpcStubBuffer* This,
|
---|
8792 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8793 | PRPC_MESSAGE pRpcMessage,
|
---|
8794 | DWORD* pdwStubPhase);
|
---|
8795 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetNPatchMode_Proxy(
|
---|
8796 | IWineD3DDevice* This,
|
---|
8797 | float segments);
|
---|
8798 | void __RPC_STUB IWineD3DDevice_SetNPatchMode_Stub(
|
---|
8799 | IRpcStubBuffer* This,
|
---|
8800 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8801 | PRPC_MESSAGE pRpcMessage,
|
---|
8802 | DWORD* pdwStubPhase);
|
---|
8803 | float STDMETHODCALLTYPE IWineD3DDevice_GetNPatchMode_Proxy(
|
---|
8804 | IWineD3DDevice* This);
|
---|
8805 | void __RPC_STUB IWineD3DDevice_GetNPatchMode_Stub(
|
---|
8806 | IRpcStubBuffer* This,
|
---|
8807 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8808 | PRPC_MESSAGE pRpcMessage,
|
---|
8809 | DWORD* pdwStubPhase);
|
---|
8810 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPaletteEntries_Proxy(
|
---|
8811 | IWineD3DDevice* This,
|
---|
8812 | UINT palette_number,
|
---|
8813 | const PALETTEENTRY *entries);
|
---|
8814 | void __RPC_STUB IWineD3DDevice_SetPaletteEntries_Stub(
|
---|
8815 | IRpcStubBuffer* This,
|
---|
8816 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8817 | PRPC_MESSAGE pRpcMessage,
|
---|
8818 | DWORD* pdwStubPhase);
|
---|
8819 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPaletteEntries_Proxy(
|
---|
8820 | IWineD3DDevice* This,
|
---|
8821 | UINT palette_number,
|
---|
8822 | PALETTEENTRY *entries);
|
---|
8823 | void __RPC_STUB IWineD3DDevice_GetPaletteEntries_Stub(
|
---|
8824 | IRpcStubBuffer* This,
|
---|
8825 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8826 | PRPC_MESSAGE pRpcMessage,
|
---|
8827 | DWORD* pdwStubPhase);
|
---|
8828 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShader_Proxy(
|
---|
8829 | IWineD3DDevice* This,
|
---|
8830 | IWineD3DPixelShader *shader);
|
---|
8831 | void __RPC_STUB IWineD3DDevice_SetPixelShader_Stub(
|
---|
8832 | IRpcStubBuffer* This,
|
---|
8833 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8834 | PRPC_MESSAGE pRpcMessage,
|
---|
8835 | DWORD* pdwStubPhase);
|
---|
8836 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShader_Proxy(
|
---|
8837 | IWineD3DDevice* This,
|
---|
8838 | IWineD3DPixelShader **shader);
|
---|
8839 | void __RPC_STUB IWineD3DDevice_GetPixelShader_Stub(
|
---|
8840 | IRpcStubBuffer* This,
|
---|
8841 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8842 | PRPC_MESSAGE pRpcMessage,
|
---|
8843 | DWORD* pdwStubPhase);
|
---|
8844 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantB_Proxy(
|
---|
8845 | IWineD3DDevice* This,
|
---|
8846 | UINT start_register,
|
---|
8847 | const BOOL *constants,
|
---|
8848 | UINT bool_count);
|
---|
8849 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantB_Stub(
|
---|
8850 | IRpcStubBuffer* This,
|
---|
8851 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8852 | PRPC_MESSAGE pRpcMessage,
|
---|
8853 | DWORD* pdwStubPhase);
|
---|
8854 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantB_Proxy(
|
---|
8855 | IWineD3DDevice* This,
|
---|
8856 | UINT start_register,
|
---|
8857 | BOOL *constants,
|
---|
8858 | UINT bool_count);
|
---|
8859 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantB_Stub(
|
---|
8860 | IRpcStubBuffer* This,
|
---|
8861 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8862 | PRPC_MESSAGE pRpcMessage,
|
---|
8863 | DWORD* pdwStubPhase);
|
---|
8864 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantI_Proxy(
|
---|
8865 | IWineD3DDevice* This,
|
---|
8866 | UINT start_register,
|
---|
8867 | const int *constants,
|
---|
8868 | UINT vector4i_count);
|
---|
8869 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantI_Stub(
|
---|
8870 | IRpcStubBuffer* This,
|
---|
8871 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8872 | PRPC_MESSAGE pRpcMessage,
|
---|
8873 | DWORD* pdwStubPhase);
|
---|
8874 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantI_Proxy(
|
---|
8875 | IWineD3DDevice* This,
|
---|
8876 | UINT start_register,
|
---|
8877 | int *constants,
|
---|
8878 | UINT vector4i_count);
|
---|
8879 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantI_Stub(
|
---|
8880 | IRpcStubBuffer* This,
|
---|
8881 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8882 | PRPC_MESSAGE pRpcMessage,
|
---|
8883 | DWORD* pdwStubPhase);
|
---|
8884 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantF_Proxy(
|
---|
8885 | IWineD3DDevice* This,
|
---|
8886 | UINT start_register,
|
---|
8887 | const float *constants,
|
---|
8888 | UINT vector4f_count);
|
---|
8889 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantF_Stub(
|
---|
8890 | IRpcStubBuffer* This,
|
---|
8891 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8892 | PRPC_MESSAGE pRpcMessage,
|
---|
8893 | DWORD* pdwStubPhase);
|
---|
8894 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantF_Proxy(
|
---|
8895 | IWineD3DDevice* This,
|
---|
8896 | UINT start_register,
|
---|
8897 | float *constants,
|
---|
8898 | UINT vector4f_count);
|
---|
8899 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantF_Stub(
|
---|
8900 | IRpcStubBuffer* This,
|
---|
8901 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8902 | PRPC_MESSAGE pRpcMessage,
|
---|
8903 | DWORD* pdwStubPhase);
|
---|
8904 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetRenderState_Proxy(
|
---|
8905 | IWineD3DDevice* This,
|
---|
8906 | WINED3DRENDERSTATETYPE state,
|
---|
8907 | DWORD value);
|
---|
8908 | void __RPC_STUB IWineD3DDevice_SetRenderState_Stub(
|
---|
8909 | IRpcStubBuffer* This,
|
---|
8910 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8911 | PRPC_MESSAGE pRpcMessage,
|
---|
8912 | DWORD* pdwStubPhase);
|
---|
8913 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRenderState_Proxy(
|
---|
8914 | IWineD3DDevice* This,
|
---|
8915 | WINED3DRENDERSTATETYPE state,
|
---|
8916 | DWORD *value);
|
---|
8917 | void __RPC_STUB IWineD3DDevice_GetRenderState_Stub(
|
---|
8918 | IRpcStubBuffer* This,
|
---|
8919 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8920 | PRPC_MESSAGE pRpcMessage,
|
---|
8921 | DWORD* pdwStubPhase);
|
---|
8922 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetRenderTarget_Proxy(
|
---|
8923 | IWineD3DDevice* This,
|
---|
8924 | DWORD render_target_idx,
|
---|
8925 | IWineD3DSurface *render_target,
|
---|
8926 | BOOL set_viewport);
|
---|
8927 | void __RPC_STUB IWineD3DDevice_SetRenderTarget_Stub(
|
---|
8928 | IRpcStubBuffer* This,
|
---|
8929 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8930 | PRPC_MESSAGE pRpcMessage,
|
---|
8931 | DWORD* pdwStubPhase);
|
---|
8932 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRenderTarget_Proxy(
|
---|
8933 | IWineD3DDevice* This,
|
---|
8934 | DWORD render_target_idx,
|
---|
8935 | IWineD3DSurface **render_target);
|
---|
8936 | void __RPC_STUB IWineD3DDevice_GetRenderTarget_Stub(
|
---|
8937 | IRpcStubBuffer* This,
|
---|
8938 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8939 | PRPC_MESSAGE pRpcMessage,
|
---|
8940 | DWORD* pdwStubPhase);
|
---|
8941 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetFrontBackBuffers_Proxy(
|
---|
8942 | IWineD3DDevice* This,
|
---|
8943 | IWineD3DSurface *front,
|
---|
8944 | IWineD3DSurface *back);
|
---|
8945 | void __RPC_STUB IWineD3DDevice_SetFrontBackBuffers_Stub(
|
---|
8946 | IRpcStubBuffer* This,
|
---|
8947 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8948 | PRPC_MESSAGE pRpcMessage,
|
---|
8949 | DWORD* pdwStubPhase);
|
---|
8950 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetSamplerState_Proxy(
|
---|
8951 | IWineD3DDevice* This,
|
---|
8952 | DWORD sampler_idx,
|
---|
8953 | WINED3DSAMPLERSTATETYPE state,
|
---|
8954 | DWORD value);
|
---|
8955 | void __RPC_STUB IWineD3DDevice_SetSamplerState_Stub(
|
---|
8956 | IRpcStubBuffer* This,
|
---|
8957 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8958 | PRPC_MESSAGE pRpcMessage,
|
---|
8959 | DWORD* pdwStubPhase);
|
---|
8960 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSamplerState_Proxy(
|
---|
8961 | IWineD3DDevice* This,
|
---|
8962 | DWORD sampler_idx,
|
---|
8963 | WINED3DSAMPLERSTATETYPE state,
|
---|
8964 | DWORD *value);
|
---|
8965 | void __RPC_STUB IWineD3DDevice_GetSamplerState_Stub(
|
---|
8966 | IRpcStubBuffer* This,
|
---|
8967 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8968 | PRPC_MESSAGE pRpcMessage,
|
---|
8969 | DWORD* pdwStubPhase);
|
---|
8970 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetScissorRect_Proxy(
|
---|
8971 | IWineD3DDevice* This,
|
---|
8972 | const RECT *rect);
|
---|
8973 | void __RPC_STUB IWineD3DDevice_SetScissorRect_Stub(
|
---|
8974 | IRpcStubBuffer* This,
|
---|
8975 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8976 | PRPC_MESSAGE pRpcMessage,
|
---|
8977 | DWORD* pdwStubPhase);
|
---|
8978 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetScissorRect_Proxy(
|
---|
8979 | IWineD3DDevice* This,
|
---|
8980 | RECT *rect);
|
---|
8981 | void __RPC_STUB IWineD3DDevice_GetScissorRect_Stub(
|
---|
8982 | IRpcStubBuffer* This,
|
---|
8983 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8984 | PRPC_MESSAGE pRpcMessage,
|
---|
8985 | DWORD* pdwStubPhase);
|
---|
8986 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetSoftwareVertexProcessing_Proxy(
|
---|
8987 | IWineD3DDevice* This,
|
---|
8988 | BOOL software);
|
---|
8989 | void __RPC_STUB IWineD3DDevice_SetSoftwareVertexProcessing_Stub(
|
---|
8990 | IRpcStubBuffer* This,
|
---|
8991 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8992 | PRPC_MESSAGE pRpcMessage,
|
---|
8993 | DWORD* pdwStubPhase);
|
---|
8994 | BOOL STDMETHODCALLTYPE IWineD3DDevice_GetSoftwareVertexProcessing_Proxy(
|
---|
8995 | IWineD3DDevice* This);
|
---|
8996 | void __RPC_STUB IWineD3DDevice_GetSoftwareVertexProcessing_Stub(
|
---|
8997 | IRpcStubBuffer* This,
|
---|
8998 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8999 | PRPC_MESSAGE pRpcMessage,
|
---|
9000 | DWORD* pdwStubPhase);
|
---|
9001 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetStreamSource_Proxy(
|
---|
9002 | IWineD3DDevice* This,
|
---|
9003 | UINT stream_idx,
|
---|
9004 | IWineD3DBuffer *buffer,
|
---|
9005 | UINT offset,
|
---|
9006 | UINT stride);
|
---|
9007 | void __RPC_STUB IWineD3DDevice_SetStreamSource_Stub(
|
---|
9008 | IRpcStubBuffer* This,
|
---|
9009 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9010 | PRPC_MESSAGE pRpcMessage,
|
---|
9011 | DWORD* pdwStubPhase);
|
---|
9012 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetStreamSource_Proxy(
|
---|
9013 | IWineD3DDevice* This,
|
---|
9014 | UINT stream_idx,
|
---|
9015 | IWineD3DBuffer **buffer,
|
---|
9016 | UINT *offset,
|
---|
9017 | UINT *stride);
|
---|
9018 | void __RPC_STUB IWineD3DDevice_GetStreamSource_Stub(
|
---|
9019 | IRpcStubBuffer* This,
|
---|
9020 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9021 | PRPC_MESSAGE pRpcMessage,
|
---|
9022 | DWORD* pdwStubPhase);
|
---|
9023 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetStreamSourceFreq_Proxy(
|
---|
9024 | IWineD3DDevice* This,
|
---|
9025 | UINT stream_idx,
|
---|
9026 | UINT divider);
|
---|
9027 | void __RPC_STUB IWineD3DDevice_SetStreamSourceFreq_Stub(
|
---|
9028 | IRpcStubBuffer* This,
|
---|
9029 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9030 | PRPC_MESSAGE pRpcMessage,
|
---|
9031 | DWORD* pdwStubPhase);
|
---|
9032 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetStreamSourceFreq_Proxy(
|
---|
9033 | IWineD3DDevice* This,
|
---|
9034 | UINT stream_idx,
|
---|
9035 | UINT *divider);
|
---|
9036 | void __RPC_STUB IWineD3DDevice_GetStreamSourceFreq_Stub(
|
---|
9037 | IRpcStubBuffer* This,
|
---|
9038 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9039 | PRPC_MESSAGE pRpcMessage,
|
---|
9040 | DWORD* pdwStubPhase);
|
---|
9041 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTexture_Proxy(
|
---|
9042 | IWineD3DDevice* This,
|
---|
9043 | DWORD stage,
|
---|
9044 | IWineD3DBaseTexture *texture);
|
---|
9045 | void __RPC_STUB IWineD3DDevice_SetTexture_Stub(
|
---|
9046 | IRpcStubBuffer* This,
|
---|
9047 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9048 | PRPC_MESSAGE pRpcMessage,
|
---|
9049 | DWORD* pdwStubPhase);
|
---|
9050 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTexture_Proxy(
|
---|
9051 | IWineD3DDevice* This,
|
---|
9052 | DWORD stage,
|
---|
9053 | IWineD3DBaseTexture **texture);
|
---|
9054 | void __RPC_STUB IWineD3DDevice_GetTexture_Stub(
|
---|
9055 | IRpcStubBuffer* This,
|
---|
9056 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9057 | PRPC_MESSAGE pRpcMessage,
|
---|
9058 | DWORD* pdwStubPhase);
|
---|
9059 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTextureStageState_Proxy(
|
---|
9060 | IWineD3DDevice* This,
|
---|
9061 | DWORD stage,
|
---|
9062 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
9063 | DWORD value);
|
---|
9064 | void __RPC_STUB IWineD3DDevice_SetTextureStageState_Stub(
|
---|
9065 | IRpcStubBuffer* This,
|
---|
9066 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9067 | PRPC_MESSAGE pRpcMessage,
|
---|
9068 | DWORD* pdwStubPhase);
|
---|
9069 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTextureStageState_Proxy(
|
---|
9070 | IWineD3DDevice* This,
|
---|
9071 | DWORD stage,
|
---|
9072 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
9073 | DWORD *value);
|
---|
9074 | void __RPC_STUB IWineD3DDevice_GetTextureStageState_Stub(
|
---|
9075 | IRpcStubBuffer* This,
|
---|
9076 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9077 | PRPC_MESSAGE pRpcMessage,
|
---|
9078 | DWORD* pdwStubPhase);
|
---|
9079 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTransform_Proxy(
|
---|
9080 | IWineD3DDevice* This,
|
---|
9081 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9082 | const WINED3DMATRIX *matrix);
|
---|
9083 | void __RPC_STUB IWineD3DDevice_SetTransform_Stub(
|
---|
9084 | IRpcStubBuffer* This,
|
---|
9085 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9086 | PRPC_MESSAGE pRpcMessage,
|
---|
9087 | DWORD* pdwStubPhase);
|
---|
9088 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTransform_Proxy(
|
---|
9089 | IWineD3DDevice* This,
|
---|
9090 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9091 | WINED3DMATRIX *matrix);
|
---|
9092 | void __RPC_STUB IWineD3DDevice_GetTransform_Stub(
|
---|
9093 | IRpcStubBuffer* This,
|
---|
9094 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9095 | PRPC_MESSAGE pRpcMessage,
|
---|
9096 | DWORD* pdwStubPhase);
|
---|
9097 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexDeclaration_Proxy(
|
---|
9098 | IWineD3DDevice* This,
|
---|
9099 | IWineD3DVertexDeclaration *declaration);
|
---|
9100 | void __RPC_STUB IWineD3DDevice_SetVertexDeclaration_Stub(
|
---|
9101 | IRpcStubBuffer* This,
|
---|
9102 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9103 | PRPC_MESSAGE pRpcMessage,
|
---|
9104 | DWORD* pdwStubPhase);
|
---|
9105 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexDeclaration_Proxy(
|
---|
9106 | IWineD3DDevice* This,
|
---|
9107 | IWineD3DVertexDeclaration **declaration);
|
---|
9108 | void __RPC_STUB IWineD3DDevice_GetVertexDeclaration_Stub(
|
---|
9109 | IRpcStubBuffer* This,
|
---|
9110 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9111 | PRPC_MESSAGE pRpcMessage,
|
---|
9112 | DWORD* pdwStubPhase);
|
---|
9113 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShader_Proxy(
|
---|
9114 | IWineD3DDevice* This,
|
---|
9115 | IWineD3DVertexShader *shader);
|
---|
9116 | void __RPC_STUB IWineD3DDevice_SetVertexShader_Stub(
|
---|
9117 | IRpcStubBuffer* This,
|
---|
9118 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9119 | PRPC_MESSAGE pRpcMessage,
|
---|
9120 | DWORD* pdwStubPhase);
|
---|
9121 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShader_Proxy(
|
---|
9122 | IWineD3DDevice* This,
|
---|
9123 | IWineD3DVertexShader **shader);
|
---|
9124 | void __RPC_STUB IWineD3DDevice_GetVertexShader_Stub(
|
---|
9125 | IRpcStubBuffer* This,
|
---|
9126 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9127 | PRPC_MESSAGE pRpcMessage,
|
---|
9128 | DWORD* pdwStubPhase);
|
---|
9129 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantB_Proxy(
|
---|
9130 | IWineD3DDevice* This,
|
---|
9131 | UINT start_register,
|
---|
9132 | const BOOL *constants,
|
---|
9133 | UINT bool_count);
|
---|
9134 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantB_Stub(
|
---|
9135 | IRpcStubBuffer* This,
|
---|
9136 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9137 | PRPC_MESSAGE pRpcMessage,
|
---|
9138 | DWORD* pdwStubPhase);
|
---|
9139 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantB_Proxy(
|
---|
9140 | IWineD3DDevice* This,
|
---|
9141 | UINT start_register,
|
---|
9142 | BOOL *constants,
|
---|
9143 | UINT bool_count);
|
---|
9144 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantB_Stub(
|
---|
9145 | IRpcStubBuffer* This,
|
---|
9146 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9147 | PRPC_MESSAGE pRpcMessage,
|
---|
9148 | DWORD* pdwStubPhase);
|
---|
9149 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantI_Proxy(
|
---|
9150 | IWineD3DDevice* This,
|
---|
9151 | UINT start_register,
|
---|
9152 | const int *constants,
|
---|
9153 | UINT vector4i_count);
|
---|
9154 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantI_Stub(
|
---|
9155 | IRpcStubBuffer* This,
|
---|
9156 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9157 | PRPC_MESSAGE pRpcMessage,
|
---|
9158 | DWORD* pdwStubPhase);
|
---|
9159 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantI_Proxy(
|
---|
9160 | IWineD3DDevice* This,
|
---|
9161 | UINT start_register,
|
---|
9162 | int *constants,
|
---|
9163 | UINT vector4i_count);
|
---|
9164 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantI_Stub(
|
---|
9165 | IRpcStubBuffer* This,
|
---|
9166 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9167 | PRPC_MESSAGE pRpcMessage,
|
---|
9168 | DWORD* pdwStubPhase);
|
---|
9169 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantF_Proxy(
|
---|
9170 | IWineD3DDevice* This,
|
---|
9171 | UINT start_register,
|
---|
9172 | const float *constants,
|
---|
9173 | UINT vector4f_count);
|
---|
9174 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantF_Stub(
|
---|
9175 | IRpcStubBuffer* This,
|
---|
9176 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9177 | PRPC_MESSAGE pRpcMessage,
|
---|
9178 | DWORD* pdwStubPhase);
|
---|
9179 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantF_Proxy(
|
---|
9180 | IWineD3DDevice* This,
|
---|
9181 | UINT start_register,
|
---|
9182 | float *constants,
|
---|
9183 | UINT vector4f_count);
|
---|
9184 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantF_Stub(
|
---|
9185 | IRpcStubBuffer* This,
|
---|
9186 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9187 | PRPC_MESSAGE pRpcMessage,
|
---|
9188 | DWORD* pdwStubPhase);
|
---|
9189 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetViewport_Proxy(
|
---|
9190 | IWineD3DDevice* This,
|
---|
9191 | const WINED3DVIEWPORT *viewport);
|
---|
9192 | void __RPC_STUB IWineD3DDevice_SetViewport_Stub(
|
---|
9193 | IRpcStubBuffer* This,
|
---|
9194 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9195 | PRPC_MESSAGE pRpcMessage,
|
---|
9196 | DWORD* pdwStubPhase);
|
---|
9197 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetViewport_Proxy(
|
---|
9198 | IWineD3DDevice* This,
|
---|
9199 | WINED3DVIEWPORT *viewport);
|
---|
9200 | void __RPC_STUB IWineD3DDevice_GetViewport_Stub(
|
---|
9201 | IRpcStubBuffer* This,
|
---|
9202 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9203 | PRPC_MESSAGE pRpcMessage,
|
---|
9204 | DWORD* pdwStubPhase);
|
---|
9205 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_MultiplyTransform_Proxy(
|
---|
9206 | IWineD3DDevice* This,
|
---|
9207 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9208 | const WINED3DMATRIX *matrix);
|
---|
9209 | void __RPC_STUB IWineD3DDevice_MultiplyTransform_Stub(
|
---|
9210 | IRpcStubBuffer* This,
|
---|
9211 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9212 | PRPC_MESSAGE pRpcMessage,
|
---|
9213 | DWORD* pdwStubPhase);
|
---|
9214 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ValidateDevice_Proxy(
|
---|
9215 | IWineD3DDevice* This,
|
---|
9216 | DWORD *num_passes);
|
---|
9217 | void __RPC_STUB IWineD3DDevice_ValidateDevice_Stub(
|
---|
9218 | IRpcStubBuffer* This,
|
---|
9219 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9220 | PRPC_MESSAGE pRpcMessage,
|
---|
9221 | DWORD* pdwStubPhase);
|
---|
9222 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ProcessVertices_Proxy(
|
---|
9223 | IWineD3DDevice* This,
|
---|
9224 | UINT src_start_idx,
|
---|
9225 | UINT dst_idx,
|
---|
9226 | UINT vertex_count,
|
---|
9227 | IWineD3DBuffer *dest_buffer,
|
---|
9228 | IWineD3DVertexDeclaration *declaration,
|
---|
9229 | DWORD flags,
|
---|
9230 | DWORD DestFVF);
|
---|
9231 | void __RPC_STUB IWineD3DDevice_ProcessVertices_Stub(
|
---|
9232 | IRpcStubBuffer* This,
|
---|
9233 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9234 | PRPC_MESSAGE pRpcMessage,
|
---|
9235 | DWORD* pdwStubPhase);
|
---|
9236 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_BeginStateBlock_Proxy(
|
---|
9237 | IWineD3DDevice* This);
|
---|
9238 | void __RPC_STUB IWineD3DDevice_BeginStateBlock_Stub(
|
---|
9239 | IRpcStubBuffer* This,
|
---|
9240 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9241 | PRPC_MESSAGE pRpcMessage,
|
---|
9242 | DWORD* pdwStubPhase);
|
---|
9243 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EndStateBlock_Proxy(
|
---|
9244 | IWineD3DDevice* This,
|
---|
9245 | IWineD3DStateBlock **stateblock);
|
---|
9246 | void __RPC_STUB IWineD3DDevice_EndStateBlock_Stub(
|
---|
9247 | IRpcStubBuffer* This,
|
---|
9248 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9249 | PRPC_MESSAGE pRpcMessage,
|
---|
9250 | DWORD* pdwStubPhase);
|
---|
9251 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_BeginScene_Proxy(
|
---|
9252 | IWineD3DDevice* This);
|
---|
9253 | void __RPC_STUB IWineD3DDevice_BeginScene_Stub(
|
---|
9254 | IRpcStubBuffer* This,
|
---|
9255 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9256 | PRPC_MESSAGE pRpcMessage,
|
---|
9257 | DWORD* pdwStubPhase);
|
---|
9258 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EndScene_Proxy(
|
---|
9259 | IWineD3DDevice* This);
|
---|
9260 | void __RPC_STUB IWineD3DDevice_EndScene_Stub(
|
---|
9261 | IRpcStubBuffer* This,
|
---|
9262 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9263 | PRPC_MESSAGE pRpcMessage,
|
---|
9264 | DWORD* pdwStubPhase);
|
---|
9265 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Present_Proxy(
|
---|
9266 | IWineD3DDevice* This,
|
---|
9267 | const RECT *src_rect,
|
---|
9268 | const RECT *dst_rect,
|
---|
9269 | HWND dst_window_override,
|
---|
9270 | const RGNDATA *dirty_region);
|
---|
9271 | void __RPC_STUB IWineD3DDevice_Present_Stub(
|
---|
9272 | IRpcStubBuffer* This,
|
---|
9273 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9274 | PRPC_MESSAGE pRpcMessage,
|
---|
9275 | DWORD* pdwStubPhase);
|
---|
9276 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Clear_Proxy(
|
---|
9277 | IWineD3DDevice* This,
|
---|
9278 | DWORD rect_count,
|
---|
9279 | const WINED3DRECT *rects,
|
---|
9280 | DWORD flags,
|
---|
9281 | WINED3DCOLOR color,
|
---|
9282 | float z,
|
---|
9283 | DWORD stencil);
|
---|
9284 | void __RPC_STUB IWineD3DDevice_Clear_Stub(
|
---|
9285 | IRpcStubBuffer* This,
|
---|
9286 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9287 | PRPC_MESSAGE pRpcMessage,
|
---|
9288 | DWORD* pdwStubPhase);
|
---|
9289 | void STDMETHODCALLTYPE IWineD3DDevice_ClearRendertargetView_Proxy(
|
---|
9290 | IWineD3DDevice* This,
|
---|
9291 | IWineD3DRendertargetView *rendertarget_view,
|
---|
9292 | const float color[4]);
|
---|
9293 | void __RPC_STUB IWineD3DDevice_ClearRendertargetView_Stub(
|
---|
9294 | IRpcStubBuffer* This,
|
---|
9295 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9296 | PRPC_MESSAGE pRpcMessage,
|
---|
9297 | DWORD* pdwStubPhase);
|
---|
9298 | void STDMETHODCALLTYPE IWineD3DDevice_SetPrimitiveType_Proxy(
|
---|
9299 | IWineD3DDevice* This,
|
---|
9300 | WINED3DPRIMITIVETYPE primitive_topology);
|
---|
9301 | void __RPC_STUB IWineD3DDevice_SetPrimitiveType_Stub(
|
---|
9302 | IRpcStubBuffer* This,
|
---|
9303 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9304 | PRPC_MESSAGE pRpcMessage,
|
---|
9305 | DWORD* pdwStubPhase);
|
---|
9306 | void STDMETHODCALLTYPE IWineD3DDevice_GetPrimitiveType_Proxy(
|
---|
9307 | IWineD3DDevice* This,
|
---|
9308 | WINED3DPRIMITIVETYPE *primitive_topology);
|
---|
9309 | void __RPC_STUB IWineD3DDevice_GetPrimitiveType_Stub(
|
---|
9310 | IRpcStubBuffer* This,
|
---|
9311 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9312 | PRPC_MESSAGE pRpcMessage,
|
---|
9313 | DWORD* pdwStubPhase);
|
---|
9314 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitive_Proxy(
|
---|
9315 | IWineD3DDevice* This,
|
---|
9316 | UINT start_vertex,
|
---|
9317 | UINT vertex_count);
|
---|
9318 | void __RPC_STUB IWineD3DDevice_DrawPrimitive_Stub(
|
---|
9319 | IRpcStubBuffer* This,
|
---|
9320 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9321 | PRPC_MESSAGE pRpcMessage,
|
---|
9322 | DWORD* pdwStubPhase);
|
---|
9323 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitive_Proxy(
|
---|
9324 | IWineD3DDevice* This,
|
---|
9325 | UINT start_idx,
|
---|
9326 | UINT index_count);
|
---|
9327 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitive_Stub(
|
---|
9328 | IRpcStubBuffer* This,
|
---|
9329 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9330 | PRPC_MESSAGE pRpcMessage,
|
---|
9331 | DWORD* pdwStubPhase);
|
---|
9332 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitiveUP_Proxy(
|
---|
9333 | IWineD3DDevice* This,
|
---|
9334 | UINT vertex_count,
|
---|
9335 | const void *stream_data,
|
---|
9336 | UINT stream_stride);
|
---|
9337 | void __RPC_STUB IWineD3DDevice_DrawPrimitiveUP_Stub(
|
---|
9338 | IRpcStubBuffer* This,
|
---|
9339 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9340 | PRPC_MESSAGE pRpcMessage,
|
---|
9341 | DWORD* pdwStubPhase);
|
---|
9342 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveUP_Proxy(
|
---|
9343 | IWineD3DDevice* This,
|
---|
9344 | UINT index_count,
|
---|
9345 | const void *index_data,
|
---|
9346 | WINED3DFORMAT index_data_format,
|
---|
9347 | const void *stream_data,
|
---|
9348 | UINT stream_stride);
|
---|
9349 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitiveUP_Stub(
|
---|
9350 | IRpcStubBuffer* This,
|
---|
9351 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9352 | PRPC_MESSAGE pRpcMessage,
|
---|
9353 | DWORD* pdwStubPhase);
|
---|
9354 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitiveStrided_Proxy(
|
---|
9355 | IWineD3DDevice* This,
|
---|
9356 | UINT vertex_count,
|
---|
9357 | const WineDirect3DVertexStridedData *strided_data);
|
---|
9358 | void __RPC_STUB IWineD3DDevice_DrawPrimitiveStrided_Stub(
|
---|
9359 | IRpcStubBuffer* This,
|
---|
9360 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9361 | PRPC_MESSAGE pRpcMessage,
|
---|
9362 | DWORD* pdwStubPhase);
|
---|
9363 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveStrided_Proxy(
|
---|
9364 | IWineD3DDevice* This,
|
---|
9365 | UINT index_count,
|
---|
9366 | const WineDirect3DVertexStridedData *strided_data,
|
---|
9367 | UINT vertex_count,
|
---|
9368 | const void *index_data,
|
---|
9369 | WINED3DFORMAT index_data_format);
|
---|
9370 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitiveStrided_Stub(
|
---|
9371 | IRpcStubBuffer* This,
|
---|
9372 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9373 | PRPC_MESSAGE pRpcMessage,
|
---|
9374 | DWORD* pdwStubPhase);
|
---|
9375 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawRectPatch_Proxy(
|
---|
9376 | IWineD3DDevice* This,
|
---|
9377 | UINT handle,
|
---|
9378 | const float *num_segs,
|
---|
9379 | const WINED3DRECTPATCH_INFO *rect_patch_info);
|
---|
9380 | void __RPC_STUB IWineD3DDevice_DrawRectPatch_Stub(
|
---|
9381 | IRpcStubBuffer* This,
|
---|
9382 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9383 | PRPC_MESSAGE pRpcMessage,
|
---|
9384 | DWORD* pdwStubPhase);
|
---|
9385 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawTriPatch_Proxy(
|
---|
9386 | IWineD3DDevice* This,
|
---|
9387 | UINT handle,
|
---|
9388 | const float *num_segs,
|
---|
9389 | const WINED3DTRIPATCH_INFO *tri_patch_info);
|
---|
9390 | void __RPC_STUB IWineD3DDevice_DrawTriPatch_Stub(
|
---|
9391 | IRpcStubBuffer* This,
|
---|
9392 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9393 | PRPC_MESSAGE pRpcMessage,
|
---|
9394 | DWORD* pdwStubPhase);
|
---|
9395 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DeletePatch_Proxy(
|
---|
9396 | IWineD3DDevice* This,
|
---|
9397 | UINT handle);
|
---|
9398 | void __RPC_STUB IWineD3DDevice_DeletePatch_Stub(
|
---|
9399 | IRpcStubBuffer* This,
|
---|
9400 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9401 | PRPC_MESSAGE pRpcMessage,
|
---|
9402 | DWORD* pdwStubPhase);
|
---|
9403 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ColorFill_Proxy(
|
---|
9404 | IWineD3DDevice* This,
|
---|
9405 | IWineD3DSurface *surface,
|
---|
9406 | const WINED3DRECT *rect,
|
---|
9407 | WINED3DCOLOR color);
|
---|
9408 | void __RPC_STUB IWineD3DDevice_ColorFill_Stub(
|
---|
9409 | IRpcStubBuffer* This,
|
---|
9410 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9411 | PRPC_MESSAGE pRpcMessage,
|
---|
9412 | DWORD* pdwStubPhase);
|
---|
9413 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UpdateTexture_Proxy(
|
---|
9414 | IWineD3DDevice* This,
|
---|
9415 | IWineD3DBaseTexture *src_texture,
|
---|
9416 | IWineD3DBaseTexture *dst_texture);
|
---|
9417 | void __RPC_STUB IWineD3DDevice_UpdateTexture_Stub(
|
---|
9418 | IRpcStubBuffer* This,
|
---|
9419 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9420 | PRPC_MESSAGE pRpcMessage,
|
---|
9421 | DWORD* pdwStubPhase);
|
---|
9422 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UpdateSurface_Proxy(
|
---|
9423 | IWineD3DDevice* This,
|
---|
9424 | IWineD3DSurface *src_surface,
|
---|
9425 | const RECT *src_rect,
|
---|
9426 | IWineD3DSurface *dst_surface,
|
---|
9427 | const POINT *dst_point);
|
---|
9428 | void __RPC_STUB IWineD3DDevice_UpdateSurface_Stub(
|
---|
9429 | IRpcStubBuffer* This,
|
---|
9430 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9431 | PRPC_MESSAGE pRpcMessage,
|
---|
9432 | DWORD* pdwStubPhase);
|
---|
9433 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetFrontBufferData_Proxy(
|
---|
9434 | IWineD3DDevice* This,
|
---|
9435 | UINT swapchain_idx,
|
---|
9436 | IWineD3DSurface *dst_surface);
|
---|
9437 | void __RPC_STUB IWineD3DDevice_GetFrontBufferData_Stub(
|
---|
9438 | IRpcStubBuffer* This,
|
---|
9439 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9440 | PRPC_MESSAGE pRpcMessage,
|
---|
9441 | DWORD* pdwStubPhase);
|
---|
9442 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EnumResources_Proxy(
|
---|
9443 | IWineD3DDevice* This,
|
---|
9444 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
9445 | void *data);
|
---|
9446 | void __RPC_STUB IWineD3DDevice_EnumResources_Stub(
|
---|
9447 | IRpcStubBuffer* This,
|
---|
9448 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9449 | PRPC_MESSAGE pRpcMessage,
|
---|
9450 | DWORD* pdwStubPhase);
|
---|
9451 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSurfaceFromDC_Proxy(
|
---|
9452 | IWineD3DDevice* This,
|
---|
9453 | HDC dc,
|
---|
9454 | IWineD3DSurface **surface);
|
---|
9455 | void __RPC_STUB IWineD3DDevice_GetSurfaceFromDC_Stub(
|
---|
9456 | IRpcStubBuffer* This,
|
---|
9457 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9458 | PRPC_MESSAGE pRpcMessage,
|
---|
9459 | DWORD* pdwStubPhase);
|
---|
9460 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_AcquireFocusWindow_Proxy(
|
---|
9461 | IWineD3DDevice* This,
|
---|
9462 | HWND window);
|
---|
9463 | void __RPC_STUB IWineD3DDevice_AcquireFocusWindow_Stub(
|
---|
9464 | IRpcStubBuffer* This,
|
---|
9465 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9466 | PRPC_MESSAGE pRpcMessage,
|
---|
9467 | DWORD* pdwStubPhase);
|
---|
9468 | void STDMETHODCALLTYPE IWineD3DDevice_ReleaseFocusWindow_Proxy(
|
---|
9469 | IWineD3DDevice* This);
|
---|
9470 | void __RPC_STUB IWineD3DDevice_ReleaseFocusWindow_Stub(
|
---|
9471 | IRpcStubBuffer* This,
|
---|
9472 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9473 | PRPC_MESSAGE pRpcMessage,
|
---|
9474 | DWORD* pdwStubPhase);
|
---|
9475 |
|
---|
9476 | #endif /* __IWineD3DDevice_INTERFACE_DEFINED__ */
|
---|
9477 |
|
---|
9478 | IWineD3D * STDMETHODCALLTYPE WineDirect3DCreate(UINT dxVersion,IUnknown *parent);
|
---|
9479 |
|
---|
9480 | IWineD3DClipper * STDMETHODCALLTYPE WineDirect3DCreateClipper(IUnknown *parent);
|
---|
9481 |
|
---|
9482 | void STDMETHODCALLTYPE wined3d_mutex_lock(void);
|
---|
9483 |
|
---|
9484 | void STDMETHODCALLTYPE wined3d_mutex_unlock(void);
|
---|
9485 |
|
---|
9486 | /* Begin additional prototypes for all interfaces */
|
---|
9487 |
|
---|
9488 |
|
---|
9489 | /* End additional prototypes */
|
---|
9490 |
|
---|
9491 | #ifdef __cplusplus
|
---|
9492 | }
|
---|
9493 | #endif
|
---|
9494 |
|
---|
9495 | #endif /* __WIDL_WINED3D_H */
|
---|