1 | /*** Autogenerated by WIDL 1.1.30 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 __IWineD3DPixelShader_FWD_DEFINED__
|
---|
120 | #define __IWineD3DPixelShader_FWD_DEFINED__
|
---|
121 | typedef interface IWineD3DPixelShader IWineD3DPixelShader;
|
---|
122 | #endif
|
---|
123 |
|
---|
124 | #ifndef __IWineD3DDevice_FWD_DEFINED__
|
---|
125 | #define __IWineD3DDevice_FWD_DEFINED__
|
---|
126 | typedef interface IWineD3DDevice IWineD3DDevice;
|
---|
127 | #endif
|
---|
128 |
|
---|
129 |
|
---|
130 | #if 0
|
---|
131 | typedef HANDLE HMONITOR;
|
---|
132 | typedef struct _RGNDATAHEADER {
|
---|
133 | DWORD dwSize;
|
---|
134 | DWORD iType;
|
---|
135 | DWORD nCount;
|
---|
136 | DWORD nRgnSize;
|
---|
137 | RECT rcBound;
|
---|
138 | } RGNDATAHEADER;
|
---|
139 | typedef struct _RGNDATA {
|
---|
140 | RGNDATAHEADER rdh;
|
---|
141 | char Buffer[1];
|
---|
142 | } RGNDATA;
|
---|
143 | #endif
|
---|
144 | #define WINED3D_OK S_OK
|
---|
145 | #define _FACWINED3D (0x876)
|
---|
146 |
|
---|
147 | #define MAKE_WINED3DSTATUS(code) MAKE_HRESULT(0, _FACWINED3D, code)
|
---|
148 | #define WINED3DOK_NOAUTOGEN MAKE_WINED3DSTATUS(2159)
|
---|
149 | #define MAKE_WINED3DHRESULT(code) MAKE_HRESULT(1, _FACWINED3D, code)
|
---|
150 | #define WINED3DERR_WRONGTEXTUREFORMAT MAKE_WINED3DHRESULT(2072)
|
---|
151 | #define WINED3DERR_UNSUPPORTEDCOLOROPERATION MAKE_WINED3DHRESULT(2073)
|
---|
152 | #define WINED3DERR_UNSUPPORTEDCOLORARG MAKE_WINED3DHRESULT(2074)
|
---|
153 | #define WINED3DERR_UNSUPPORTEDALPHAOPERATION MAKE_WINED3DHRESULT(2075)
|
---|
154 | #define WINED3DERR_UNSUPPORTEDALPHAARG MAKE_WINED3DHRESULT(2076)
|
---|
155 | #define WINED3DERR_TOOMANYOPERATIONS MAKE_WINED3DHRESULT(2077)
|
---|
156 | #define WINED3DERR_CONFLICTINGTEXTUREFILTER MAKE_WINED3DHRESULT(2078)
|
---|
157 | #define WINED3DERR_UNSUPPORTEDFACTORVALUE MAKE_WINED3DHRESULT(2079)
|
---|
158 | #define WINED3DERR_CONFLICTINGRENDERSTATE MAKE_WINED3DHRESULT(2081)
|
---|
159 | #define WINED3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_WINED3DHRESULT(2082)
|
---|
160 | #define WINED3DERR_CONFLICTINGTEXTUREPALETTE MAKE_WINED3DHRESULT(2086)
|
---|
161 | #define WINED3DERR_DRIVERINTERNALERROR MAKE_WINED3DHRESULT(2087)
|
---|
162 | #define WINED3DERR_NOTFOUND MAKE_WINED3DHRESULT(2150)
|
---|
163 | #define WINED3DERR_MOREDATA MAKE_WINED3DHRESULT(2151)
|
---|
164 | #define WINED3DERR_DEVICELOST MAKE_WINED3DHRESULT(2152)
|
---|
165 | #define WINED3DERR_DEVICENOTRESET MAKE_WINED3DHRESULT(2153)
|
---|
166 | #define WINED3DERR_NOTAVAILABLE MAKE_WINED3DHRESULT(2154)
|
---|
167 | #define WINED3DERR_OUTOFVIDEOMEMORY MAKE_WINED3DHRESULT(380)
|
---|
168 | #define WINED3DERR_INVALIDDEVICE MAKE_WINED3DHRESULT(2155)
|
---|
169 | #define WINED3DERR_INVALIDCALL MAKE_WINED3DHRESULT(2156)
|
---|
170 | #define WINED3DERR_DRIVERINVALIDCALL MAKE_WINED3DHRESULT(2157)
|
---|
171 | #define WINED3DERR_WASSTILLDRAWING MAKE_WINED3DHRESULT(540)
|
---|
172 | #define WINEDDERR_NOTAOVERLAYSURFACE MAKE_WINED3DHRESULT(580)
|
---|
173 | #define WINEDDERR_NOTLOCKED MAKE_WINED3DHRESULT(584)
|
---|
174 | #define WINEDDERR_NODC MAKE_WINED3DHRESULT(586)
|
---|
175 | #define WINEDDERR_DCALREADYCREATED MAKE_WINED3DHRESULT(620)
|
---|
176 | #define WINEDDERR_NOTFLIPPABLE MAKE_WINED3DHRESULT(582)
|
---|
177 | #define WINEDDERR_SURFACEBUSY MAKE_WINED3DHRESULT(430)
|
---|
178 | #define WINEDDERR_INVALIDRECT MAKE_WINED3DHRESULT(150)
|
---|
179 | #define WINEDDERR_NOCLIPLIST MAKE_WINED3DHRESULT(205)
|
---|
180 | #define WINEDDERR_OVERLAYNOTVISIBLE MAKE_WINED3DHRESULT(577)
|
---|
181 | typedef DWORD WINED3DCOLOR;
|
---|
182 | typedef enum _WINED3DLIGHTTYPE {
|
---|
183 | WINED3DLIGHT_POINT = 1,
|
---|
184 | WINED3DLIGHT_SPOT = 2,
|
---|
185 | WINED3DLIGHT_DIRECTIONAL = 3,
|
---|
186 | WINED3DLIGHT_PARALLELPOINT = 4,
|
---|
187 | WINED3DLIGHT_GLSPOT = 5,
|
---|
188 | WINED3DLIGHT_FORCE_DWORD = 0x7fffffff
|
---|
189 | } WINED3DLIGHTTYPE;
|
---|
190 | typedef enum _WINED3DPRIMITIVETYPE {
|
---|
191 | WINED3DPT_UNDEFINED = 0,
|
---|
192 | WINED3DPT_POINTLIST = 1,
|
---|
193 | WINED3DPT_LINELIST = 2,
|
---|
194 | WINED3DPT_LINESTRIP = 3,
|
---|
195 | WINED3DPT_TRIANGLELIST = 4,
|
---|
196 | WINED3DPT_TRIANGLESTRIP = 5,
|
---|
197 | WINED3DPT_TRIANGLEFAN = 6,
|
---|
198 | WINED3DPT_LINELIST_ADJ = 10,
|
---|
199 | WINED3DPT_LINESTRIP_ADJ = 11,
|
---|
200 | WINED3DPT_TRIANGLELIST_ADJ = 12,
|
---|
201 | WINED3DPT_TRIANGLESTRIP_ADJ = 13,
|
---|
202 | WINED3DPT_FORCE_DWORD = 0x7fffffff
|
---|
203 | } WINED3DPRIMITIVETYPE;
|
---|
204 | typedef enum _WINED3DDEVTYPE {
|
---|
205 | WINED3DDEVTYPE_HAL = 1,
|
---|
206 | WINED3DDEVTYPE_REF = 2,
|
---|
207 | WINED3DDEVTYPE_SW = 3,
|
---|
208 | WINED3DDEVTYPE_NULLREF = 4,
|
---|
209 | WINED3DDEVTYPE_FORCE_DWORD = 0xffffffff
|
---|
210 | } WINED3DDEVTYPE;
|
---|
211 | typedef enum _WINED3DDEGREETYPE {
|
---|
212 | WINED3DDEGREE_LINEAR = 1,
|
---|
213 | WINED3DDEGREE_QUADRATIC = 2,
|
---|
214 | WINED3DDEGREE_CUBIC = 3,
|
---|
215 | WINED3DDEGREE_QUINTIC = 5,
|
---|
216 | WINED3DDEGREE_FORCE_DWORD = 0x7fffffff
|
---|
217 | } WINED3DDEGREETYPE;
|
---|
218 | typedef enum _WINED3DFORMAT {
|
---|
219 | WINED3DFMT_UNKNOWN = 0,
|
---|
220 | WINED3DFMT_B8G8R8_UNORM = 1,
|
---|
221 | WINED3DFMT_B5G5R5X1_UNORM = 2,
|
---|
222 | WINED3DFMT_B4G4R4A4_UNORM = 3,
|
---|
223 | WINED3DFMT_B2G3R3_UNORM = 4,
|
---|
224 | WINED3DFMT_B2G3R3A8_UNORM = 5,
|
---|
225 | WINED3DFMT_B4G4R4X4_UNORM = 6,
|
---|
226 | WINED3DFMT_R8G8B8X8_UNORM = 7,
|
---|
227 | WINED3DFMT_B10G10R10A2_UNORM = 8,
|
---|
228 | WINED3DFMT_P8_UINT_A8_UNORM = 9,
|
---|
229 | WINED3DFMT_P8_UINT = 10,
|
---|
230 | WINED3DFMT_L8_UNORM = 11,
|
---|
231 | WINED3DFMT_L8A8_UNORM = 12,
|
---|
232 | WINED3DFMT_L4A4_UNORM = 13,
|
---|
233 | WINED3DFMT_R5G5_SNORM_L6_UNORM = 14,
|
---|
234 | WINED3DFMT_R8G8_SNORM_L8X8_UNORM = 15,
|
---|
235 | WINED3DFMT_R10G11B11_SNORM = 16,
|
---|
236 | WINED3DFMT_R10G10B10_SNORM_A2_UNORM = 17,
|
---|
237 | WINED3DFMT_D16_LOCKABLE = 18,
|
---|
238 | WINED3DFMT_D32_UNORM = 19,
|
---|
239 | WINED3DFMT_S1_UINT_D15_UNORM = 20,
|
---|
240 | WINED3DFMT_S8_UINT_D24_UNORM = 21,
|
---|
241 | WINED3DFMT_X8D24_UNORM = 22,
|
---|
242 | WINED3DFMT_S4X4_UINT_D24_UNORM = 23,
|
---|
243 | WINED3DFMT_L16_UNORM = 24,
|
---|
244 | WINED3DFMT_S8_UINT_D24_FLOAT = 25,
|
---|
245 | WINED3DFMT_VERTEXDATA = 26,
|
---|
246 | WINED3DFMT_R8G8_SNORM_Cx = 27,
|
---|
247 | WINED3DFMT_R32G32B32A32_TYPELESS = 28,
|
---|
248 | WINED3DFMT_R32G32B32A32_FLOAT = 29,
|
---|
249 | WINED3DFMT_R32G32B32A32_UINT = 30,
|
---|
250 | WINED3DFMT_R32G32B32A32_SINT = 31,
|
---|
251 | WINED3DFMT_R32G32B32_TYPELESS = 32,
|
---|
252 | WINED3DFMT_R32G32B32_FLOAT = 33,
|
---|
253 | WINED3DFMT_R32G32B32_UINT = 34,
|
---|
254 | WINED3DFMT_R32G32B32_SINT = 35,
|
---|
255 | WINED3DFMT_R16G16B16A16_TYPELESS = 36,
|
---|
256 | WINED3DFMT_R16G16B16A16_FLOAT = 37,
|
---|
257 | WINED3DFMT_R16G16B16A16_UNORM = 38,
|
---|
258 | WINED3DFMT_R16G16B16A16_UINT = 39,
|
---|
259 | WINED3DFMT_R16G16B16A16_SNORM = 40,
|
---|
260 | WINED3DFMT_R16G16B16A16_SINT = 41,
|
---|
261 | WINED3DFMT_R32G32_TYPELESS = 42,
|
---|
262 | WINED3DFMT_R32G32_FLOAT = 43,
|
---|
263 | WINED3DFMT_R32G32_UINT = 44,
|
---|
264 | WINED3DFMT_R32G32_SINT = 45,
|
---|
265 | WINED3DFMT_R32G8X24_TYPELESS = 46,
|
---|
266 | WINED3DFMT_D32_FLOAT_S8X24_UINT = 47,
|
---|
267 | WINED3DFMT_R32_FLOAT_X8X24_TYPELESS = 48,
|
---|
268 | WINED3DFMT_X32_TYPELESS_G8X24_UINT = 49,
|
---|
269 | WINED3DFMT_R10G10B10A2_TYPELESS = 50,
|
---|
270 | WINED3DFMT_R10G10B10A2_UNORM = 51,
|
---|
271 | WINED3DFMT_R10G10B10A2_UINT = 52,
|
---|
272 | WINED3DFMT_R10G10B10A2_SNORM = 53,
|
---|
273 | WINED3DFMT_R11G11B10_FLOAT = 54,
|
---|
274 | WINED3DFMT_R8G8B8A8_TYPELESS = 55,
|
---|
275 | WINED3DFMT_R8G8B8A8_UNORM = 56,
|
---|
276 | WINED3DFMT_R8G8B8A8_UNORM_SRGB = 57,
|
---|
277 | WINED3DFMT_R8G8B8A8_UINT = 58,
|
---|
278 | WINED3DFMT_R8G8B8A8_SNORM = 59,
|
---|
279 | WINED3DFMT_R8G8B8A8_SINT = 60,
|
---|
280 | WINED3DFMT_R16G16_TYPELESS = 61,
|
---|
281 | WINED3DFMT_R16G16_FLOAT = 62,
|
---|
282 | WINED3DFMT_R16G16_UNORM = 63,
|
---|
283 | WINED3DFMT_R16G16_UINT = 64,
|
---|
284 | WINED3DFMT_R16G16_SNORM = 65,
|
---|
285 | WINED3DFMT_R16G16_SINT = 66,
|
---|
286 | WINED3DFMT_R32_TYPELESS = 67,
|
---|
287 | WINED3DFMT_D32_FLOAT = 68,
|
---|
288 | WINED3DFMT_R32_FLOAT = 69,
|
---|
289 | WINED3DFMT_R32_UINT = 70,
|
---|
290 | WINED3DFMT_R32_SINT = 71,
|
---|
291 | WINED3DFMT_R24G8_TYPELESS = 72,
|
---|
292 | WINED3DFMT_D24_UNORM_S8_UINT = 73,
|
---|
293 | WINED3DFMT_R24_UNORM_X8_TYPELESS = 74,
|
---|
294 | WINED3DFMT_X24_TYPELESS_G8_UINT = 75,
|
---|
295 | WINED3DFMT_R8G8_TYPELESS = 76,
|
---|
296 | WINED3DFMT_R8G8_UNORM = 77,
|
---|
297 | WINED3DFMT_R8G8_UINT = 78,
|
---|
298 | WINED3DFMT_R8G8_SNORM = 79,
|
---|
299 | WINED3DFMT_R8G8_SINT = 80,
|
---|
300 | WINED3DFMT_R16_TYPELESS = 81,
|
---|
301 | WINED3DFMT_R16_FLOAT = 82,
|
---|
302 | WINED3DFMT_D16_UNORM = 83,
|
---|
303 | WINED3DFMT_R16_UNORM = 84,
|
---|
304 | WINED3DFMT_R16_UINT = 85,
|
---|
305 | WINED3DFMT_R16_SNORM = 86,
|
---|
306 | WINED3DFMT_R16_SINT = 87,
|
---|
307 | WINED3DFMT_R8_TYPELESS = 88,
|
---|
308 | WINED3DFMT_R8_UNORM = 89,
|
---|
309 | WINED3DFMT_R8_UINT = 90,
|
---|
310 | WINED3DFMT_R8_SNORM = 91,
|
---|
311 | WINED3DFMT_R8_SINT = 92,
|
---|
312 | WINED3DFMT_A8_UNORM = 93,
|
---|
313 | WINED3DFMT_R1_UNORM = 94,
|
---|
314 | WINED3DFMT_R9G9B9E5_SHAREDEXP = 95,
|
---|
315 | WINED3DFMT_R8G8_B8G8_UNORM = 96,
|
---|
316 | WINED3DFMT_G8R8_G8B8_UNORM = 97,
|
---|
317 | WINED3DFMT_BC1_TYPELESS = 98,
|
---|
318 | WINED3DFMT_BC1_UNORM = 99,
|
---|
319 | WINED3DFMT_BC1_UNORM_SRGB = 100,
|
---|
320 | WINED3DFMT_BC2_TYPELESS = 101,
|
---|
321 | WINED3DFMT_BC2_UNORM = 102,
|
---|
322 | WINED3DFMT_BC2_UNORM_SRGB = 103,
|
---|
323 | WINED3DFMT_BC3_TYPELESS = 104,
|
---|
324 | WINED3DFMT_BC3_UNORM = 105,
|
---|
325 | WINED3DFMT_BC3_UNORM_SRGB = 106,
|
---|
326 | WINED3DFMT_BC4_TYPELESS = 107,
|
---|
327 | WINED3DFMT_BC4_UNORM = 108,
|
---|
328 | WINED3DFMT_BC4_SNORM = 109,
|
---|
329 | WINED3DFMT_BC5_TYPELESS = 110,
|
---|
330 | WINED3DFMT_BC5_UNORM = 111,
|
---|
331 | WINED3DFMT_BC5_SNORM = 112,
|
---|
332 | WINED3DFMT_B5G6R5_UNORM = 113,
|
---|
333 | WINED3DFMT_B5G5R5A1_UNORM = 114,
|
---|
334 | WINED3DFMT_B8G8R8A8_UNORM = 115,
|
---|
335 | WINED3DFMT_B8G8R8X8_UNORM = 116,
|
---|
336 | WINED3DFMT_FORCE_DWORD = 0xffffffff
|
---|
337 | } WINED3DFORMAT;
|
---|
338 | #define WINEMAKEFOURCC(ch0, ch1, ch2, ch3) \
|
---|
339 | ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
|
---|
340 | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
|
---|
341 | #define WINED3DFMT_UYVY WINEMAKEFOURCC('U', 'Y', 'V', 'Y')
|
---|
342 | #define WINED3DFMT_YUY2 WINEMAKEFOURCC('Y', 'U', 'Y', '2')
|
---|
343 | #define WINED3DFMT_YV12 WINEMAKEFOURCC('Y', 'V', '1', '2')
|
---|
344 | #define WINED3DFMT_DXT1 WINEMAKEFOURCC('D', 'X', 'T', '1')
|
---|
345 | #define WINED3DFMT_DXT2 WINEMAKEFOURCC('D', 'X', 'T', '2')
|
---|
346 | #define WINED3DFMT_DXT3 WINEMAKEFOURCC('D', 'X', 'T', '3')
|
---|
347 | #define WINED3DFMT_DXT4 WINEMAKEFOURCC('D', 'X', 'T', '4')
|
---|
348 | #define WINED3DFMT_DXT5 WINEMAKEFOURCC('D', 'X', 'T', '5')
|
---|
349 | #define WINED3DFMT_MULTI2_ARGB8 WINEMAKEFOURCC('M', 'E', 'T', '1')
|
---|
350 | #define WINED3DFMT_G8R8_G8B8 WINEMAKEFOURCC('G', 'R', 'G', 'B')
|
---|
351 | #define WINED3DFMT_R8G8_B8G8 WINEMAKEFOURCC('R', 'G', 'B', 'G')
|
---|
352 | #define WINED3DFMT_ATI2N WINEMAKEFOURCC('A', 'T', 'I', '2')
|
---|
353 | #define WINED3DFMT_NVHU WINEMAKEFOURCC('N', 'V', 'H', 'U')
|
---|
354 | #define WINED3DFMT_NVHS WINEMAKEFOURCC('N', 'V', 'H', 'S')
|
---|
355 | typedef enum _WINED3DRENDERSTATETYPE {
|
---|
356 | WINED3DRS_TEXTUREHANDLE = 1,
|
---|
357 | WINED3DRS_ANTIALIAS = 2,
|
---|
358 | WINED3DRS_TEXTUREADDRESS = 3,
|
---|
359 | WINED3DRS_TEXTUREPERSPECTIVE = 4,
|
---|
360 | WINED3DRS_WRAPU = 5,
|
---|
361 | WINED3DRS_WRAPV = 6,
|
---|
362 | WINED3DRS_ZENABLE = 7,
|
---|
363 | WINED3DRS_FILLMODE = 8,
|
---|
364 | WINED3DRS_SHADEMODE = 9,
|
---|
365 | WINED3DRS_LINEPATTERN = 10,
|
---|
366 | WINED3DRS_MONOENABLE = 11,
|
---|
367 | WINED3DRS_ROP2 = 12,
|
---|
368 | WINED3DRS_PLANEMASK = 13,
|
---|
369 | WINED3DRS_ZWRITEENABLE = 14,
|
---|
370 | WINED3DRS_ALPHATESTENABLE = 15,
|
---|
371 | WINED3DRS_LASTPIXEL = 16,
|
---|
372 | WINED3DRS_TEXTUREMAG = 17,
|
---|
373 | WINED3DRS_TEXTUREMIN = 18,
|
---|
374 | WINED3DRS_SRCBLEND = 19,
|
---|
375 | WINED3DRS_DESTBLEND = 20,
|
---|
376 | WINED3DRS_TEXTUREMAPBLEND = 21,
|
---|
377 | WINED3DRS_CULLMODE = 22,
|
---|
378 | WINED3DRS_ZFUNC = 23,
|
---|
379 | WINED3DRS_ALPHAREF = 24,
|
---|
380 | WINED3DRS_ALPHAFUNC = 25,
|
---|
381 | WINED3DRS_DITHERENABLE = 26,
|
---|
382 | WINED3DRS_ALPHABLENDENABLE = 27,
|
---|
383 | WINED3DRS_FOGENABLE = 28,
|
---|
384 | WINED3DRS_SPECULARENABLE = 29,
|
---|
385 | WINED3DRS_ZVISIBLE = 30,
|
---|
386 | WINED3DRS_SUBPIXEL = 31,
|
---|
387 | WINED3DRS_SUBPIXELX = 32,
|
---|
388 | WINED3DRS_STIPPLEDALPHA = 33,
|
---|
389 | WINED3DRS_FOGCOLOR = 34,
|
---|
390 | WINED3DRS_FOGTABLEMODE = 35,
|
---|
391 | WINED3DRS_FOGSTART = 36,
|
---|
392 | WINED3DRS_FOGEND = 37,
|
---|
393 | WINED3DRS_FOGDENSITY = 38,
|
---|
394 | WINED3DRS_STIPPLEENABLE = 39,
|
---|
395 | WINED3DRS_EDGEANTIALIAS = 40,
|
---|
396 | WINED3DRS_COLORKEYENABLE = 41,
|
---|
397 | WINED3DRS_BORDERCOLOR = 43,
|
---|
398 | WINED3DRS_TEXTUREADDRESSU = 44,
|
---|
399 | WINED3DRS_TEXTUREADDRESSV = 45,
|
---|
400 | WINED3DRS_MIPMAPLODBIAS = 46,
|
---|
401 | WINED3DRS_ZBIAS = 47,
|
---|
402 | WINED3DRS_RANGEFOGENABLE = 48,
|
---|
403 | WINED3DRS_ANISOTROPY = 49,
|
---|
404 | WINED3DRS_FLUSHBATCH = 50,
|
---|
405 | WINED3DRS_TRANSLUCENTSORTINDEPENDENT = 51,
|
---|
406 | WINED3DRS_STENCILENABLE = 52,
|
---|
407 | WINED3DRS_STENCILFAIL = 53,
|
---|
408 | WINED3DRS_STENCILZFAIL = 54,
|
---|
409 | WINED3DRS_STENCILPASS = 55,
|
---|
410 | WINED3DRS_STENCILFUNC = 56,
|
---|
411 | WINED3DRS_STENCILREF = 57,
|
---|
412 | WINED3DRS_STENCILMASK = 58,
|
---|
413 | WINED3DRS_STENCILWRITEMASK = 59,
|
---|
414 | WINED3DRS_TEXTUREFACTOR = 60,
|
---|
415 | WINED3DRS_STIPPLEPATTERN00 = 64,
|
---|
416 | WINED3DRS_STIPPLEPATTERN01 = 65,
|
---|
417 | WINED3DRS_STIPPLEPATTERN02 = 66,
|
---|
418 | WINED3DRS_STIPPLEPATTERN03 = 67,
|
---|
419 | WINED3DRS_STIPPLEPATTERN04 = 68,
|
---|
420 | WINED3DRS_STIPPLEPATTERN05 = 69,
|
---|
421 | WINED3DRS_STIPPLEPATTERN06 = 70,
|
---|
422 | WINED3DRS_STIPPLEPATTERN07 = 71,
|
---|
423 | WINED3DRS_STIPPLEPATTERN08 = 72,
|
---|
424 | WINED3DRS_STIPPLEPATTERN09 = 73,
|
---|
425 | WINED3DRS_STIPPLEPATTERN10 = 74,
|
---|
426 | WINED3DRS_STIPPLEPATTERN11 = 75,
|
---|
427 | WINED3DRS_STIPPLEPATTERN12 = 76,
|
---|
428 | WINED3DRS_STIPPLEPATTERN13 = 77,
|
---|
429 | WINED3DRS_STIPPLEPATTERN14 = 78,
|
---|
430 | WINED3DRS_STIPPLEPATTERN15 = 79,
|
---|
431 | WINED3DRS_STIPPLEPATTERN16 = 80,
|
---|
432 | WINED3DRS_STIPPLEPATTERN17 = 81,
|
---|
433 | WINED3DRS_STIPPLEPATTERN18 = 82,
|
---|
434 | WINED3DRS_STIPPLEPATTERN19 = 83,
|
---|
435 | WINED3DRS_STIPPLEPATTERN20 = 84,
|
---|
436 | WINED3DRS_STIPPLEPATTERN21 = 85,
|
---|
437 | WINED3DRS_STIPPLEPATTERN22 = 86,
|
---|
438 | WINED3DRS_STIPPLEPATTERN23 = 87,
|
---|
439 | WINED3DRS_STIPPLEPATTERN24 = 88,
|
---|
440 | WINED3DRS_STIPPLEPATTERN25 = 89,
|
---|
441 | WINED3DRS_STIPPLEPATTERN26 = 90,
|
---|
442 | WINED3DRS_STIPPLEPATTERN27 = 91,
|
---|
443 | WINED3DRS_STIPPLEPATTERN28 = 92,
|
---|
444 | WINED3DRS_STIPPLEPATTERN29 = 93,
|
---|
445 | WINED3DRS_STIPPLEPATTERN30 = 94,
|
---|
446 | WINED3DRS_STIPPLEPATTERN31 = 95,
|
---|
447 | WINED3DRS_WRAP0 = 128,
|
---|
448 | WINED3DRS_WRAP1 = 129,
|
---|
449 | WINED3DRS_WRAP2 = 130,
|
---|
450 | WINED3DRS_WRAP3 = 131,
|
---|
451 | WINED3DRS_WRAP4 = 132,
|
---|
452 | WINED3DRS_WRAP5 = 133,
|
---|
453 | WINED3DRS_WRAP6 = 134,
|
---|
454 | WINED3DRS_WRAP7 = 135,
|
---|
455 | WINED3DRS_CLIPPING = 136,
|
---|
456 | WINED3DRS_LIGHTING = 137,
|
---|
457 | WINED3DRS_EXTENTS = 138,
|
---|
458 | WINED3DRS_AMBIENT = 139,
|
---|
459 | WINED3DRS_FOGVERTEXMODE = 140,
|
---|
460 | WINED3DRS_COLORVERTEX = 141,
|
---|
461 | WINED3DRS_LOCALVIEWER = 142,
|
---|
462 | WINED3DRS_NORMALIZENORMALS = 143,
|
---|
463 | WINED3DRS_COLORKEYBLENDENABLE = 144,
|
---|
464 | WINED3DRS_DIFFUSEMATERIALSOURCE = 145,
|
---|
465 | WINED3DRS_SPECULARMATERIALSOURCE = 146,
|
---|
466 | WINED3DRS_AMBIENTMATERIALSOURCE = 147,
|
---|
467 | WINED3DRS_EMISSIVEMATERIALSOURCE = 148,
|
---|
468 | WINED3DRS_VERTEXBLEND = 151,
|
---|
469 | WINED3DRS_CLIPPLANEENABLE = 152,
|
---|
470 | WINED3DRS_SOFTWAREVERTEXPROCESSING = 153,
|
---|
471 | WINED3DRS_POINTSIZE = 154,
|
---|
472 | WINED3DRS_POINTSIZE_MIN = 155,
|
---|
473 | WINED3DRS_POINTSPRITEENABLE = 156,
|
---|
474 | WINED3DRS_POINTSCALEENABLE = 157,
|
---|
475 | WINED3DRS_POINTSCALE_A = 158,
|
---|
476 | WINED3DRS_POINTSCALE_B = 159,
|
---|
477 | WINED3DRS_POINTSCALE_C = 160,
|
---|
478 | WINED3DRS_MULTISAMPLEANTIALIAS = 161,
|
---|
479 | WINED3DRS_MULTISAMPLEMASK = 162,
|
---|
480 | WINED3DRS_PATCHEDGESTYLE = 163,
|
---|
481 | WINED3DRS_PATCHSEGMENTS = 164,
|
---|
482 | WINED3DRS_DEBUGMONITORTOKEN = 165,
|
---|
483 | WINED3DRS_POINTSIZE_MAX = 166,
|
---|
484 | WINED3DRS_INDEXEDVERTEXBLENDENABLE = 167,
|
---|
485 | WINED3DRS_COLORWRITEENABLE = 168,
|
---|
486 | WINED3DRS_TWEENFACTOR = 170,
|
---|
487 | WINED3DRS_BLENDOP = 171,
|
---|
488 | WINED3DRS_POSITIONORDER = 172,
|
---|
489 | WINED3DRS_NORMALORDER = 173,
|
---|
490 | WINED3DRS_POSITIONDEGREE = 172,
|
---|
491 | WINED3DRS_NORMALDEGREE = 173,
|
---|
492 | WINED3DRS_SCISSORTESTENABLE = 174,
|
---|
493 | WINED3DRS_SLOPESCALEDEPTHBIAS = 175,
|
---|
494 | WINED3DRS_ANTIALIASEDLINEENABLE = 176,
|
---|
495 | WINED3DRS_MINTESSELLATIONLEVEL = 178,
|
---|
496 | WINED3DRS_MAXTESSELLATIONLEVEL = 179,
|
---|
497 | WINED3DRS_ADAPTIVETESS_X = 180,
|
---|
498 | WINED3DRS_ADAPTIVETESS_Y = 181,
|
---|
499 | WINED3DRS_ADAPTIVETESS_Z = 182,
|
---|
500 | WINED3DRS_ADAPTIVETESS_W = 183,
|
---|
501 | WINED3DRS_ENABLEADAPTIVETESSELLATION = 184,
|
---|
502 | WINED3DRS_TWOSIDEDSTENCILMODE = 185,
|
---|
503 | WINED3DRS_CCW_STENCILFAIL = 186,
|
---|
504 | WINED3DRS_CCW_STENCILZFAIL = 187,
|
---|
505 | WINED3DRS_CCW_STENCILPASS = 188,
|
---|
506 | WINED3DRS_CCW_STENCILFUNC = 189,
|
---|
507 | WINED3DRS_COLORWRITEENABLE1 = 190,
|
---|
508 | WINED3DRS_COLORWRITEENABLE2 = 191,
|
---|
509 | WINED3DRS_COLORWRITEENABLE3 = 192,
|
---|
510 | WINED3DRS_BLENDFACTOR = 193,
|
---|
511 | WINED3DRS_SRGBWRITEENABLE = 194,
|
---|
512 | WINED3DRS_DEPTHBIAS = 195,
|
---|
513 | WINED3DRS_WRAP8 = 198,
|
---|
514 | WINED3DRS_WRAP9 = 199,
|
---|
515 | WINED3DRS_WRAP10 = 200,
|
---|
516 | WINED3DRS_WRAP11 = 201,
|
---|
517 | WINED3DRS_WRAP12 = 202,
|
---|
518 | WINED3DRS_WRAP13 = 203,
|
---|
519 | WINED3DRS_WRAP14 = 204,
|
---|
520 | WINED3DRS_WRAP15 = 205,
|
---|
521 | WINED3DRS_SEPARATEALPHABLENDENABLE = 206,
|
---|
522 | WINED3DRS_SRCBLENDALPHA = 207,
|
---|
523 | WINED3DRS_DESTBLENDALPHA = 208,
|
---|
524 | WINED3DRS_BLENDOPALPHA = 209,
|
---|
525 | WINED3DRS_FORCE_DWORD = 0x7fffffff
|
---|
526 | } WINED3DRENDERSTATETYPE;
|
---|
527 | #define WINEHIGHEST_RENDER_STATE (WINED3DRS_BLENDOPALPHA)
|
---|
528 |
|
---|
529 | typedef enum _WINED3DBLEND {
|
---|
530 | WINED3DBLEND_ZERO = 1,
|
---|
531 | WINED3DBLEND_ONE = 2,
|
---|
532 | WINED3DBLEND_SRCCOLOR = 3,
|
---|
533 | WINED3DBLEND_INVSRCCOLOR = 4,
|
---|
534 | WINED3DBLEND_SRCALPHA = 5,
|
---|
535 | WINED3DBLEND_INVSRCALPHA = 6,
|
---|
536 | WINED3DBLEND_DESTALPHA = 7,
|
---|
537 | WINED3DBLEND_INVDESTALPHA = 8,
|
---|
538 | WINED3DBLEND_DESTCOLOR = 9,
|
---|
539 | WINED3DBLEND_INVDESTCOLOR = 10,
|
---|
540 | WINED3DBLEND_SRCALPHASAT = 11,
|
---|
541 | WINED3DBLEND_BOTHSRCALPHA = 12,
|
---|
542 | WINED3DBLEND_BOTHINVSRCALPHA = 13,
|
---|
543 | WINED3DBLEND_BLENDFACTOR = 14,
|
---|
544 | WINED3DBLEND_INVBLENDFACTOR = 15,
|
---|
545 | WINED3DBLEND_FORCE_DWORD = 0x7fffffff
|
---|
546 | } WINED3DBLEND;
|
---|
547 | typedef enum _WINED3DBLENDOP {
|
---|
548 | WINED3DBLENDOP_ADD = 1,
|
---|
549 | WINED3DBLENDOP_SUBTRACT = 2,
|
---|
550 | WINED3DBLENDOP_REVSUBTRACT = 3,
|
---|
551 | WINED3DBLENDOP_MIN = 4,
|
---|
552 | WINED3DBLENDOP_MAX = 5,
|
---|
553 | WINED3DBLENDOP_FORCE_DWORD = 0x7fffffff
|
---|
554 | } WINED3DBLENDOP;
|
---|
555 | typedef enum _WINED3DVERTEXBLENDFLAGS {
|
---|
556 | WINED3DVBF_DISABLE = 0,
|
---|
557 | WINED3DVBF_1WEIGHTS = 1,
|
---|
558 | WINED3DVBF_2WEIGHTS = 2,
|
---|
559 | WINED3DVBF_3WEIGHTS = 3,
|
---|
560 | WINED3DVBF_TWEENING = 255,
|
---|
561 | WINED3DVBF_0WEIGHTS = 256
|
---|
562 | } WINED3DVERTEXBLENDFLAGS;
|
---|
563 | typedef enum _WINED3DCMPFUNC {
|
---|
564 | WINED3DCMP_NEVER = 1,
|
---|
565 | WINED3DCMP_LESS = 2,
|
---|
566 | WINED3DCMP_EQUAL = 3,
|
---|
567 | WINED3DCMP_LESSEQUAL = 4,
|
---|
568 | WINED3DCMP_GREATER = 5,
|
---|
569 | WINED3DCMP_NOTEQUAL = 6,
|
---|
570 | WINED3DCMP_GREATEREQUAL = 7,
|
---|
571 | WINED3DCMP_ALWAYS = 8,
|
---|
572 | WINED3DCMP_FORCE_DWORD = 0x7fffffff
|
---|
573 | } WINED3DCMPFUNC;
|
---|
574 | typedef enum _WINED3DZBUFFERTYPE {
|
---|
575 | WINED3DZB_FALSE = 0,
|
---|
576 | WINED3DZB_TRUE = 1,
|
---|
577 | WINED3DZB_USEW = 2,
|
---|
578 | WINED3DZB_FORCE_DWORD = 0x7fffffff
|
---|
579 | } WINED3DZBUFFERTYPE;
|
---|
580 | typedef enum _WINED3DFOGMODE {
|
---|
581 | WINED3DFOG_NONE = 0,
|
---|
582 | WINED3DFOG_EXP = 1,
|
---|
583 | WINED3DFOG_EXP2 = 2,
|
---|
584 | WINED3DFOG_LINEAR = 3,
|
---|
585 | WINED3DFOG_FORCE_DWORD = 0x7fffffff
|
---|
586 | } WINED3DFOGMODE;
|
---|
587 | typedef enum _WINED3DSHADEMODE {
|
---|
588 | WINED3DSHADE_FLAT = 1,
|
---|
589 | WINED3DSHADE_GOURAUD = 2,
|
---|
590 | WINED3DSHADE_PHONG = 3,
|
---|
591 | WINED3DSHADE_FORCE_DWORD = 0x7fffffff
|
---|
592 | } WINED3DSHADEMODE;
|
---|
593 | typedef enum _WINED3DFILLMODE {
|
---|
594 | WINED3DFILL_POINT = 1,
|
---|
595 | WINED3DFILL_WIREFRAME = 2,
|
---|
596 | WINED3DFILL_SOLID = 3,
|
---|
597 | WINED3DFILL_FORCE_DWORD = 0x7fffffff
|
---|
598 | } WINED3DFILLMODE;
|
---|
599 | typedef enum _WINED3DCULL {
|
---|
600 | WINED3DCULL_NONE = 1,
|
---|
601 | WINED3DCULL_CW = 2,
|
---|
602 | WINED3DCULL_CCW = 3,
|
---|
603 | WINED3DCULL_FORCE_DWORD = 0x7fffffff
|
---|
604 | } WINED3DCULL;
|
---|
605 | typedef enum _WINED3DSTENCILOP {
|
---|
606 | WINED3DSTENCILOP_KEEP = 1,
|
---|
607 | WINED3DSTENCILOP_ZERO = 2,
|
---|
608 | WINED3DSTENCILOP_REPLACE = 3,
|
---|
609 | WINED3DSTENCILOP_INCRSAT = 4,
|
---|
610 | WINED3DSTENCILOP_DECRSAT = 5,
|
---|
611 | WINED3DSTENCILOP_INVERT = 6,
|
---|
612 | WINED3DSTENCILOP_INCR = 7,
|
---|
613 | WINED3DSTENCILOP_DECR = 8,
|
---|
614 | WINED3DSTENCILOP_FORCE_DWORD = 0x7fffffff
|
---|
615 | } WINED3DSTENCILOP;
|
---|
616 | typedef enum _WINED3DMATERIALCOLORSOURCE {
|
---|
617 | WINED3DMCS_MATERIAL = 0,
|
---|
618 | WINED3DMCS_COLOR1 = 1,
|
---|
619 | WINED3DMCS_COLOR2 = 2,
|
---|
620 | WINED3DMCS_FORCE_DWORD = 0x7fffffff
|
---|
621 | } WINED3DMATERIALCOLORSOURCE;
|
---|
622 | typedef enum _WINED3DPATCHEDGESTYLE {
|
---|
623 | WINED3DPATCHEDGE_DISCRETE = 0,
|
---|
624 | WINED3DPATCHEDGE_CONTINUOUS = 1,
|
---|
625 | WINED3DPATCHEDGE_FORCE_DWORD = 0x7fffffff
|
---|
626 | } WINED3DPATCHEDGESTYLE;
|
---|
627 | typedef enum _WINED3DBACKBUFFER_TYPE {
|
---|
628 | WINED3DBACKBUFFER_TYPE_MONO = 0,
|
---|
629 | WINED3DBACKBUFFER_TYPE_LEFT = 1,
|
---|
630 | WINED3DBACKBUFFER_TYPE_RIGHT = 2,
|
---|
631 | WINED3DBACKBUFFER_TYPE_FORCE_DWORD = 0x7fffffff
|
---|
632 | } WINED3DBACKBUFFER_TYPE;
|
---|
633 | typedef enum _WINED3DSWAPEFFECT {
|
---|
634 | WINED3DSWAPEFFECT_DISCARD = 1,
|
---|
635 | WINED3DSWAPEFFECT_FLIP = 2,
|
---|
636 | WINED3DSWAPEFFECT_COPY = 3,
|
---|
637 | WINED3DSWAPEFFECT_COPY_VSYNC = 4,
|
---|
638 | WINED3DSWAPEFFECT_FORCE_DWORD = 0xffffffff
|
---|
639 | } WINED3DSWAPEFFECT;
|
---|
640 | typedef enum _WINED3DSAMPLERSTATETYPE {
|
---|
641 | WINED3DSAMP_ADDRESSU = 1,
|
---|
642 | WINED3DSAMP_ADDRESSV = 2,
|
---|
643 | WINED3DSAMP_ADDRESSW = 3,
|
---|
644 | WINED3DSAMP_BORDERCOLOR = 4,
|
---|
645 | WINED3DSAMP_MAGFILTER = 5,
|
---|
646 | WINED3DSAMP_MINFILTER = 6,
|
---|
647 | WINED3DSAMP_MIPFILTER = 7,
|
---|
648 | WINED3DSAMP_MIPMAPLODBIAS = 8,
|
---|
649 | WINED3DSAMP_MAXMIPLEVEL = 9,
|
---|
650 | WINED3DSAMP_MAXANISOTROPY = 10,
|
---|
651 | WINED3DSAMP_SRGBTEXTURE = 11,
|
---|
652 | WINED3DSAMP_ELEMENTINDEX = 12,
|
---|
653 | WINED3DSAMP_DMAPOFFSET = 13,
|
---|
654 | WINED3DSAMP_FORCE_DWORD = 0x7fffffff
|
---|
655 | } WINED3DSAMPLERSTATETYPE;
|
---|
656 | #define WINED3D_HIGHEST_SAMPLER_STATE (WINED3DSAMP_DMAPOFFSET)
|
---|
657 |
|
---|
658 | typedef enum _WINED3DMULTISAMPLE_TYPE {
|
---|
659 | WINED3DMULTISAMPLE_NONE = 0,
|
---|
660 | WINED3DMULTISAMPLE_NONMASKABLE = 1,
|
---|
661 | WINED3DMULTISAMPLE_2_SAMPLES = 2,
|
---|
662 | WINED3DMULTISAMPLE_3_SAMPLES = 3,
|
---|
663 | WINED3DMULTISAMPLE_4_SAMPLES = 4,
|
---|
664 | WINED3DMULTISAMPLE_5_SAMPLES = 5,
|
---|
665 | WINED3DMULTISAMPLE_6_SAMPLES = 6,
|
---|
666 | WINED3DMULTISAMPLE_7_SAMPLES = 7,
|
---|
667 | WINED3DMULTISAMPLE_8_SAMPLES = 8,
|
---|
668 | WINED3DMULTISAMPLE_9_SAMPLES = 9,
|
---|
669 | WINED3DMULTISAMPLE_10_SAMPLES = 10,
|
---|
670 | WINED3DMULTISAMPLE_11_SAMPLES = 11,
|
---|
671 | WINED3DMULTISAMPLE_12_SAMPLES = 12,
|
---|
672 | WINED3DMULTISAMPLE_13_SAMPLES = 13,
|
---|
673 | WINED3DMULTISAMPLE_14_SAMPLES = 14,
|
---|
674 | WINED3DMULTISAMPLE_15_SAMPLES = 15,
|
---|
675 | WINED3DMULTISAMPLE_16_SAMPLES = 16,
|
---|
676 | WINED3DMULTISAMPLE_FORCE_DWORD = 0xffffffff
|
---|
677 | } WINED3DMULTISAMPLE_TYPE;
|
---|
678 | typedef enum _WINED3DTEXTURESTAGESTATETYPE {
|
---|
679 | WINED3DTSS_COLOROP = 0,
|
---|
680 | WINED3DTSS_COLORARG1 = 1,
|
---|
681 | WINED3DTSS_COLORARG2 = 2,
|
---|
682 | WINED3DTSS_ALPHAOP = 3,
|
---|
683 | WINED3DTSS_ALPHAARG1 = 4,
|
---|
684 | WINED3DTSS_ALPHAARG2 = 5,
|
---|
685 | WINED3DTSS_BUMPENVMAT00 = 6,
|
---|
686 | WINED3DTSS_BUMPENVMAT01 = 7,
|
---|
687 | WINED3DTSS_BUMPENVMAT10 = 8,
|
---|
688 | WINED3DTSS_BUMPENVMAT11 = 9,
|
---|
689 | WINED3DTSS_TEXCOORDINDEX = 10,
|
---|
690 | WINED3DTSS_BUMPENVLSCALE = 11,
|
---|
691 | WINED3DTSS_BUMPENVLOFFSET = 12,
|
---|
692 | WINED3DTSS_TEXTURETRANSFORMFLAGS = 13,
|
---|
693 | WINED3DTSS_COLORARG0 = 14,
|
---|
694 | WINED3DTSS_ALPHAARG0 = 15,
|
---|
695 | WINED3DTSS_RESULTARG = 16,
|
---|
696 | WINED3DTSS_CONSTANT = 17,
|
---|
697 | WINED3DTSS_FORCE_DWORD = 0x7fffffff
|
---|
698 | } WINED3DTEXTURESTAGESTATETYPE;
|
---|
699 | #define WINED3D_HIGHEST_TEXTURE_STATE (WINED3DTSS_CONSTANT)
|
---|
700 |
|
---|
701 | typedef enum _WINED3DTEXTURETRANSFORMFLAGS {
|
---|
702 | WINED3DTTFF_DISABLE = 0,
|
---|
703 | WINED3DTTFF_COUNT1 = 1,
|
---|
704 | WINED3DTTFF_COUNT2 = 2,
|
---|
705 | WINED3DTTFF_COUNT3 = 3,
|
---|
706 | WINED3DTTFF_COUNT4 = 4,
|
---|
707 | WINED3DTTFF_PROJECTED = 256,
|
---|
708 | WINED3DTTFF_FORCE_DWORD = 0x7fffffff
|
---|
709 | } WINED3DTEXTURETRANSFORMFLAGS;
|
---|
710 | typedef enum _WINED3DTEXTUREOP {
|
---|
711 | WINED3DTOP_DISABLE = 1,
|
---|
712 | WINED3DTOP_SELECTARG1 = 2,
|
---|
713 | WINED3DTOP_SELECTARG2 = 3,
|
---|
714 | WINED3DTOP_MODULATE = 4,
|
---|
715 | WINED3DTOP_MODULATE2X = 5,
|
---|
716 | WINED3DTOP_MODULATE4X = 6,
|
---|
717 | WINED3DTOP_ADD = 7,
|
---|
718 | WINED3DTOP_ADDSIGNED = 8,
|
---|
719 | WINED3DTOP_ADDSIGNED2X = 9,
|
---|
720 | WINED3DTOP_SUBTRACT = 10,
|
---|
721 | WINED3DTOP_ADDSMOOTH = 11,
|
---|
722 | WINED3DTOP_BLENDDIFFUSEALPHA = 12,
|
---|
723 | WINED3DTOP_BLENDTEXTUREALPHA = 13,
|
---|
724 | WINED3DTOP_BLENDFACTORALPHA = 14,
|
---|
725 | WINED3DTOP_BLENDTEXTUREALPHAPM = 15,
|
---|
726 | WINED3DTOP_BLENDCURRENTALPHA = 16,
|
---|
727 | WINED3DTOP_PREMODULATE = 17,
|
---|
728 | WINED3DTOP_MODULATEALPHA_ADDCOLOR = 18,
|
---|
729 | WINED3DTOP_MODULATECOLOR_ADDALPHA = 19,
|
---|
730 | WINED3DTOP_MODULATEINVALPHA_ADDCOLOR = 20,
|
---|
731 | WINED3DTOP_MODULATEINVCOLOR_ADDALPHA = 21,
|
---|
732 | WINED3DTOP_BUMPENVMAP = 22,
|
---|
733 | WINED3DTOP_BUMPENVMAPLUMINANCE = 23,
|
---|
734 | WINED3DTOP_DOTPRODUCT3 = 24,
|
---|
735 | WINED3DTOP_MULTIPLYADD = 25,
|
---|
736 | WINED3DTOP_LERP = 26,
|
---|
737 | WINED3DTOP_FORCE_DWORD = 0x7fffffff
|
---|
738 | } WINED3DTEXTUREOP;
|
---|
739 | typedef enum _WINED3DTEXTUREADDRESS {
|
---|
740 | WINED3DTADDRESS_WRAP = 1,
|
---|
741 | WINED3DTADDRESS_MIRROR = 2,
|
---|
742 | WINED3DTADDRESS_CLAMP = 3,
|
---|
743 | WINED3DTADDRESS_BORDER = 4,
|
---|
744 | WINED3DTADDRESS_MIRRORONCE = 5,
|
---|
745 | WINED3DTADDRESS_FORCE_DWORD = 0x7fffffff
|
---|
746 | } WINED3DTEXTUREADDRESS;
|
---|
747 | typedef enum _WINED3DTRANSFORMSTATETYPE {
|
---|
748 | WINED3DTS_VIEW = 2,
|
---|
749 | WINED3DTS_PROJECTION = 3,
|
---|
750 | WINED3DTS_TEXTURE0 = 16,
|
---|
751 | WINED3DTS_TEXTURE1 = 17,
|
---|
752 | WINED3DTS_TEXTURE2 = 18,
|
---|
753 | WINED3DTS_TEXTURE3 = 19,
|
---|
754 | WINED3DTS_TEXTURE4 = 20,
|
---|
755 | WINED3DTS_TEXTURE5 = 21,
|
---|
756 | WINED3DTS_TEXTURE6 = 22,
|
---|
757 | WINED3DTS_TEXTURE7 = 23,
|
---|
758 | WINED3DTS_FORCE_DWORD = 0x7fffffff
|
---|
759 | } WINED3DTRANSFORMSTATETYPE;
|
---|
760 | #define WINED3DTS_WORLD WINED3DTS_WORLDMATRIX(0)
|
---|
761 | #define WINED3DTS_WORLD1 WINED3DTS_WORLDMATRIX(1)
|
---|
762 | #define WINED3DTS_WORLD2 WINED3DTS_WORLDMATRIX(2)
|
---|
763 | #define WINED3DTS_WORLD3 WINED3DTS_WORLDMATRIX(3)
|
---|
764 | #define WINED3DTS_WORLDMATRIX(index) (WINED3DTRANSFORMSTATETYPE)(index + 256)
|
---|
765 | typedef enum _WINED3DBASISTYPE {
|
---|
766 | WINED3DBASIS_BEZIER = 0,
|
---|
767 | WINED3DBASIS_BSPLINE = 1,
|
---|
768 | WINED3DBASIS_INTERPOLATE = 2,
|
---|
769 | WINED3DBASIS_FORCE_DWORD = 0x7fffffff
|
---|
770 | } WINED3DBASISTYPE;
|
---|
771 | typedef enum _WINED3DCUBEMAP_FACES {
|
---|
772 | WINED3DCUBEMAP_FACE_POSITIVE_X = 0,
|
---|
773 | WINED3DCUBEMAP_FACE_NEGATIVE_X = 1,
|
---|
774 | WINED3DCUBEMAP_FACE_POSITIVE_Y = 2,
|
---|
775 | WINED3DCUBEMAP_FACE_NEGATIVE_Y = 3,
|
---|
776 | WINED3DCUBEMAP_FACE_POSITIVE_Z = 4,
|
---|
777 | WINED3DCUBEMAP_FACE_NEGATIVE_Z = 5,
|
---|
778 | WINED3DCUBEMAP_FACE_FORCE_DWORD = 0xffffffff
|
---|
779 | } WINED3DCUBEMAP_FACES;
|
---|
780 | typedef enum _WINED3DTEXTUREFILTERTYPE {
|
---|
781 | WINED3DTEXF_NONE = 0,
|
---|
782 | WINED3DTEXF_POINT = 1,
|
---|
783 | WINED3DTEXF_LINEAR = 2,
|
---|
784 | WINED3DTEXF_ANISOTROPIC = 3,
|
---|
785 | WINED3DTEXF_FLATCUBIC = 4,
|
---|
786 | WINED3DTEXF_GAUSSIANCUBIC = 5,
|
---|
787 | WINED3DTEXF_PYRAMIDALQUAD = 6,
|
---|
788 | WINED3DTEXF_GAUSSIANQUAD = 7,
|
---|
789 | WINED3DTEXF_FORCE_DWORD = 0x7fffffff
|
---|
790 | } WINED3DTEXTUREFILTERTYPE;
|
---|
791 | typedef enum _WINED3DRESOURCETYPE {
|
---|
792 | WINED3DRTYPE_SURFACE = 1,
|
---|
793 | WINED3DRTYPE_VOLUME = 2,
|
---|
794 | WINED3DRTYPE_TEXTURE = 3,
|
---|
795 | WINED3DRTYPE_VOLUMETEXTURE = 4,
|
---|
796 | WINED3DRTYPE_CUBETEXTURE = 5,
|
---|
797 | WINED3DRTYPE_BUFFER = 6,
|
---|
798 | WINED3DRTYPE_FORCE_DWORD = 0x7fffffff
|
---|
799 | } WINED3DRESOURCETYPE;
|
---|
800 | #define WINED3DRTYPECOUNT (WINED3DRTYPE_BUFFER + 1)
|
---|
801 |
|
---|
802 | typedef enum _WINED3DPOOL {
|
---|
803 | WINED3DPOOL_DEFAULT = 0,
|
---|
804 | WINED3DPOOL_MANAGED = 1,
|
---|
805 | WINED3DPOOL_SYSTEMMEM = 2,
|
---|
806 | WINED3DPOOL_SCRATCH = 3,
|
---|
807 | WINED3DPOOL_FORCE_DWORD = 0x7fffffff
|
---|
808 | } WINED3DPOOL;
|
---|
809 | typedef enum _WINED3DQUERYTYPE {
|
---|
810 | WINED3DQUERYTYPE_VCACHE = 4,
|
---|
811 | WINED3DQUERYTYPE_RESOURCEMANAGER = 5,
|
---|
812 | WINED3DQUERYTYPE_VERTEXSTATS = 6,
|
---|
813 | WINED3DQUERYTYPE_EVENT = 8,
|
---|
814 | WINED3DQUERYTYPE_OCCLUSION = 9,
|
---|
815 | WINED3DQUERYTYPE_TIMESTAMP = 10,
|
---|
816 | WINED3DQUERYTYPE_TIMESTAMPDISJOINT = 11,
|
---|
817 | WINED3DQUERYTYPE_TIMESTAMPFREQ = 12,
|
---|
818 | WINED3DQUERYTYPE_PIPELINETIMINGS = 13,
|
---|
819 | WINED3DQUERYTYPE_INTERFACETIMINGS = 14,
|
---|
820 | WINED3DQUERYTYPE_VERTEXTIMINGS = 15,
|
---|
821 | WINED3DQUERYTYPE_PIXELTIMINGS = 16,
|
---|
822 | WINED3DQUERYTYPE_BANDWIDTHTIMINGS = 17,
|
---|
823 | WINED3DQUERYTYPE_CACHEUTILIZATION = 18
|
---|
824 | } WINED3DQUERYTYPE;
|
---|
825 | #define WINED3DISSUE_BEGIN (1 << 1)
|
---|
826 |
|
---|
827 | #define WINED3DISSUE_END (1 << 0)
|
---|
828 |
|
---|
829 | #define WINED3DGETDATA_FLUSH (1 << 0)
|
---|
830 |
|
---|
831 | typedef enum _WINED3DSTATEBLOCKTYPE {
|
---|
832 | WINED3DSBT_INIT = 0,
|
---|
833 | WINED3DSBT_ALL = 1,
|
---|
834 | WINED3DSBT_PIXELSTATE = 2,
|
---|
835 | WINED3DSBT_VERTEXSTATE = 3,
|
---|
836 | WINED3DSBT_RECORDED = 4,
|
---|
837 | WINED3DSBT_FORCE_DWORD = 0xffffffff
|
---|
838 | } WINED3DSTATEBLOCKTYPE;
|
---|
839 | typedef enum _WINED3DDECLMETHOD {
|
---|
840 | WINED3DDECLMETHOD_DEFAULT = 0,
|
---|
841 | WINED3DDECLMETHOD_PARTIALU = 1,
|
---|
842 | WINED3DDECLMETHOD_PARTIALV = 2,
|
---|
843 | WINED3DDECLMETHOD_CROSSUV = 3,
|
---|
844 | WINED3DDECLMETHOD_UV = 4,
|
---|
845 | WINED3DDECLMETHOD_LOOKUP = 5,
|
---|
846 | WINED3DDECLMETHOD_LOOKUPPRESAMPLED = 6
|
---|
847 | } WINED3DDECLMETHOD;
|
---|
848 | typedef enum _WINED3DDECLUSAGE {
|
---|
849 | WINED3DDECLUSAGE_POSITION = 0,
|
---|
850 | WINED3DDECLUSAGE_BLENDWEIGHT = 1,
|
---|
851 | WINED3DDECLUSAGE_BLENDINDICES = 2,
|
---|
852 | WINED3DDECLUSAGE_NORMAL = 3,
|
---|
853 | WINED3DDECLUSAGE_PSIZE = 4,
|
---|
854 | WINED3DDECLUSAGE_TEXCOORD = 5,
|
---|
855 | WINED3DDECLUSAGE_TANGENT = 6,
|
---|
856 | WINED3DDECLUSAGE_BINORMAL = 7,
|
---|
857 | WINED3DDECLUSAGE_TESSFACTOR = 8,
|
---|
858 | WINED3DDECLUSAGE_POSITIONT = 9,
|
---|
859 | WINED3DDECLUSAGE_COLOR = 10,
|
---|
860 | WINED3DDECLUSAGE_FOG = 11,
|
---|
861 | WINED3DDECLUSAGE_DEPTH = 12,
|
---|
862 | WINED3DDECLUSAGE_SAMPLE = 13
|
---|
863 | } WINED3DDECLUSAGE;
|
---|
864 | typedef enum _WINED3DSURFTYPE {
|
---|
865 | SURFACE_UNKNOWN = 0,
|
---|
866 | SURFACE_OPENGL = 1,
|
---|
867 | SURFACE_GDI = 2
|
---|
868 | } WINED3DSURFTYPE;
|
---|
869 | enum wined3d_sysval_semantic {
|
---|
870 | WINED3D_SV_DEPTH = 0xffffffff,
|
---|
871 | WINED3D_SV_TARGET0 = 0,
|
---|
872 | WINED3D_SV_TARGET1 = 1,
|
---|
873 | WINED3D_SV_TARGET2 = 2,
|
---|
874 | WINED3D_SV_TARGET3 = 3,
|
---|
875 | WINED3D_SV_TARGET4 = 4,
|
---|
876 | WINED3D_SV_TARGET5 = 5,
|
---|
877 | WINED3D_SV_TARGET6 = 6,
|
---|
878 | WINED3D_SV_TARGET7 = 7
|
---|
879 | };
|
---|
880 |
|
---|
881 | #define WINED3DCOLORWRITEENABLE_RED (1 << 0)
|
---|
882 |
|
---|
883 | #define WINED3DCOLORWRITEENABLE_GREEN (1 << 1)
|
---|
884 |
|
---|
885 | #define WINED3DCOLORWRITEENABLE_BLUE (1 << 2)
|
---|
886 |
|
---|
887 | #define WINED3DCOLORWRITEENABLE_ALPHA (1 << 3)
|
---|
888 |
|
---|
889 | #define WINED3DADAPTER_DEFAULT (0)
|
---|
890 |
|
---|
891 | #define WINED3DENUM_NO_WHQL_LEVEL (2)
|
---|
892 |
|
---|
893 | #define WINED3DPRESENT_BACK_BUFFER_MAX (3)
|
---|
894 |
|
---|
895 | #define WINED3DTSS_TCI_PASSTHRU (0x0)
|
---|
896 |
|
---|
897 | #define WINED3DTSS_TCI_CAMERASPACENORMAL (0x10000)
|
---|
898 |
|
---|
899 | #define WINED3DTSS_TCI_CAMERASPACEPOSITION (0x20000)
|
---|
900 |
|
---|
901 | #define WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR (0x30000)
|
---|
902 |
|
---|
903 | #define WINED3DTSS_TCI_SPHEREMAP (0x40000)
|
---|
904 |
|
---|
905 | #define WINED3DTA_SELECTMASK (0xf)
|
---|
906 |
|
---|
907 | #define WINED3DTA_DIFFUSE (0x0)
|
---|
908 |
|
---|
909 | #define WINED3DTA_CURRENT (0x1)
|
---|
910 |
|
---|
911 | #define WINED3DTA_TEXTURE (0x2)
|
---|
912 |
|
---|
913 | #define WINED3DTA_TFACTOR (0x3)
|
---|
914 |
|
---|
915 | #define WINED3DTA_SPECULAR (0x4)
|
---|
916 |
|
---|
917 | #define WINED3DTA_TEMP (0x5)
|
---|
918 |
|
---|
919 | #define WINED3DTA_CONSTANT (0x6)
|
---|
920 |
|
---|
921 | #define WINED3DTA_COMPLEMENT (0x10)
|
---|
922 |
|
---|
923 | #define WINED3DTA_ALPHAREPLICATE (0x20)
|
---|
924 |
|
---|
925 | #define WINED3DPRESENTFLAG_LOCKABLE_BACKBUFFER (0x1)
|
---|
926 |
|
---|
927 | #define WINED3DPRESENTFLAG_DISCARD_DEPTHSTENCIL (0x2)
|
---|
928 |
|
---|
929 | #define WINED3DPRESENTFLAG_DEVICECLIP (0x4)
|
---|
930 |
|
---|
931 | #define WINED3DPRESENTFLAG_VIDEO (0x10)
|
---|
932 |
|
---|
933 | #define WINED3DPRESENTFLAG_NOAUTOROTATE (0x20)
|
---|
934 |
|
---|
935 | #define WINED3DPRESENTFLAG_UNPRUNEDMODE (0x40)
|
---|
936 |
|
---|
937 | #define WINED3DDP_MAXTEXCOORD (8)
|
---|
938 |
|
---|
939 | #define WINED3DUSAGE_RENDERTARGET (0x1)
|
---|
940 |
|
---|
941 | #define WINED3DUSAGE_DEPTHSTENCIL (0x2)
|
---|
942 |
|
---|
943 | #define WINED3DUSAGE_WRITEONLY (0x8)
|
---|
944 |
|
---|
945 | #define WINED3DUSAGE_SOFTWAREPROCESSING (0x10)
|
---|
946 |
|
---|
947 | #define WINED3DUSAGE_DONOTCLIP (0x20)
|
---|
948 |
|
---|
949 | #define WINED3DUSAGE_POINTS (0x40)
|
---|
950 |
|
---|
951 | #define WINED3DUSAGE_RTPATCHES (0x80)
|
---|
952 |
|
---|
953 | #define WINED3DUSAGE_NPATCHES (0x100)
|
---|
954 |
|
---|
955 | #define WINED3DUSAGE_DYNAMIC (0x200)
|
---|
956 |
|
---|
957 | #define WINED3DUSAGE_AUTOGENMIPMAP (0x400)
|
---|
958 |
|
---|
959 | #define WINED3DUSAGE_DMAP (0x4000)
|
---|
960 |
|
---|
961 | #define WINED3DUSAGE_MASK (0x4fff)
|
---|
962 |
|
---|
963 | #define WINED3DUSAGE_OVERLAY (0x80000000)
|
---|
964 |
|
---|
965 | #define WINED3DUSAGE_QUERY_LEGACYBUMPMAP (0x8000)
|
---|
966 |
|
---|
967 | #define WINED3DUSAGE_QUERY_FILTER (0x20000)
|
---|
968 |
|
---|
969 | #define WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING (0x80000)
|
---|
970 |
|
---|
971 | #define WINED3DUSAGE_QUERY_SRGBREAD (0x10000)
|
---|
972 |
|
---|
973 | #define WINED3DUSAGE_QUERY_SRGBWRITE (0x40000)
|
---|
974 |
|
---|
975 | #define WINED3DUSAGE_QUERY_VERTEXTEXTURE (0x100000)
|
---|
976 |
|
---|
977 | #define WINED3DUSAGE_QUERY_WRAPANDMIP (0x200000)
|
---|
978 |
|
---|
979 | #define WINED3DUSAGE_QUERY_MASK (0x3f8000)
|
---|
980 |
|
---|
981 | #define WINED3DLOCK_READONLY (0x10)
|
---|
982 |
|
---|
983 | #define WINED3DLOCK_NOSYSLOCK (0x800)
|
---|
984 |
|
---|
985 | #define WINED3DLOCK_NOOVERWRITE (0x1000)
|
---|
986 |
|
---|
987 | #define WINED3DLOCK_DISCARD (0x2000)
|
---|
988 |
|
---|
989 | #define WINED3DLOCK_DONOTWAIT (0x4000)
|
---|
990 |
|
---|
991 | #define WINED3DLOCK_NO_DIRTY_UPDATE (0x8000)
|
---|
992 |
|
---|
993 | #define WINED3DPRESENT_RATE_DEFAULT (0x0)
|
---|
994 |
|
---|
995 | #define WINED3DPRESENT_INTERVAL_DEFAULT (0x0)
|
---|
996 |
|
---|
997 | #define WINED3DPRESENT_INTERVAL_ONE (0x1)
|
---|
998 |
|
---|
999 | #define WINED3DPRESENT_INTERVAL_TWO (0x2)
|
---|
1000 |
|
---|
1001 | #define WINED3DPRESENT_INTERVAL_THREE (0x4)
|
---|
1002 |
|
---|
1003 | #define WINED3DPRESENT_INTERVAL_FOUR (0x8)
|
---|
1004 |
|
---|
1005 | #define WINED3DPRESENT_INTERVAL_IMMEDIATE (0x80000000)
|
---|
1006 |
|
---|
1007 | #define WINED3DMAXUSERCLIPPLANES (32)
|
---|
1008 |
|
---|
1009 | #define WINED3DCLIPPLANE0 (1 << 0)
|
---|
1010 |
|
---|
1011 | #define WINED3DCLIPPLANE1 (1 << 1)
|
---|
1012 |
|
---|
1013 | #define WINED3DCLIPPLANE2 (1 << 2)
|
---|
1014 |
|
---|
1015 | #define WINED3DCLIPPLANE3 (1 << 3)
|
---|
1016 |
|
---|
1017 | #define WINED3DCLIPPLANE4 (1 << 4)
|
---|
1018 |
|
---|
1019 | #define WINED3DCLIPPLANE5 (1 << 5)
|
---|
1020 |
|
---|
1021 | #define WINED3DFVF_RESERVED0 (0x1)
|
---|
1022 |
|
---|
1023 | #define WINED3DFVF_POSITION_MASK (0x400e)
|
---|
1024 |
|
---|
1025 | #define WINED3DFVF_XYZ (0x2)
|
---|
1026 |
|
---|
1027 | #define WINED3DFVF_XYZRHW (0x4)
|
---|
1028 |
|
---|
1029 | #define WINED3DFVF_XYZB1 (0x6)
|
---|
1030 |
|
---|
1031 | #define WINED3DFVF_XYZB2 (0x8)
|
---|
1032 |
|
---|
1033 | #define WINED3DFVF_XYZB3 (0xa)
|
---|
1034 |
|
---|
1035 | #define WINED3DFVF_XYZB4 (0xc)
|
---|
1036 |
|
---|
1037 | #define WINED3DFVF_XYZB5 (0xe)
|
---|
1038 |
|
---|
1039 | #define WINED3DFVF_XYZW (0x4002)
|
---|
1040 |
|
---|
1041 | #define WINED3DFVF_NORMAL (0x10)
|
---|
1042 |
|
---|
1043 | #define WINED3DFVF_PSIZE (0x20)
|
---|
1044 |
|
---|
1045 | #define WINED3DFVF_DIFFUSE (0x40)
|
---|
1046 |
|
---|
1047 | #define WINED3DFVF_SPECULAR (0x80)
|
---|
1048 |
|
---|
1049 | #define WINED3DFVF_TEXCOUNT_MASK (0xf00)
|
---|
1050 |
|
---|
1051 | #define WINED3DFVF_TEXCOUNT_SHIFT (8)
|
---|
1052 |
|
---|
1053 | #define WINED3DFVF_TEX0 (0x0)
|
---|
1054 |
|
---|
1055 | #define WINED3DFVF_TEX1 (0x100)
|
---|
1056 |
|
---|
1057 | #define WINED3DFVF_TEX2 (0x200)
|
---|
1058 |
|
---|
1059 | #define WINED3DFVF_TEX3 (0x300)
|
---|
1060 |
|
---|
1061 | #define WINED3DFVF_TEX4 (0x400)
|
---|
1062 |
|
---|
1063 | #define WINED3DFVF_TEX5 (0x500)
|
---|
1064 |
|
---|
1065 | #define WINED3DFVF_TEX6 (0x600)
|
---|
1066 |
|
---|
1067 | #define WINED3DFVF_TEX7 (0x700)
|
---|
1068 |
|
---|
1069 | #define WINED3DFVF_TEX8 (0x800)
|
---|
1070 |
|
---|
1071 | #define WINED3DFVF_LASTBETA_UBYTE4 (0x1000)
|
---|
1072 |
|
---|
1073 | #define WINED3DFVF_LASTBETA_D3DCOLOR (0x8000)
|
---|
1074 |
|
---|
1075 | #define WINED3DFVF_RESERVED2 (0x6000)
|
---|
1076 |
|
---|
1077 | #define WINED3DFVF_TEXTUREFORMAT1 (3)
|
---|
1078 |
|
---|
1079 | #define WINED3DFVF_TEXTUREFORMAT2 (0)
|
---|
1080 |
|
---|
1081 | #define WINED3DFVF_TEXTUREFORMAT3 (1)
|
---|
1082 |
|
---|
1083 | #define WINED3DFVF_TEXTUREFORMAT4 (2)
|
---|
1084 |
|
---|
1085 | #define WINED3DFVF_TEXCOORDSIZE1(CoordIndex) (WINED3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
|
---|
1086 | #define WINED3DFVF_TEXCOORDSIZE2(CoordIndex) (WINED3DFVF_TEXTUREFORMAT2)
|
---|
1087 | #define WINED3DFVF_TEXCOORDSIZE3(CoordIndex) (WINED3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
|
---|
1088 | #define WINED3DFVF_TEXCOORDSIZE4(CoordIndex) (WINED3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
|
---|
1089 | #define WINED3DCLEAR_TARGET (0x1)
|
---|
1090 |
|
---|
1091 | #define WINED3DCLEAR_ZBUFFER (0x2)
|
---|
1092 |
|
---|
1093 | #define WINED3DCLEAR_STENCIL (0x4)
|
---|
1094 |
|
---|
1095 | #define WINED3DSTREAMSOURCE_INDEXEDDATA (1 << 30)
|
---|
1096 |
|
---|
1097 | #define WINED3DSTREAMSOURCE_INSTANCEDATA (2 << 30)
|
---|
1098 |
|
---|
1099 | #define WINED3DSPD_IUNKNOWN (0x1)
|
---|
1100 |
|
---|
1101 | #define WINED3DCREATE_FPU_PRESERVE (0x2)
|
---|
1102 |
|
---|
1103 | #define WINED3DCREATE_PUREDEVICE (0x10)
|
---|
1104 |
|
---|
1105 | #define WINED3DCREATE_SOFTWARE_VERTEXPROCESSING (0x20)
|
---|
1106 |
|
---|
1107 | #define WINED3DCREATE_HARDWARE_VERTEXPROCESSING (0x40)
|
---|
1108 |
|
---|
1109 | #define WINED3DCREATE_MIXED_VERTEXPROCESSING (0x80)
|
---|
1110 |
|
---|
1111 | #define WINED3DCREATE_DISABLE_DRIVER_MANAGEMENT (0x100)
|
---|
1112 |
|
---|
1113 | #define WINED3DCREATE_ADAPTERGROUP_DEVICE (0x200)
|
---|
1114 |
|
---|
1115 | #define WINED3DDMAPSAMPLER (0x100)
|
---|
1116 |
|
---|
1117 | #define WINED3DVERTEXTEXTURESAMPLER0 (WINED3DDMAPSAMPLER + 1)
|
---|
1118 |
|
---|
1119 | #define WINED3DVERTEXTEXTURESAMPLER1 (WINED3DDMAPSAMPLER + 2)
|
---|
1120 |
|
---|
1121 | #define WINED3DVERTEXTEXTURESAMPLER2 (WINED3DDMAPSAMPLER + 3)
|
---|
1122 |
|
---|
1123 | #define WINED3DVERTEXTEXTURESAMPLER3 (WINED3DDMAPSAMPLER + 4)
|
---|
1124 |
|
---|
1125 | #define WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD (0x20)
|
---|
1126 |
|
---|
1127 | #define WINED3DCAPS3_LINEAR_TO_SRGB_PRESENTATION (0x80)
|
---|
1128 |
|
---|
1129 | #define WINED3DCAPS3_COPY_TO_VIDMEM (0x100)
|
---|
1130 |
|
---|
1131 | #define WINED3DCAPS3_COPY_TO_SYSTEMMEM (0x200)
|
---|
1132 |
|
---|
1133 | #define WINED3DCAPS3_RESERVED (0x8000001f)
|
---|
1134 |
|
---|
1135 | #define WINED3DDEVCAPS2_STREAMOFFSET (0x1)
|
---|
1136 |
|
---|
1137 | #define WINED3DDEVCAPS2_DMAPNPATCH (0x2)
|
---|
1138 |
|
---|
1139 | #define WINED3DDEVCAPS2_ADAPTIVETESSRTPATCH (0x4)
|
---|
1140 |
|
---|
1141 | #define WINED3DDEVCAPS2_ADAPTIVETESSNPATCH (0x8)
|
---|
1142 |
|
---|
1143 | #define WINED3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES (0x10)
|
---|
1144 |
|
---|
1145 | #define WINED3DDEVCAPS2_PRESAMPLEDDMAPNPATCH (0x20)
|
---|
1146 |
|
---|
1147 | #define WINED3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET (0x40)
|
---|
1148 |
|
---|
1149 | #define WINED3DDTCAPS_UBYTE4 (0x1)
|
---|
1150 |
|
---|
1151 | #define WINED3DDTCAPS_UBYTE4N (0x2)
|
---|
1152 |
|
---|
1153 | #define WINED3DDTCAPS_SHORT2N (0x4)
|
---|
1154 |
|
---|
1155 | #define WINED3DDTCAPS_SHORT4N (0x8)
|
---|
1156 |
|
---|
1157 | #define WINED3DDTCAPS_USHORT2N (0x10)
|
---|
1158 |
|
---|
1159 | #define WINED3DDTCAPS_USHORT4N (0x20)
|
---|
1160 |
|
---|
1161 | #define WINED3DDTCAPS_UDEC3 (0x40)
|
---|
1162 |
|
---|
1163 | #define WINED3DDTCAPS_DEC3N (0x80)
|
---|
1164 |
|
---|
1165 | #define WINED3DDTCAPS_FLOAT16_2 (0x100)
|
---|
1166 |
|
---|
1167 | #define WINED3DDTCAPS_FLOAT16_4 (0x200)
|
---|
1168 |
|
---|
1169 | #define WINED3DFVFCAPS_TEXCOORDCOUNTMASK (0xffff)
|
---|
1170 |
|
---|
1171 | #define WINED3DFVFCAPS_DONOTSTRIPELEMENTS (0x80000)
|
---|
1172 |
|
---|
1173 | #define WINED3DFVFCAPS_PSIZE (0x100000)
|
---|
1174 |
|
---|
1175 | #define WINED3DLINECAPS_TEXTURE (0x1)
|
---|
1176 |
|
---|
1177 | #define WINED3DLINECAPS_ZTEST (0x2)
|
---|
1178 |
|
---|
1179 | #define WINED3DLINECAPS_BLEND (0x4)
|
---|
1180 |
|
---|
1181 | #define WINED3DLINECAPS_ALPHACMP (0x8)
|
---|
1182 |
|
---|
1183 | #define WINED3DLINECAPS_FOG (0x10)
|
---|
1184 |
|
---|
1185 | #define WINED3DLINECAPS_ANTIALIAS (0x20)
|
---|
1186 |
|
---|
1187 | #define WINED3DMAX30SHADERINSTRUCTIONS (32768)
|
---|
1188 |
|
---|
1189 | #define WINED3DMIN30SHADERINSTRUCTIONS (512)
|
---|
1190 |
|
---|
1191 | #define WINED3DPBLENDCAPS_ZERO (0x1)
|
---|
1192 |
|
---|
1193 | #define WINED3DPBLENDCAPS_ONE (0x2)
|
---|
1194 |
|
---|
1195 | #define WINED3DPBLENDCAPS_SRCCOLOR (0x4)
|
---|
1196 |
|
---|
1197 | #define WINED3DPBLENDCAPS_INVSRCCOLOR (0x8)
|
---|
1198 |
|
---|
1199 | #define WINED3DPBLENDCAPS_SRCALPHA (0x10)
|
---|
1200 |
|
---|
1201 | #define WINED3DPBLENDCAPS_INVSRCALPHA (0x20)
|
---|
1202 |
|
---|
1203 | #define WINED3DPBLENDCAPS_DESTALPHA (0x40)
|
---|
1204 |
|
---|
1205 | #define WINED3DPBLENDCAPS_INVDESTALPHA (0x80)
|
---|
1206 |
|
---|
1207 | #define WINED3DPBLENDCAPS_DESTCOLOR (0x100)
|
---|
1208 |
|
---|
1209 | #define WINED3DPBLENDCAPS_INVDESTCOLOR (0x200)
|
---|
1210 |
|
---|
1211 | #define WINED3DPBLENDCAPS_SRCALPHASAT (0x400)
|
---|
1212 |
|
---|
1213 | #define WINED3DPBLENDCAPS_BOTHSRCALPHA (0x800)
|
---|
1214 |
|
---|
1215 | #define WINED3DPBLENDCAPS_BOTHINVSRCALPHA (0x1000)
|
---|
1216 |
|
---|
1217 | #define WINED3DPBLENDCAPS_BLENDFACTOR (0x2000)
|
---|
1218 |
|
---|
1219 | #define WINED3DPCMPCAPS_NEVER (0x1)
|
---|
1220 |
|
---|
1221 | #define WINED3DPCMPCAPS_LESS (0x2)
|
---|
1222 |
|
---|
1223 | #define WINED3DPCMPCAPS_EQUAL (0x4)
|
---|
1224 |
|
---|
1225 | #define WINED3DPCMPCAPS_LESSEQUAL (0x8)
|
---|
1226 |
|
---|
1227 | #define WINED3DPCMPCAPS_GREATER (0x10)
|
---|
1228 |
|
---|
1229 | #define WINED3DPCMPCAPS_NOTEQUAL (0x20)
|
---|
1230 |
|
---|
1231 | #define WINED3DPCMPCAPS_GREATEREQUAL (0x40)
|
---|
1232 |
|
---|
1233 | #define WINED3DPCMPCAPS_ALWAYS (0x80)
|
---|
1234 |
|
---|
1235 | #define WINED3DPMISCCAPS_MASKZ (0x2)
|
---|
1236 |
|
---|
1237 | #define WINED3DPMISCCAPS_LINEPATTERNREP (0x4)
|
---|
1238 |
|
---|
1239 | #define WINED3DPMISCCAPS_CULLNONE (0x10)
|
---|
1240 |
|
---|
1241 | #define WINED3DPMISCCAPS_CULLCW (0x20)
|
---|
1242 |
|
---|
1243 | #define WINED3DPMISCCAPS_CULLCCW (0x40)
|
---|
1244 |
|
---|
1245 | #define WINED3DPMISCCAPS_COLORWRITEENABLE (0x80)
|
---|
1246 |
|
---|
1247 | #define WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS (0x100)
|
---|
1248 |
|
---|
1249 | #define WINED3DPMISCCAPS_CLIPTLVERTS (0x200)
|
---|
1250 |
|
---|
1251 | #define WINED3DPMISCCAPS_TSSARGTEMP (0x400)
|
---|
1252 |
|
---|
1253 | #define WINED3DPMISCCAPS_BLENDOP (0x800)
|
---|
1254 |
|
---|
1255 | #define WINED3DPMISCCAPS_NULLREFERENCE (0x1000)
|
---|
1256 |
|
---|
1257 | #define WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS (0x4000)
|
---|
1258 |
|
---|
1259 | #define WINED3DPMISCCAPS_PERSTAGECONSTANT (0x8000)
|
---|
1260 |
|
---|
1261 | #define WINED3DPMISCCAPS_FOGANDSPECULARALPHA (0x10000)
|
---|
1262 |
|
---|
1263 | #define WINED3DPMISCCAPS_SEPARATEALPHABLEND (0x20000)
|
---|
1264 |
|
---|
1265 | #define WINED3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS (0x40000)
|
---|
1266 |
|
---|
1267 | #define WINED3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING (0x80000)
|
---|
1268 |
|
---|
1269 | #define WINED3DPMISCCAPS_FOGVERTEXCLAMPED (0x100000)
|
---|
1270 |
|
---|
1271 | #define WINED3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH (24)
|
---|
1272 |
|
---|
1273 | #define WINED3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH (0)
|
---|
1274 |
|
---|
1275 | #define WINED3DPS20_MAX_NUMTEMPS (32)
|
---|
1276 |
|
---|
1277 | #define WINED3DPS20_MIN_NUMTEMPS (12)
|
---|
1278 |
|
---|
1279 | #define WINED3DPS20_MAX_STATICFLOWCONTROLDEPTH (4)
|
---|
1280 |
|
---|
1281 | #define WINED3DPS20_MIN_STATICFLOWCONTROLDEPTH (0)
|
---|
1282 |
|
---|
1283 | #define WINED3DPS20_MAX_NUMINSTRUCTIONSLOTS (512)
|
---|
1284 |
|
---|
1285 | #define WINED3DPS20_MIN_NUMINSTRUCTIONSLOTS (96)
|
---|
1286 |
|
---|
1287 | #define WINED3DPS20CAPS_ARBITRARYSWIZZLE (0x1)
|
---|
1288 |
|
---|
1289 | #define WINED3DPS20CAPS_GRADIENTINSTRUCTIONS (0x2)
|
---|
1290 |
|
---|
1291 | #define WINED3DPS20CAPS_PREDICATION (0x4)
|
---|
1292 |
|
---|
1293 | #define WINED3DPS20CAPS_NODEPENDENTREADLIMIT (0x8)
|
---|
1294 |
|
---|
1295 | #define WINED3DPS20CAPS_NOTEXINSTRUCTIONLIMIT (0x10)
|
---|
1296 |
|
---|
1297 | #define WINED3DPTADDRESSCAPS_WRAP (0x1)
|
---|
1298 |
|
---|
1299 | #define WINED3DPTADDRESSCAPS_MIRROR (0x2)
|
---|
1300 |
|
---|
1301 | #define WINED3DPTADDRESSCAPS_CLAMP (0x4)
|
---|
1302 |
|
---|
1303 | #define WINED3DPTADDRESSCAPS_BORDER (0x8)
|
---|
1304 |
|
---|
1305 | #define WINED3DPTADDRESSCAPS_INDEPENDENTUV (0x10)
|
---|
1306 |
|
---|
1307 | #define WINED3DPTADDRESSCAPS_MIRRORONCE (0x20)
|
---|
1308 |
|
---|
1309 | #define WINED3DSTENCILCAPS_KEEP (0x1)
|
---|
1310 |
|
---|
1311 | #define WINED3DSTENCILCAPS_ZERO (0x2)
|
---|
1312 |
|
---|
1313 | #define WINED3DSTENCILCAPS_REPLACE (0x4)
|
---|
1314 |
|
---|
1315 | #define WINED3DSTENCILCAPS_INCRSAT (0x8)
|
---|
1316 |
|
---|
1317 | #define WINED3DSTENCILCAPS_DECRSAT (0x10)
|
---|
1318 |
|
---|
1319 | #define WINED3DSTENCILCAPS_INVERT (0x20)
|
---|
1320 |
|
---|
1321 | #define WINED3DSTENCILCAPS_INCR (0x40)
|
---|
1322 |
|
---|
1323 | #define WINED3DSTENCILCAPS_DECR (0x80)
|
---|
1324 |
|
---|
1325 | #define WINED3DSTENCILCAPS_TWOSIDED (0x100)
|
---|
1326 |
|
---|
1327 | #define WINED3DTEXOPCAPS_DISABLE (0x1)
|
---|
1328 |
|
---|
1329 | #define WINED3DTEXOPCAPS_SELECTARG1 (0x2)
|
---|
1330 |
|
---|
1331 | #define WINED3DTEXOPCAPS_SELECTARG2 (0x4)
|
---|
1332 |
|
---|
1333 | #define WINED3DTEXOPCAPS_MODULATE (0x8)
|
---|
1334 |
|
---|
1335 | #define WINED3DTEXOPCAPS_MODULATE2X (0x10)
|
---|
1336 |
|
---|
1337 | #define WINED3DTEXOPCAPS_MODULATE4X (0x20)
|
---|
1338 |
|
---|
1339 | #define WINED3DTEXOPCAPS_ADD (0x40)
|
---|
1340 |
|
---|
1341 | #define WINED3DTEXOPCAPS_ADDSIGNED (0x80)
|
---|
1342 |
|
---|
1343 | #define WINED3DTEXOPCAPS_ADDSIGNED2X (0x100)
|
---|
1344 |
|
---|
1345 | #define WINED3DTEXOPCAPS_SUBTRACT (0x200)
|
---|
1346 |
|
---|
1347 | #define WINED3DTEXOPCAPS_ADDSMOOTH (0x400)
|
---|
1348 |
|
---|
1349 | #define WINED3DTEXOPCAPS_BLENDDIFFUSEALPHA (0x800)
|
---|
1350 |
|
---|
1351 | #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHA (0x1000)
|
---|
1352 |
|
---|
1353 | #define WINED3DTEXOPCAPS_BLENDFACTORALPHA (0x2000)
|
---|
1354 |
|
---|
1355 | #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHAPM (0x4000)
|
---|
1356 |
|
---|
1357 | #define WINED3DTEXOPCAPS_BLENDCURRENTALPHA (0x8000)
|
---|
1358 |
|
---|
1359 | #define WINED3DTEXOPCAPS_PREMODULATE (0x10000)
|
---|
1360 |
|
---|
1361 | #define WINED3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR (0x20000)
|
---|
1362 |
|
---|
1363 | #define WINED3DTEXOPCAPS_MODULATECOLOR_ADDALPHA (0x40000)
|
---|
1364 |
|
---|
1365 | #define WINED3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR (0x80000)
|
---|
1366 |
|
---|
1367 | #define WINED3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA (0x100000)
|
---|
1368 |
|
---|
1369 | #define WINED3DTEXOPCAPS_BUMPENVMAP (0x200000)
|
---|
1370 |
|
---|
1371 | #define WINED3DTEXOPCAPS_BUMPENVMAPLUMINANCE (0x400000)
|
---|
1372 |
|
---|
1373 | #define WINED3DTEXOPCAPS_DOTPRODUCT3 (0x800000)
|
---|
1374 |
|
---|
1375 | #define WINED3DTEXOPCAPS_MULTIPLYADD (0x1000000)
|
---|
1376 |
|
---|
1377 | #define WINED3DTEXOPCAPS_LERP (0x2000000)
|
---|
1378 |
|
---|
1379 | #define WINED3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH (24)
|
---|
1380 |
|
---|
1381 | #define WINED3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH (0)
|
---|
1382 |
|
---|
1383 | #define WINED3DVS20_MAX_NUMTEMPS (32)
|
---|
1384 |
|
---|
1385 | #define WINED3DVS20_MIN_NUMTEMPS (12)
|
---|
1386 |
|
---|
1387 | #define WINED3DVS20_MAX_STATICFLOWCONTROLDEPTH (4)
|
---|
1388 |
|
---|
1389 | #define WINED3DVS20_MIN_STATICFLOWCONTROLDEPTH (1)
|
---|
1390 |
|
---|
1391 | #define WINED3DVS20CAPS_PREDICATION (0x1)
|
---|
1392 |
|
---|
1393 | #define WINED3DCAPS2_NO2DDURING3DSCENE (0x2)
|
---|
1394 |
|
---|
1395 | #define WINED3DCAPS2_FULLSCREENGAMMA (0x20000)
|
---|
1396 |
|
---|
1397 | #define WINED3DCAPS2_CANRENDERWINDOWED (0x80000)
|
---|
1398 |
|
---|
1399 | #define WINED3DCAPS2_CANCALIBRATEGAMMA (0x100000)
|
---|
1400 |
|
---|
1401 | #define WINED3DCAPS2_RESERVED (0x2000000)
|
---|
1402 |
|
---|
1403 | #define WINED3DCAPS2_CANMANAGERESOURCE (0x10000000)
|
---|
1404 |
|
---|
1405 | #define WINED3DCAPS2_DYNAMICTEXTURES (0x20000000)
|
---|
1406 |
|
---|
1407 | #define WINED3DCAPS2_CANAUTOGENMIPMAP (0x40000000)
|
---|
1408 |
|
---|
1409 | #define WINED3DPRASTERCAPS_DITHER (0x1)
|
---|
1410 |
|
---|
1411 | #define WINED3DPRASTERCAPS_ROP2 (0x2)
|
---|
1412 |
|
---|
1413 | #define WINED3DPRASTERCAPS_XOR (0x4)
|
---|
1414 |
|
---|
1415 | #define WINED3DPRASTERCAPS_PAT (0x8)
|
---|
1416 |
|
---|
1417 | #define WINED3DPRASTERCAPS_ZTEST (0x10)
|
---|
1418 |
|
---|
1419 | #define WINED3DPRASTERCAPS_SUBPIXEL (0x20)
|
---|
1420 |
|
---|
1421 | #define WINED3DPRASTERCAPS_SUBPIXELX (0x40)
|
---|
1422 |
|
---|
1423 | #define WINED3DPRASTERCAPS_FOGVERTEX (0x80)
|
---|
1424 |
|
---|
1425 | #define WINED3DPRASTERCAPS_FOGTABLE (0x100)
|
---|
1426 |
|
---|
1427 | #define WINED3DPRASTERCAPS_STIPPLE (0x200)
|
---|
1428 |
|
---|
1429 | #define WINED3DPRASTERCAPS_ANTIALIASSORTDEPENDENT (0x400)
|
---|
1430 |
|
---|
1431 | #define WINED3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT (0x800)
|
---|
1432 |
|
---|
1433 | #define WINED3DPRASTERCAPS_ANTIALIASEDGES (0x1000)
|
---|
1434 |
|
---|
1435 | #define WINED3DPRASTERCAPS_MIPMAPLODBIAS (0x2000)
|
---|
1436 |
|
---|
1437 | #define WINED3DPRASTERCAPS_ZBIAS (0x4000)
|
---|
1438 |
|
---|
1439 | #define WINED3DPRASTERCAPS_ZBUFFERLESSHSR (0x8000)
|
---|
1440 |
|
---|
1441 | #define WINED3DPRASTERCAPS_FOGRANGE (0x10000)
|
---|
1442 |
|
---|
1443 | #define WINED3DPRASTERCAPS_ANISOTROPY (0x20000)
|
---|
1444 |
|
---|
1445 | #define WINED3DPRASTERCAPS_WBUFFER (0x40000)
|
---|
1446 |
|
---|
1447 | #define WINED3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT (0x80000)
|
---|
1448 |
|
---|
1449 | #define WINED3DPRASTERCAPS_WFOG (0x100000)
|
---|
1450 |
|
---|
1451 | #define WINED3DPRASTERCAPS_ZFOG (0x200000)
|
---|
1452 |
|
---|
1453 | #define WINED3DPRASTERCAPS_COLORPERSPECTIVE (0x400000)
|
---|
1454 |
|
---|
1455 | #define WINED3DPRASTERCAPS_SCISSORTEST (0x1000000)
|
---|
1456 |
|
---|
1457 | #define WINED3DPRASTERCAPS_SLOPESCALEDEPTHBIAS (0x2000000)
|
---|
1458 |
|
---|
1459 | #define WINED3DPRASTERCAPS_DEPTHBIAS (0x4000000)
|
---|
1460 |
|
---|
1461 | #define WINED3DPRASTERCAPS_MULTISAMPLE_TOGGLE (0x8000000)
|
---|
1462 |
|
---|
1463 | #define WINED3DPSHADECAPS_COLORFLATMONO (0x1)
|
---|
1464 |
|
---|
1465 | #define WINED3DPSHADECAPS_COLORFLATRGB (0x2)
|
---|
1466 |
|
---|
1467 | #define WINED3DPSHADECAPS_COLORGOURAUDMONO (0x4)
|
---|
1468 |
|
---|
1469 | #define WINED3DPSHADECAPS_COLORGOURAUDRGB (0x8)
|
---|
1470 |
|
---|
1471 | #define WINED3DPSHADECAPS_COLORPHONGMONO (0x10)
|
---|
1472 |
|
---|
1473 | #define WINED3DPSHADECAPS_COLORPHONGRGB (0x20)
|
---|
1474 |
|
---|
1475 | #define WINED3DPSHADECAPS_SPECULARFLATMONO (0x40)
|
---|
1476 |
|
---|
1477 | #define WINED3DPSHADECAPS_SPECULARFLATRGB (0x80)
|
---|
1478 |
|
---|
1479 | #define WINED3DPSHADECAPS_SPECULARGOURAUDMONO (0x100)
|
---|
1480 |
|
---|
1481 | #define WINED3DPSHADECAPS_SPECULARGOURAUDRGB (0x200)
|
---|
1482 |
|
---|
1483 | #define WINED3DPSHADECAPS_SPECULARPHONGMONO (0x400)
|
---|
1484 |
|
---|
1485 | #define WINED3DPSHADECAPS_SPECULARPHONGRGB (0x800)
|
---|
1486 |
|
---|
1487 | #define WINED3DPSHADECAPS_ALPHAFLATBLEND (0x1000)
|
---|
1488 |
|
---|
1489 | #define WINED3DPSHADECAPS_ALPHAFLATSTIPPLED (0x2000)
|
---|
1490 |
|
---|
1491 | #define WINED3DPSHADECAPS_ALPHAGOURAUDBLEND (0x4000)
|
---|
1492 |
|
---|
1493 | #define WINED3DPSHADECAPS_ALPHAGOURAUDSTIPPLED (0x8000)
|
---|
1494 |
|
---|
1495 | #define WINED3DPSHADECAPS_ALPHAPHONGBLEND (0x10000)
|
---|
1496 |
|
---|
1497 | #define WINED3DPSHADECAPS_ALPHAPHONGSTIPPLED (0x20000)
|
---|
1498 |
|
---|
1499 | #define WINED3DPSHADECAPS_FOGFLAT (0x40000)
|
---|
1500 |
|
---|
1501 | #define WINED3DPSHADECAPS_FOGGOURAUD (0x80000)
|
---|
1502 |
|
---|
1503 | #define WINED3DPSHADECAPS_FOGPHONG (0x100000)
|
---|
1504 |
|
---|
1505 | #define WINED3DPTEXTURECAPS_PERSPECTIVE (0x1)
|
---|
1506 |
|
---|
1507 | #define WINED3DPTEXTURECAPS_POW2 (0x2)
|
---|
1508 |
|
---|
1509 | #define WINED3DPTEXTURECAPS_ALPHA (0x4)
|
---|
1510 |
|
---|
1511 | #define WINED3DPTEXTURECAPS_TRANSPARENCY (0x8)
|
---|
1512 |
|
---|
1513 | #define WINED3DPTEXTURECAPS_BORDER (0x10)
|
---|
1514 |
|
---|
1515 | #define WINED3DPTEXTURECAPS_SQUAREONLY (0x20)
|
---|
1516 |
|
---|
1517 | #define WINED3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE (0x40)
|
---|
1518 |
|
---|
1519 | #define WINED3DPTEXTURECAPS_ALPHAPALETTE (0x80)
|
---|
1520 |
|
---|
1521 | #define WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL (0x100)
|
---|
1522 |
|
---|
1523 | #define WINED3DPTEXTURECAPS_PROJECTED (0x400)
|
---|
1524 |
|
---|
1525 | #define WINED3DPTEXTURECAPS_CUBEMAP (0x800)
|
---|
1526 |
|
---|
1527 | #define WINED3DPTEXTURECAPS_COLORKEYBLEND (0x1000)
|
---|
1528 |
|
---|
1529 | #define WINED3DPTEXTURECAPS_VOLUMEMAP (0x2000)
|
---|
1530 |
|
---|
1531 | #define WINED3DPTEXTURECAPS_MIPMAP (0x4000)
|
---|
1532 |
|
---|
1533 | #define WINED3DPTEXTURECAPS_MIPVOLUMEMAP (0x8000)
|
---|
1534 |
|
---|
1535 | #define WINED3DPTEXTURECAPS_MIPCUBEMAP (0x10000)
|
---|
1536 |
|
---|
1537 | #define WINED3DPTEXTURECAPS_CUBEMAP_POW2 (0x20000)
|
---|
1538 |
|
---|
1539 | #define WINED3DPTEXTURECAPS_VOLUMEMAP_POW2 (0x40000)
|
---|
1540 |
|
---|
1541 | #define WINED3DPTEXTURECAPS_NOPROJECTEDBUMPENV (0x200000)
|
---|
1542 |
|
---|
1543 | #define WINED3DPTFILTERCAPS_NEAREST (0x1)
|
---|
1544 |
|
---|
1545 | #define WINED3DPTFILTERCAPS_LINEAR (0x2)
|
---|
1546 |
|
---|
1547 | #define WINED3DPTFILTERCAPS_MIPNEAREST (0x4)
|
---|
1548 |
|
---|
1549 | #define WINED3DPTFILTERCAPS_MIPLINEAR (0x8)
|
---|
1550 |
|
---|
1551 | #define WINED3DPTFILTERCAPS_LINEARMIPNEAREST (0x10)
|
---|
1552 |
|
---|
1553 | #define WINED3DPTFILTERCAPS_LINEARMIPLINEAR (0x20)
|
---|
1554 |
|
---|
1555 | #define WINED3DPTFILTERCAPS_MINFPOINT (0x100)
|
---|
1556 |
|
---|
1557 | #define WINED3DPTFILTERCAPS_MINFLINEAR (0x200)
|
---|
1558 |
|
---|
1559 | #define WINED3DPTFILTERCAPS_MINFANISOTROPIC (0x400)
|
---|
1560 |
|
---|
1561 | #define WINED3DPTFILTERCAPS_MIPFPOINT (0x10000)
|
---|
1562 |
|
---|
1563 | #define WINED3DPTFILTERCAPS_MIPFLINEAR (0x20000)
|
---|
1564 |
|
---|
1565 | #define WINED3DPTFILTERCAPS_MAGFPOINT (0x1000000)
|
---|
1566 |
|
---|
1567 | #define WINED3DPTFILTERCAPS_MAGFLINEAR (0x2000000)
|
---|
1568 |
|
---|
1569 | #define WINED3DPTFILTERCAPS_MAGFANISOTROPIC (0x4000000)
|
---|
1570 |
|
---|
1571 | #define WINED3DPTFILTERCAPS_MAGFPYRAMIDALQUAD (0x8000000)
|
---|
1572 |
|
---|
1573 | #define WINED3DPTFILTERCAPS_MAGFGAUSSIANQUAD (0x10000000)
|
---|
1574 |
|
---|
1575 | #define WINED3DVTXPCAPS_TEXGEN (0x1)
|
---|
1576 |
|
---|
1577 | #define WINED3DVTXPCAPS_MATERIALSOURCE7 (0x2)
|
---|
1578 |
|
---|
1579 | #define WINED3DVTXPCAPS_VERTEXFOG (0x4)
|
---|
1580 |
|
---|
1581 | #define WINED3DVTXPCAPS_DIRECTIONALLIGHTS (0x8)
|
---|
1582 |
|
---|
1583 | #define WINED3DVTXPCAPS_POSITIONALLIGHTS (0x10)
|
---|
1584 |
|
---|
1585 | #define WINED3DVTXPCAPS_LOCALVIEWER (0x20)
|
---|
1586 |
|
---|
1587 | #define WINED3DVTXPCAPS_TWEENING (0x40)
|
---|
1588 |
|
---|
1589 | #define WINED3DVTXPCAPS_TEXGEN_SPHEREMAP (0x100)
|
---|
1590 |
|
---|
1591 | #define WINED3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER (0x200)
|
---|
1592 |
|
---|
1593 | #define WINED3DCURSORCAPS_COLOR (0x1)
|
---|
1594 |
|
---|
1595 | #define WINED3DCURSORCAPS_LOWRES (0x2)
|
---|
1596 |
|
---|
1597 | #define WINED3DDEVCAPS_FLOATTLVERTEX (0x1)
|
---|
1598 |
|
---|
1599 | #define WINED3DDEVCAPS_SORTINCREASINGZ (0x2)
|
---|
1600 |
|
---|
1601 | #define WINED3DDEVCAPS_SORTDECREASINGZ (0x4)
|
---|
1602 |
|
---|
1603 | #define WINED3DDEVCAPS_SORTEXACT (0x8)
|
---|
1604 |
|
---|
1605 | #define WINED3DDEVCAPS_EXECUTESYSTEMMEMORY (0x10)
|
---|
1606 |
|
---|
1607 | #define WINED3DDEVCAPS_EXECUTEVIDEOMEMORY (0x20)
|
---|
1608 |
|
---|
1609 | #define WINED3DDEVCAPS_TLVERTEXSYSTEMMEMORY (0x40)
|
---|
1610 |
|
---|
1611 | #define WINED3DDEVCAPS_TLVERTEXVIDEOMEMORY (0x80)
|
---|
1612 |
|
---|
1613 | #define WINED3DDEVCAPS_TEXTURESYSTEMMEMORY (0x100)
|
---|
1614 |
|
---|
1615 | #define WINED3DDEVCAPS_TEXTUREVIDEOMEMORY (0x200)
|
---|
1616 |
|
---|
1617 | #define WINED3DDEVCAPS_DRAWPRIMTLVERTEX (0x400)
|
---|
1618 |
|
---|
1619 | #define WINED3DDEVCAPS_CANRENDERAFTERFLIP (0x800)
|
---|
1620 |
|
---|
1621 | #define WINED3DDEVCAPS_TEXTURENONLOCALVIDMEM (0x1000)
|
---|
1622 |
|
---|
1623 | #define WINED3DDEVCAPS_DRAWPRIMITIVES2 (0x2000)
|
---|
1624 |
|
---|
1625 | #define WINED3DDEVCAPS_SEPARATETEXTUREMEMORIES (0x4000)
|
---|
1626 |
|
---|
1627 | #define WINED3DDEVCAPS_DRAWPRIMITIVES2EX (0x8000)
|
---|
1628 |
|
---|
1629 | #define WINED3DDEVCAPS_HWTRANSFORMANDLIGHT (0x10000)
|
---|
1630 |
|
---|
1631 | #define WINED3DDEVCAPS_CANBLTSYSTONONLOCAL (0x20000)
|
---|
1632 |
|
---|
1633 | #define WINED3DDEVCAPS_HWRASTERIZATION (0x80000)
|
---|
1634 |
|
---|
1635 | #define WINED3DDEVCAPS_PUREDEVICE (0x100000)
|
---|
1636 |
|
---|
1637 | #define WINED3DDEVCAPS_QUINTICRTPATCHES (0x200000)
|
---|
1638 |
|
---|
1639 | #define WINED3DDEVCAPS_RTPATCHES (0x400000)
|
---|
1640 |
|
---|
1641 | #define WINED3DDEVCAPS_RTPATCHHANDLEZERO (0x800000)
|
---|
1642 |
|
---|
1643 | #define WINED3DDEVCAPS_NPATCHES (0x1000000)
|
---|
1644 |
|
---|
1645 | #define WINEDDBLTFX_ARITHSTRETCHY (0x1)
|
---|
1646 |
|
---|
1647 | #define WINEDDBLTFX_MIRRORLEFTRIGHT (0x2)
|
---|
1648 |
|
---|
1649 | #define WINEDDBLTFX_MIRRORUPDOWN (0x4)
|
---|
1650 |
|
---|
1651 | #define WINEDDBLTFX_NOTEARING (0x8)
|
---|
1652 |
|
---|
1653 | #define WINEDDBLTFX_ROTATE180 (0x10)
|
---|
1654 |
|
---|
1655 | #define WINEDDBLTFX_ROTATE270 (0x20)
|
---|
1656 |
|
---|
1657 | #define WINEDDBLTFX_ROTATE90 (0x40)
|
---|
1658 |
|
---|
1659 | #define WINEDDBLTFX_ZBUFFERRANGE (0x80)
|
---|
1660 |
|
---|
1661 | #define WINEDDBLTFX_ZBUFFERBASEDEST (0x100)
|
---|
1662 |
|
---|
1663 | #define WINEDDBLT_ALPHADEST (0x1)
|
---|
1664 |
|
---|
1665 | #define WINEDDBLT_ALPHADESTCONSTOVERRIDE (0x2)
|
---|
1666 |
|
---|
1667 | #define WINEDDBLT_ALPHADESTNEG (0x4)
|
---|
1668 |
|
---|
1669 | #define WINEDDBLT_ALPHADESTSURFACEOVERRIDE (0x8)
|
---|
1670 |
|
---|
1671 | #define WINEDDBLT_ALPHAEDGEBLEND (0x10)
|
---|
1672 |
|
---|
1673 | #define WINEDDBLT_ALPHASRC (0x20)
|
---|
1674 |
|
---|
1675 | #define WINEDDBLT_ALPHASRCCONSTOVERRIDE (0x40)
|
---|
1676 |
|
---|
1677 | #define WINEDDBLT_ALPHASRCNEG (0x80)
|
---|
1678 |
|
---|
1679 | #define WINEDDBLT_ALPHASRCSURFACEOVERRIDE (0x100)
|
---|
1680 |
|
---|
1681 | #define WINEDDBLT_ASYNC (0x200)
|
---|
1682 |
|
---|
1683 | #define WINEDDBLT_COLORFILL (0x400)
|
---|
1684 |
|
---|
1685 | #define WINEDDBLT_DDFX (0x800)
|
---|
1686 |
|
---|
1687 | #define WINEDDBLT_DDROPS (0x1000)
|
---|
1688 |
|
---|
1689 | #define WINEDDBLT_KEYDEST (0x2000)
|
---|
1690 |
|
---|
1691 | #define WINEDDBLT_KEYDESTOVERRIDE (0x4000)
|
---|
1692 |
|
---|
1693 | #define WINEDDBLT_KEYSRC (0x8000)
|
---|
1694 |
|
---|
1695 | #define WINEDDBLT_KEYSRCOVERRIDE (0x10000)
|
---|
1696 |
|
---|
1697 | #define WINEDDBLT_ROP (0x20000)
|
---|
1698 |
|
---|
1699 | #define WINEDDBLT_ROTATIONANGLE (0x40000)
|
---|
1700 |
|
---|
1701 | #define WINEDDBLT_ZBUFFER (0x80000)
|
---|
1702 |
|
---|
1703 | #define WINEDDBLT_ZBUFFERDESTCONSTOVERRIDE (0x100000)
|
---|
1704 |
|
---|
1705 | #define WINEDDBLT_ZBUFFERDESTOVERRIDE (0x200000)
|
---|
1706 |
|
---|
1707 | #define WINEDDBLT_ZBUFFERSRCCONSTOVERRIDE (0x400000)
|
---|
1708 |
|
---|
1709 | #define WINEDDBLT_ZBUFFERSRCOVERRIDE (0x800000)
|
---|
1710 |
|
---|
1711 | #define WINEDDBLT_WAIT (0x1000000)
|
---|
1712 |
|
---|
1713 | #define WINEDDBLT_DEPTHFILL (0x2000000)
|
---|
1714 |
|
---|
1715 | #define WINEDDBLT_DONOTWAIT (0x8000000)
|
---|
1716 |
|
---|
1717 | #define WINEDDBLTFAST_NOCOLORKEY (0x0)
|
---|
1718 |
|
---|
1719 | #define WINEDDBLTFAST_SRCCOLORKEY (0x1)
|
---|
1720 |
|
---|
1721 | #define WINEDDBLTFAST_DESTCOLORKEY (0x2)
|
---|
1722 |
|
---|
1723 | #define WINEDDBLTFAST_WAIT (0x10)
|
---|
1724 |
|
---|
1725 | #define WINEDDBLTFAST_DONOTWAIT (0x20)
|
---|
1726 |
|
---|
1727 | #define WINEDDSD_CAPS (0x1)
|
---|
1728 |
|
---|
1729 | #define WINEDDSD_HEIGHT (0x2)
|
---|
1730 |
|
---|
1731 | #define WINEDDSD_WIDTH (0x4)
|
---|
1732 |
|
---|
1733 | #define WINEDDSD_PITCH (0x8)
|
---|
1734 |
|
---|
1735 | #define WINEDDSD_BACKBUFFERCOUNT (0x20)
|
---|
1736 |
|
---|
1737 | #define WINEDDSD_ZBUFFERBITDEPTH (0x40)
|
---|
1738 |
|
---|
1739 | #define WINEDDSD_ALPHABITDEPTH (0x80)
|
---|
1740 |
|
---|
1741 | #define WINEDDSD_LPSURFACE (0x800)
|
---|
1742 |
|
---|
1743 | #define WINEDDSD_PIXELFORMAT (0x1000)
|
---|
1744 |
|
---|
1745 | #define WINEDDSD_CKDESTOVERLAY (0x2000)
|
---|
1746 |
|
---|
1747 | #define WINEDDSD_CKDESTBLT (0x4000)
|
---|
1748 |
|
---|
1749 | #define WINEDDSD_CKSRCOVERLAY (0x8000)
|
---|
1750 |
|
---|
1751 | #define WINEDDSD_CKSRCBLT (0x10000)
|
---|
1752 |
|
---|
1753 | #define WINEDDSD_MIPMAPCOUNT (0x20000)
|
---|
1754 |
|
---|
1755 | #define WINEDDSD_REFRESHRATE (0x40000)
|
---|
1756 |
|
---|
1757 | #define WINEDDSD_LINEARSIZE (0x80000)
|
---|
1758 |
|
---|
1759 | #define WINEDDSD_TEXTURESTAGE (0x100000)
|
---|
1760 |
|
---|
1761 | #define WINEDDSD_FVF (0x200000)
|
---|
1762 |
|
---|
1763 | #define WINEDDSD_SRCVBHANDLE (0x400000)
|
---|
1764 |
|
---|
1765 | #define WINEDDSD_ALL (0x7ff9ee)
|
---|
1766 |
|
---|
1767 | #define WINEDDCKEY_COLORSPACE (0x1)
|
---|
1768 |
|
---|
1769 | #define WINEDDCKEY_DESTBLT (0x2)
|
---|
1770 |
|
---|
1771 | #define WINEDDCKEY_DESTOVERLAY (0x4)
|
---|
1772 |
|
---|
1773 | #define WINEDDCKEY_SRCBLT (0x8)
|
---|
1774 |
|
---|
1775 | #define WINEDDCKEY_SRCOVERLAY (0x10)
|
---|
1776 |
|
---|
1777 | #define WINEDDGBS_CANBLT (0x1)
|
---|
1778 |
|
---|
1779 | #define WINEDDGBS_ISBLTDONE (0x2)
|
---|
1780 |
|
---|
1781 | #define WINEDDGFS_CANFLIP (0x1)
|
---|
1782 |
|
---|
1783 | #define WINEDDGFS_ISFLIPDONE (0x2)
|
---|
1784 |
|
---|
1785 | #define WINEDDFLIP_WAIT (0x1)
|
---|
1786 |
|
---|
1787 | #define WINEDDFLIP_EVEN (0x2)
|
---|
1788 |
|
---|
1789 | #define WINEDDFLIP_ODD (0x4)
|
---|
1790 |
|
---|
1791 | #define WINEDDFLIP_NOVSYNC (0x8)
|
---|
1792 |
|
---|
1793 | #define WINEDDFLIP_STEREO (0x10)
|
---|
1794 |
|
---|
1795 | #define WINEDDFLIP_DONOTWAIT (0x20)
|
---|
1796 |
|
---|
1797 | #define WINEDDFLIP_INTERVAL2 (0x2000000)
|
---|
1798 |
|
---|
1799 | #define WINEDDFLIP_INTERVAL3 (0x3000000)
|
---|
1800 |
|
---|
1801 | #define WINEDDFLIP_INTERVAL4 (0x4000000)
|
---|
1802 |
|
---|
1803 | #define WINEDDOVER_ALPHADEST (0x1)
|
---|
1804 |
|
---|
1805 | #define WINEDDOVER_ALPHADESTCONSTOVERRIDE (0x2)
|
---|
1806 |
|
---|
1807 | #define WINEDDOVER_ALPHADESTNEG (0x4)
|
---|
1808 |
|
---|
1809 | #define WINEDDOVER_ALPHADESTSURFACEOVERRIDE (0x8)
|
---|
1810 |
|
---|
1811 | #define WINEDDOVER_ALPHAEDGEBLEND (0x10)
|
---|
1812 |
|
---|
1813 | #define WINEDDOVER_ALPHASRC (0x20)
|
---|
1814 |
|
---|
1815 | #define WINEDDOVER_ALPHASRCCONSTOVERRIDE (0x40)
|
---|
1816 |
|
---|
1817 | #define WINEDDOVER_ALPHASRCNEG (0x80)
|
---|
1818 |
|
---|
1819 | #define WINEDDOVER_ALPHASRCSURFACEOVERRIDE (0x100)
|
---|
1820 |
|
---|
1821 | #define WINEDDOVER_HIDE (0x200)
|
---|
1822 |
|
---|
1823 | #define WINEDDOVER_KEYDEST (0x400)
|
---|
1824 |
|
---|
1825 | #define WINEDDOVER_KEYDESTOVERRIDE (0x800)
|
---|
1826 |
|
---|
1827 | #define WINEDDOVER_KEYSRC (0x1000)
|
---|
1828 |
|
---|
1829 | #define WINEDDOVER_KEYSRCOVERRIDE (0x2000)
|
---|
1830 |
|
---|
1831 | #define WINEDDOVER_SHOW (0x4000)
|
---|
1832 |
|
---|
1833 | #define WINEDDOVER_ADDDIRTYRECT (0x8000)
|
---|
1834 |
|
---|
1835 | #define WINEDDOVER_REFRESHDIRTYRECTS (0x10000)
|
---|
1836 |
|
---|
1837 | #define WINEDDOVER_REFRESHALL (0x20000)
|
---|
1838 |
|
---|
1839 | #define WINEDDOVER_DDFX (0x80000)
|
---|
1840 |
|
---|
1841 | #define WINEDDOVER_AUTOFLIP (0x100000)
|
---|
1842 |
|
---|
1843 | #define WINEDDOVER_BOB (0x200000)
|
---|
1844 |
|
---|
1845 | #define WINEDDOVER_OVERRIDEBOBWEAVE (0x400000)
|
---|
1846 |
|
---|
1847 | #define WINEDDOVER_INTERLEAVED (0x800000)
|
---|
1848 |
|
---|
1849 | #define WINEDDSCAPS_RESERVED1 (0x1)
|
---|
1850 |
|
---|
1851 | #define WINEDDSCAPS_ALPHA (0x2)
|
---|
1852 |
|
---|
1853 | #define WINEDDSCAPS_BACKBUFFER (0x4)
|
---|
1854 |
|
---|
1855 | #define WINEDDSCAPS_COMPLEX (0x8)
|
---|
1856 |
|
---|
1857 | #define WINEDDSCAPS_FLIP (0x10)
|
---|
1858 |
|
---|
1859 | #define WINEDDSCAPS_FRONTBUFFER (0x20)
|
---|
1860 |
|
---|
1861 | #define WINEDDSCAPS_OFFSCREENPLAIN (0x40)
|
---|
1862 |
|
---|
1863 | #define WINEDDSCAPS_OVERLAY (0x80)
|
---|
1864 |
|
---|
1865 | #define WINEDDSCAPS_PALETTE (0x100)
|
---|
1866 |
|
---|
1867 | #define WINEDDSCAPS_PRIMARYSURFACE (0x200)
|
---|
1868 |
|
---|
1869 | #define WINEDDSCAPS_PRIMARYSURFACELEFT (0x400)
|
---|
1870 |
|
---|
1871 | #define WINEDDSCAPS_SYSTEMMEMORY (0x800)
|
---|
1872 |
|
---|
1873 | #define WINEDDSCAPS_TEXTURE (0x1000)
|
---|
1874 |
|
---|
1875 | #define WINEDDSCAPS_3DDEVICE (0x2000)
|
---|
1876 |
|
---|
1877 | #define WINEDDSCAPS_VIDEOMEMORY (0x4000)
|
---|
1878 |
|
---|
1879 | #define WINEDDSCAPS_VISIBLE (0x8000)
|
---|
1880 |
|
---|
1881 | #define WINEDDSCAPS_WRITEONLY (0x10000)
|
---|
1882 |
|
---|
1883 | #define WINEDDSCAPS_ZBUFFER (0x20000)
|
---|
1884 |
|
---|
1885 | #define WINEDDSCAPS_OWNDC (0x40000)
|
---|
1886 |
|
---|
1887 | #define WINEDDSCAPS_LIVEVIDEO (0x80000)
|
---|
1888 |
|
---|
1889 | #define WINEDDSCAPS_HWCODEC (0x100000)
|
---|
1890 |
|
---|
1891 | #define WINEDDSCAPS_MODEX (0x200000)
|
---|
1892 |
|
---|
1893 | #define WINEDDSCAPS_MIPMAP (0x400000)
|
---|
1894 |
|
---|
1895 | #define WINEDDSCAPS_RESERVED2 (0x800000)
|
---|
1896 |
|
---|
1897 | #define WINEDDSCAPS_ALLOCONLOAD (0x4000000)
|
---|
1898 |
|
---|
1899 | #define WINEDDSCAPS_VIDEOPORT (0x8000000)
|
---|
1900 |
|
---|
1901 | #define WINEDDSCAPS_LOCALVIDMEM (0x10000000)
|
---|
1902 |
|
---|
1903 | #define WINEDDSCAPS_NONLOCALVIDMEM (0x20000000)
|
---|
1904 |
|
---|
1905 | #define WINEDDSCAPS_STANDARDVGAMODE (0x40000000)
|
---|
1906 |
|
---|
1907 | #define WINEDDSCAPS_OPTIMIZED (0x80000000)
|
---|
1908 |
|
---|
1909 | #define WINEDDCKEYCAPS_DESTBLT (0x1)
|
---|
1910 |
|
---|
1911 | #define WINEDDCKEYCAPS_DESTBLTCLRSPACE (0x2)
|
---|
1912 |
|
---|
1913 | #define WINEDDCKEYCAPS_DESTBLTCLRSPACEYUV (0x4)
|
---|
1914 |
|
---|
1915 | #define WINEDDCKEYCAPS_DESTBLTYUV (0x8)
|
---|
1916 |
|
---|
1917 | #define WINEDDCKEYCAPS_DESTOVERLAY (0x10)
|
---|
1918 |
|
---|
1919 | #define WINEDDCKEYCAPS_DESTOVERLAYCLRSPACE (0x20)
|
---|
1920 |
|
---|
1921 | #define WINEDDCKEYCAPS_DESTOVERLAYCLRSPACEYUV (0x40)
|
---|
1922 |
|
---|
1923 | #define WINEDDCKEYCAPS_DESTOVERLAYONEACTIVE (0x80)
|
---|
1924 |
|
---|
1925 | #define WINEDDCKEYCAPS_DESTOVERLAYYUV (0x100)
|
---|
1926 |
|
---|
1927 | #define WINEDDCKEYCAPS_SRCBLT (0x200)
|
---|
1928 |
|
---|
1929 | #define WINEDDCKEYCAPS_SRCBLTCLRSPACE (0x400)
|
---|
1930 |
|
---|
1931 | #define WINEDDCKEYCAPS_SRCBLTCLRSPACEYUV (0x800)
|
---|
1932 |
|
---|
1933 | #define WINEDDCKEYCAPS_SRCBLTYUV (0x1000)
|
---|
1934 |
|
---|
1935 | #define WINEDDCKEYCAPS_SRCOVERLAY (0x2000)
|
---|
1936 |
|
---|
1937 | #define WINEDDCKEYCAPS_SRCOVERLAYCLRSPACE (0x4000)
|
---|
1938 |
|
---|
1939 | #define WINEDDCKEYCAPS_SRCOVERLAYCLRSPACEYUV (0x8000)
|
---|
1940 |
|
---|
1941 | #define WINEDDCKEYCAPS_SRCOVERLAYONEACTIVE (0x10000)
|
---|
1942 |
|
---|
1943 | #define WINEDDCKEYCAPS_SRCOVERLAYYUV (0x20000)
|
---|
1944 |
|
---|
1945 | #define WINEDDCKEYCAPS_NOCOSTOVERLAY (0x40000)
|
---|
1946 |
|
---|
1947 | #define WINEDDFXCAPS_BLTALPHA (0x1)
|
---|
1948 |
|
---|
1949 | #define WINEDDFXCAPS_OVERLAYALPHA (0x4)
|
---|
1950 |
|
---|
1951 | #define WINEDDFXCAPS_BLTARITHSTRETCHYN (0x10)
|
---|
1952 |
|
---|
1953 | #define WINEDDFXCAPS_BLTARITHSTRETCHY (0x20)
|
---|
1954 |
|
---|
1955 | #define WINEDDFXCAPS_BLTMIRRORLEFTRIGHT (0x40)
|
---|
1956 |
|
---|
1957 | #define WINEDDFXCAPS_BLTMIRRORUPDOWN (0x80)
|
---|
1958 |
|
---|
1959 | #define WINEDDFXCAPS_BLTROTATION (0x100)
|
---|
1960 |
|
---|
1961 | #define WINEDDFXCAPS_BLTROTATION90 (0x200)
|
---|
1962 |
|
---|
1963 | #define WINEDDFXCAPS_BLTSHRINKX (0x400)
|
---|
1964 |
|
---|
1965 | #define WINEDDFXCAPS_BLTSHRINKXN (0x800)
|
---|
1966 |
|
---|
1967 | #define WINEDDFXCAPS_BLTSHRINKY (0x1000)
|
---|
1968 |
|
---|
1969 | #define WINEDDFXCAPS_BLTSHRINKYN (0x2000)
|
---|
1970 |
|
---|
1971 | #define WINEDDFXCAPS_BLTSTRETCHX (0x4000)
|
---|
1972 |
|
---|
1973 | #define WINEDDFXCAPS_BLTSTRETCHXN (0x8000)
|
---|
1974 |
|
---|
1975 | #define WINEDDFXCAPS_BLTSTRETCHY (0x10000)
|
---|
1976 |
|
---|
1977 | #define WINEDDFXCAPS_BLTSTRETCHYN (0x20000)
|
---|
1978 |
|
---|
1979 | #define WINEDDFXCAPS_OVERLAYARITHSTRETCHY (0x40000)
|
---|
1980 |
|
---|
1981 | #define WINEDDFXCAPS_OVERLAYARITHSTRETCHYN (0x8)
|
---|
1982 |
|
---|
1983 | #define WINEDDFXCAPS_OVERLAYSHRINKX (0x80000)
|
---|
1984 |
|
---|
1985 | #define WINEDDFXCAPS_OVERLAYSHRINKXN (0x100000)
|
---|
1986 |
|
---|
1987 | #define WINEDDFXCAPS_OVERLAYSHRINKY (0x200000)
|
---|
1988 |
|
---|
1989 | #define WINEDDFXCAPS_OVERLAYSHRINKYN (0x400000)
|
---|
1990 |
|
---|
1991 | #define WINEDDFXCAPS_OVERLAYSTRETCHX (0x800000)
|
---|
1992 |
|
---|
1993 | #define WINEDDFXCAPS_OVERLAYSTRETCHXN (0x1000000)
|
---|
1994 |
|
---|
1995 | #define WINEDDFXCAPS_OVERLAYSTRETCHY (0x2000000)
|
---|
1996 |
|
---|
1997 | #define WINEDDFXCAPS_OVERLAYSTRETCHYN (0x4000000)
|
---|
1998 |
|
---|
1999 | #define WINEDDFXCAPS_OVERLAYMIRRORLEFTRIGHT (0x8000000)
|
---|
2000 |
|
---|
2001 | #define WINEDDFXCAPS_OVERLAYMIRRORUPDOWN (0x10000000)
|
---|
2002 |
|
---|
2003 | #define WINEDDCAPS_3D (0x1)
|
---|
2004 |
|
---|
2005 | #define WINEDDCAPS_ALIGNBOUNDARYDEST (0x2)
|
---|
2006 |
|
---|
2007 | #define WINEDDCAPS_ALIGNSIZEDEST (0x4)
|
---|
2008 |
|
---|
2009 | #define WINEDDCAPS_ALIGNBOUNDARYSRC (0x8)
|
---|
2010 |
|
---|
2011 | #define WINEDDCAPS_ALIGNSIZESRC (0x10)
|
---|
2012 |
|
---|
2013 | #define WINEDDCAPS_ALIGNSTRIDE (0x20)
|
---|
2014 |
|
---|
2015 | #define WINEDDCAPS_BLT (0x40)
|
---|
2016 |
|
---|
2017 | #define WINEDDCAPS_BLTQUEUE (0x80)
|
---|
2018 |
|
---|
2019 | #define WINEDDCAPS_BLTFOURCC (0x100)
|
---|
2020 |
|
---|
2021 | #define WINEDDCAPS_BLTSTRETCH (0x200)
|
---|
2022 |
|
---|
2023 | #define WINEDDCAPS_GDI (0x400)
|
---|
2024 |
|
---|
2025 | #define WINEDDCAPS_OVERLAY (0x800)
|
---|
2026 |
|
---|
2027 | #define WINEDDCAPS_OVERLAYCANTCLIP (0x1000)
|
---|
2028 |
|
---|
2029 | #define WINEDDCAPS_OVERLAYFOURCC (0x2000)
|
---|
2030 |
|
---|
2031 | #define WINEDDCAPS_OVERLAYSTRETCH (0x4000)
|
---|
2032 |
|
---|
2033 | #define WINEDDCAPS_PALETTE (0x8000)
|
---|
2034 |
|
---|
2035 | #define WINEDDCAPS_PALETTEVSYNC (0x10000)
|
---|
2036 |
|
---|
2037 | #define WINEDDCAPS_READSCANLINE (0x20000)
|
---|
2038 |
|
---|
2039 | #define WINEDDCAPS_STEREOVIEW (0x40000)
|
---|
2040 |
|
---|
2041 | #define WINEDDCAPS_VBI (0x80000)
|
---|
2042 |
|
---|
2043 | #define WINEDDCAPS_ZBLTS (0x100000)
|
---|
2044 |
|
---|
2045 | #define WINEDDCAPS_ZOVERLAYS (0x200000)
|
---|
2046 |
|
---|
2047 | #define WINEDDCAPS_COLORKEY (0x400000)
|
---|
2048 |
|
---|
2049 | #define WINEDDCAPS_ALPHA (0x800000)
|
---|
2050 |
|
---|
2051 | #define WINEDDCAPS_COLORKEYHWASSIST (0x1000000)
|
---|
2052 |
|
---|
2053 | #define WINEDDCAPS_NOHARDWARE (0x2000000)
|
---|
2054 |
|
---|
2055 | #define WINEDDCAPS_BLTCOLORFILL (0x4000000)
|
---|
2056 |
|
---|
2057 | #define WINEDDCAPS_BANKSWITCHED (0x8000000)
|
---|
2058 |
|
---|
2059 | #define WINEDDCAPS_BLTDEPTHFILL (0x10000000)
|
---|
2060 |
|
---|
2061 | #define WINEDDCAPS_CANCLIP (0x20000000)
|
---|
2062 |
|
---|
2063 | #define WINEDDCAPS_CANCLIPSTRETCHED (0x40000000)
|
---|
2064 |
|
---|
2065 | #define WINEDDCAPS_CANBLTSYSMEM (0x80000000)
|
---|
2066 |
|
---|
2067 | #define WINEDDCAPS2_CERTIFIED (0x1)
|
---|
2068 |
|
---|
2069 | #define WINEDDCAPS2_NO2DDURING3DSCENE (0x2)
|
---|
2070 |
|
---|
2071 | #define WINEDDCAPS2_VIDEOPORT (0x4)
|
---|
2072 |
|
---|
2073 | #define WINEDDCAPS2_AUTOFLIPOVERLAY (0x8)
|
---|
2074 |
|
---|
2075 | #define WINEDDCAPS2_CANBOBINTERLEAVED (0x10)
|
---|
2076 |
|
---|
2077 | #define WINEDDCAPS2_CANBOBNONINTERLEAVED (0x20)
|
---|
2078 |
|
---|
2079 | #define WINEDDCAPS2_COLORCONTROLOVERLAY (0x40)
|
---|
2080 |
|
---|
2081 | #define WINEDDCAPS2_COLORCONTROLPRIMARY (0x80)
|
---|
2082 |
|
---|
2083 | #define WINEDDCAPS2_CANDROPZ16BIT (0x100)
|
---|
2084 |
|
---|
2085 | #define WINEDDCAPS2_NONLOCALVIDMEM (0x200)
|
---|
2086 |
|
---|
2087 | #define WINEDDCAPS2_NONLOCALVIDMEMCAPS (0x400)
|
---|
2088 |
|
---|
2089 | #define WINEDDCAPS2_NOPAGELOCKREQUIRED (0x800)
|
---|
2090 |
|
---|
2091 | #define WINEDDCAPS2_WIDESURFACES (0x1000)
|
---|
2092 |
|
---|
2093 | #define WINEDDCAPS2_CANFLIPODDEVEN (0x2000)
|
---|
2094 |
|
---|
2095 | #define WINEDDCAPS2_CANBOBHARDWARE (0x4000)
|
---|
2096 |
|
---|
2097 | #define WINEDDCAPS2_COPYFOURCC (0x8000)
|
---|
2098 |
|
---|
2099 | #define WINEDDCAPS2_PRIMARYGAMMA (0x20000)
|
---|
2100 |
|
---|
2101 | #define WINEDDCAPS2_CANRENDERWINDOWED (0x80000)
|
---|
2102 |
|
---|
2103 | #define WINEDDCAPS2_CANCALIBRATEGAMMA (0x100000)
|
---|
2104 |
|
---|
2105 | #define WINEDDCAPS2_FLIPINTERVAL (0x200000)
|
---|
2106 |
|
---|
2107 | #define WINEDDCAPS2_FLIPNOVSYNC (0x400000)
|
---|
2108 |
|
---|
2109 | #define WINEDDCAPS2_CANMANAGETEXTURE (0x800000)
|
---|
2110 |
|
---|
2111 | #define WINEDDCAPS2_TEXMANINNONLOCALVIDMEM (0x1000000)
|
---|
2112 |
|
---|
2113 | #define WINEDDCAPS2_STEREO (0x2000000)
|
---|
2114 |
|
---|
2115 | #define WINEDDCAPS2_SYSTONONLOCAL_AS_SYSTOLOCAL (0x4000000)
|
---|
2116 |
|
---|
2117 | #define WINEDDPCAPS_4BIT (0x1)
|
---|
2118 |
|
---|
2119 | #define WINEDDPCAPS_8BITENTRIES (0x2)
|
---|
2120 |
|
---|
2121 | #define WINEDDPCAPS_8BIT (0x4)
|
---|
2122 |
|
---|
2123 | #define WINEDDPCAPS_INITIALIZE (0x8)
|
---|
2124 |
|
---|
2125 | #define WINEDDPCAPS_PRIMARYSURFACE (0x10)
|
---|
2126 |
|
---|
2127 | #define WINEDDPCAPS_PRIMARYSURFACELEFT (0x20)
|
---|
2128 |
|
---|
2129 | #define WINEDDPCAPS_ALLOW256 (0x40)
|
---|
2130 |
|
---|
2131 | #define WINEDDPCAPS_VSYNC (0x80)
|
---|
2132 |
|
---|
2133 | #define WINEDDPCAPS_1BIT (0x100)
|
---|
2134 |
|
---|
2135 | #define WINEDDPCAPS_2BIT (0x200)
|
---|
2136 |
|
---|
2137 | #define WINEDDPCAPS_ALPHA (0x400)
|
---|
2138 |
|
---|
2139 | typedef struct _WINED3DDISPLAYMODE {
|
---|
2140 | UINT Width;
|
---|
2141 | UINT Height;
|
---|
2142 | UINT RefreshRate;
|
---|
2143 | WINED3DFORMAT Format;
|
---|
2144 | } WINED3DDISPLAYMODE;
|
---|
2145 | typedef struct _WINED3DCOLORVALUE {
|
---|
2146 | float r;
|
---|
2147 | float g;
|
---|
2148 | float b;
|
---|
2149 | float a;
|
---|
2150 | } WINED3DCOLORVALUE;
|
---|
2151 | typedef struct _WINED3DVECTOR {
|
---|
2152 | float x;
|
---|
2153 | float y;
|
---|
2154 | float z;
|
---|
2155 | } WINED3DVECTOR;
|
---|
2156 | typedef struct _WINED3DMATRIX {
|
---|
2157 | union {
|
---|
2158 | struct {
|
---|
2159 | float _11;
|
---|
2160 | float _12;
|
---|
2161 | float _13;
|
---|
2162 | float _14;
|
---|
2163 | float _21;
|
---|
2164 | float _22;
|
---|
2165 | float _23;
|
---|
2166 | float _24;
|
---|
2167 | float _31;
|
---|
2168 | float _32;
|
---|
2169 | float _33;
|
---|
2170 | float _34;
|
---|
2171 | float _41;
|
---|
2172 | float _42;
|
---|
2173 | float _43;
|
---|
2174 | float _44;
|
---|
2175 | } DUMMYSTRUCTNAME;
|
---|
2176 | float m[4][4];
|
---|
2177 | } DUMMYUNIONNAME;
|
---|
2178 | } WINED3DMATRIX;
|
---|
2179 | typedef struct _WINED3DRECT {
|
---|
2180 | LONG x1;
|
---|
2181 | LONG y1;
|
---|
2182 | LONG x2;
|
---|
2183 | LONG y2;
|
---|
2184 | } WINED3DRECT;
|
---|
2185 | typedef struct _WINED3DLIGHT {
|
---|
2186 | WINED3DLIGHTTYPE Type;
|
---|
2187 | WINED3DCOLORVALUE Diffuse;
|
---|
2188 | WINED3DCOLORVALUE Specular;
|
---|
2189 | WINED3DCOLORVALUE Ambient;
|
---|
2190 | WINED3DVECTOR Position;
|
---|
2191 | WINED3DVECTOR Direction;
|
---|
2192 | float Range;
|
---|
2193 | float Falloff;
|
---|
2194 | float Attenuation0;
|
---|
2195 | float Attenuation1;
|
---|
2196 | float Attenuation2;
|
---|
2197 | float Theta;
|
---|
2198 | float Phi;
|
---|
2199 | } WINED3DLIGHT;
|
---|
2200 | typedef struct _WINED3DMATERIAL {
|
---|
2201 | WINED3DCOLORVALUE Diffuse;
|
---|
2202 | WINED3DCOLORVALUE Ambient;
|
---|
2203 | WINED3DCOLORVALUE Specular;
|
---|
2204 | WINED3DCOLORVALUE Emissive;
|
---|
2205 | float Power;
|
---|
2206 | } WINED3DMATERIAL;
|
---|
2207 | typedef struct _WINED3DVIEWPORT {
|
---|
2208 | DWORD X;
|
---|
2209 | DWORD Y;
|
---|
2210 | DWORD Width;
|
---|
2211 | DWORD Height;
|
---|
2212 | float MinZ;
|
---|
2213 | float MaxZ;
|
---|
2214 | } WINED3DVIEWPORT;
|
---|
2215 | typedef struct _WINED3DGAMMARAMP {
|
---|
2216 | WORD red[256];
|
---|
2217 | WORD green[256];
|
---|
2218 | WORD blue[256];
|
---|
2219 | } WINED3DGAMMARAMP;
|
---|
2220 | typedef struct _WINED3DLINEPATTERN {
|
---|
2221 | WORD wRepeatFactor;
|
---|
2222 | WORD wLinePattern;
|
---|
2223 | } WINED3DLINEPATTERN;
|
---|
2224 | typedef struct _WINEDD3DRECTPATCH_INFO {
|
---|
2225 | UINT StartVertexOffsetWidth;
|
---|
2226 | UINT StartVertexOffsetHeight;
|
---|
2227 | UINT Width;
|
---|
2228 | UINT Height;
|
---|
2229 | UINT Stride;
|
---|
2230 | WINED3DBASISTYPE Basis;
|
---|
2231 | WINED3DDEGREETYPE Degree;
|
---|
2232 | } WINED3DRECTPATCH_INFO;
|
---|
2233 | typedef struct _WINED3DTRIPATCH_INFO {
|
---|
2234 | UINT StartVertexOffset;
|
---|
2235 | UINT NumVertices;
|
---|
2236 | WINED3DBASISTYPE Basis;
|
---|
2237 | WINED3DDEGREETYPE Degree;
|
---|
2238 | } WINED3DTRIPATCH_INFO;
|
---|
2239 | typedef struct _WINED3DADAPTER_IDENTIFIER {
|
---|
2240 | char *driver;
|
---|
2241 | UINT driver_size;
|
---|
2242 | char *description;
|
---|
2243 | UINT description_size;
|
---|
2244 | char *device_name;
|
---|
2245 | UINT device_name_size;
|
---|
2246 | LARGE_INTEGER driver_version;
|
---|
2247 | DWORD vendor_id;
|
---|
2248 | DWORD device_id;
|
---|
2249 | DWORD subsystem_id;
|
---|
2250 | DWORD revision;
|
---|
2251 | GUID device_identifier;
|
---|
2252 | DWORD whql_level;
|
---|
2253 | } WINED3DADAPTER_IDENTIFIER;
|
---|
2254 | typedef struct _WINED3DPRESENT_PARAMETERS {
|
---|
2255 | UINT BackBufferWidth;
|
---|
2256 | UINT BackBufferHeight;
|
---|
2257 | WINED3DFORMAT BackBufferFormat;
|
---|
2258 | UINT BackBufferCount;
|
---|
2259 | WINED3DMULTISAMPLE_TYPE MultiSampleType;
|
---|
2260 | DWORD MultiSampleQuality;
|
---|
2261 | WINED3DSWAPEFFECT SwapEffect;
|
---|
2262 | HWND hDeviceWindow;
|
---|
2263 | BOOL Windowed;
|
---|
2264 | BOOL EnableAutoDepthStencil;
|
---|
2265 | WINED3DFORMAT AutoDepthStencilFormat;
|
---|
2266 | DWORD Flags;
|
---|
2267 | UINT FullScreen_RefreshRateInHz;
|
---|
2268 | UINT PresentationInterval;
|
---|
2269 | BOOL AutoRestoreDisplayMode;
|
---|
2270 | } WINED3DPRESENT_PARAMETERS;
|
---|
2271 | typedef struct _WINED3DSURFACE_DESC {
|
---|
2272 | WINED3DFORMAT format;
|
---|
2273 | WINED3DRESOURCETYPE resource_type;
|
---|
2274 | DWORD usage;
|
---|
2275 | WINED3DPOOL pool;
|
---|
2276 | UINT size;
|
---|
2277 | WINED3DMULTISAMPLE_TYPE multisample_type;
|
---|
2278 | DWORD multisample_quality;
|
---|
2279 | UINT width;
|
---|
2280 | UINT height;
|
---|
2281 | } WINED3DSURFACE_DESC;
|
---|
2282 | typedef struct _WINED3DVOLUME_DESC {
|
---|
2283 | WINED3DFORMAT Format;
|
---|
2284 | WINED3DRESOURCETYPE Type;
|
---|
2285 | DWORD Usage;
|
---|
2286 | WINED3DPOOL Pool;
|
---|
2287 | UINT Size;
|
---|
2288 | UINT Width;
|
---|
2289 | UINT Height;
|
---|
2290 | UINT Depth;
|
---|
2291 | } WINED3DVOLUME_DESC;
|
---|
2292 | typedef struct _WINED3DCLIPSTATUS {
|
---|
2293 | DWORD ClipUnion;
|
---|
2294 | DWORD ClipIntersection;
|
---|
2295 | } WINED3DCLIPSTATUS;
|
---|
2296 | typedef struct _WINED3DVERTEXELEMENT {
|
---|
2297 | WINED3DFORMAT format;
|
---|
2298 | WORD input_slot;
|
---|
2299 | WORD offset;
|
---|
2300 | UINT output_slot;
|
---|
2301 | BYTE method;
|
---|
2302 | BYTE usage;
|
---|
2303 | BYTE usage_idx;
|
---|
2304 | } WINED3DVERTEXELEMENT;
|
---|
2305 | typedef struct _WINED3DDEVICE_CREATION_PARAMETERS {
|
---|
2306 | UINT AdapterOrdinal;
|
---|
2307 | WINED3DDEVTYPE DeviceType;
|
---|
2308 | HWND hFocusWindow;
|
---|
2309 | DWORD BehaviorFlags;
|
---|
2310 | } WINED3DDEVICE_CREATION_PARAMETERS;
|
---|
2311 | typedef struct _WINED3DDEVINFO_BANDWIDTHTIMINGS {
|
---|
2312 | float MaxBandwidthUtilized;
|
---|
2313 | float FrontEndUploadMemoryUtilizedPercent;
|
---|
2314 | float VertexRateUtilizedPercent;
|
---|
2315 | float TriangleSetupRateUtilizedPercent;
|
---|
2316 | float FillRateUtilizedPercent;
|
---|
2317 | } WINED3DDEVINFO_BANDWIDTHTIMINGS;
|
---|
2318 | typedef struct _WINED3DDEVINFO_CACHEUTILIZATION {
|
---|
2319 | float TextureCacheHitRate;
|
---|
2320 | float PostTransformVertexCacheHitRate;
|
---|
2321 | } WINED3DDEVINFO_CACHEUTILIZATION;
|
---|
2322 | typedef struct _WINED3DDEVINFO_INTERFACETIMINGS {
|
---|
2323 | float WaitingForGPUToUseApplicationResourceTimePercent;
|
---|
2324 | float WaitingForGPUToAcceptMoreCommandsTimePercent;
|
---|
2325 | float WaitingForGPUToStayWithinLatencyTimePercent;
|
---|
2326 | float WaitingForGPUExclusiveResourceTimePercent;
|
---|
2327 | float WaitingForGPUOtherTimePercent;
|
---|
2328 | } WINED3DDEVINFO_INTERFACETIMINGS;
|
---|
2329 | typedef struct _WINED3DDEVINFO_PIPELINETIMINGS {
|
---|
2330 | float VertexProcessingTimePercent;
|
---|
2331 | float PixelProcessingTimePercent;
|
---|
2332 | float OtherGPUProcessingTimePercent;
|
---|
2333 | float GPUIdleTimePercent;
|
---|
2334 | } WINED3DDEVINFO_PIPELINETIMINGS;
|
---|
2335 | typedef struct _WINED3DDEVINFO_STAGETIMINGS {
|
---|
2336 | float MemoryProcessingPercent;
|
---|
2337 | float ComputationProcessingPercent;
|
---|
2338 | } WINED3DDEVINFO_STAGETIMINGS;
|
---|
2339 | typedef struct _WINED3DRASTER_STATUS {
|
---|
2340 | BOOL InVBlank;
|
---|
2341 | UINT ScanLine;
|
---|
2342 | } WINED3DRASTER_STATUS;
|
---|
2343 | typedef struct WINED3DRESOURCESTATS {
|
---|
2344 | BOOL bThrashing;
|
---|
2345 | DWORD ApproxBytesDownloaded;
|
---|
2346 | DWORD NumEvicts;
|
---|
2347 | DWORD NumVidCreates;
|
---|
2348 | DWORD LastPri;
|
---|
2349 | DWORD NumUsed;
|
---|
2350 | DWORD NumUsedInVidMem;
|
---|
2351 | DWORD WorkingSet;
|
---|
2352 | DWORD WorkingSetBytes;
|
---|
2353 | DWORD TotalManaged;
|
---|
2354 | DWORD TotalBytes;
|
---|
2355 | } WINED3DRESOURCESTATS;
|
---|
2356 | typedef struct _WINED3DDEVINFO_RESOURCEMANAGER {
|
---|
2357 | WINED3DRESOURCESTATS stats[7];
|
---|
2358 | } WINED3DDEVINFO_RESOURCEMANAGER;
|
---|
2359 | typedef struct _WINED3DDEVINFO_VERTEXSTATS {
|
---|
2360 | DWORD NumRenderedTriangles;
|
---|
2361 | DWORD NumExtraClippingTriangles;
|
---|
2362 | } WINED3DDEVINFO_VERTEXSTATS;
|
---|
2363 | typedef struct _WINED3DLOCKED_RECT {
|
---|
2364 | INT Pitch;
|
---|
2365 | void *pBits;
|
---|
2366 | } WINED3DLOCKED_RECT;
|
---|
2367 | typedef struct _WINED3DLOCKED_BOX {
|
---|
2368 | INT RowPitch;
|
---|
2369 | INT SlicePitch;
|
---|
2370 | void *pBits;
|
---|
2371 | } WINED3DLOCKED_BOX;
|
---|
2372 | typedef struct _WINED3DBOX {
|
---|
2373 | UINT Left;
|
---|
2374 | UINT Top;
|
---|
2375 | UINT Right;
|
---|
2376 | UINT Bottom;
|
---|
2377 | UINT Front;
|
---|
2378 | UINT Back;
|
---|
2379 | } WINED3DBOX;
|
---|
2380 | typedef struct WINED3DDEVINFO_VCACHE {
|
---|
2381 | DWORD Pattern;
|
---|
2382 | DWORD OptMethod;
|
---|
2383 | DWORD CacheSize;
|
---|
2384 | DWORD MagicNumber;
|
---|
2385 | } WINED3DDEVINFO_VCACHE;
|
---|
2386 | typedef struct _WINED3DBUFFER_DESC {
|
---|
2387 | WINED3DRESOURCETYPE Type;
|
---|
2388 | DWORD Usage;
|
---|
2389 | WINED3DPOOL Pool;
|
---|
2390 | UINT Size;
|
---|
2391 | } WINED3DBUFFER_DESC;
|
---|
2392 | typedef struct WineDirect3DStridedData {
|
---|
2393 | WINED3DFORMAT format;
|
---|
2394 | const BYTE *lpData;
|
---|
2395 | DWORD dwStride;
|
---|
2396 | } WineDirect3DStridedData;
|
---|
2397 | typedef struct WineDirect3DVertexStridedData {
|
---|
2398 | WineDirect3DStridedData position;
|
---|
2399 | WineDirect3DStridedData normal;
|
---|
2400 | WineDirect3DStridedData diffuse;
|
---|
2401 | WineDirect3DStridedData specular;
|
---|
2402 | WineDirect3DStridedData texCoords[8];
|
---|
2403 | BOOL position_transformed;
|
---|
2404 | } WineDirect3DVertexStridedData;
|
---|
2405 | typedef struct _WINED3DVSHADERCAPS2_0 {
|
---|
2406 | DWORD Caps;
|
---|
2407 | INT DynamicFlowControlDepth;
|
---|
2408 | INT NumTemps;
|
---|
2409 | INT StaticFlowControlDepth;
|
---|
2410 | } WINED3DVSHADERCAPS2_0;
|
---|
2411 | typedef struct _WINED3DPSHADERCAPS2_0 {
|
---|
2412 | DWORD Caps;
|
---|
2413 | INT DynamicFlowControlDepth;
|
---|
2414 | INT NumTemps;
|
---|
2415 | INT StaticFlowControlDepth;
|
---|
2416 | INT NumInstructionSlots;
|
---|
2417 | } WINED3DPSHADERCAPS2_0;
|
---|
2418 | typedef struct _WINEDDCAPS {
|
---|
2419 | DWORD Caps;
|
---|
2420 | DWORD Caps2;
|
---|
2421 | DWORD CKeyCaps;
|
---|
2422 | DWORD FXCaps;
|
---|
2423 | DWORD FXAlphaCaps;
|
---|
2424 | DWORD PalCaps;
|
---|
2425 | DWORD SVCaps;
|
---|
2426 | DWORD SVBCaps;
|
---|
2427 | DWORD SVBCKeyCaps;
|
---|
2428 | DWORD SVBFXCaps;
|
---|
2429 | DWORD VSBCaps;
|
---|
2430 | DWORD VSBCKeyCaps;
|
---|
2431 | DWORD VSBFXCaps;
|
---|
2432 | DWORD SSBCaps;
|
---|
2433 | DWORD SSBCKeyCaps;
|
---|
2434 | DWORD SSBFXCaps;
|
---|
2435 | DWORD ddsCaps;
|
---|
2436 | DWORD StrideAlign;
|
---|
2437 | } WINEDDCAPS;
|
---|
2438 | typedef struct _WINED3DCAPS {
|
---|
2439 | WINED3DDEVTYPE DeviceType;
|
---|
2440 | UINT AdapterOrdinal;
|
---|
2441 | DWORD Caps;
|
---|
2442 | DWORD Caps2;
|
---|
2443 | DWORD Caps3;
|
---|
2444 | DWORD PresentationIntervals;
|
---|
2445 | DWORD CursorCaps;
|
---|
2446 | DWORD DevCaps;
|
---|
2447 | DWORD PrimitiveMiscCaps;
|
---|
2448 | DWORD RasterCaps;
|
---|
2449 | DWORD ZCmpCaps;
|
---|
2450 | DWORD SrcBlendCaps;
|
---|
2451 | DWORD DestBlendCaps;
|
---|
2452 | DWORD AlphaCmpCaps;
|
---|
2453 | DWORD ShadeCaps;
|
---|
2454 | DWORD TextureCaps;
|
---|
2455 | DWORD TextureFilterCaps;
|
---|
2456 | DWORD CubeTextureFilterCaps;
|
---|
2457 | DWORD VolumeTextureFilterCaps;
|
---|
2458 | DWORD TextureAddressCaps;
|
---|
2459 | DWORD VolumeTextureAddressCaps;
|
---|
2460 | DWORD LineCaps;
|
---|
2461 | DWORD MaxTextureWidth;
|
---|
2462 | DWORD MaxTextureHeight;
|
---|
2463 | DWORD MaxVolumeExtent;
|
---|
2464 | DWORD MaxTextureRepeat;
|
---|
2465 | DWORD MaxTextureAspectRatio;
|
---|
2466 | DWORD MaxAnisotropy;
|
---|
2467 | float MaxVertexW;
|
---|
2468 | float GuardBandLeft;
|
---|
2469 | float GuardBandTop;
|
---|
2470 | float GuardBandRight;
|
---|
2471 | float GuardBandBottom;
|
---|
2472 | float ExtentsAdjust;
|
---|
2473 | DWORD StencilCaps;
|
---|
2474 | DWORD FVFCaps;
|
---|
2475 | DWORD TextureOpCaps;
|
---|
2476 | DWORD MaxTextureBlendStages;
|
---|
2477 | DWORD MaxSimultaneousTextures;
|
---|
2478 | DWORD VertexProcessingCaps;
|
---|
2479 | DWORD MaxActiveLights;
|
---|
2480 | DWORD MaxUserClipPlanes;
|
---|
2481 | DWORD MaxVertexBlendMatrices;
|
---|
2482 | DWORD MaxVertexBlendMatrixIndex;
|
---|
2483 | float MaxPointSize;
|
---|
2484 | DWORD MaxPrimitiveCount;
|
---|
2485 | DWORD MaxVertexIndex;
|
---|
2486 | DWORD MaxStreams;
|
---|
2487 | DWORD MaxStreamStride;
|
---|
2488 | DWORD VertexShaderVersion;
|
---|
2489 | DWORD MaxVertexShaderConst;
|
---|
2490 | DWORD PixelShaderVersion;
|
---|
2491 | float PixelShader1xMaxValue;
|
---|
2492 | DWORD DevCaps2;
|
---|
2493 | float MaxNpatchTessellationLevel;
|
---|
2494 | DWORD Reserved5;
|
---|
2495 | UINT MasterAdapterOrdinal;
|
---|
2496 | UINT AdapterOrdinalInGroup;
|
---|
2497 | UINT NumberOfAdaptersInGroup;
|
---|
2498 | DWORD DeclTypes;
|
---|
2499 | DWORD NumSimultaneousRTs;
|
---|
2500 | DWORD StretchRectFilterCaps;
|
---|
2501 | WINED3DVSHADERCAPS2_0 VS20Caps;
|
---|
2502 | WINED3DPSHADERCAPS2_0 PS20Caps;
|
---|
2503 | DWORD VertexTextureFilterCaps;
|
---|
2504 | DWORD MaxVShaderInstructionsExecuted;
|
---|
2505 | DWORD MaxPShaderInstructionsExecuted;
|
---|
2506 | DWORD MaxVertexShader30InstructionSlots;
|
---|
2507 | DWORD MaxPixelShader30InstructionSlots;
|
---|
2508 | DWORD Reserved2;
|
---|
2509 | DWORD Reserved3;
|
---|
2510 | WINEDDCAPS DirectDrawCaps;
|
---|
2511 | } WINED3DCAPS;
|
---|
2512 | typedef struct _WINEDDCOLORKEY {
|
---|
2513 | DWORD dwColorSpaceLowValue;
|
---|
2514 | DWORD dwColorSpaceHighValue;
|
---|
2515 | } WINEDDCOLORKEY;
|
---|
2516 | typedef struct _WINEDDCOLORKEY *LPWINEDDCOLORKEY;
|
---|
2517 | typedef struct _WINEDDBLTFX {
|
---|
2518 | DWORD dwSize;
|
---|
2519 | DWORD dwDDFX;
|
---|
2520 | DWORD dwROP;
|
---|
2521 | DWORD dwDDROP;
|
---|
2522 | DWORD dwRotationAngle;
|
---|
2523 | DWORD dwZBufferOpCode;
|
---|
2524 | DWORD dwZBufferLow;
|
---|
2525 | DWORD dwZBufferHigh;
|
---|
2526 | DWORD dwZBufferBaseDest;
|
---|
2527 | DWORD dwZDestConstBitDepth;
|
---|
2528 | union {
|
---|
2529 | DWORD dwZDestConst;
|
---|
2530 | struct IWineD3DSurface *lpDDSZBufferDest;
|
---|
2531 | } DUMMYUNIONNAME1;
|
---|
2532 | DWORD dwZSrcConstBitDepth;
|
---|
2533 | union {
|
---|
2534 | DWORD dwZSrcConst;
|
---|
2535 | struct IWineD3DSurface *lpDDSZBufferSrc;
|
---|
2536 | } DUMMYUNIONNAME2;
|
---|
2537 | DWORD dwAlphaEdgeBlendBitDepth;
|
---|
2538 | DWORD dwAlphaEdgeBlend;
|
---|
2539 | DWORD dwReserved;
|
---|
2540 | DWORD dwAlphaDestConstBitDepth;
|
---|
2541 | union {
|
---|
2542 | DWORD dwAlphaDestConst;
|
---|
2543 | struct IWineD3DSurface *lpDDSAlphaDest;
|
---|
2544 | } DUMMYUNIONNAME3;
|
---|
2545 | DWORD dwAlphaSrcConstBitDepth;
|
---|
2546 | union {
|
---|
2547 | DWORD dwAlphaSrcConst;
|
---|
2548 | struct IWineD3DSurface *lpDDSAlphaSrc;
|
---|
2549 | } DUMMYUNIONNAME4;
|
---|
2550 | union {
|
---|
2551 | DWORD dwFillColor;
|
---|
2552 | DWORD dwFillDepth;
|
---|
2553 | DWORD dwFillPixel;
|
---|
2554 | struct IWineD3DSurface *lpDDSPattern;
|
---|
2555 | } DUMMYUNIONNAME5;
|
---|
2556 | WINEDDCOLORKEY ddckDestColorkey;
|
---|
2557 | WINEDDCOLORKEY ddckSrcColorkey;
|
---|
2558 | } WINEDDBLTFX;
|
---|
2559 | typedef struct _WINEDDBLTFX *LPWINEDDBLTFX;
|
---|
2560 | typedef struct _WINEDDOVERLAYFX {
|
---|
2561 | DWORD dwSize;
|
---|
2562 | DWORD dwAlphaEdgeBlendBitDepth;
|
---|
2563 | DWORD dwAlphaEdgeBlend;
|
---|
2564 | DWORD dwReserved;
|
---|
2565 | DWORD dwAlphaDestConstBitDepth;
|
---|
2566 | union {
|
---|
2567 | DWORD dwAlphaDestConst;
|
---|
2568 | struct IWineD3DSurface *lpDDSAlphaDest;
|
---|
2569 | } DUMMYUNIONNAME1;
|
---|
2570 | DWORD dwAlphaSrcConstBitDepth;
|
---|
2571 | union {
|
---|
2572 | DWORD dwAlphaSrcConst;
|
---|
2573 | struct IWineD3DSurface *lpDDSAlphaSrc;
|
---|
2574 | } DUMMYUNIONNAME2;
|
---|
2575 | WINEDDCOLORKEY dckDestColorkey;
|
---|
2576 | WINEDDCOLORKEY dckSrcColorkey;
|
---|
2577 | DWORD dwDDFX;
|
---|
2578 | DWORD dwFlags;
|
---|
2579 | } WINEDDOVERLAYFX;
|
---|
2580 | struct wined3d_buffer_desc {
|
---|
2581 | UINT byte_width;
|
---|
2582 | DWORD usage;
|
---|
2583 | UINT bind_flags;
|
---|
2584 | UINT cpu_access_flags;
|
---|
2585 | UINT misc_flags;
|
---|
2586 | };
|
---|
2587 |
|
---|
2588 | struct wined3d_shader_signature_element {
|
---|
2589 | const char *semantic_name;
|
---|
2590 | UINT semantic_idx;
|
---|
2591 | enum wined3d_sysval_semantic sysval_semantic;
|
---|
2592 | DWORD component_type;
|
---|
2593 | UINT register_idx;
|
---|
2594 | DWORD mask;
|
---|
2595 | };
|
---|
2596 |
|
---|
2597 | struct wined3d_shader_signature {
|
---|
2598 | UINT element_count;
|
---|
2599 | struct wined3d_shader_signature_element *elements;
|
---|
2600 | char *string_data;
|
---|
2601 | };
|
---|
2602 |
|
---|
2603 | struct wined3d_parent_ops {
|
---|
2604 | void (STDMETHODCALLTYPE *wined3d_object_destroyed)(void *parent);
|
---|
2605 | };
|
---|
2606 |
|
---|
2607 | #ifndef __IWineD3DResource_FWD_DEFINED__
|
---|
2608 | #define __IWineD3DResource_FWD_DEFINED__
|
---|
2609 | typedef interface IWineD3DResource IWineD3DResource;
|
---|
2610 | #endif
|
---|
2611 |
|
---|
2612 | #ifndef __IWineD3DSurface_FWD_DEFINED__
|
---|
2613 | #define __IWineD3DSurface_FWD_DEFINED__
|
---|
2614 | typedef interface IWineD3DSurface IWineD3DSurface;
|
---|
2615 | #endif
|
---|
2616 |
|
---|
2617 | #ifndef __IWineD3DVolume_FWD_DEFINED__
|
---|
2618 | #define __IWineD3DVolume_FWD_DEFINED__
|
---|
2619 | typedef interface IWineD3DVolume IWineD3DVolume;
|
---|
2620 | #endif
|
---|
2621 |
|
---|
2622 | #ifndef __IWineD3DSwapChain_FWD_DEFINED__
|
---|
2623 | #define __IWineD3DSwapChain_FWD_DEFINED__
|
---|
2624 | typedef interface IWineD3DSwapChain IWineD3DSwapChain;
|
---|
2625 | #endif
|
---|
2626 |
|
---|
2627 | #ifndef __IWineD3DDevice_FWD_DEFINED__
|
---|
2628 | #define __IWineD3DDevice_FWD_DEFINED__
|
---|
2629 | typedef interface IWineD3DDevice IWineD3DDevice;
|
---|
2630 | #endif
|
---|
2631 |
|
---|
2632 | /*****************************************************************************
|
---|
2633 | * IWineD3DDeviceParent interface
|
---|
2634 | */
|
---|
2635 | #ifndef __IWineD3DDeviceParent_INTERFACE_DEFINED__
|
---|
2636 | #define __IWineD3DDeviceParent_INTERFACE_DEFINED__
|
---|
2637 |
|
---|
2638 | DEFINE_GUID(IID_IWineD3DDeviceParent, 0xaeb62dfc, 0xbdcb, 0x4f02, 0x95,0x19, 0x1e,0xee,0xa0,0x0c,0x15,0xcd);
|
---|
2639 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2640 | interface IWineD3DDeviceParent : public IUnknown
|
---|
2641 | {
|
---|
2642 | virtual void STDMETHODCALLTYPE WineD3DDeviceCreated(
|
---|
2643 | IWineD3DDevice *device) = 0;
|
---|
2644 |
|
---|
2645 | virtual HRESULT STDMETHODCALLTYPE CreateSurface(
|
---|
2646 | IUnknown *superior,
|
---|
2647 | UINT width,
|
---|
2648 | UINT height,
|
---|
2649 | WINED3DFORMAT format,
|
---|
2650 | DWORD usage,
|
---|
2651 | WINED3DPOOL pool,
|
---|
2652 | UINT level,
|
---|
2653 | WINED3DCUBEMAP_FACES face,
|
---|
2654 | IWineD3DSurface **surface) = 0;
|
---|
2655 |
|
---|
2656 | virtual HRESULT STDMETHODCALLTYPE CreateRenderTarget(
|
---|
2657 | IUnknown *superior,
|
---|
2658 | UINT width,
|
---|
2659 | UINT height,
|
---|
2660 | WINED3DFORMAT format,
|
---|
2661 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2662 | DWORD multisample_quality,
|
---|
2663 | BOOL lockable,
|
---|
2664 | IWineD3DSurface **surface) = 0;
|
---|
2665 |
|
---|
2666 | virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilSurface(
|
---|
2667 | IUnknown *superior,
|
---|
2668 | UINT width,
|
---|
2669 | UINT height,
|
---|
2670 | WINED3DFORMAT format,
|
---|
2671 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2672 | DWORD multisample_quality,
|
---|
2673 | BOOL discard,
|
---|
2674 | IWineD3DSurface **surface) = 0;
|
---|
2675 |
|
---|
2676 | virtual HRESULT STDMETHODCALLTYPE CreateVolume(
|
---|
2677 | IUnknown *superior,
|
---|
2678 | UINT width,
|
---|
2679 | UINT height,
|
---|
2680 | UINT depth,
|
---|
2681 | WINED3DFORMAT format,
|
---|
2682 | WINED3DPOOL pool,
|
---|
2683 | DWORD usage,
|
---|
2684 | IWineD3DVolume **volume) = 0;
|
---|
2685 |
|
---|
2686 | virtual HRESULT STDMETHODCALLTYPE CreateSwapChain(
|
---|
2687 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2688 | IWineD3DSwapChain **swapchain) = 0;
|
---|
2689 |
|
---|
2690 | };
|
---|
2691 | #else
|
---|
2692 | typedef struct IWineD3DDeviceParentVtbl {
|
---|
2693 | BEGIN_INTERFACE
|
---|
2694 |
|
---|
2695 | /*** IUnknown methods ***/
|
---|
2696 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2697 | IWineD3DDeviceParent* This,
|
---|
2698 | REFIID riid,
|
---|
2699 | void **ppvObject);
|
---|
2700 |
|
---|
2701 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2702 | IWineD3DDeviceParent* This);
|
---|
2703 |
|
---|
2704 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2705 | IWineD3DDeviceParent* This);
|
---|
2706 |
|
---|
2707 | /*** IWineD3DDeviceParent methods ***/
|
---|
2708 | void (STDMETHODCALLTYPE *WineD3DDeviceCreated)(
|
---|
2709 | IWineD3DDeviceParent* This,
|
---|
2710 | IWineD3DDevice *device);
|
---|
2711 |
|
---|
2712 | HRESULT (STDMETHODCALLTYPE *CreateSurface)(
|
---|
2713 | IWineD3DDeviceParent* This,
|
---|
2714 | IUnknown *superior,
|
---|
2715 | UINT width,
|
---|
2716 | UINT height,
|
---|
2717 | WINED3DFORMAT format,
|
---|
2718 | DWORD usage,
|
---|
2719 | WINED3DPOOL pool,
|
---|
2720 | UINT level,
|
---|
2721 | WINED3DCUBEMAP_FACES face,
|
---|
2722 | IWineD3DSurface **surface);
|
---|
2723 |
|
---|
2724 | HRESULT (STDMETHODCALLTYPE *CreateRenderTarget)(
|
---|
2725 | IWineD3DDeviceParent* This,
|
---|
2726 | IUnknown *superior,
|
---|
2727 | UINT width,
|
---|
2728 | UINT height,
|
---|
2729 | WINED3DFORMAT format,
|
---|
2730 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2731 | DWORD multisample_quality,
|
---|
2732 | BOOL lockable,
|
---|
2733 | IWineD3DSurface **surface);
|
---|
2734 |
|
---|
2735 | HRESULT (STDMETHODCALLTYPE *CreateDepthStencilSurface)(
|
---|
2736 | IWineD3DDeviceParent* This,
|
---|
2737 | IUnknown *superior,
|
---|
2738 | UINT width,
|
---|
2739 | UINT height,
|
---|
2740 | WINED3DFORMAT format,
|
---|
2741 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2742 | DWORD multisample_quality,
|
---|
2743 | BOOL discard,
|
---|
2744 | IWineD3DSurface **surface);
|
---|
2745 |
|
---|
2746 | HRESULT (STDMETHODCALLTYPE *CreateVolume)(
|
---|
2747 | IWineD3DDeviceParent* This,
|
---|
2748 | IUnknown *superior,
|
---|
2749 | UINT width,
|
---|
2750 | UINT height,
|
---|
2751 | UINT depth,
|
---|
2752 | WINED3DFORMAT format,
|
---|
2753 | WINED3DPOOL pool,
|
---|
2754 | DWORD usage,
|
---|
2755 | IWineD3DVolume **volume);
|
---|
2756 |
|
---|
2757 | HRESULT (STDMETHODCALLTYPE *CreateSwapChain)(
|
---|
2758 | IWineD3DDeviceParent* This,
|
---|
2759 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2760 | IWineD3DSwapChain **swapchain);
|
---|
2761 |
|
---|
2762 | END_INTERFACE
|
---|
2763 | } IWineD3DDeviceParentVtbl;
|
---|
2764 | interface IWineD3DDeviceParent {
|
---|
2765 | CONST_VTBL IWineD3DDeviceParentVtbl* lpVtbl;
|
---|
2766 | };
|
---|
2767 |
|
---|
2768 | #ifdef COBJMACROS
|
---|
2769 | /*** IUnknown methods ***/
|
---|
2770 | #define IWineD3DDeviceParent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2771 | #define IWineD3DDeviceParent_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2772 | #define IWineD3DDeviceParent_Release(This) (This)->lpVtbl->Release(This)
|
---|
2773 | /*** IWineD3DDeviceParent methods ***/
|
---|
2774 | #define IWineD3DDeviceParent_WineD3DDeviceCreated(This,device) (This)->lpVtbl->WineD3DDeviceCreated(This,device)
|
---|
2775 | #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)
|
---|
2776 | #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)
|
---|
2777 | #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)
|
---|
2778 | #define IWineD3DDeviceParent_CreateVolume(This,superior,width,height,depth,format,pool,usage,volume) (This)->lpVtbl->CreateVolume(This,superior,width,height,depth,format,pool,usage,volume)
|
---|
2779 | #define IWineD3DDeviceParent_CreateSwapChain(This,present_parameters,swapchain) (This)->lpVtbl->CreateSwapChain(This,present_parameters,swapchain)
|
---|
2780 | #endif
|
---|
2781 |
|
---|
2782 | #endif
|
---|
2783 |
|
---|
2784 | void STDMETHODCALLTYPE IWineD3DDeviceParent_WineD3DDeviceCreated_Proxy(
|
---|
2785 | IWineD3DDeviceParent* This,
|
---|
2786 | IWineD3DDevice *device);
|
---|
2787 | void __RPC_STUB IWineD3DDeviceParent_WineD3DDeviceCreated_Stub(
|
---|
2788 | IRpcStubBuffer* This,
|
---|
2789 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2790 | PRPC_MESSAGE pRpcMessage,
|
---|
2791 | DWORD* pdwStubPhase);
|
---|
2792 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateSurface_Proxy(
|
---|
2793 | IWineD3DDeviceParent* This,
|
---|
2794 | IUnknown *superior,
|
---|
2795 | UINT width,
|
---|
2796 | UINT height,
|
---|
2797 | WINED3DFORMAT format,
|
---|
2798 | DWORD usage,
|
---|
2799 | WINED3DPOOL pool,
|
---|
2800 | UINT level,
|
---|
2801 | WINED3DCUBEMAP_FACES face,
|
---|
2802 | IWineD3DSurface **surface);
|
---|
2803 | void __RPC_STUB IWineD3DDeviceParent_CreateSurface_Stub(
|
---|
2804 | IRpcStubBuffer* This,
|
---|
2805 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2806 | PRPC_MESSAGE pRpcMessage,
|
---|
2807 | DWORD* pdwStubPhase);
|
---|
2808 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateRenderTarget_Proxy(
|
---|
2809 | IWineD3DDeviceParent* This,
|
---|
2810 | IUnknown *superior,
|
---|
2811 | UINT width,
|
---|
2812 | UINT height,
|
---|
2813 | WINED3DFORMAT format,
|
---|
2814 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2815 | DWORD multisample_quality,
|
---|
2816 | BOOL lockable,
|
---|
2817 | IWineD3DSurface **surface);
|
---|
2818 | void __RPC_STUB IWineD3DDeviceParent_CreateRenderTarget_Stub(
|
---|
2819 | IRpcStubBuffer* This,
|
---|
2820 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2821 | PRPC_MESSAGE pRpcMessage,
|
---|
2822 | DWORD* pdwStubPhase);
|
---|
2823 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateDepthStencilSurface_Proxy(
|
---|
2824 | IWineD3DDeviceParent* This,
|
---|
2825 | IUnknown *superior,
|
---|
2826 | UINT width,
|
---|
2827 | UINT height,
|
---|
2828 | WINED3DFORMAT format,
|
---|
2829 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2830 | DWORD multisample_quality,
|
---|
2831 | BOOL discard,
|
---|
2832 | IWineD3DSurface **surface);
|
---|
2833 | void __RPC_STUB IWineD3DDeviceParent_CreateDepthStencilSurface_Stub(
|
---|
2834 | IRpcStubBuffer* This,
|
---|
2835 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2836 | PRPC_MESSAGE pRpcMessage,
|
---|
2837 | DWORD* pdwStubPhase);
|
---|
2838 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateVolume_Proxy(
|
---|
2839 | IWineD3DDeviceParent* This,
|
---|
2840 | IUnknown *superior,
|
---|
2841 | UINT width,
|
---|
2842 | UINT height,
|
---|
2843 | UINT depth,
|
---|
2844 | WINED3DFORMAT format,
|
---|
2845 | WINED3DPOOL pool,
|
---|
2846 | DWORD usage,
|
---|
2847 | IWineD3DVolume **volume);
|
---|
2848 | void __RPC_STUB IWineD3DDeviceParent_CreateVolume_Stub(
|
---|
2849 | IRpcStubBuffer* This,
|
---|
2850 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2851 | PRPC_MESSAGE pRpcMessage,
|
---|
2852 | DWORD* pdwStubPhase);
|
---|
2853 | HRESULT STDMETHODCALLTYPE IWineD3DDeviceParent_CreateSwapChain_Proxy(
|
---|
2854 | IWineD3DDeviceParent* This,
|
---|
2855 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
2856 | IWineD3DSwapChain **swapchain);
|
---|
2857 | void __RPC_STUB IWineD3DDeviceParent_CreateSwapChain_Stub(
|
---|
2858 | IRpcStubBuffer* This,
|
---|
2859 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2860 | PRPC_MESSAGE pRpcMessage,
|
---|
2861 | DWORD* pdwStubPhase);
|
---|
2862 |
|
---|
2863 | #endif /* __IWineD3DDeviceParent_INTERFACE_DEFINED__ */
|
---|
2864 |
|
---|
2865 | typedef ULONG (STDMETHODCALLTYPE *D3DCB_DESTROYSWAPCHAINFN)(IWineD3DSwapChain *pSwapChain);
|
---|
2866 | typedef HRESULT (STDMETHODCALLTYPE *D3DCB_ENUMRESOURCES)(IWineD3DResource *resource,void *pData);
|
---|
2867 | /*****************************************************************************
|
---|
2868 | * IWineD3DBase interface
|
---|
2869 | */
|
---|
2870 | #ifndef __IWineD3DBase_INTERFACE_DEFINED__
|
---|
2871 | #define __IWineD3DBase_INTERFACE_DEFINED__
|
---|
2872 |
|
---|
2873 | DEFINE_GUID(IID_IWineD3DBase, 0x46799311, 0x8e0e, 0x40ce, 0xb2,0xec, 0xdd,0xb9,0x9f,0x18,0xfc,0xb4);
|
---|
2874 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2875 | interface IWineD3DBase : public IUnknown
|
---|
2876 | {
|
---|
2877 | virtual HRESULT STDMETHODCALLTYPE GetParent(
|
---|
2878 | IUnknown **parent) = 0;
|
---|
2879 |
|
---|
2880 | };
|
---|
2881 | #else
|
---|
2882 | typedef struct IWineD3DBaseVtbl {
|
---|
2883 | BEGIN_INTERFACE
|
---|
2884 |
|
---|
2885 | /*** IUnknown methods ***/
|
---|
2886 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
2887 | IWineD3DBase* This,
|
---|
2888 | REFIID riid,
|
---|
2889 | void **ppvObject);
|
---|
2890 |
|
---|
2891 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
2892 | IWineD3DBase* This);
|
---|
2893 |
|
---|
2894 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
2895 | IWineD3DBase* This);
|
---|
2896 |
|
---|
2897 | /*** IWineD3DBase methods ***/
|
---|
2898 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
2899 | IWineD3DBase* This,
|
---|
2900 | IUnknown **parent);
|
---|
2901 |
|
---|
2902 | END_INTERFACE
|
---|
2903 | } IWineD3DBaseVtbl;
|
---|
2904 | interface IWineD3DBase {
|
---|
2905 | CONST_VTBL IWineD3DBaseVtbl* lpVtbl;
|
---|
2906 | };
|
---|
2907 |
|
---|
2908 | #ifdef COBJMACROS
|
---|
2909 | /*** IUnknown methods ***/
|
---|
2910 | #define IWineD3DBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
2911 | #define IWineD3DBase_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
2912 | #define IWineD3DBase_Release(This) (This)->lpVtbl->Release(This)
|
---|
2913 | /*** IWineD3DBase methods ***/
|
---|
2914 | #define IWineD3DBase_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
2915 | #endif
|
---|
2916 |
|
---|
2917 | #endif
|
---|
2918 |
|
---|
2919 | HRESULT STDMETHODCALLTYPE IWineD3DBase_GetParent_Proxy(
|
---|
2920 | IWineD3DBase* This,
|
---|
2921 | IUnknown **parent);
|
---|
2922 | void __RPC_STUB IWineD3DBase_GetParent_Stub(
|
---|
2923 | IRpcStubBuffer* This,
|
---|
2924 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
2925 | PRPC_MESSAGE pRpcMessage,
|
---|
2926 | DWORD* pdwStubPhase);
|
---|
2927 |
|
---|
2928 | #endif /* __IWineD3DBase_INTERFACE_DEFINED__ */
|
---|
2929 |
|
---|
2930 | /*****************************************************************************
|
---|
2931 | * IWineD3D interface
|
---|
2932 | */
|
---|
2933 | #ifndef __IWineD3D_INTERFACE_DEFINED__
|
---|
2934 | #define __IWineD3D_INTERFACE_DEFINED__
|
---|
2935 |
|
---|
2936 | DEFINE_GUID(IID_IWineD3D, 0x108f9c44, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
2937 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
2938 | interface IWineD3D : public IWineD3DBase
|
---|
2939 | {
|
---|
2940 | virtual UINT STDMETHODCALLTYPE GetAdapterCount(
|
---|
2941 | ) = 0;
|
---|
2942 |
|
---|
2943 | virtual HRESULT STDMETHODCALLTYPE RegisterSoftwareDevice(
|
---|
2944 | void *pInitializeFunction) = 0;
|
---|
2945 |
|
---|
2946 | virtual HMONITOR STDMETHODCALLTYPE GetAdapterMonitor(
|
---|
2947 | UINT adapter_idx) = 0;
|
---|
2948 |
|
---|
2949 | virtual UINT STDMETHODCALLTYPE GetAdapterModeCount(
|
---|
2950 | UINT adapter_idx,
|
---|
2951 | WINED3DFORMAT format) = 0;
|
---|
2952 |
|
---|
2953 | virtual HRESULT STDMETHODCALLTYPE EnumAdapterModes(
|
---|
2954 | UINT adapter_idx,
|
---|
2955 | WINED3DFORMAT format,
|
---|
2956 | UINT mode_idx,
|
---|
2957 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
2958 |
|
---|
2959 | virtual HRESULT STDMETHODCALLTYPE GetAdapterDisplayMode(
|
---|
2960 | UINT adapter_idx,
|
---|
2961 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
2962 |
|
---|
2963 | virtual HRESULT STDMETHODCALLTYPE GetAdapterIdentifier(
|
---|
2964 | UINT adapter_idx,
|
---|
2965 | DWORD flags,
|
---|
2966 | WINED3DADAPTER_IDENTIFIER *identifier) = 0;
|
---|
2967 |
|
---|
2968 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceMultiSampleType(
|
---|
2969 | UINT adapter_idx,
|
---|
2970 | WINED3DDEVTYPE device_type,
|
---|
2971 | WINED3DFORMAT surface_format,
|
---|
2972 | BOOL windowed,
|
---|
2973 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
2974 | DWORD *quality_levels) = 0;
|
---|
2975 |
|
---|
2976 | virtual HRESULT STDMETHODCALLTYPE CheckDepthStencilMatch(
|
---|
2977 | UINT adapter_idx,
|
---|
2978 | WINED3DDEVTYPE device_type,
|
---|
2979 | WINED3DFORMAT adapter_format,
|
---|
2980 | WINED3DFORMAT render_target_format,
|
---|
2981 | WINED3DFORMAT depth_stencil_format) = 0;
|
---|
2982 |
|
---|
2983 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceType(
|
---|
2984 | UINT adapter_idx,
|
---|
2985 | WINED3DDEVTYPE device_type,
|
---|
2986 | WINED3DFORMAT display_format,
|
---|
2987 | WINED3DFORMAT backbuffer_format,
|
---|
2988 | BOOL windowed) = 0;
|
---|
2989 |
|
---|
2990 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceFormat(
|
---|
2991 | UINT adaper_idx,
|
---|
2992 | WINED3DDEVTYPE device_type,
|
---|
2993 | WINED3DFORMAT adapter_format,
|
---|
2994 | DWORD usage,
|
---|
2995 | WINED3DRESOURCETYPE resource_type,
|
---|
2996 | WINED3DFORMAT check_format,
|
---|
2997 | WINED3DSURFTYPE surface_type) = 0;
|
---|
2998 |
|
---|
2999 | virtual HRESULT STDMETHODCALLTYPE CheckDeviceFormatConversion(
|
---|
3000 | UINT adapter_idx,
|
---|
3001 | WINED3DDEVTYPE device_type,
|
---|
3002 | WINED3DFORMAT source_format,
|
---|
3003 | WINED3DFORMAT target_format) = 0;
|
---|
3004 |
|
---|
3005 | virtual HRESULT STDMETHODCALLTYPE GetDeviceCaps(
|
---|
3006 | UINT adapter_idx,
|
---|
3007 | WINED3DDEVTYPE device_type,
|
---|
3008 | WINED3DCAPS *caps) = 0;
|
---|
3009 |
|
---|
3010 | virtual HRESULT STDMETHODCALLTYPE CreateDevice(
|
---|
3011 | UINT adapter_idx,
|
---|
3012 | WINED3DDEVTYPE device_type,
|
---|
3013 | HWND focus_window,
|
---|
3014 | DWORD behaviour_flags,
|
---|
3015 | IUnknown *parent,
|
---|
3016 | IWineD3DDeviceParent *device_parent,
|
---|
3017 | IWineD3DDevice **device) = 0;
|
---|
3018 |
|
---|
3019 | };
|
---|
3020 | #else
|
---|
3021 | typedef struct IWineD3DVtbl {
|
---|
3022 | BEGIN_INTERFACE
|
---|
3023 |
|
---|
3024 | /*** IUnknown methods ***/
|
---|
3025 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3026 | IWineD3D* This,
|
---|
3027 | REFIID riid,
|
---|
3028 | void **ppvObject);
|
---|
3029 |
|
---|
3030 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3031 | IWineD3D* This);
|
---|
3032 |
|
---|
3033 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3034 | IWineD3D* This);
|
---|
3035 |
|
---|
3036 | /*** IWineD3DBase methods ***/
|
---|
3037 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3038 | IWineD3D* This,
|
---|
3039 | IUnknown **parent);
|
---|
3040 |
|
---|
3041 | /*** IWineD3D methods ***/
|
---|
3042 | UINT (STDMETHODCALLTYPE *GetAdapterCount)(
|
---|
3043 | IWineD3D* This);
|
---|
3044 |
|
---|
3045 | HRESULT (STDMETHODCALLTYPE *RegisterSoftwareDevice)(
|
---|
3046 | IWineD3D* This,
|
---|
3047 | void *pInitializeFunction);
|
---|
3048 |
|
---|
3049 | HMONITOR (STDMETHODCALLTYPE *GetAdapterMonitor)(
|
---|
3050 | IWineD3D* This,
|
---|
3051 | UINT adapter_idx);
|
---|
3052 |
|
---|
3053 | UINT (STDMETHODCALLTYPE *GetAdapterModeCount)(
|
---|
3054 | IWineD3D* This,
|
---|
3055 | UINT adapter_idx,
|
---|
3056 | WINED3DFORMAT format);
|
---|
3057 |
|
---|
3058 | HRESULT (STDMETHODCALLTYPE *EnumAdapterModes)(
|
---|
3059 | IWineD3D* This,
|
---|
3060 | UINT adapter_idx,
|
---|
3061 | WINED3DFORMAT format,
|
---|
3062 | UINT mode_idx,
|
---|
3063 | WINED3DDISPLAYMODE *mode);
|
---|
3064 |
|
---|
3065 | HRESULT (STDMETHODCALLTYPE *GetAdapterDisplayMode)(
|
---|
3066 | IWineD3D* This,
|
---|
3067 | UINT adapter_idx,
|
---|
3068 | WINED3DDISPLAYMODE *mode);
|
---|
3069 |
|
---|
3070 | HRESULT (STDMETHODCALLTYPE *GetAdapterIdentifier)(
|
---|
3071 | IWineD3D* This,
|
---|
3072 | UINT adapter_idx,
|
---|
3073 | DWORD flags,
|
---|
3074 | WINED3DADAPTER_IDENTIFIER *identifier);
|
---|
3075 |
|
---|
3076 | HRESULT (STDMETHODCALLTYPE *CheckDeviceMultiSampleType)(
|
---|
3077 | IWineD3D* This,
|
---|
3078 | UINT adapter_idx,
|
---|
3079 | WINED3DDEVTYPE device_type,
|
---|
3080 | WINED3DFORMAT surface_format,
|
---|
3081 | BOOL windowed,
|
---|
3082 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
3083 | DWORD *quality_levels);
|
---|
3084 |
|
---|
3085 | HRESULT (STDMETHODCALLTYPE *CheckDepthStencilMatch)(
|
---|
3086 | IWineD3D* This,
|
---|
3087 | UINT adapter_idx,
|
---|
3088 | WINED3DDEVTYPE device_type,
|
---|
3089 | WINED3DFORMAT adapter_format,
|
---|
3090 | WINED3DFORMAT render_target_format,
|
---|
3091 | WINED3DFORMAT depth_stencil_format);
|
---|
3092 |
|
---|
3093 | HRESULT (STDMETHODCALLTYPE *CheckDeviceType)(
|
---|
3094 | IWineD3D* This,
|
---|
3095 | UINT adapter_idx,
|
---|
3096 | WINED3DDEVTYPE device_type,
|
---|
3097 | WINED3DFORMAT display_format,
|
---|
3098 | WINED3DFORMAT backbuffer_format,
|
---|
3099 | BOOL windowed);
|
---|
3100 |
|
---|
3101 | HRESULT (STDMETHODCALLTYPE *CheckDeviceFormat)(
|
---|
3102 | IWineD3D* This,
|
---|
3103 | UINT adaper_idx,
|
---|
3104 | WINED3DDEVTYPE device_type,
|
---|
3105 | WINED3DFORMAT adapter_format,
|
---|
3106 | DWORD usage,
|
---|
3107 | WINED3DRESOURCETYPE resource_type,
|
---|
3108 | WINED3DFORMAT check_format,
|
---|
3109 | WINED3DSURFTYPE surface_type);
|
---|
3110 |
|
---|
3111 | HRESULT (STDMETHODCALLTYPE *CheckDeviceFormatConversion)(
|
---|
3112 | IWineD3D* This,
|
---|
3113 | UINT adapter_idx,
|
---|
3114 | WINED3DDEVTYPE device_type,
|
---|
3115 | WINED3DFORMAT source_format,
|
---|
3116 | WINED3DFORMAT target_format);
|
---|
3117 |
|
---|
3118 | HRESULT (STDMETHODCALLTYPE *GetDeviceCaps)(
|
---|
3119 | IWineD3D* This,
|
---|
3120 | UINT adapter_idx,
|
---|
3121 | WINED3DDEVTYPE device_type,
|
---|
3122 | WINED3DCAPS *caps);
|
---|
3123 |
|
---|
3124 | HRESULT (STDMETHODCALLTYPE *CreateDevice)(
|
---|
3125 | IWineD3D* This,
|
---|
3126 | UINT adapter_idx,
|
---|
3127 | WINED3DDEVTYPE device_type,
|
---|
3128 | HWND focus_window,
|
---|
3129 | DWORD behaviour_flags,
|
---|
3130 | IUnknown *parent,
|
---|
3131 | IWineD3DDeviceParent *device_parent,
|
---|
3132 | IWineD3DDevice **device);
|
---|
3133 |
|
---|
3134 | END_INTERFACE
|
---|
3135 | } IWineD3DVtbl;
|
---|
3136 | interface IWineD3D {
|
---|
3137 | CONST_VTBL IWineD3DVtbl* lpVtbl;
|
---|
3138 | };
|
---|
3139 |
|
---|
3140 | #ifdef COBJMACROS
|
---|
3141 | /*** IUnknown methods ***/
|
---|
3142 | #define IWineD3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3143 | #define IWineD3D_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3144 | #define IWineD3D_Release(This) (This)->lpVtbl->Release(This)
|
---|
3145 | /*** IWineD3DBase methods ***/
|
---|
3146 | #define IWineD3D_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3147 | /*** IWineD3D methods ***/
|
---|
3148 | #define IWineD3D_GetAdapterCount(This) (This)->lpVtbl->GetAdapterCount(This)
|
---|
3149 | #define IWineD3D_RegisterSoftwareDevice(This,pInitializeFunction) (This)->lpVtbl->RegisterSoftwareDevice(This,pInitializeFunction)
|
---|
3150 | #define IWineD3D_GetAdapterMonitor(This,adapter_idx) (This)->lpVtbl->GetAdapterMonitor(This,adapter_idx)
|
---|
3151 | #define IWineD3D_GetAdapterModeCount(This,adapter_idx,format) (This)->lpVtbl->GetAdapterModeCount(This,adapter_idx,format)
|
---|
3152 | #define IWineD3D_EnumAdapterModes(This,adapter_idx,format,mode_idx,mode) (This)->lpVtbl->EnumAdapterModes(This,adapter_idx,format,mode_idx,mode)
|
---|
3153 | #define IWineD3D_GetAdapterDisplayMode(This,adapter_idx,mode) (This)->lpVtbl->GetAdapterDisplayMode(This,adapter_idx,mode)
|
---|
3154 | #define IWineD3D_GetAdapterIdentifier(This,adapter_idx,flags,identifier) (This)->lpVtbl->GetAdapterIdentifier(This,adapter_idx,flags,identifier)
|
---|
3155 | #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)
|
---|
3156 | #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)
|
---|
3157 | #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)
|
---|
3158 | #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)
|
---|
3159 | #define IWineD3D_CheckDeviceFormatConversion(This,adapter_idx,device_type,source_format,target_format) (This)->lpVtbl->CheckDeviceFormatConversion(This,adapter_idx,device_type,source_format,target_format)
|
---|
3160 | #define IWineD3D_GetDeviceCaps(This,adapter_idx,device_type,caps) (This)->lpVtbl->GetDeviceCaps(This,adapter_idx,device_type,caps)
|
---|
3161 | #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)
|
---|
3162 | #endif
|
---|
3163 |
|
---|
3164 | #endif
|
---|
3165 |
|
---|
3166 | UINT STDMETHODCALLTYPE IWineD3D_GetAdapterCount_Proxy(
|
---|
3167 | IWineD3D* This);
|
---|
3168 | void __RPC_STUB IWineD3D_GetAdapterCount_Stub(
|
---|
3169 | IRpcStubBuffer* This,
|
---|
3170 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3171 | PRPC_MESSAGE pRpcMessage,
|
---|
3172 | DWORD* pdwStubPhase);
|
---|
3173 | HRESULT STDMETHODCALLTYPE IWineD3D_RegisterSoftwareDevice_Proxy(
|
---|
3174 | IWineD3D* This,
|
---|
3175 | void *pInitializeFunction);
|
---|
3176 | void __RPC_STUB IWineD3D_RegisterSoftwareDevice_Stub(
|
---|
3177 | IRpcStubBuffer* This,
|
---|
3178 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3179 | PRPC_MESSAGE pRpcMessage,
|
---|
3180 | DWORD* pdwStubPhase);
|
---|
3181 | HMONITOR STDMETHODCALLTYPE IWineD3D_GetAdapterMonitor_Proxy(
|
---|
3182 | IWineD3D* This,
|
---|
3183 | UINT adapter_idx);
|
---|
3184 | void __RPC_STUB IWineD3D_GetAdapterMonitor_Stub(
|
---|
3185 | IRpcStubBuffer* This,
|
---|
3186 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3187 | PRPC_MESSAGE pRpcMessage,
|
---|
3188 | DWORD* pdwStubPhase);
|
---|
3189 | UINT STDMETHODCALLTYPE IWineD3D_GetAdapterModeCount_Proxy(
|
---|
3190 | IWineD3D* This,
|
---|
3191 | UINT adapter_idx,
|
---|
3192 | WINED3DFORMAT format);
|
---|
3193 | void __RPC_STUB IWineD3D_GetAdapterModeCount_Stub(
|
---|
3194 | IRpcStubBuffer* This,
|
---|
3195 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3196 | PRPC_MESSAGE pRpcMessage,
|
---|
3197 | DWORD* pdwStubPhase);
|
---|
3198 | HRESULT STDMETHODCALLTYPE IWineD3D_EnumAdapterModes_Proxy(
|
---|
3199 | IWineD3D* This,
|
---|
3200 | UINT adapter_idx,
|
---|
3201 | WINED3DFORMAT format,
|
---|
3202 | UINT mode_idx,
|
---|
3203 | WINED3DDISPLAYMODE *mode);
|
---|
3204 | void __RPC_STUB IWineD3D_EnumAdapterModes_Stub(
|
---|
3205 | IRpcStubBuffer* This,
|
---|
3206 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3207 | PRPC_MESSAGE pRpcMessage,
|
---|
3208 | DWORD* pdwStubPhase);
|
---|
3209 | HRESULT STDMETHODCALLTYPE IWineD3D_GetAdapterDisplayMode_Proxy(
|
---|
3210 | IWineD3D* This,
|
---|
3211 | UINT adapter_idx,
|
---|
3212 | WINED3DDISPLAYMODE *mode);
|
---|
3213 | void __RPC_STUB IWineD3D_GetAdapterDisplayMode_Stub(
|
---|
3214 | IRpcStubBuffer* This,
|
---|
3215 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3216 | PRPC_MESSAGE pRpcMessage,
|
---|
3217 | DWORD* pdwStubPhase);
|
---|
3218 | HRESULT STDMETHODCALLTYPE IWineD3D_GetAdapterIdentifier_Proxy(
|
---|
3219 | IWineD3D* This,
|
---|
3220 | UINT adapter_idx,
|
---|
3221 | DWORD flags,
|
---|
3222 | WINED3DADAPTER_IDENTIFIER *identifier);
|
---|
3223 | void __RPC_STUB IWineD3D_GetAdapterIdentifier_Stub(
|
---|
3224 | IRpcStubBuffer* This,
|
---|
3225 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3226 | PRPC_MESSAGE pRpcMessage,
|
---|
3227 | DWORD* pdwStubPhase);
|
---|
3228 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceMultiSampleType_Proxy(
|
---|
3229 | IWineD3D* This,
|
---|
3230 | UINT adapter_idx,
|
---|
3231 | WINED3DDEVTYPE device_type,
|
---|
3232 | WINED3DFORMAT surface_format,
|
---|
3233 | BOOL windowed,
|
---|
3234 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
3235 | DWORD *quality_levels);
|
---|
3236 | void __RPC_STUB IWineD3D_CheckDeviceMultiSampleType_Stub(
|
---|
3237 | IRpcStubBuffer* This,
|
---|
3238 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3239 | PRPC_MESSAGE pRpcMessage,
|
---|
3240 | DWORD* pdwStubPhase);
|
---|
3241 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDepthStencilMatch_Proxy(
|
---|
3242 | IWineD3D* This,
|
---|
3243 | UINT adapter_idx,
|
---|
3244 | WINED3DDEVTYPE device_type,
|
---|
3245 | WINED3DFORMAT adapter_format,
|
---|
3246 | WINED3DFORMAT render_target_format,
|
---|
3247 | WINED3DFORMAT depth_stencil_format);
|
---|
3248 | void __RPC_STUB IWineD3D_CheckDepthStencilMatch_Stub(
|
---|
3249 | IRpcStubBuffer* This,
|
---|
3250 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3251 | PRPC_MESSAGE pRpcMessage,
|
---|
3252 | DWORD* pdwStubPhase);
|
---|
3253 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceType_Proxy(
|
---|
3254 | IWineD3D* This,
|
---|
3255 | UINT adapter_idx,
|
---|
3256 | WINED3DDEVTYPE device_type,
|
---|
3257 | WINED3DFORMAT display_format,
|
---|
3258 | WINED3DFORMAT backbuffer_format,
|
---|
3259 | BOOL windowed);
|
---|
3260 | void __RPC_STUB IWineD3D_CheckDeviceType_Stub(
|
---|
3261 | IRpcStubBuffer* This,
|
---|
3262 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3263 | PRPC_MESSAGE pRpcMessage,
|
---|
3264 | DWORD* pdwStubPhase);
|
---|
3265 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceFormat_Proxy(
|
---|
3266 | IWineD3D* This,
|
---|
3267 | UINT adaper_idx,
|
---|
3268 | WINED3DDEVTYPE device_type,
|
---|
3269 | WINED3DFORMAT adapter_format,
|
---|
3270 | DWORD usage,
|
---|
3271 | WINED3DRESOURCETYPE resource_type,
|
---|
3272 | WINED3DFORMAT check_format,
|
---|
3273 | WINED3DSURFTYPE surface_type);
|
---|
3274 | void __RPC_STUB IWineD3D_CheckDeviceFormat_Stub(
|
---|
3275 | IRpcStubBuffer* This,
|
---|
3276 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3277 | PRPC_MESSAGE pRpcMessage,
|
---|
3278 | DWORD* pdwStubPhase);
|
---|
3279 | HRESULT STDMETHODCALLTYPE IWineD3D_CheckDeviceFormatConversion_Proxy(
|
---|
3280 | IWineD3D* This,
|
---|
3281 | UINT adapter_idx,
|
---|
3282 | WINED3DDEVTYPE device_type,
|
---|
3283 | WINED3DFORMAT source_format,
|
---|
3284 | WINED3DFORMAT target_format);
|
---|
3285 | void __RPC_STUB IWineD3D_CheckDeviceFormatConversion_Stub(
|
---|
3286 | IRpcStubBuffer* This,
|
---|
3287 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3288 | PRPC_MESSAGE pRpcMessage,
|
---|
3289 | DWORD* pdwStubPhase);
|
---|
3290 | HRESULT STDMETHODCALLTYPE IWineD3D_GetDeviceCaps_Proxy(
|
---|
3291 | IWineD3D* This,
|
---|
3292 | UINT adapter_idx,
|
---|
3293 | WINED3DDEVTYPE device_type,
|
---|
3294 | WINED3DCAPS *caps);
|
---|
3295 | void __RPC_STUB IWineD3D_GetDeviceCaps_Stub(
|
---|
3296 | IRpcStubBuffer* This,
|
---|
3297 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3298 | PRPC_MESSAGE pRpcMessage,
|
---|
3299 | DWORD* pdwStubPhase);
|
---|
3300 | HRESULT STDMETHODCALLTYPE IWineD3D_CreateDevice_Proxy(
|
---|
3301 | IWineD3D* This,
|
---|
3302 | UINT adapter_idx,
|
---|
3303 | WINED3DDEVTYPE device_type,
|
---|
3304 | HWND focus_window,
|
---|
3305 | DWORD behaviour_flags,
|
---|
3306 | IUnknown *parent,
|
---|
3307 | IWineD3DDeviceParent *device_parent,
|
---|
3308 | IWineD3DDevice **device);
|
---|
3309 | void __RPC_STUB IWineD3D_CreateDevice_Stub(
|
---|
3310 | IRpcStubBuffer* This,
|
---|
3311 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3312 | PRPC_MESSAGE pRpcMessage,
|
---|
3313 | DWORD* pdwStubPhase);
|
---|
3314 |
|
---|
3315 | #endif /* __IWineD3D_INTERFACE_DEFINED__ */
|
---|
3316 |
|
---|
3317 | /*****************************************************************************
|
---|
3318 | * IWineD3DResource interface
|
---|
3319 | */
|
---|
3320 | #ifndef __IWineD3DResource_INTERFACE_DEFINED__
|
---|
3321 | #define __IWineD3DResource_INTERFACE_DEFINED__
|
---|
3322 |
|
---|
3323 | DEFINE_GUID(IID_IWineD3DResource, 0x1f3bfb34, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
3324 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3325 | interface IWineD3DResource : public IWineD3DBase
|
---|
3326 | {
|
---|
3327 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
3328 | IWineD3DDevice **device) = 0;
|
---|
3329 |
|
---|
3330 | virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
|
---|
3331 | REFGUID guid,
|
---|
3332 | const void *data,
|
---|
3333 | DWORD data_size,
|
---|
3334 | DWORD flags) = 0;
|
---|
3335 |
|
---|
3336 | virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
|
---|
3337 | REFGUID guid,
|
---|
3338 | void *data,
|
---|
3339 | DWORD *data_size) = 0;
|
---|
3340 |
|
---|
3341 | virtual HRESULT STDMETHODCALLTYPE FreePrivateData(
|
---|
3342 | REFGUID guid) = 0;
|
---|
3343 |
|
---|
3344 | virtual DWORD STDMETHODCALLTYPE SetPriority(
|
---|
3345 | DWORD new_priority) = 0;
|
---|
3346 |
|
---|
3347 | virtual DWORD STDMETHODCALLTYPE GetPriority(
|
---|
3348 | ) = 0;
|
---|
3349 |
|
---|
3350 | virtual void STDMETHODCALLTYPE PreLoad(
|
---|
3351 | ) = 0;
|
---|
3352 |
|
---|
3353 | virtual void STDMETHODCALLTYPE UnLoad(
|
---|
3354 | ) = 0;
|
---|
3355 |
|
---|
3356 | virtual WINED3DRESOURCETYPE STDMETHODCALLTYPE GetType(
|
---|
3357 | ) = 0;
|
---|
3358 |
|
---|
3359 | };
|
---|
3360 | #else
|
---|
3361 | typedef struct IWineD3DResourceVtbl {
|
---|
3362 | BEGIN_INTERFACE
|
---|
3363 |
|
---|
3364 | /*** IUnknown methods ***/
|
---|
3365 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3366 | IWineD3DResource* This,
|
---|
3367 | REFIID riid,
|
---|
3368 | void **ppvObject);
|
---|
3369 |
|
---|
3370 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3371 | IWineD3DResource* This);
|
---|
3372 |
|
---|
3373 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3374 | IWineD3DResource* This);
|
---|
3375 |
|
---|
3376 | /*** IWineD3DBase methods ***/
|
---|
3377 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3378 | IWineD3DResource* This,
|
---|
3379 | IUnknown **parent);
|
---|
3380 |
|
---|
3381 | /*** IWineD3DResource methods ***/
|
---|
3382 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
3383 | IWineD3DResource* This,
|
---|
3384 | IWineD3DDevice **device);
|
---|
3385 |
|
---|
3386 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
3387 | IWineD3DResource* This,
|
---|
3388 | REFGUID guid,
|
---|
3389 | const void *data,
|
---|
3390 | DWORD data_size,
|
---|
3391 | DWORD flags);
|
---|
3392 |
|
---|
3393 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
3394 | IWineD3DResource* This,
|
---|
3395 | REFGUID guid,
|
---|
3396 | void *data,
|
---|
3397 | DWORD *data_size);
|
---|
3398 |
|
---|
3399 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
3400 | IWineD3DResource* This,
|
---|
3401 | REFGUID guid);
|
---|
3402 |
|
---|
3403 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
3404 | IWineD3DResource* This,
|
---|
3405 | DWORD new_priority);
|
---|
3406 |
|
---|
3407 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
3408 | IWineD3DResource* This);
|
---|
3409 |
|
---|
3410 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
3411 | IWineD3DResource* This);
|
---|
3412 |
|
---|
3413 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
3414 | IWineD3DResource* This);
|
---|
3415 |
|
---|
3416 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
3417 | IWineD3DResource* This);
|
---|
3418 |
|
---|
3419 | END_INTERFACE
|
---|
3420 | } IWineD3DResourceVtbl;
|
---|
3421 | interface IWineD3DResource {
|
---|
3422 | CONST_VTBL IWineD3DResourceVtbl* lpVtbl;
|
---|
3423 | };
|
---|
3424 |
|
---|
3425 | #ifdef COBJMACROS
|
---|
3426 | /*** IUnknown methods ***/
|
---|
3427 | #define IWineD3DResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3428 | #define IWineD3DResource_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3429 | #define IWineD3DResource_Release(This) (This)->lpVtbl->Release(This)
|
---|
3430 | /*** IWineD3DBase methods ***/
|
---|
3431 | #define IWineD3DResource_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3432 | /*** IWineD3DResource methods ***/
|
---|
3433 | #define IWineD3DResource_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
3434 | #define IWineD3DResource_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
3435 | #define IWineD3DResource_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
3436 | #define IWineD3DResource_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
3437 | #define IWineD3DResource_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
3438 | #define IWineD3DResource_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
3439 | #define IWineD3DResource_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
3440 | #define IWineD3DResource_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
3441 | #define IWineD3DResource_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
3442 | #endif
|
---|
3443 |
|
---|
3444 | #endif
|
---|
3445 |
|
---|
3446 | HRESULT STDMETHODCALLTYPE IWineD3DResource_GetDevice_Proxy(
|
---|
3447 | IWineD3DResource* This,
|
---|
3448 | IWineD3DDevice **device);
|
---|
3449 | void __RPC_STUB IWineD3DResource_GetDevice_Stub(
|
---|
3450 | IRpcStubBuffer* This,
|
---|
3451 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3452 | PRPC_MESSAGE pRpcMessage,
|
---|
3453 | DWORD* pdwStubPhase);
|
---|
3454 | HRESULT STDMETHODCALLTYPE IWineD3DResource_SetPrivateData_Proxy(
|
---|
3455 | IWineD3DResource* This,
|
---|
3456 | REFGUID guid,
|
---|
3457 | const void *data,
|
---|
3458 | DWORD data_size,
|
---|
3459 | DWORD flags);
|
---|
3460 | void __RPC_STUB IWineD3DResource_SetPrivateData_Stub(
|
---|
3461 | IRpcStubBuffer* This,
|
---|
3462 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3463 | PRPC_MESSAGE pRpcMessage,
|
---|
3464 | DWORD* pdwStubPhase);
|
---|
3465 | HRESULT STDMETHODCALLTYPE IWineD3DResource_GetPrivateData_Proxy(
|
---|
3466 | IWineD3DResource* This,
|
---|
3467 | REFGUID guid,
|
---|
3468 | void *data,
|
---|
3469 | DWORD *data_size);
|
---|
3470 | void __RPC_STUB IWineD3DResource_GetPrivateData_Stub(
|
---|
3471 | IRpcStubBuffer* This,
|
---|
3472 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3473 | PRPC_MESSAGE pRpcMessage,
|
---|
3474 | DWORD* pdwStubPhase);
|
---|
3475 | HRESULT STDMETHODCALLTYPE IWineD3DResource_FreePrivateData_Proxy(
|
---|
3476 | IWineD3DResource* This,
|
---|
3477 | REFGUID guid);
|
---|
3478 | void __RPC_STUB IWineD3DResource_FreePrivateData_Stub(
|
---|
3479 | IRpcStubBuffer* This,
|
---|
3480 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3481 | PRPC_MESSAGE pRpcMessage,
|
---|
3482 | DWORD* pdwStubPhase);
|
---|
3483 | DWORD STDMETHODCALLTYPE IWineD3DResource_SetPriority_Proxy(
|
---|
3484 | IWineD3DResource* This,
|
---|
3485 | DWORD new_priority);
|
---|
3486 | void __RPC_STUB IWineD3DResource_SetPriority_Stub(
|
---|
3487 | IRpcStubBuffer* This,
|
---|
3488 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3489 | PRPC_MESSAGE pRpcMessage,
|
---|
3490 | DWORD* pdwStubPhase);
|
---|
3491 | DWORD STDMETHODCALLTYPE IWineD3DResource_GetPriority_Proxy(
|
---|
3492 | IWineD3DResource* This);
|
---|
3493 | void __RPC_STUB IWineD3DResource_GetPriority_Stub(
|
---|
3494 | IRpcStubBuffer* This,
|
---|
3495 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3496 | PRPC_MESSAGE pRpcMessage,
|
---|
3497 | DWORD* pdwStubPhase);
|
---|
3498 | void STDMETHODCALLTYPE IWineD3DResource_PreLoad_Proxy(
|
---|
3499 | IWineD3DResource* This);
|
---|
3500 | void __RPC_STUB IWineD3DResource_PreLoad_Stub(
|
---|
3501 | IRpcStubBuffer* This,
|
---|
3502 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3503 | PRPC_MESSAGE pRpcMessage,
|
---|
3504 | DWORD* pdwStubPhase);
|
---|
3505 | void STDMETHODCALLTYPE IWineD3DResource_UnLoad_Proxy(
|
---|
3506 | IWineD3DResource* This);
|
---|
3507 | void __RPC_STUB IWineD3DResource_UnLoad_Stub(
|
---|
3508 | IRpcStubBuffer* This,
|
---|
3509 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3510 | PRPC_MESSAGE pRpcMessage,
|
---|
3511 | DWORD* pdwStubPhase);
|
---|
3512 | WINED3DRESOURCETYPE STDMETHODCALLTYPE IWineD3DResource_GetType_Proxy(
|
---|
3513 | IWineD3DResource* This);
|
---|
3514 | void __RPC_STUB IWineD3DResource_GetType_Stub(
|
---|
3515 | IRpcStubBuffer* This,
|
---|
3516 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3517 | PRPC_MESSAGE pRpcMessage,
|
---|
3518 | DWORD* pdwStubPhase);
|
---|
3519 |
|
---|
3520 | #endif /* __IWineD3DResource_INTERFACE_DEFINED__ */
|
---|
3521 |
|
---|
3522 | /*****************************************************************************
|
---|
3523 | * IWineD3DRendertargetView interface
|
---|
3524 | */
|
---|
3525 | #ifndef __IWineD3DRendertargetView_INTERFACE_DEFINED__
|
---|
3526 | #define __IWineD3DRendertargetView_INTERFACE_DEFINED__
|
---|
3527 |
|
---|
3528 | DEFINE_GUID(IID_IWineD3DRendertargetView, 0xf7d8abf4, 0xfb93, 0x43e4, 0x9c,0x96, 0x46,0x18,0xcf,0x9b,0x3c,0xbc);
|
---|
3529 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3530 | interface IWineD3DRendertargetView : public IWineD3DBase
|
---|
3531 | {
|
---|
3532 | virtual HRESULT STDMETHODCALLTYPE GetResource(
|
---|
3533 | IWineD3DResource **resource) = 0;
|
---|
3534 |
|
---|
3535 | };
|
---|
3536 | #else
|
---|
3537 | typedef struct IWineD3DRendertargetViewVtbl {
|
---|
3538 | BEGIN_INTERFACE
|
---|
3539 |
|
---|
3540 | /*** IUnknown methods ***/
|
---|
3541 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3542 | IWineD3DRendertargetView* This,
|
---|
3543 | REFIID riid,
|
---|
3544 | void **ppvObject);
|
---|
3545 |
|
---|
3546 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3547 | IWineD3DRendertargetView* This);
|
---|
3548 |
|
---|
3549 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3550 | IWineD3DRendertargetView* This);
|
---|
3551 |
|
---|
3552 | /*** IWineD3DBase methods ***/
|
---|
3553 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3554 | IWineD3DRendertargetView* This,
|
---|
3555 | IUnknown **parent);
|
---|
3556 |
|
---|
3557 | /*** IWineD3DRendertargetView methods ***/
|
---|
3558 | HRESULT (STDMETHODCALLTYPE *GetResource)(
|
---|
3559 | IWineD3DRendertargetView* This,
|
---|
3560 | IWineD3DResource **resource);
|
---|
3561 |
|
---|
3562 | END_INTERFACE
|
---|
3563 | } IWineD3DRendertargetViewVtbl;
|
---|
3564 | interface IWineD3DRendertargetView {
|
---|
3565 | CONST_VTBL IWineD3DRendertargetViewVtbl* lpVtbl;
|
---|
3566 | };
|
---|
3567 |
|
---|
3568 | #ifdef COBJMACROS
|
---|
3569 | /*** IUnknown methods ***/
|
---|
3570 | #define IWineD3DRendertargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3571 | #define IWineD3DRendertargetView_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3572 | #define IWineD3DRendertargetView_Release(This) (This)->lpVtbl->Release(This)
|
---|
3573 | /*** IWineD3DBase methods ***/
|
---|
3574 | #define IWineD3DRendertargetView_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3575 | /*** IWineD3DRendertargetView methods ***/
|
---|
3576 | #define IWineD3DRendertargetView_GetResource(This,resource) (This)->lpVtbl->GetResource(This,resource)
|
---|
3577 | #endif
|
---|
3578 |
|
---|
3579 | #endif
|
---|
3580 |
|
---|
3581 | HRESULT STDMETHODCALLTYPE IWineD3DRendertargetView_GetResource_Proxy(
|
---|
3582 | IWineD3DRendertargetView* This,
|
---|
3583 | IWineD3DResource **resource);
|
---|
3584 | void __RPC_STUB IWineD3DRendertargetView_GetResource_Stub(
|
---|
3585 | IRpcStubBuffer* This,
|
---|
3586 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3587 | PRPC_MESSAGE pRpcMessage,
|
---|
3588 | DWORD* pdwStubPhase);
|
---|
3589 |
|
---|
3590 | #endif /* __IWineD3DRendertargetView_INTERFACE_DEFINED__ */
|
---|
3591 |
|
---|
3592 | /*****************************************************************************
|
---|
3593 | * IWineD3DPalette interface
|
---|
3594 | */
|
---|
3595 | #ifndef __IWineD3DPalette_INTERFACE_DEFINED__
|
---|
3596 | #define __IWineD3DPalette_INTERFACE_DEFINED__
|
---|
3597 |
|
---|
3598 | DEFINE_GUID(IID_IWineD3DPalette, 0xf756720c, 0x32b9, 0x4439, 0xb5,0xa3, 0x1d,0x6c,0x97,0x03,0x7d,0x9e);
|
---|
3599 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3600 | interface IWineD3DPalette : public IWineD3DBase
|
---|
3601 | {
|
---|
3602 | virtual HRESULT STDMETHODCALLTYPE GetEntries(
|
---|
3603 | DWORD flags,
|
---|
3604 | DWORD start,
|
---|
3605 | DWORD count,
|
---|
3606 | PALETTEENTRY *entries) = 0;
|
---|
3607 |
|
---|
3608 | virtual HRESULT STDMETHODCALLTYPE GetCaps(
|
---|
3609 | DWORD *caps) = 0;
|
---|
3610 |
|
---|
3611 | virtual HRESULT STDMETHODCALLTYPE SetEntries(
|
---|
3612 | DWORD flags,
|
---|
3613 | DWORD start,
|
---|
3614 | DWORD count,
|
---|
3615 | const PALETTEENTRY *entries) = 0;
|
---|
3616 |
|
---|
3617 | };
|
---|
3618 | #else
|
---|
3619 | typedef struct IWineD3DPaletteVtbl {
|
---|
3620 | BEGIN_INTERFACE
|
---|
3621 |
|
---|
3622 | /*** IUnknown methods ***/
|
---|
3623 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3624 | IWineD3DPalette* This,
|
---|
3625 | REFIID riid,
|
---|
3626 | void **ppvObject);
|
---|
3627 |
|
---|
3628 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3629 | IWineD3DPalette* This);
|
---|
3630 |
|
---|
3631 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3632 | IWineD3DPalette* This);
|
---|
3633 |
|
---|
3634 | /*** IWineD3DBase methods ***/
|
---|
3635 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3636 | IWineD3DPalette* This,
|
---|
3637 | IUnknown **parent);
|
---|
3638 |
|
---|
3639 | /*** IWineD3DPalette methods ***/
|
---|
3640 | HRESULT (STDMETHODCALLTYPE *GetEntries)(
|
---|
3641 | IWineD3DPalette* This,
|
---|
3642 | DWORD flags,
|
---|
3643 | DWORD start,
|
---|
3644 | DWORD count,
|
---|
3645 | PALETTEENTRY *entries);
|
---|
3646 |
|
---|
3647 | HRESULT (STDMETHODCALLTYPE *GetCaps)(
|
---|
3648 | IWineD3DPalette* This,
|
---|
3649 | DWORD *caps);
|
---|
3650 |
|
---|
3651 | HRESULT (STDMETHODCALLTYPE *SetEntries)(
|
---|
3652 | IWineD3DPalette* This,
|
---|
3653 | DWORD flags,
|
---|
3654 | DWORD start,
|
---|
3655 | DWORD count,
|
---|
3656 | const PALETTEENTRY *entries);
|
---|
3657 |
|
---|
3658 | END_INTERFACE
|
---|
3659 | } IWineD3DPaletteVtbl;
|
---|
3660 | interface IWineD3DPalette {
|
---|
3661 | CONST_VTBL IWineD3DPaletteVtbl* lpVtbl;
|
---|
3662 | };
|
---|
3663 |
|
---|
3664 | #ifdef COBJMACROS
|
---|
3665 | /*** IUnknown methods ***/
|
---|
3666 | #define IWineD3DPalette_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3667 | #define IWineD3DPalette_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3668 | #define IWineD3DPalette_Release(This) (This)->lpVtbl->Release(This)
|
---|
3669 | /*** IWineD3DBase methods ***/
|
---|
3670 | #define IWineD3DPalette_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3671 | /*** IWineD3DPalette methods ***/
|
---|
3672 | #define IWineD3DPalette_GetEntries(This,flags,start,count,entries) (This)->lpVtbl->GetEntries(This,flags,start,count,entries)
|
---|
3673 | #define IWineD3DPalette_GetCaps(This,caps) (This)->lpVtbl->GetCaps(This,caps)
|
---|
3674 | #define IWineD3DPalette_SetEntries(This,flags,start,count,entries) (This)->lpVtbl->SetEntries(This,flags,start,count,entries)
|
---|
3675 | #endif
|
---|
3676 |
|
---|
3677 | #endif
|
---|
3678 |
|
---|
3679 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_GetEntries_Proxy(
|
---|
3680 | IWineD3DPalette* This,
|
---|
3681 | DWORD flags,
|
---|
3682 | DWORD start,
|
---|
3683 | DWORD count,
|
---|
3684 | PALETTEENTRY *entries);
|
---|
3685 | void __RPC_STUB IWineD3DPalette_GetEntries_Stub(
|
---|
3686 | IRpcStubBuffer* This,
|
---|
3687 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3688 | PRPC_MESSAGE pRpcMessage,
|
---|
3689 | DWORD* pdwStubPhase);
|
---|
3690 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_GetCaps_Proxy(
|
---|
3691 | IWineD3DPalette* This,
|
---|
3692 | DWORD *caps);
|
---|
3693 | void __RPC_STUB IWineD3DPalette_GetCaps_Stub(
|
---|
3694 | IRpcStubBuffer* This,
|
---|
3695 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3696 | PRPC_MESSAGE pRpcMessage,
|
---|
3697 | DWORD* pdwStubPhase);
|
---|
3698 | HRESULT STDMETHODCALLTYPE IWineD3DPalette_SetEntries_Proxy(
|
---|
3699 | IWineD3DPalette* This,
|
---|
3700 | DWORD flags,
|
---|
3701 | DWORD start,
|
---|
3702 | DWORD count,
|
---|
3703 | const PALETTEENTRY *entries);
|
---|
3704 | void __RPC_STUB IWineD3DPalette_SetEntries_Stub(
|
---|
3705 | IRpcStubBuffer* This,
|
---|
3706 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3707 | PRPC_MESSAGE pRpcMessage,
|
---|
3708 | DWORD* pdwStubPhase);
|
---|
3709 |
|
---|
3710 | #endif /* __IWineD3DPalette_INTERFACE_DEFINED__ */
|
---|
3711 |
|
---|
3712 | /*****************************************************************************
|
---|
3713 | * IWineD3DClipper interface
|
---|
3714 | */
|
---|
3715 | #ifndef __IWineD3DClipper_INTERFACE_DEFINED__
|
---|
3716 | #define __IWineD3DClipper_INTERFACE_DEFINED__
|
---|
3717 |
|
---|
3718 | DEFINE_GUID(IID_IWineD3DClipper, 0x8f2bceb1, 0xd338, 0x488c, 0xab,0x7f, 0x0e,0xc9,0x80,0xbf,0x5d,0x2d);
|
---|
3719 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3720 | interface IWineD3DClipper : public IWineD3DBase
|
---|
3721 | {
|
---|
3722 | virtual HRESULT STDMETHODCALLTYPE GetClipList(
|
---|
3723 | const RECT *rect,
|
---|
3724 | RGNDATA *clip_list,
|
---|
3725 | DWORD *clip_list_size) = 0;
|
---|
3726 |
|
---|
3727 | virtual HRESULT STDMETHODCALLTYPE GetHWnd(
|
---|
3728 | HWND *hwnd) = 0;
|
---|
3729 |
|
---|
3730 | virtual HRESULT STDMETHODCALLTYPE IsClipListChanged(
|
---|
3731 | BOOL *changed) = 0;
|
---|
3732 |
|
---|
3733 | virtual HRESULT STDMETHODCALLTYPE SetClipList(
|
---|
3734 | const RGNDATA *clip_list,
|
---|
3735 | DWORD flags) = 0;
|
---|
3736 |
|
---|
3737 | virtual HRESULT STDMETHODCALLTYPE SetHWnd(
|
---|
3738 | DWORD flags,
|
---|
3739 | HWND hwnd) = 0;
|
---|
3740 |
|
---|
3741 | };
|
---|
3742 | #else
|
---|
3743 | typedef struct IWineD3DClipperVtbl {
|
---|
3744 | BEGIN_INTERFACE
|
---|
3745 |
|
---|
3746 | /*** IUnknown methods ***/
|
---|
3747 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
3748 | IWineD3DClipper* This,
|
---|
3749 | REFIID riid,
|
---|
3750 | void **ppvObject);
|
---|
3751 |
|
---|
3752 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
3753 | IWineD3DClipper* This);
|
---|
3754 |
|
---|
3755 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
3756 | IWineD3DClipper* This);
|
---|
3757 |
|
---|
3758 | /*** IWineD3DBase methods ***/
|
---|
3759 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
3760 | IWineD3DClipper* This,
|
---|
3761 | IUnknown **parent);
|
---|
3762 |
|
---|
3763 | /*** IWineD3DClipper methods ***/
|
---|
3764 | HRESULT (STDMETHODCALLTYPE *GetClipList)(
|
---|
3765 | IWineD3DClipper* This,
|
---|
3766 | const RECT *rect,
|
---|
3767 | RGNDATA *clip_list,
|
---|
3768 | DWORD *clip_list_size);
|
---|
3769 |
|
---|
3770 | HRESULT (STDMETHODCALLTYPE *GetHWnd)(
|
---|
3771 | IWineD3DClipper* This,
|
---|
3772 | HWND *hwnd);
|
---|
3773 |
|
---|
3774 | HRESULT (STDMETHODCALLTYPE *IsClipListChanged)(
|
---|
3775 | IWineD3DClipper* This,
|
---|
3776 | BOOL *changed);
|
---|
3777 |
|
---|
3778 | HRESULT (STDMETHODCALLTYPE *SetClipList)(
|
---|
3779 | IWineD3DClipper* This,
|
---|
3780 | const RGNDATA *clip_list,
|
---|
3781 | DWORD flags);
|
---|
3782 |
|
---|
3783 | HRESULT (STDMETHODCALLTYPE *SetHWnd)(
|
---|
3784 | IWineD3DClipper* This,
|
---|
3785 | DWORD flags,
|
---|
3786 | HWND hwnd);
|
---|
3787 |
|
---|
3788 | END_INTERFACE
|
---|
3789 | } IWineD3DClipperVtbl;
|
---|
3790 | interface IWineD3DClipper {
|
---|
3791 | CONST_VTBL IWineD3DClipperVtbl* lpVtbl;
|
---|
3792 | };
|
---|
3793 |
|
---|
3794 | #ifdef COBJMACROS
|
---|
3795 | /*** IUnknown methods ***/
|
---|
3796 | #define IWineD3DClipper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
3797 | #define IWineD3DClipper_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
3798 | #define IWineD3DClipper_Release(This) (This)->lpVtbl->Release(This)
|
---|
3799 | /*** IWineD3DBase methods ***/
|
---|
3800 | #define IWineD3DClipper_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
3801 | /*** IWineD3DClipper methods ***/
|
---|
3802 | #define IWineD3DClipper_GetClipList(This,rect,clip_list,clip_list_size) (This)->lpVtbl->GetClipList(This,rect,clip_list,clip_list_size)
|
---|
3803 | #define IWineD3DClipper_GetHWnd(This,hwnd) (This)->lpVtbl->GetHWnd(This,hwnd)
|
---|
3804 | #define IWineD3DClipper_IsClipListChanged(This,changed) (This)->lpVtbl->IsClipListChanged(This,changed)
|
---|
3805 | #define IWineD3DClipper_SetClipList(This,clip_list,flags) (This)->lpVtbl->SetClipList(This,clip_list,flags)
|
---|
3806 | #define IWineD3DClipper_SetHWnd(This,flags,hwnd) (This)->lpVtbl->SetHWnd(This,flags,hwnd)
|
---|
3807 | #endif
|
---|
3808 |
|
---|
3809 | #endif
|
---|
3810 |
|
---|
3811 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_GetClipList_Proxy(
|
---|
3812 | IWineD3DClipper* This,
|
---|
3813 | const RECT *rect,
|
---|
3814 | RGNDATA *clip_list,
|
---|
3815 | DWORD *clip_list_size);
|
---|
3816 | void __RPC_STUB IWineD3DClipper_GetClipList_Stub(
|
---|
3817 | IRpcStubBuffer* This,
|
---|
3818 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3819 | PRPC_MESSAGE pRpcMessage,
|
---|
3820 | DWORD* pdwStubPhase);
|
---|
3821 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_GetHWnd_Proxy(
|
---|
3822 | IWineD3DClipper* This,
|
---|
3823 | HWND *hwnd);
|
---|
3824 | void __RPC_STUB IWineD3DClipper_GetHWnd_Stub(
|
---|
3825 | IRpcStubBuffer* This,
|
---|
3826 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3827 | PRPC_MESSAGE pRpcMessage,
|
---|
3828 | DWORD* pdwStubPhase);
|
---|
3829 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_IsClipListChanged_Proxy(
|
---|
3830 | IWineD3DClipper* This,
|
---|
3831 | BOOL *changed);
|
---|
3832 | void __RPC_STUB IWineD3DClipper_IsClipListChanged_Stub(
|
---|
3833 | IRpcStubBuffer* This,
|
---|
3834 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3835 | PRPC_MESSAGE pRpcMessage,
|
---|
3836 | DWORD* pdwStubPhase);
|
---|
3837 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_SetClipList_Proxy(
|
---|
3838 | IWineD3DClipper* This,
|
---|
3839 | const RGNDATA *clip_list,
|
---|
3840 | DWORD flags);
|
---|
3841 | void __RPC_STUB IWineD3DClipper_SetClipList_Stub(
|
---|
3842 | IRpcStubBuffer* This,
|
---|
3843 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3844 | PRPC_MESSAGE pRpcMessage,
|
---|
3845 | DWORD* pdwStubPhase);
|
---|
3846 | HRESULT STDMETHODCALLTYPE IWineD3DClipper_SetHWnd_Proxy(
|
---|
3847 | IWineD3DClipper* This,
|
---|
3848 | DWORD flags,
|
---|
3849 | HWND hwnd);
|
---|
3850 | void __RPC_STUB IWineD3DClipper_SetHWnd_Stub(
|
---|
3851 | IRpcStubBuffer* This,
|
---|
3852 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
3853 | PRPC_MESSAGE pRpcMessage,
|
---|
3854 | DWORD* pdwStubPhase);
|
---|
3855 |
|
---|
3856 | #endif /* __IWineD3DClipper_INTERFACE_DEFINED__ */
|
---|
3857 |
|
---|
3858 | /*****************************************************************************
|
---|
3859 | * IWineD3DSurface interface
|
---|
3860 | */
|
---|
3861 | #ifndef __IWineD3DSurface_INTERFACE_DEFINED__
|
---|
3862 | #define __IWineD3DSurface_INTERFACE_DEFINED__
|
---|
3863 |
|
---|
3864 | DEFINE_GUID(IID_IWineD3DSurface, 0x37cd5526, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
3865 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
3866 | interface IWineD3DSurface : public IWineD3DResource
|
---|
3867 | {
|
---|
3868 | virtual HRESULT STDMETHODCALLTYPE GetContainer(
|
---|
3869 | REFIID riid,
|
---|
3870 | void **container) = 0;
|
---|
3871 |
|
---|
3872 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
3873 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
3874 |
|
---|
3875 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
3876 | WINED3DLOCKED_RECT *locked_rect,
|
---|
3877 | const RECT *rect,
|
---|
3878 | DWORD flags) = 0;
|
---|
3879 |
|
---|
3880 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
3881 | ) = 0;
|
---|
3882 |
|
---|
3883 | virtual HRESULT STDMETHODCALLTYPE GetDC(
|
---|
3884 | HDC *dc) = 0;
|
---|
3885 |
|
---|
3886 | virtual HRESULT STDMETHODCALLTYPE ReleaseDC(
|
---|
3887 | HDC dc) = 0;
|
---|
3888 |
|
---|
3889 | virtual HRESULT STDMETHODCALLTYPE Flip(
|
---|
3890 | IWineD3DSurface *override,
|
---|
3891 | DWORD flags) = 0;
|
---|
3892 |
|
---|
3893 | virtual HRESULT STDMETHODCALLTYPE Blt(
|
---|
3894 | const RECT *dst_rect,
|
---|
3895 | IWineD3DSurface *src_surface,
|
---|
3896 | const RECT *src_rect,
|
---|
3897 | DWORD flags,
|
---|
3898 | const WINEDDBLTFX *blt_fx,
|
---|
3899 | WINED3DTEXTUREFILTERTYPE filter) = 0;
|
---|
3900 |
|
---|
3901 | virtual HRESULT STDMETHODCALLTYPE GetBltStatus(
|
---|
3902 | DWORD flags) = 0;
|
---|
3903 |
|
---|
3904 | virtual HRESULT STDMETHODCALLTYPE GetFlipStatus(
|
---|
3905 | DWORD flags) = 0;
|
---|
3906 |
|
---|
3907 | virtual HRESULT STDMETHODCALLTYPE IsLost(
|
---|
3908 | ) = 0;
|
---|
3909 |
|
---|
3910 | virtual HRESULT STDMETHODCALLTYPE Restore(
|
---|
3911 | ) = 0;
|
---|
3912 |
|
---|
3913 | virtual HRESULT STDMETHODCALLTYPE BltFast(
|
---|
3914 | DWORD dst_x,
|
---|
3915 | DWORD dst_y,
|
---|
3916 | IWineD3DSurface *src_surface,
|
---|
3917 | const RECT *src_rect,
|
---|
3918 | DWORD trans) = 0;
|
---|
3919 |
|
---|
3920 | virtual HRESULT STDMETHODCALLTYPE GetPalette(
|
---|
3921 | IWineD3DPalette **palette) = 0;
|
---|
3922 |
|
---|
3923 | virtual HRESULT STDMETHODCALLTYPE SetPalette(
|
---|
3924 | IWineD3DPalette *palette) = 0;
|
---|
3925 |
|
---|
3926 | virtual HRESULT STDMETHODCALLTYPE RealizePalette(
|
---|
3927 | ) = 0;
|
---|
3928 |
|
---|
3929 | virtual HRESULT STDMETHODCALLTYPE SetColorKey(
|
---|
3930 | DWORD flags,
|
---|
3931 | const WINEDDCOLORKEY *color_key) = 0;
|
---|
3932 |
|
---|
3933 | virtual DWORD STDMETHODCALLTYPE GetPitch(
|
---|
3934 | ) = 0;
|
---|
3935 |
|
---|
3936 | virtual HRESULT STDMETHODCALLTYPE SetMem(
|
---|
3937 | void *mem) = 0;
|
---|
3938 |
|
---|
3939 | virtual HRESULT STDMETHODCALLTYPE SetOverlayPosition(
|
---|
3940 | LONG x,
|
---|
3941 | LONG y) = 0;
|
---|
3942 |
|
---|
3943 | virtual HRESULT STDMETHODCALLTYPE GetOverlayPosition(
|
---|
3944 | LONG *x,
|
---|
3945 | LONG *y) = 0;
|
---|
3946 |
|
---|
3947 | virtual HRESULT STDMETHODCALLTYPE UpdateOverlayZOrder(
|
---|
3948 | DWORD flags,
|
---|
3949 | IWineD3DSurface *ref) = 0;
|
---|
3950 |
|
---|
3951 | virtual HRESULT STDMETHODCALLTYPE UpdateOverlay(
|
---|
3952 | const RECT *src_rect,
|
---|
3953 | IWineD3DSurface *dst_surface,
|
---|
3954 | const RECT *dst_rect,
|
---|
3955 | DWORD flags,
|
---|
3956 | const WINEDDOVERLAYFX *fx) = 0;
|
---|
3957 |
|
---|
3958 | virtual HRESULT STDMETHODCALLTYPE SetClipper(
|
---|
3959 | IWineD3DClipper *clipper) = 0;
|
---|
3960 |
|
---|
3961 | virtual HRESULT STDMETHODCALLTYPE GetClipper(
|
---|
3962 | IWineD3DClipper **clipper) = 0;
|
---|
3963 |
|
---|
3964 | virtual HRESULT STDMETHODCALLTYPE LoadTexture(
|
---|
3965 | BOOL srgb_mode) = 0;
|
---|
3966 |
|
---|
3967 | virtual void STDMETHODCALLTYPE BindTexture(
|
---|
3968 | BOOL srgb) = 0;
|
---|
3969 |
|
---|
3970 | virtual HRESULT STDMETHODCALLTYPE SaveSnapshot(
|
---|
3971 | const char *filename) = 0;
|
---|
3972 |
|
---|
3973 | virtual HRESULT STDMETHODCALLTYPE SetContainer(
|
---|
3974 | IWineD3DBase *container) = 0;
|
---|
3975 |
|
---|
3976 | virtual const void * STDMETHODCALLTYPE GetData(
|
---|
3977 | ) = 0;
|
---|
3978 |
|
---|
3979 | virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
---|
3980 | WINED3DFORMAT format) = 0;
|
---|
3981 |
|
---|
3982 | virtual HRESULT STDMETHODCALLTYPE PrivateSetup(
|
---|
3983 | ) = 0;
|
---|
3984 |
|
---|
3985 | virtual void STDMETHODCALLTYPE ModifyLocation(
|
---|
3986 | DWORD location,
|
---|
3987 | BOOL persistent) = 0;
|
---|
3988 |
|
---|
3989 | virtual HRESULT STDMETHODCALLTYPE LoadLocation(
|
---|
3990 | DWORD location,
|
---|
3991 | const RECT *rect) = 0;
|
---|
3992 |
|
---|
3993 | virtual WINED3DSURFTYPE STDMETHODCALLTYPE GetImplType(
|
---|
3994 | ) = 0;
|
---|
3995 |
|
---|
3996 | virtual HRESULT STDMETHODCALLTYPE DrawOverlay(
|
---|
3997 | ) = 0;
|
---|
3998 |
|
---|
3999 | };
|
---|
4000 | #else
|
---|
4001 | typedef struct IWineD3DSurfaceVtbl {
|
---|
4002 | BEGIN_INTERFACE
|
---|
4003 |
|
---|
4004 | /*** IUnknown methods ***/
|
---|
4005 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4006 | IWineD3DSurface* This,
|
---|
4007 | REFIID riid,
|
---|
4008 | void **ppvObject);
|
---|
4009 |
|
---|
4010 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4011 | IWineD3DSurface* This);
|
---|
4012 |
|
---|
4013 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4014 | IWineD3DSurface* This);
|
---|
4015 |
|
---|
4016 | /*** IWineD3DBase methods ***/
|
---|
4017 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
4018 | IWineD3DSurface* This,
|
---|
4019 | IUnknown **parent);
|
---|
4020 |
|
---|
4021 | /*** IWineD3DResource methods ***/
|
---|
4022 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
4023 | IWineD3DSurface* This,
|
---|
4024 | IWineD3DDevice **device);
|
---|
4025 |
|
---|
4026 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
4027 | IWineD3DSurface* This,
|
---|
4028 | REFGUID guid,
|
---|
4029 | const void *data,
|
---|
4030 | DWORD data_size,
|
---|
4031 | DWORD flags);
|
---|
4032 |
|
---|
4033 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
4034 | IWineD3DSurface* This,
|
---|
4035 | REFGUID guid,
|
---|
4036 | void *data,
|
---|
4037 | DWORD *data_size);
|
---|
4038 |
|
---|
4039 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
4040 | IWineD3DSurface* This,
|
---|
4041 | REFGUID guid);
|
---|
4042 |
|
---|
4043 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4044 | IWineD3DSurface* This,
|
---|
4045 | DWORD new_priority);
|
---|
4046 |
|
---|
4047 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4048 | IWineD3DSurface* This);
|
---|
4049 |
|
---|
4050 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4051 | IWineD3DSurface* This);
|
---|
4052 |
|
---|
4053 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4054 | IWineD3DSurface* This);
|
---|
4055 |
|
---|
4056 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4057 | IWineD3DSurface* This);
|
---|
4058 |
|
---|
4059 | /*** IWineD3DSurface methods ***/
|
---|
4060 | HRESULT (STDMETHODCALLTYPE *GetContainer)(
|
---|
4061 | IWineD3DSurface* This,
|
---|
4062 | REFIID riid,
|
---|
4063 | void **container);
|
---|
4064 |
|
---|
4065 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
4066 | IWineD3DSurface* This,
|
---|
4067 | WINED3DSURFACE_DESC *desc);
|
---|
4068 |
|
---|
4069 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
4070 | IWineD3DSurface* This,
|
---|
4071 | WINED3DLOCKED_RECT *locked_rect,
|
---|
4072 | const RECT *rect,
|
---|
4073 | DWORD flags);
|
---|
4074 |
|
---|
4075 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
4076 | IWineD3DSurface* This);
|
---|
4077 |
|
---|
4078 | HRESULT (STDMETHODCALLTYPE *GetDC)(
|
---|
4079 | IWineD3DSurface* This,
|
---|
4080 | HDC *dc);
|
---|
4081 |
|
---|
4082 | HRESULT (STDMETHODCALLTYPE *ReleaseDC)(
|
---|
4083 | IWineD3DSurface* This,
|
---|
4084 | HDC dc);
|
---|
4085 |
|
---|
4086 | HRESULT (STDMETHODCALLTYPE *Flip)(
|
---|
4087 | IWineD3DSurface* This,
|
---|
4088 | IWineD3DSurface *override,
|
---|
4089 | DWORD flags);
|
---|
4090 |
|
---|
4091 | HRESULT (STDMETHODCALLTYPE *Blt)(
|
---|
4092 | IWineD3DSurface* This,
|
---|
4093 | const RECT *dst_rect,
|
---|
4094 | IWineD3DSurface *src_surface,
|
---|
4095 | const RECT *src_rect,
|
---|
4096 | DWORD flags,
|
---|
4097 | const WINEDDBLTFX *blt_fx,
|
---|
4098 | WINED3DTEXTUREFILTERTYPE filter);
|
---|
4099 |
|
---|
4100 | HRESULT (STDMETHODCALLTYPE *GetBltStatus)(
|
---|
4101 | IWineD3DSurface* This,
|
---|
4102 | DWORD flags);
|
---|
4103 |
|
---|
4104 | HRESULT (STDMETHODCALLTYPE *GetFlipStatus)(
|
---|
4105 | IWineD3DSurface* This,
|
---|
4106 | DWORD flags);
|
---|
4107 |
|
---|
4108 | HRESULT (STDMETHODCALLTYPE *IsLost)(
|
---|
4109 | IWineD3DSurface* This);
|
---|
4110 |
|
---|
4111 | HRESULT (STDMETHODCALLTYPE *Restore)(
|
---|
4112 | IWineD3DSurface* This);
|
---|
4113 |
|
---|
4114 | HRESULT (STDMETHODCALLTYPE *BltFast)(
|
---|
4115 | IWineD3DSurface* This,
|
---|
4116 | DWORD dst_x,
|
---|
4117 | DWORD dst_y,
|
---|
4118 | IWineD3DSurface *src_surface,
|
---|
4119 | const RECT *src_rect,
|
---|
4120 | DWORD trans);
|
---|
4121 |
|
---|
4122 | HRESULT (STDMETHODCALLTYPE *GetPalette)(
|
---|
4123 | IWineD3DSurface* This,
|
---|
4124 | IWineD3DPalette **palette);
|
---|
4125 |
|
---|
4126 | HRESULT (STDMETHODCALLTYPE *SetPalette)(
|
---|
4127 | IWineD3DSurface* This,
|
---|
4128 | IWineD3DPalette *palette);
|
---|
4129 |
|
---|
4130 | HRESULT (STDMETHODCALLTYPE *RealizePalette)(
|
---|
4131 | IWineD3DSurface* This);
|
---|
4132 |
|
---|
4133 | HRESULT (STDMETHODCALLTYPE *SetColorKey)(
|
---|
4134 | IWineD3DSurface* This,
|
---|
4135 | DWORD flags,
|
---|
4136 | const WINEDDCOLORKEY *color_key);
|
---|
4137 |
|
---|
4138 | DWORD (STDMETHODCALLTYPE *GetPitch)(
|
---|
4139 | IWineD3DSurface* This);
|
---|
4140 |
|
---|
4141 | HRESULT (STDMETHODCALLTYPE *SetMem)(
|
---|
4142 | IWineD3DSurface* This,
|
---|
4143 | void *mem);
|
---|
4144 |
|
---|
4145 | HRESULT (STDMETHODCALLTYPE *SetOverlayPosition)(
|
---|
4146 | IWineD3DSurface* This,
|
---|
4147 | LONG x,
|
---|
4148 | LONG y);
|
---|
4149 |
|
---|
4150 | HRESULT (STDMETHODCALLTYPE *GetOverlayPosition)(
|
---|
4151 | IWineD3DSurface* This,
|
---|
4152 | LONG *x,
|
---|
4153 | LONG *y);
|
---|
4154 |
|
---|
4155 | HRESULT (STDMETHODCALLTYPE *UpdateOverlayZOrder)(
|
---|
4156 | IWineD3DSurface* This,
|
---|
4157 | DWORD flags,
|
---|
4158 | IWineD3DSurface *ref);
|
---|
4159 |
|
---|
4160 | HRESULT (STDMETHODCALLTYPE *UpdateOverlay)(
|
---|
4161 | IWineD3DSurface* This,
|
---|
4162 | const RECT *src_rect,
|
---|
4163 | IWineD3DSurface *dst_surface,
|
---|
4164 | const RECT *dst_rect,
|
---|
4165 | DWORD flags,
|
---|
4166 | const WINEDDOVERLAYFX *fx);
|
---|
4167 |
|
---|
4168 | HRESULT (STDMETHODCALLTYPE *SetClipper)(
|
---|
4169 | IWineD3DSurface* This,
|
---|
4170 | IWineD3DClipper *clipper);
|
---|
4171 |
|
---|
4172 | HRESULT (STDMETHODCALLTYPE *GetClipper)(
|
---|
4173 | IWineD3DSurface* This,
|
---|
4174 | IWineD3DClipper **clipper);
|
---|
4175 |
|
---|
4176 | HRESULT (STDMETHODCALLTYPE *LoadTexture)(
|
---|
4177 | IWineD3DSurface* This,
|
---|
4178 | BOOL srgb_mode);
|
---|
4179 |
|
---|
4180 | void (STDMETHODCALLTYPE *BindTexture)(
|
---|
4181 | IWineD3DSurface* This,
|
---|
4182 | BOOL srgb);
|
---|
4183 |
|
---|
4184 | HRESULT (STDMETHODCALLTYPE *SaveSnapshot)(
|
---|
4185 | IWineD3DSurface* This,
|
---|
4186 | const char *filename);
|
---|
4187 |
|
---|
4188 | HRESULT (STDMETHODCALLTYPE *SetContainer)(
|
---|
4189 | IWineD3DSurface* This,
|
---|
4190 | IWineD3DBase *container);
|
---|
4191 |
|
---|
4192 | const void * (STDMETHODCALLTYPE *GetData)(
|
---|
4193 | IWineD3DSurface* This);
|
---|
4194 |
|
---|
4195 | HRESULT (STDMETHODCALLTYPE *SetFormat)(
|
---|
4196 | IWineD3DSurface* This,
|
---|
4197 | WINED3DFORMAT format);
|
---|
4198 |
|
---|
4199 | HRESULT (STDMETHODCALLTYPE *PrivateSetup)(
|
---|
4200 | IWineD3DSurface* This);
|
---|
4201 |
|
---|
4202 | void (STDMETHODCALLTYPE *ModifyLocation)(
|
---|
4203 | IWineD3DSurface* This,
|
---|
4204 | DWORD location,
|
---|
4205 | BOOL persistent);
|
---|
4206 |
|
---|
4207 | HRESULT (STDMETHODCALLTYPE *LoadLocation)(
|
---|
4208 | IWineD3DSurface* This,
|
---|
4209 | DWORD location,
|
---|
4210 | const RECT *rect);
|
---|
4211 |
|
---|
4212 | WINED3DSURFTYPE (STDMETHODCALLTYPE *GetImplType)(
|
---|
4213 | IWineD3DSurface* This);
|
---|
4214 |
|
---|
4215 | HRESULT (STDMETHODCALLTYPE *DrawOverlay)(
|
---|
4216 | IWineD3DSurface* This);
|
---|
4217 |
|
---|
4218 | END_INTERFACE
|
---|
4219 | } IWineD3DSurfaceVtbl;
|
---|
4220 | interface IWineD3DSurface {
|
---|
4221 | CONST_VTBL IWineD3DSurfaceVtbl* lpVtbl;
|
---|
4222 | };
|
---|
4223 |
|
---|
4224 | #ifdef COBJMACROS
|
---|
4225 | /*** IUnknown methods ***/
|
---|
4226 | #define IWineD3DSurface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4227 | #define IWineD3DSurface_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4228 | #define IWineD3DSurface_Release(This) (This)->lpVtbl->Release(This)
|
---|
4229 | /*** IWineD3DBase methods ***/
|
---|
4230 | #define IWineD3DSurface_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4231 | /*** IWineD3DResource methods ***/
|
---|
4232 | #define IWineD3DSurface_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
4233 | #define IWineD3DSurface_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4234 | #define IWineD3DSurface_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4235 | #define IWineD3DSurface_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4236 | #define IWineD3DSurface_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4237 | #define IWineD3DSurface_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4238 | #define IWineD3DSurface_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4239 | #define IWineD3DSurface_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4240 | #define IWineD3DSurface_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4241 | /*** IWineD3DSurface methods ***/
|
---|
4242 | #define IWineD3DSurface_GetContainer(This,riid,container) (This)->lpVtbl->GetContainer(This,riid,container)
|
---|
4243 | #define IWineD3DSurface_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
4244 | #define IWineD3DSurface_LockRect(This,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,locked_rect,rect,flags)
|
---|
4245 | #define IWineD3DSurface_UnlockRect(This) (This)->lpVtbl->UnlockRect(This)
|
---|
4246 | #define IWineD3DSurface_GetDC(This,dc) (This)->lpVtbl->GetDC(This,dc)
|
---|
4247 | #define IWineD3DSurface_ReleaseDC(This,dc) (This)->lpVtbl->ReleaseDC(This,dc)
|
---|
4248 | #define IWineD3DSurface_Flip(This,override,flags) (This)->lpVtbl->Flip(This,override,flags)
|
---|
4249 | #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)
|
---|
4250 | #define IWineD3DSurface_GetBltStatus(This,flags) (This)->lpVtbl->GetBltStatus(This,flags)
|
---|
4251 | #define IWineD3DSurface_GetFlipStatus(This,flags) (This)->lpVtbl->GetFlipStatus(This,flags)
|
---|
4252 | #define IWineD3DSurface_IsLost(This) (This)->lpVtbl->IsLost(This)
|
---|
4253 | #define IWineD3DSurface_Restore(This) (This)->lpVtbl->Restore(This)
|
---|
4254 | #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)
|
---|
4255 | #define IWineD3DSurface_GetPalette(This,palette) (This)->lpVtbl->GetPalette(This,palette)
|
---|
4256 | #define IWineD3DSurface_SetPalette(This,palette) (This)->lpVtbl->SetPalette(This,palette)
|
---|
4257 | #define IWineD3DSurface_RealizePalette(This) (This)->lpVtbl->RealizePalette(This)
|
---|
4258 | #define IWineD3DSurface_SetColorKey(This,flags,color_key) (This)->lpVtbl->SetColorKey(This,flags,color_key)
|
---|
4259 | #define IWineD3DSurface_GetPitch(This) (This)->lpVtbl->GetPitch(This)
|
---|
4260 | #define IWineD3DSurface_SetMem(This,mem) (This)->lpVtbl->SetMem(This,mem)
|
---|
4261 | #define IWineD3DSurface_SetOverlayPosition(This,x,y) (This)->lpVtbl->SetOverlayPosition(This,x,y)
|
---|
4262 | #define IWineD3DSurface_GetOverlayPosition(This,x,y) (This)->lpVtbl->GetOverlayPosition(This,x,y)
|
---|
4263 | #define IWineD3DSurface_UpdateOverlayZOrder(This,flags,ref) (This)->lpVtbl->UpdateOverlayZOrder(This,flags,ref)
|
---|
4264 | #define IWineD3DSurface_UpdateOverlay(This,src_rect,dst_surface,dst_rect,flags,fx) (This)->lpVtbl->UpdateOverlay(This,src_rect,dst_surface,dst_rect,flags,fx)
|
---|
4265 | #define IWineD3DSurface_SetClipper(This,clipper) (This)->lpVtbl->SetClipper(This,clipper)
|
---|
4266 | #define IWineD3DSurface_GetClipper(This,clipper) (This)->lpVtbl->GetClipper(This,clipper)
|
---|
4267 | #define IWineD3DSurface_LoadTexture(This,srgb_mode) (This)->lpVtbl->LoadTexture(This,srgb_mode)
|
---|
4268 | #define IWineD3DSurface_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
4269 | #define IWineD3DSurface_SaveSnapshot(This,filename) (This)->lpVtbl->SaveSnapshot(This,filename)
|
---|
4270 | #define IWineD3DSurface_SetContainer(This,container) (This)->lpVtbl->SetContainer(This,container)
|
---|
4271 | #define IWineD3DSurface_GetData(This) (This)->lpVtbl->GetData(This)
|
---|
4272 | #define IWineD3DSurface_SetFormat(This,format) (This)->lpVtbl->SetFormat(This,format)
|
---|
4273 | #define IWineD3DSurface_PrivateSetup(This) (This)->lpVtbl->PrivateSetup(This)
|
---|
4274 | #define IWineD3DSurface_ModifyLocation(This,location,persistent) (This)->lpVtbl->ModifyLocation(This,location,persistent)
|
---|
4275 | #define IWineD3DSurface_LoadLocation(This,location,rect) (This)->lpVtbl->LoadLocation(This,location,rect)
|
---|
4276 | #define IWineD3DSurface_GetImplType(This) (This)->lpVtbl->GetImplType(This)
|
---|
4277 | #define IWineD3DSurface_DrawOverlay(This) (This)->lpVtbl->DrawOverlay(This)
|
---|
4278 | #endif
|
---|
4279 |
|
---|
4280 | #endif
|
---|
4281 |
|
---|
4282 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetContainer_Proxy(
|
---|
4283 | IWineD3DSurface* This,
|
---|
4284 | REFIID riid,
|
---|
4285 | void **container);
|
---|
4286 | void __RPC_STUB IWineD3DSurface_GetContainer_Stub(
|
---|
4287 | IRpcStubBuffer* This,
|
---|
4288 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4289 | PRPC_MESSAGE pRpcMessage,
|
---|
4290 | DWORD* pdwStubPhase);
|
---|
4291 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetDesc_Proxy(
|
---|
4292 | IWineD3DSurface* This,
|
---|
4293 | WINED3DSURFACE_DESC *desc);
|
---|
4294 | void __RPC_STUB IWineD3DSurface_GetDesc_Stub(
|
---|
4295 | IRpcStubBuffer* This,
|
---|
4296 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4297 | PRPC_MESSAGE pRpcMessage,
|
---|
4298 | DWORD* pdwStubPhase);
|
---|
4299 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LockRect_Proxy(
|
---|
4300 | IWineD3DSurface* This,
|
---|
4301 | WINED3DLOCKED_RECT *locked_rect,
|
---|
4302 | const RECT *rect,
|
---|
4303 | DWORD flags);
|
---|
4304 | void __RPC_STUB IWineD3DSurface_LockRect_Stub(
|
---|
4305 | IRpcStubBuffer* This,
|
---|
4306 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4307 | PRPC_MESSAGE pRpcMessage,
|
---|
4308 | DWORD* pdwStubPhase);
|
---|
4309 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UnlockRect_Proxy(
|
---|
4310 | IWineD3DSurface* This);
|
---|
4311 | void __RPC_STUB IWineD3DSurface_UnlockRect_Stub(
|
---|
4312 | IRpcStubBuffer* This,
|
---|
4313 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4314 | PRPC_MESSAGE pRpcMessage,
|
---|
4315 | DWORD* pdwStubPhase);
|
---|
4316 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetDC_Proxy(
|
---|
4317 | IWineD3DSurface* This,
|
---|
4318 | HDC *dc);
|
---|
4319 | void __RPC_STUB IWineD3DSurface_GetDC_Stub(
|
---|
4320 | IRpcStubBuffer* This,
|
---|
4321 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4322 | PRPC_MESSAGE pRpcMessage,
|
---|
4323 | DWORD* pdwStubPhase);
|
---|
4324 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_ReleaseDC_Proxy(
|
---|
4325 | IWineD3DSurface* This,
|
---|
4326 | HDC dc);
|
---|
4327 | void __RPC_STUB IWineD3DSurface_ReleaseDC_Stub(
|
---|
4328 | IRpcStubBuffer* This,
|
---|
4329 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4330 | PRPC_MESSAGE pRpcMessage,
|
---|
4331 | DWORD* pdwStubPhase);
|
---|
4332 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Flip_Proxy(
|
---|
4333 | IWineD3DSurface* This,
|
---|
4334 | IWineD3DSurface *override,
|
---|
4335 | DWORD flags);
|
---|
4336 | void __RPC_STUB IWineD3DSurface_Flip_Stub(
|
---|
4337 | IRpcStubBuffer* This,
|
---|
4338 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4339 | PRPC_MESSAGE pRpcMessage,
|
---|
4340 | DWORD* pdwStubPhase);
|
---|
4341 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Blt_Proxy(
|
---|
4342 | IWineD3DSurface* This,
|
---|
4343 | const RECT *dst_rect,
|
---|
4344 | IWineD3DSurface *src_surface,
|
---|
4345 | const RECT *src_rect,
|
---|
4346 | DWORD flags,
|
---|
4347 | const WINEDDBLTFX *blt_fx,
|
---|
4348 | WINED3DTEXTUREFILTERTYPE filter);
|
---|
4349 | void __RPC_STUB IWineD3DSurface_Blt_Stub(
|
---|
4350 | IRpcStubBuffer* This,
|
---|
4351 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4352 | PRPC_MESSAGE pRpcMessage,
|
---|
4353 | DWORD* pdwStubPhase);
|
---|
4354 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetBltStatus_Proxy(
|
---|
4355 | IWineD3DSurface* This,
|
---|
4356 | DWORD flags);
|
---|
4357 | void __RPC_STUB IWineD3DSurface_GetBltStatus_Stub(
|
---|
4358 | IRpcStubBuffer* This,
|
---|
4359 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4360 | PRPC_MESSAGE pRpcMessage,
|
---|
4361 | DWORD* pdwStubPhase);
|
---|
4362 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetFlipStatus_Proxy(
|
---|
4363 | IWineD3DSurface* This,
|
---|
4364 | DWORD flags);
|
---|
4365 | void __RPC_STUB IWineD3DSurface_GetFlipStatus_Stub(
|
---|
4366 | IRpcStubBuffer* This,
|
---|
4367 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4368 | PRPC_MESSAGE pRpcMessage,
|
---|
4369 | DWORD* pdwStubPhase);
|
---|
4370 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_IsLost_Proxy(
|
---|
4371 | IWineD3DSurface* This);
|
---|
4372 | void __RPC_STUB IWineD3DSurface_IsLost_Stub(
|
---|
4373 | IRpcStubBuffer* This,
|
---|
4374 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4375 | PRPC_MESSAGE pRpcMessage,
|
---|
4376 | DWORD* pdwStubPhase);
|
---|
4377 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_Restore_Proxy(
|
---|
4378 | IWineD3DSurface* This);
|
---|
4379 | void __RPC_STUB IWineD3DSurface_Restore_Stub(
|
---|
4380 | IRpcStubBuffer* This,
|
---|
4381 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4382 | PRPC_MESSAGE pRpcMessage,
|
---|
4383 | DWORD* pdwStubPhase);
|
---|
4384 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_BltFast_Proxy(
|
---|
4385 | IWineD3DSurface* This,
|
---|
4386 | DWORD dst_x,
|
---|
4387 | DWORD dst_y,
|
---|
4388 | IWineD3DSurface *src_surface,
|
---|
4389 | const RECT *src_rect,
|
---|
4390 | DWORD trans);
|
---|
4391 | void __RPC_STUB IWineD3DSurface_BltFast_Stub(
|
---|
4392 | IRpcStubBuffer* This,
|
---|
4393 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4394 | PRPC_MESSAGE pRpcMessage,
|
---|
4395 | DWORD* pdwStubPhase);
|
---|
4396 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetPalette_Proxy(
|
---|
4397 | IWineD3DSurface* This,
|
---|
4398 | IWineD3DPalette **palette);
|
---|
4399 | void __RPC_STUB IWineD3DSurface_GetPalette_Stub(
|
---|
4400 | IRpcStubBuffer* This,
|
---|
4401 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4402 | PRPC_MESSAGE pRpcMessage,
|
---|
4403 | DWORD* pdwStubPhase);
|
---|
4404 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetPalette_Proxy(
|
---|
4405 | IWineD3DSurface* This,
|
---|
4406 | IWineD3DPalette *palette);
|
---|
4407 | void __RPC_STUB IWineD3DSurface_SetPalette_Stub(
|
---|
4408 | IRpcStubBuffer* This,
|
---|
4409 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4410 | PRPC_MESSAGE pRpcMessage,
|
---|
4411 | DWORD* pdwStubPhase);
|
---|
4412 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_RealizePalette_Proxy(
|
---|
4413 | IWineD3DSurface* This);
|
---|
4414 | void __RPC_STUB IWineD3DSurface_RealizePalette_Stub(
|
---|
4415 | IRpcStubBuffer* This,
|
---|
4416 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4417 | PRPC_MESSAGE pRpcMessage,
|
---|
4418 | DWORD* pdwStubPhase);
|
---|
4419 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetColorKey_Proxy(
|
---|
4420 | IWineD3DSurface* This,
|
---|
4421 | DWORD flags,
|
---|
4422 | const WINEDDCOLORKEY *color_key);
|
---|
4423 | void __RPC_STUB IWineD3DSurface_SetColorKey_Stub(
|
---|
4424 | IRpcStubBuffer* This,
|
---|
4425 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4426 | PRPC_MESSAGE pRpcMessage,
|
---|
4427 | DWORD* pdwStubPhase);
|
---|
4428 | DWORD STDMETHODCALLTYPE IWineD3DSurface_GetPitch_Proxy(
|
---|
4429 | IWineD3DSurface* This);
|
---|
4430 | void __RPC_STUB IWineD3DSurface_GetPitch_Stub(
|
---|
4431 | IRpcStubBuffer* This,
|
---|
4432 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4433 | PRPC_MESSAGE pRpcMessage,
|
---|
4434 | DWORD* pdwStubPhase);
|
---|
4435 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetMem_Proxy(
|
---|
4436 | IWineD3DSurface* This,
|
---|
4437 | void *mem);
|
---|
4438 | void __RPC_STUB IWineD3DSurface_SetMem_Stub(
|
---|
4439 | IRpcStubBuffer* This,
|
---|
4440 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4441 | PRPC_MESSAGE pRpcMessage,
|
---|
4442 | DWORD* pdwStubPhase);
|
---|
4443 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetOverlayPosition_Proxy(
|
---|
4444 | IWineD3DSurface* This,
|
---|
4445 | LONG x,
|
---|
4446 | LONG y);
|
---|
4447 | void __RPC_STUB IWineD3DSurface_SetOverlayPosition_Stub(
|
---|
4448 | IRpcStubBuffer* This,
|
---|
4449 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4450 | PRPC_MESSAGE pRpcMessage,
|
---|
4451 | DWORD* pdwStubPhase);
|
---|
4452 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetOverlayPosition_Proxy(
|
---|
4453 | IWineD3DSurface* This,
|
---|
4454 | LONG *x,
|
---|
4455 | LONG *y);
|
---|
4456 | void __RPC_STUB IWineD3DSurface_GetOverlayPosition_Stub(
|
---|
4457 | IRpcStubBuffer* This,
|
---|
4458 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4459 | PRPC_MESSAGE pRpcMessage,
|
---|
4460 | DWORD* pdwStubPhase);
|
---|
4461 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UpdateOverlayZOrder_Proxy(
|
---|
4462 | IWineD3DSurface* This,
|
---|
4463 | DWORD flags,
|
---|
4464 | IWineD3DSurface *ref);
|
---|
4465 | void __RPC_STUB IWineD3DSurface_UpdateOverlayZOrder_Stub(
|
---|
4466 | IRpcStubBuffer* This,
|
---|
4467 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4468 | PRPC_MESSAGE pRpcMessage,
|
---|
4469 | DWORD* pdwStubPhase);
|
---|
4470 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_UpdateOverlay_Proxy(
|
---|
4471 | IWineD3DSurface* This,
|
---|
4472 | const RECT *src_rect,
|
---|
4473 | IWineD3DSurface *dst_surface,
|
---|
4474 | const RECT *dst_rect,
|
---|
4475 | DWORD flags,
|
---|
4476 | const WINEDDOVERLAYFX *fx);
|
---|
4477 | void __RPC_STUB IWineD3DSurface_UpdateOverlay_Stub(
|
---|
4478 | IRpcStubBuffer* This,
|
---|
4479 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4480 | PRPC_MESSAGE pRpcMessage,
|
---|
4481 | DWORD* pdwStubPhase);
|
---|
4482 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetClipper_Proxy(
|
---|
4483 | IWineD3DSurface* This,
|
---|
4484 | IWineD3DClipper *clipper);
|
---|
4485 | void __RPC_STUB IWineD3DSurface_SetClipper_Stub(
|
---|
4486 | IRpcStubBuffer* This,
|
---|
4487 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4488 | PRPC_MESSAGE pRpcMessage,
|
---|
4489 | DWORD* pdwStubPhase);
|
---|
4490 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_GetClipper_Proxy(
|
---|
4491 | IWineD3DSurface* This,
|
---|
4492 | IWineD3DClipper **clipper);
|
---|
4493 | void __RPC_STUB IWineD3DSurface_GetClipper_Stub(
|
---|
4494 | IRpcStubBuffer* This,
|
---|
4495 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4496 | PRPC_MESSAGE pRpcMessage,
|
---|
4497 | DWORD* pdwStubPhase);
|
---|
4498 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LoadTexture_Proxy(
|
---|
4499 | IWineD3DSurface* This,
|
---|
4500 | BOOL srgb_mode);
|
---|
4501 | void __RPC_STUB IWineD3DSurface_LoadTexture_Stub(
|
---|
4502 | IRpcStubBuffer* This,
|
---|
4503 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4504 | PRPC_MESSAGE pRpcMessage,
|
---|
4505 | DWORD* pdwStubPhase);
|
---|
4506 | void STDMETHODCALLTYPE IWineD3DSurface_BindTexture_Proxy(
|
---|
4507 | IWineD3DSurface* This,
|
---|
4508 | BOOL srgb);
|
---|
4509 | void __RPC_STUB IWineD3DSurface_BindTexture_Stub(
|
---|
4510 | IRpcStubBuffer* This,
|
---|
4511 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4512 | PRPC_MESSAGE pRpcMessage,
|
---|
4513 | DWORD* pdwStubPhase);
|
---|
4514 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SaveSnapshot_Proxy(
|
---|
4515 | IWineD3DSurface* This,
|
---|
4516 | const char *filename);
|
---|
4517 | void __RPC_STUB IWineD3DSurface_SaveSnapshot_Stub(
|
---|
4518 | IRpcStubBuffer* This,
|
---|
4519 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4520 | PRPC_MESSAGE pRpcMessage,
|
---|
4521 | DWORD* pdwStubPhase);
|
---|
4522 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetContainer_Proxy(
|
---|
4523 | IWineD3DSurface* This,
|
---|
4524 | IWineD3DBase *container);
|
---|
4525 | void __RPC_STUB IWineD3DSurface_SetContainer_Stub(
|
---|
4526 | IRpcStubBuffer* This,
|
---|
4527 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4528 | PRPC_MESSAGE pRpcMessage,
|
---|
4529 | DWORD* pdwStubPhase);
|
---|
4530 | const void * STDMETHODCALLTYPE IWineD3DSurface_GetData_Proxy(
|
---|
4531 | IWineD3DSurface* This);
|
---|
4532 | void __RPC_STUB IWineD3DSurface_GetData_Stub(
|
---|
4533 | IRpcStubBuffer* This,
|
---|
4534 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4535 | PRPC_MESSAGE pRpcMessage,
|
---|
4536 | DWORD* pdwStubPhase);
|
---|
4537 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_SetFormat_Proxy(
|
---|
4538 | IWineD3DSurface* This,
|
---|
4539 | WINED3DFORMAT format);
|
---|
4540 | void __RPC_STUB IWineD3DSurface_SetFormat_Stub(
|
---|
4541 | IRpcStubBuffer* This,
|
---|
4542 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4543 | PRPC_MESSAGE pRpcMessage,
|
---|
4544 | DWORD* pdwStubPhase);
|
---|
4545 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_PrivateSetup_Proxy(
|
---|
4546 | IWineD3DSurface* This);
|
---|
4547 | void __RPC_STUB IWineD3DSurface_PrivateSetup_Stub(
|
---|
4548 | IRpcStubBuffer* This,
|
---|
4549 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4550 | PRPC_MESSAGE pRpcMessage,
|
---|
4551 | DWORD* pdwStubPhase);
|
---|
4552 | void STDMETHODCALLTYPE IWineD3DSurface_ModifyLocation_Proxy(
|
---|
4553 | IWineD3DSurface* This,
|
---|
4554 | DWORD location,
|
---|
4555 | BOOL persistent);
|
---|
4556 | void __RPC_STUB IWineD3DSurface_ModifyLocation_Stub(
|
---|
4557 | IRpcStubBuffer* This,
|
---|
4558 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4559 | PRPC_MESSAGE pRpcMessage,
|
---|
4560 | DWORD* pdwStubPhase);
|
---|
4561 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_LoadLocation_Proxy(
|
---|
4562 | IWineD3DSurface* This,
|
---|
4563 | DWORD location,
|
---|
4564 | const RECT *rect);
|
---|
4565 | void __RPC_STUB IWineD3DSurface_LoadLocation_Stub(
|
---|
4566 | IRpcStubBuffer* This,
|
---|
4567 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4568 | PRPC_MESSAGE pRpcMessage,
|
---|
4569 | DWORD* pdwStubPhase);
|
---|
4570 | WINED3DSURFTYPE STDMETHODCALLTYPE IWineD3DSurface_GetImplType_Proxy(
|
---|
4571 | IWineD3DSurface* This);
|
---|
4572 | void __RPC_STUB IWineD3DSurface_GetImplType_Stub(
|
---|
4573 | IRpcStubBuffer* This,
|
---|
4574 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4575 | PRPC_MESSAGE pRpcMessage,
|
---|
4576 | DWORD* pdwStubPhase);
|
---|
4577 | HRESULT STDMETHODCALLTYPE IWineD3DSurface_DrawOverlay_Proxy(
|
---|
4578 | IWineD3DSurface* This);
|
---|
4579 | void __RPC_STUB IWineD3DSurface_DrawOverlay_Stub(
|
---|
4580 | IRpcStubBuffer* This,
|
---|
4581 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4582 | PRPC_MESSAGE pRpcMessage,
|
---|
4583 | DWORD* pdwStubPhase);
|
---|
4584 |
|
---|
4585 | #endif /* __IWineD3DSurface_INTERFACE_DEFINED__ */
|
---|
4586 |
|
---|
4587 | /*****************************************************************************
|
---|
4588 | * IWineD3DVolume interface
|
---|
4589 | */
|
---|
4590 | #ifndef __IWineD3DVolume_INTERFACE_DEFINED__
|
---|
4591 | #define __IWineD3DVolume_INTERFACE_DEFINED__
|
---|
4592 |
|
---|
4593 | DEFINE_GUID(IID_IWineD3DVolume, 0x24769ed8, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
4594 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4595 | interface IWineD3DVolume : public IWineD3DResource
|
---|
4596 | {
|
---|
4597 | virtual HRESULT STDMETHODCALLTYPE GetContainer(
|
---|
4598 | REFIID riid,
|
---|
4599 | void **container) = 0;
|
---|
4600 |
|
---|
4601 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
4602 | WINED3DVOLUME_DESC *desc) = 0;
|
---|
4603 |
|
---|
4604 | virtual HRESULT STDMETHODCALLTYPE LockBox(
|
---|
4605 | WINED3DLOCKED_BOX *locked_box,
|
---|
4606 | const WINED3DBOX *box,
|
---|
4607 | DWORD flags) = 0;
|
---|
4608 |
|
---|
4609 | virtual HRESULT STDMETHODCALLTYPE UnlockBox(
|
---|
4610 | ) = 0;
|
---|
4611 |
|
---|
4612 | virtual HRESULT STDMETHODCALLTYPE LoadTexture(
|
---|
4613 | int gl_level,
|
---|
4614 | BOOL srgb_mode) = 0;
|
---|
4615 |
|
---|
4616 | virtual HRESULT STDMETHODCALLTYPE SetContainer(
|
---|
4617 | IWineD3DBase *container) = 0;
|
---|
4618 |
|
---|
4619 | };
|
---|
4620 | #else
|
---|
4621 | typedef struct IWineD3DVolumeVtbl {
|
---|
4622 | BEGIN_INTERFACE
|
---|
4623 |
|
---|
4624 | /*** IUnknown methods ***/
|
---|
4625 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4626 | IWineD3DVolume* This,
|
---|
4627 | REFIID riid,
|
---|
4628 | void **ppvObject);
|
---|
4629 |
|
---|
4630 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4631 | IWineD3DVolume* This);
|
---|
4632 |
|
---|
4633 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4634 | IWineD3DVolume* This);
|
---|
4635 |
|
---|
4636 | /*** IWineD3DBase methods ***/
|
---|
4637 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
4638 | IWineD3DVolume* This,
|
---|
4639 | IUnknown **parent);
|
---|
4640 |
|
---|
4641 | /*** IWineD3DResource methods ***/
|
---|
4642 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
4643 | IWineD3DVolume* This,
|
---|
4644 | IWineD3DDevice **device);
|
---|
4645 |
|
---|
4646 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
4647 | IWineD3DVolume* This,
|
---|
4648 | REFGUID guid,
|
---|
4649 | const void *data,
|
---|
4650 | DWORD data_size,
|
---|
4651 | DWORD flags);
|
---|
4652 |
|
---|
4653 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
4654 | IWineD3DVolume* This,
|
---|
4655 | REFGUID guid,
|
---|
4656 | void *data,
|
---|
4657 | DWORD *data_size);
|
---|
4658 |
|
---|
4659 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
4660 | IWineD3DVolume* This,
|
---|
4661 | REFGUID guid);
|
---|
4662 |
|
---|
4663 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4664 | IWineD3DVolume* This,
|
---|
4665 | DWORD new_priority);
|
---|
4666 |
|
---|
4667 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4668 | IWineD3DVolume* This);
|
---|
4669 |
|
---|
4670 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4671 | IWineD3DVolume* This);
|
---|
4672 |
|
---|
4673 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4674 | IWineD3DVolume* This);
|
---|
4675 |
|
---|
4676 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4677 | IWineD3DVolume* This);
|
---|
4678 |
|
---|
4679 | /*** IWineD3DVolume methods ***/
|
---|
4680 | HRESULT (STDMETHODCALLTYPE *GetContainer)(
|
---|
4681 | IWineD3DVolume* This,
|
---|
4682 | REFIID riid,
|
---|
4683 | void **container);
|
---|
4684 |
|
---|
4685 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
4686 | IWineD3DVolume* This,
|
---|
4687 | WINED3DVOLUME_DESC *desc);
|
---|
4688 |
|
---|
4689 | HRESULT (STDMETHODCALLTYPE *LockBox)(
|
---|
4690 | IWineD3DVolume* This,
|
---|
4691 | WINED3DLOCKED_BOX *locked_box,
|
---|
4692 | const WINED3DBOX *box,
|
---|
4693 | DWORD flags);
|
---|
4694 |
|
---|
4695 | HRESULT (STDMETHODCALLTYPE *UnlockBox)(
|
---|
4696 | IWineD3DVolume* This);
|
---|
4697 |
|
---|
4698 | HRESULT (STDMETHODCALLTYPE *LoadTexture)(
|
---|
4699 | IWineD3DVolume* This,
|
---|
4700 | int gl_level,
|
---|
4701 | BOOL srgb_mode);
|
---|
4702 |
|
---|
4703 | HRESULT (STDMETHODCALLTYPE *SetContainer)(
|
---|
4704 | IWineD3DVolume* This,
|
---|
4705 | IWineD3DBase *container);
|
---|
4706 |
|
---|
4707 | END_INTERFACE
|
---|
4708 | } IWineD3DVolumeVtbl;
|
---|
4709 | interface IWineD3DVolume {
|
---|
4710 | CONST_VTBL IWineD3DVolumeVtbl* lpVtbl;
|
---|
4711 | };
|
---|
4712 |
|
---|
4713 | #ifdef COBJMACROS
|
---|
4714 | /*** IUnknown methods ***/
|
---|
4715 | #define IWineD3DVolume_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4716 | #define IWineD3DVolume_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4717 | #define IWineD3DVolume_Release(This) (This)->lpVtbl->Release(This)
|
---|
4718 | /*** IWineD3DBase methods ***/
|
---|
4719 | #define IWineD3DVolume_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4720 | /*** IWineD3DResource methods ***/
|
---|
4721 | #define IWineD3DVolume_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
4722 | #define IWineD3DVolume_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4723 | #define IWineD3DVolume_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4724 | #define IWineD3DVolume_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4725 | #define IWineD3DVolume_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4726 | #define IWineD3DVolume_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4727 | #define IWineD3DVolume_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4728 | #define IWineD3DVolume_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4729 | #define IWineD3DVolume_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4730 | /*** IWineD3DVolume methods ***/
|
---|
4731 | #define IWineD3DVolume_GetContainer(This,riid,container) (This)->lpVtbl->GetContainer(This,riid,container)
|
---|
4732 | #define IWineD3DVolume_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
4733 | #define IWineD3DVolume_LockBox(This,locked_box,box,flags) (This)->lpVtbl->LockBox(This,locked_box,box,flags)
|
---|
4734 | #define IWineD3DVolume_UnlockBox(This) (This)->lpVtbl->UnlockBox(This)
|
---|
4735 | #define IWineD3DVolume_LoadTexture(This,gl_level,srgb_mode) (This)->lpVtbl->LoadTexture(This,gl_level,srgb_mode)
|
---|
4736 | #define IWineD3DVolume_SetContainer(This,container) (This)->lpVtbl->SetContainer(This,container)
|
---|
4737 | #endif
|
---|
4738 |
|
---|
4739 | #endif
|
---|
4740 |
|
---|
4741 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_GetContainer_Proxy(
|
---|
4742 | IWineD3DVolume* This,
|
---|
4743 | REFIID riid,
|
---|
4744 | void **container);
|
---|
4745 | void __RPC_STUB IWineD3DVolume_GetContainer_Stub(
|
---|
4746 | IRpcStubBuffer* This,
|
---|
4747 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4748 | PRPC_MESSAGE pRpcMessage,
|
---|
4749 | DWORD* pdwStubPhase);
|
---|
4750 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_GetDesc_Proxy(
|
---|
4751 | IWineD3DVolume* This,
|
---|
4752 | WINED3DVOLUME_DESC *desc);
|
---|
4753 | void __RPC_STUB IWineD3DVolume_GetDesc_Stub(
|
---|
4754 | IRpcStubBuffer* This,
|
---|
4755 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4756 | PRPC_MESSAGE pRpcMessage,
|
---|
4757 | DWORD* pdwStubPhase);
|
---|
4758 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_LockBox_Proxy(
|
---|
4759 | IWineD3DVolume* This,
|
---|
4760 | WINED3DLOCKED_BOX *locked_box,
|
---|
4761 | const WINED3DBOX *box,
|
---|
4762 | DWORD flags);
|
---|
4763 | void __RPC_STUB IWineD3DVolume_LockBox_Stub(
|
---|
4764 | IRpcStubBuffer* This,
|
---|
4765 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4766 | PRPC_MESSAGE pRpcMessage,
|
---|
4767 | DWORD* pdwStubPhase);
|
---|
4768 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_UnlockBox_Proxy(
|
---|
4769 | IWineD3DVolume* This);
|
---|
4770 | void __RPC_STUB IWineD3DVolume_UnlockBox_Stub(
|
---|
4771 | IRpcStubBuffer* This,
|
---|
4772 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4773 | PRPC_MESSAGE pRpcMessage,
|
---|
4774 | DWORD* pdwStubPhase);
|
---|
4775 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_LoadTexture_Proxy(
|
---|
4776 | IWineD3DVolume* This,
|
---|
4777 | int gl_level,
|
---|
4778 | BOOL srgb_mode);
|
---|
4779 | void __RPC_STUB IWineD3DVolume_LoadTexture_Stub(
|
---|
4780 | IRpcStubBuffer* This,
|
---|
4781 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4782 | PRPC_MESSAGE pRpcMessage,
|
---|
4783 | DWORD* pdwStubPhase);
|
---|
4784 | HRESULT STDMETHODCALLTYPE IWineD3DVolume_SetContainer_Proxy(
|
---|
4785 | IWineD3DVolume* This,
|
---|
4786 | IWineD3DBase *container);
|
---|
4787 | void __RPC_STUB IWineD3DVolume_SetContainer_Stub(
|
---|
4788 | IRpcStubBuffer* This,
|
---|
4789 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4790 | PRPC_MESSAGE pRpcMessage,
|
---|
4791 | DWORD* pdwStubPhase);
|
---|
4792 |
|
---|
4793 | #endif /* __IWineD3DVolume_INTERFACE_DEFINED__ */
|
---|
4794 |
|
---|
4795 | /*****************************************************************************
|
---|
4796 | * IWineD3DBaseTexture interface
|
---|
4797 | */
|
---|
4798 | #ifndef __IWineD3DBaseTexture_INTERFACE_DEFINED__
|
---|
4799 | #define __IWineD3DBaseTexture_INTERFACE_DEFINED__
|
---|
4800 |
|
---|
4801 | DEFINE_GUID(IID_IWineD3DBaseTexture, 0x3c2aebf6, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
4802 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
4803 | interface IWineD3DBaseTexture : public IWineD3DResource
|
---|
4804 | {
|
---|
4805 | virtual DWORD STDMETHODCALLTYPE SetLOD(
|
---|
4806 | DWORD new_lod) = 0;
|
---|
4807 |
|
---|
4808 | virtual DWORD STDMETHODCALLTYPE GetLOD(
|
---|
4809 | ) = 0;
|
---|
4810 |
|
---|
4811 | virtual DWORD STDMETHODCALLTYPE GetLevelCount(
|
---|
4812 | ) = 0;
|
---|
4813 |
|
---|
4814 | virtual HRESULT STDMETHODCALLTYPE SetAutoGenFilterType(
|
---|
4815 | WINED3DTEXTUREFILTERTYPE filter_type) = 0;
|
---|
4816 |
|
---|
4817 | virtual WINED3DTEXTUREFILTERTYPE STDMETHODCALLTYPE GetAutoGenFilterType(
|
---|
4818 | ) = 0;
|
---|
4819 |
|
---|
4820 | virtual void STDMETHODCALLTYPE GenerateMipSubLevels(
|
---|
4821 | ) = 0;
|
---|
4822 |
|
---|
4823 | virtual BOOL STDMETHODCALLTYPE SetDirty(
|
---|
4824 | BOOL dirty) = 0;
|
---|
4825 |
|
---|
4826 | virtual BOOL STDMETHODCALLTYPE GetDirty(
|
---|
4827 | ) = 0;
|
---|
4828 |
|
---|
4829 | virtual HRESULT STDMETHODCALLTYPE BindTexture(
|
---|
4830 | BOOL srgb) = 0;
|
---|
4831 |
|
---|
4832 | virtual UINT STDMETHODCALLTYPE GetTextureDimensions(
|
---|
4833 | ) = 0;
|
---|
4834 |
|
---|
4835 | virtual BOOL STDMETHODCALLTYPE IsCondNP2(
|
---|
4836 | ) = 0;
|
---|
4837 |
|
---|
4838 | };
|
---|
4839 | #else
|
---|
4840 | typedef struct IWineD3DBaseTextureVtbl {
|
---|
4841 | BEGIN_INTERFACE
|
---|
4842 |
|
---|
4843 | /*** IUnknown methods ***/
|
---|
4844 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
4845 | IWineD3DBaseTexture* This,
|
---|
4846 | REFIID riid,
|
---|
4847 | void **ppvObject);
|
---|
4848 |
|
---|
4849 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
4850 | IWineD3DBaseTexture* This);
|
---|
4851 |
|
---|
4852 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
4853 | IWineD3DBaseTexture* This);
|
---|
4854 |
|
---|
4855 | /*** IWineD3DBase methods ***/
|
---|
4856 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
4857 | IWineD3DBaseTexture* This,
|
---|
4858 | IUnknown **parent);
|
---|
4859 |
|
---|
4860 | /*** IWineD3DResource methods ***/
|
---|
4861 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
4862 | IWineD3DBaseTexture* This,
|
---|
4863 | IWineD3DDevice **device);
|
---|
4864 |
|
---|
4865 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
4866 | IWineD3DBaseTexture* This,
|
---|
4867 | REFGUID guid,
|
---|
4868 | const void *data,
|
---|
4869 | DWORD data_size,
|
---|
4870 | DWORD flags);
|
---|
4871 |
|
---|
4872 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
4873 | IWineD3DBaseTexture* This,
|
---|
4874 | REFGUID guid,
|
---|
4875 | void *data,
|
---|
4876 | DWORD *data_size);
|
---|
4877 |
|
---|
4878 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
4879 | IWineD3DBaseTexture* This,
|
---|
4880 | REFGUID guid);
|
---|
4881 |
|
---|
4882 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
4883 | IWineD3DBaseTexture* This,
|
---|
4884 | DWORD new_priority);
|
---|
4885 |
|
---|
4886 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
4887 | IWineD3DBaseTexture* This);
|
---|
4888 |
|
---|
4889 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
4890 | IWineD3DBaseTexture* This);
|
---|
4891 |
|
---|
4892 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
4893 | IWineD3DBaseTexture* This);
|
---|
4894 |
|
---|
4895 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
4896 | IWineD3DBaseTexture* This);
|
---|
4897 |
|
---|
4898 | /*** IWineD3DBaseTexture methods ***/
|
---|
4899 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
4900 | IWineD3DBaseTexture* This,
|
---|
4901 | DWORD new_lod);
|
---|
4902 |
|
---|
4903 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
4904 | IWineD3DBaseTexture* This);
|
---|
4905 |
|
---|
4906 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
4907 | IWineD3DBaseTexture* This);
|
---|
4908 |
|
---|
4909 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
4910 | IWineD3DBaseTexture* This,
|
---|
4911 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
4912 |
|
---|
4913 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
4914 | IWineD3DBaseTexture* This);
|
---|
4915 |
|
---|
4916 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
4917 | IWineD3DBaseTexture* This);
|
---|
4918 |
|
---|
4919 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
4920 | IWineD3DBaseTexture* This,
|
---|
4921 | BOOL dirty);
|
---|
4922 |
|
---|
4923 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
4924 | IWineD3DBaseTexture* This);
|
---|
4925 |
|
---|
4926 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
4927 | IWineD3DBaseTexture* This,
|
---|
4928 | BOOL srgb);
|
---|
4929 |
|
---|
4930 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
4931 | IWineD3DBaseTexture* This);
|
---|
4932 |
|
---|
4933 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
4934 | IWineD3DBaseTexture* This);
|
---|
4935 |
|
---|
4936 | END_INTERFACE
|
---|
4937 | } IWineD3DBaseTextureVtbl;
|
---|
4938 | interface IWineD3DBaseTexture {
|
---|
4939 | CONST_VTBL IWineD3DBaseTextureVtbl* lpVtbl;
|
---|
4940 | };
|
---|
4941 |
|
---|
4942 | #ifdef COBJMACROS
|
---|
4943 | /*** IUnknown methods ***/
|
---|
4944 | #define IWineD3DBaseTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
4945 | #define IWineD3DBaseTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
4946 | #define IWineD3DBaseTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
4947 | /*** IWineD3DBase methods ***/
|
---|
4948 | #define IWineD3DBaseTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
4949 | /*** IWineD3DResource methods ***/
|
---|
4950 | #define IWineD3DBaseTexture_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
4951 | #define IWineD3DBaseTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
4952 | #define IWineD3DBaseTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
4953 | #define IWineD3DBaseTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
4954 | #define IWineD3DBaseTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
4955 | #define IWineD3DBaseTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
4956 | #define IWineD3DBaseTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
4957 | #define IWineD3DBaseTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
4958 | #define IWineD3DBaseTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
4959 | /*** IWineD3DBaseTexture methods ***/
|
---|
4960 | #define IWineD3DBaseTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
4961 | #define IWineD3DBaseTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
4962 | #define IWineD3DBaseTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
4963 | #define IWineD3DBaseTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
4964 | #define IWineD3DBaseTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
4965 | #define IWineD3DBaseTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
4966 | #define IWineD3DBaseTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
4967 | #define IWineD3DBaseTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
4968 | #define IWineD3DBaseTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
4969 | #define IWineD3DBaseTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
4970 | #define IWineD3DBaseTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
4971 | #endif
|
---|
4972 |
|
---|
4973 | #endif
|
---|
4974 |
|
---|
4975 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_SetLOD_Proxy(
|
---|
4976 | IWineD3DBaseTexture* This,
|
---|
4977 | DWORD new_lod);
|
---|
4978 | void __RPC_STUB IWineD3DBaseTexture_SetLOD_Stub(
|
---|
4979 | IRpcStubBuffer* This,
|
---|
4980 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4981 | PRPC_MESSAGE pRpcMessage,
|
---|
4982 | DWORD* pdwStubPhase);
|
---|
4983 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_GetLOD_Proxy(
|
---|
4984 | IWineD3DBaseTexture* This);
|
---|
4985 | void __RPC_STUB IWineD3DBaseTexture_GetLOD_Stub(
|
---|
4986 | IRpcStubBuffer* This,
|
---|
4987 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4988 | PRPC_MESSAGE pRpcMessage,
|
---|
4989 | DWORD* pdwStubPhase);
|
---|
4990 | DWORD STDMETHODCALLTYPE IWineD3DBaseTexture_GetLevelCount_Proxy(
|
---|
4991 | IWineD3DBaseTexture* This);
|
---|
4992 | void __RPC_STUB IWineD3DBaseTexture_GetLevelCount_Stub(
|
---|
4993 | IRpcStubBuffer* This,
|
---|
4994 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
4995 | PRPC_MESSAGE pRpcMessage,
|
---|
4996 | DWORD* pdwStubPhase);
|
---|
4997 | HRESULT STDMETHODCALLTYPE IWineD3DBaseTexture_SetAutoGenFilterType_Proxy(
|
---|
4998 | IWineD3DBaseTexture* This,
|
---|
4999 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5000 | void __RPC_STUB IWineD3DBaseTexture_SetAutoGenFilterType_Stub(
|
---|
5001 | IRpcStubBuffer* This,
|
---|
5002 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5003 | PRPC_MESSAGE pRpcMessage,
|
---|
5004 | DWORD* pdwStubPhase);
|
---|
5005 | WINED3DTEXTUREFILTERTYPE STDMETHODCALLTYPE IWineD3DBaseTexture_GetAutoGenFilterType_Proxy(
|
---|
5006 | IWineD3DBaseTexture* This);
|
---|
5007 | void __RPC_STUB IWineD3DBaseTexture_GetAutoGenFilterType_Stub(
|
---|
5008 | IRpcStubBuffer* This,
|
---|
5009 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5010 | PRPC_MESSAGE pRpcMessage,
|
---|
5011 | DWORD* pdwStubPhase);
|
---|
5012 | void STDMETHODCALLTYPE IWineD3DBaseTexture_GenerateMipSubLevels_Proxy(
|
---|
5013 | IWineD3DBaseTexture* This);
|
---|
5014 | void __RPC_STUB IWineD3DBaseTexture_GenerateMipSubLevels_Stub(
|
---|
5015 | IRpcStubBuffer* This,
|
---|
5016 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5017 | PRPC_MESSAGE pRpcMessage,
|
---|
5018 | DWORD* pdwStubPhase);
|
---|
5019 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_SetDirty_Proxy(
|
---|
5020 | IWineD3DBaseTexture* This,
|
---|
5021 | BOOL dirty);
|
---|
5022 | void __RPC_STUB IWineD3DBaseTexture_SetDirty_Stub(
|
---|
5023 | IRpcStubBuffer* This,
|
---|
5024 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5025 | PRPC_MESSAGE pRpcMessage,
|
---|
5026 | DWORD* pdwStubPhase);
|
---|
5027 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_GetDirty_Proxy(
|
---|
5028 | IWineD3DBaseTexture* This);
|
---|
5029 | void __RPC_STUB IWineD3DBaseTexture_GetDirty_Stub(
|
---|
5030 | IRpcStubBuffer* This,
|
---|
5031 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5032 | PRPC_MESSAGE pRpcMessage,
|
---|
5033 | DWORD* pdwStubPhase);
|
---|
5034 | HRESULT STDMETHODCALLTYPE IWineD3DBaseTexture_BindTexture_Proxy(
|
---|
5035 | IWineD3DBaseTexture* This,
|
---|
5036 | BOOL srgb);
|
---|
5037 | void __RPC_STUB IWineD3DBaseTexture_BindTexture_Stub(
|
---|
5038 | IRpcStubBuffer* This,
|
---|
5039 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5040 | PRPC_MESSAGE pRpcMessage,
|
---|
5041 | DWORD* pdwStubPhase);
|
---|
5042 | UINT STDMETHODCALLTYPE IWineD3DBaseTexture_GetTextureDimensions_Proxy(
|
---|
5043 | IWineD3DBaseTexture* This);
|
---|
5044 | void __RPC_STUB IWineD3DBaseTexture_GetTextureDimensions_Stub(
|
---|
5045 | IRpcStubBuffer* This,
|
---|
5046 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5047 | PRPC_MESSAGE pRpcMessage,
|
---|
5048 | DWORD* pdwStubPhase);
|
---|
5049 | BOOL STDMETHODCALLTYPE IWineD3DBaseTexture_IsCondNP2_Proxy(
|
---|
5050 | IWineD3DBaseTexture* This);
|
---|
5051 | void __RPC_STUB IWineD3DBaseTexture_IsCondNP2_Stub(
|
---|
5052 | IRpcStubBuffer* This,
|
---|
5053 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5054 | PRPC_MESSAGE pRpcMessage,
|
---|
5055 | DWORD* pdwStubPhase);
|
---|
5056 |
|
---|
5057 | #endif /* __IWineD3DBaseTexture_INTERFACE_DEFINED__ */
|
---|
5058 |
|
---|
5059 | /*****************************************************************************
|
---|
5060 | * IWineD3DTexture interface
|
---|
5061 | */
|
---|
5062 | #ifndef __IWineD3DTexture_INTERFACE_DEFINED__
|
---|
5063 | #define __IWineD3DTexture_INTERFACE_DEFINED__
|
---|
5064 |
|
---|
5065 | DEFINE_GUID(IID_IWineD3DTexture, 0x3e72cc1c, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5066 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5067 | interface IWineD3DTexture : public IWineD3DBaseTexture
|
---|
5068 | {
|
---|
5069 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5070 | UINT level,
|
---|
5071 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
5072 |
|
---|
5073 | virtual HRESULT STDMETHODCALLTYPE GetSurfaceLevel(
|
---|
5074 | UINT level,
|
---|
5075 | IWineD3DSurface **surface) = 0;
|
---|
5076 |
|
---|
5077 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
5078 | UINT level,
|
---|
5079 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5080 | const RECT *rect,
|
---|
5081 | DWORD flags) = 0;
|
---|
5082 |
|
---|
5083 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
5084 | UINT level) = 0;
|
---|
5085 |
|
---|
5086 | virtual HRESULT STDMETHODCALLTYPE AddDirtyRect(
|
---|
5087 | const RECT *dirty_rect) = 0;
|
---|
5088 |
|
---|
5089 | };
|
---|
5090 | #else
|
---|
5091 | typedef struct IWineD3DTextureVtbl {
|
---|
5092 | BEGIN_INTERFACE
|
---|
5093 |
|
---|
5094 | /*** IUnknown methods ***/
|
---|
5095 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5096 | IWineD3DTexture* This,
|
---|
5097 | REFIID riid,
|
---|
5098 | void **ppvObject);
|
---|
5099 |
|
---|
5100 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5101 | IWineD3DTexture* This);
|
---|
5102 |
|
---|
5103 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5104 | IWineD3DTexture* This);
|
---|
5105 |
|
---|
5106 | /*** IWineD3DBase methods ***/
|
---|
5107 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5108 | IWineD3DTexture* This,
|
---|
5109 | IUnknown **parent);
|
---|
5110 |
|
---|
5111 | /*** IWineD3DResource methods ***/
|
---|
5112 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
5113 | IWineD3DTexture* This,
|
---|
5114 | IWineD3DDevice **device);
|
---|
5115 |
|
---|
5116 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5117 | IWineD3DTexture* This,
|
---|
5118 | REFGUID guid,
|
---|
5119 | const void *data,
|
---|
5120 | DWORD data_size,
|
---|
5121 | DWORD flags);
|
---|
5122 |
|
---|
5123 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5124 | IWineD3DTexture* This,
|
---|
5125 | REFGUID guid,
|
---|
5126 | void *data,
|
---|
5127 | DWORD *data_size);
|
---|
5128 |
|
---|
5129 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5130 | IWineD3DTexture* This,
|
---|
5131 | REFGUID guid);
|
---|
5132 |
|
---|
5133 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5134 | IWineD3DTexture* This,
|
---|
5135 | DWORD new_priority);
|
---|
5136 |
|
---|
5137 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5138 | IWineD3DTexture* This);
|
---|
5139 |
|
---|
5140 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5141 | IWineD3DTexture* This);
|
---|
5142 |
|
---|
5143 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5144 | IWineD3DTexture* This);
|
---|
5145 |
|
---|
5146 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5147 | IWineD3DTexture* This);
|
---|
5148 |
|
---|
5149 | /*** IWineD3DBaseTexture methods ***/
|
---|
5150 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5151 | IWineD3DTexture* This,
|
---|
5152 | DWORD new_lod);
|
---|
5153 |
|
---|
5154 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5155 | IWineD3DTexture* This);
|
---|
5156 |
|
---|
5157 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5158 | IWineD3DTexture* This);
|
---|
5159 |
|
---|
5160 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5161 | IWineD3DTexture* This,
|
---|
5162 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5163 |
|
---|
5164 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5165 | IWineD3DTexture* This);
|
---|
5166 |
|
---|
5167 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5168 | IWineD3DTexture* This);
|
---|
5169 |
|
---|
5170 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5171 | IWineD3DTexture* This,
|
---|
5172 | BOOL dirty);
|
---|
5173 |
|
---|
5174 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5175 | IWineD3DTexture* This);
|
---|
5176 |
|
---|
5177 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5178 | IWineD3DTexture* This,
|
---|
5179 | BOOL srgb);
|
---|
5180 |
|
---|
5181 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5182 | IWineD3DTexture* This);
|
---|
5183 |
|
---|
5184 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5185 | IWineD3DTexture* This);
|
---|
5186 |
|
---|
5187 | /*** IWineD3DTexture methods ***/
|
---|
5188 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5189 | IWineD3DTexture* This,
|
---|
5190 | UINT level,
|
---|
5191 | WINED3DSURFACE_DESC *desc);
|
---|
5192 |
|
---|
5193 | HRESULT (STDMETHODCALLTYPE *GetSurfaceLevel)(
|
---|
5194 | IWineD3DTexture* This,
|
---|
5195 | UINT level,
|
---|
5196 | IWineD3DSurface **surface);
|
---|
5197 |
|
---|
5198 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
5199 | IWineD3DTexture* This,
|
---|
5200 | UINT level,
|
---|
5201 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5202 | const RECT *rect,
|
---|
5203 | DWORD flags);
|
---|
5204 |
|
---|
5205 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
5206 | IWineD3DTexture* This,
|
---|
5207 | UINT level);
|
---|
5208 |
|
---|
5209 | HRESULT (STDMETHODCALLTYPE *AddDirtyRect)(
|
---|
5210 | IWineD3DTexture* This,
|
---|
5211 | const RECT *dirty_rect);
|
---|
5212 |
|
---|
5213 | END_INTERFACE
|
---|
5214 | } IWineD3DTextureVtbl;
|
---|
5215 | interface IWineD3DTexture {
|
---|
5216 | CONST_VTBL IWineD3DTextureVtbl* lpVtbl;
|
---|
5217 | };
|
---|
5218 |
|
---|
5219 | #ifdef COBJMACROS
|
---|
5220 | /*** IUnknown methods ***/
|
---|
5221 | #define IWineD3DTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5222 | #define IWineD3DTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5223 | #define IWineD3DTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5224 | /*** IWineD3DBase methods ***/
|
---|
5225 | #define IWineD3DTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5226 | /*** IWineD3DResource methods ***/
|
---|
5227 | #define IWineD3DTexture_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
5228 | #define IWineD3DTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5229 | #define IWineD3DTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5230 | #define IWineD3DTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5231 | #define IWineD3DTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5232 | #define IWineD3DTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5233 | #define IWineD3DTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5234 | #define IWineD3DTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5235 | #define IWineD3DTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5236 | /*** IWineD3DBaseTexture methods ***/
|
---|
5237 | #define IWineD3DTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5238 | #define IWineD3DTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5239 | #define IWineD3DTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5240 | #define IWineD3DTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5241 | #define IWineD3DTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5242 | #define IWineD3DTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5243 | #define IWineD3DTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5244 | #define IWineD3DTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5245 | #define IWineD3DTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5246 | #define IWineD3DTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5247 | #define IWineD3DTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5248 | /*** IWineD3DTexture methods ***/
|
---|
5249 | #define IWineD3DTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5250 | #define IWineD3DTexture_GetSurfaceLevel(This,level,surface) (This)->lpVtbl->GetSurfaceLevel(This,level,surface)
|
---|
5251 | #define IWineD3DTexture_LockRect(This,level,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,level,locked_rect,rect,flags)
|
---|
5252 | #define IWineD3DTexture_UnlockRect(This,level) (This)->lpVtbl->UnlockRect(This,level)
|
---|
5253 | #define IWineD3DTexture_AddDirtyRect(This,dirty_rect) (This)->lpVtbl->AddDirtyRect(This,dirty_rect)
|
---|
5254 | #endif
|
---|
5255 |
|
---|
5256 | #endif
|
---|
5257 |
|
---|
5258 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetLevelDesc_Proxy(
|
---|
5259 | IWineD3DTexture* This,
|
---|
5260 | UINT level,
|
---|
5261 | WINED3DSURFACE_DESC *desc);
|
---|
5262 | void __RPC_STUB IWineD3DTexture_GetLevelDesc_Stub(
|
---|
5263 | IRpcStubBuffer* This,
|
---|
5264 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5265 | PRPC_MESSAGE pRpcMessage,
|
---|
5266 | DWORD* pdwStubPhase);
|
---|
5267 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_GetSurfaceLevel_Proxy(
|
---|
5268 | IWineD3DTexture* This,
|
---|
5269 | UINT level,
|
---|
5270 | IWineD3DSurface **surface);
|
---|
5271 | void __RPC_STUB IWineD3DTexture_GetSurfaceLevel_Stub(
|
---|
5272 | IRpcStubBuffer* This,
|
---|
5273 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5274 | PRPC_MESSAGE pRpcMessage,
|
---|
5275 | DWORD* pdwStubPhase);
|
---|
5276 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_LockRect_Proxy(
|
---|
5277 | IWineD3DTexture* This,
|
---|
5278 | UINT level,
|
---|
5279 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5280 | const RECT *rect,
|
---|
5281 | DWORD flags);
|
---|
5282 | void __RPC_STUB IWineD3DTexture_LockRect_Stub(
|
---|
5283 | IRpcStubBuffer* This,
|
---|
5284 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5285 | PRPC_MESSAGE pRpcMessage,
|
---|
5286 | DWORD* pdwStubPhase);
|
---|
5287 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_UnlockRect_Proxy(
|
---|
5288 | IWineD3DTexture* This,
|
---|
5289 | UINT level);
|
---|
5290 | void __RPC_STUB IWineD3DTexture_UnlockRect_Stub(
|
---|
5291 | IRpcStubBuffer* This,
|
---|
5292 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5293 | PRPC_MESSAGE pRpcMessage,
|
---|
5294 | DWORD* pdwStubPhase);
|
---|
5295 | HRESULT STDMETHODCALLTYPE IWineD3DTexture_AddDirtyRect_Proxy(
|
---|
5296 | IWineD3DTexture* This,
|
---|
5297 | const RECT *dirty_rect);
|
---|
5298 | void __RPC_STUB IWineD3DTexture_AddDirtyRect_Stub(
|
---|
5299 | IRpcStubBuffer* This,
|
---|
5300 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5301 | PRPC_MESSAGE pRpcMessage,
|
---|
5302 | DWORD* pdwStubPhase);
|
---|
5303 |
|
---|
5304 | #endif /* __IWineD3DTexture_INTERFACE_DEFINED__ */
|
---|
5305 |
|
---|
5306 | /*****************************************************************************
|
---|
5307 | * IWineD3DCubeTexture interface
|
---|
5308 | */
|
---|
5309 | #ifndef __IWineD3DCubeTexture_INTERFACE_DEFINED__
|
---|
5310 | #define __IWineD3DCubeTexture_INTERFACE_DEFINED__
|
---|
5311 |
|
---|
5312 | DEFINE_GUID(IID_IWineD3DCubeTexture, 0x41752900, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5313 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5314 | interface IWineD3DCubeTexture : public IWineD3DBaseTexture
|
---|
5315 | {
|
---|
5316 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5317 | UINT level,
|
---|
5318 | WINED3DSURFACE_DESC *desc) = 0;
|
---|
5319 |
|
---|
5320 | virtual HRESULT STDMETHODCALLTYPE GetCubeMapSurface(
|
---|
5321 | WINED3DCUBEMAP_FACES face,
|
---|
5322 | UINT level,
|
---|
5323 | IWineD3DSurface **surface) = 0;
|
---|
5324 |
|
---|
5325 | virtual HRESULT STDMETHODCALLTYPE LockRect(
|
---|
5326 | WINED3DCUBEMAP_FACES face,
|
---|
5327 | UINT level,
|
---|
5328 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5329 | const RECT *rect,
|
---|
5330 | DWORD flags) = 0;
|
---|
5331 |
|
---|
5332 | virtual HRESULT STDMETHODCALLTYPE UnlockRect(
|
---|
5333 | WINED3DCUBEMAP_FACES face,
|
---|
5334 | UINT level) = 0;
|
---|
5335 |
|
---|
5336 | virtual HRESULT STDMETHODCALLTYPE AddDirtyRect(
|
---|
5337 | WINED3DCUBEMAP_FACES face,
|
---|
5338 | const RECT *dirty_rect) = 0;
|
---|
5339 |
|
---|
5340 | };
|
---|
5341 | #else
|
---|
5342 | typedef struct IWineD3DCubeTextureVtbl {
|
---|
5343 | BEGIN_INTERFACE
|
---|
5344 |
|
---|
5345 | /*** IUnknown methods ***/
|
---|
5346 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5347 | IWineD3DCubeTexture* This,
|
---|
5348 | REFIID riid,
|
---|
5349 | void **ppvObject);
|
---|
5350 |
|
---|
5351 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5352 | IWineD3DCubeTexture* This);
|
---|
5353 |
|
---|
5354 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5355 | IWineD3DCubeTexture* This);
|
---|
5356 |
|
---|
5357 | /*** IWineD3DBase methods ***/
|
---|
5358 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5359 | IWineD3DCubeTexture* This,
|
---|
5360 | IUnknown **parent);
|
---|
5361 |
|
---|
5362 | /*** IWineD3DResource methods ***/
|
---|
5363 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
5364 | IWineD3DCubeTexture* This,
|
---|
5365 | IWineD3DDevice **device);
|
---|
5366 |
|
---|
5367 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5368 | IWineD3DCubeTexture* This,
|
---|
5369 | REFGUID guid,
|
---|
5370 | const void *data,
|
---|
5371 | DWORD data_size,
|
---|
5372 | DWORD flags);
|
---|
5373 |
|
---|
5374 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5375 | IWineD3DCubeTexture* This,
|
---|
5376 | REFGUID guid,
|
---|
5377 | void *data,
|
---|
5378 | DWORD *data_size);
|
---|
5379 |
|
---|
5380 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5381 | IWineD3DCubeTexture* This,
|
---|
5382 | REFGUID guid);
|
---|
5383 |
|
---|
5384 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5385 | IWineD3DCubeTexture* This,
|
---|
5386 | DWORD new_priority);
|
---|
5387 |
|
---|
5388 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5389 | IWineD3DCubeTexture* This);
|
---|
5390 |
|
---|
5391 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5392 | IWineD3DCubeTexture* This);
|
---|
5393 |
|
---|
5394 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5395 | IWineD3DCubeTexture* This);
|
---|
5396 |
|
---|
5397 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5398 | IWineD3DCubeTexture* This);
|
---|
5399 |
|
---|
5400 | /*** IWineD3DBaseTexture methods ***/
|
---|
5401 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5402 | IWineD3DCubeTexture* This,
|
---|
5403 | DWORD new_lod);
|
---|
5404 |
|
---|
5405 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5406 | IWineD3DCubeTexture* This);
|
---|
5407 |
|
---|
5408 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5409 | IWineD3DCubeTexture* This);
|
---|
5410 |
|
---|
5411 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5412 | IWineD3DCubeTexture* This,
|
---|
5413 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5414 |
|
---|
5415 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5416 | IWineD3DCubeTexture* This);
|
---|
5417 |
|
---|
5418 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5419 | IWineD3DCubeTexture* This);
|
---|
5420 |
|
---|
5421 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5422 | IWineD3DCubeTexture* This,
|
---|
5423 | BOOL dirty);
|
---|
5424 |
|
---|
5425 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5426 | IWineD3DCubeTexture* This);
|
---|
5427 |
|
---|
5428 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5429 | IWineD3DCubeTexture* This,
|
---|
5430 | BOOL srgb);
|
---|
5431 |
|
---|
5432 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5433 | IWineD3DCubeTexture* This);
|
---|
5434 |
|
---|
5435 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5436 | IWineD3DCubeTexture* This);
|
---|
5437 |
|
---|
5438 | /*** IWineD3DCubeTexture methods ***/
|
---|
5439 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5440 | IWineD3DCubeTexture* This,
|
---|
5441 | UINT level,
|
---|
5442 | WINED3DSURFACE_DESC *desc);
|
---|
5443 |
|
---|
5444 | HRESULT (STDMETHODCALLTYPE *GetCubeMapSurface)(
|
---|
5445 | IWineD3DCubeTexture* This,
|
---|
5446 | WINED3DCUBEMAP_FACES face,
|
---|
5447 | UINT level,
|
---|
5448 | IWineD3DSurface **surface);
|
---|
5449 |
|
---|
5450 | HRESULT (STDMETHODCALLTYPE *LockRect)(
|
---|
5451 | IWineD3DCubeTexture* This,
|
---|
5452 | WINED3DCUBEMAP_FACES face,
|
---|
5453 | UINT level,
|
---|
5454 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5455 | const RECT *rect,
|
---|
5456 | DWORD flags);
|
---|
5457 |
|
---|
5458 | HRESULT (STDMETHODCALLTYPE *UnlockRect)(
|
---|
5459 | IWineD3DCubeTexture* This,
|
---|
5460 | WINED3DCUBEMAP_FACES face,
|
---|
5461 | UINT level);
|
---|
5462 |
|
---|
5463 | HRESULT (STDMETHODCALLTYPE *AddDirtyRect)(
|
---|
5464 | IWineD3DCubeTexture* This,
|
---|
5465 | WINED3DCUBEMAP_FACES face,
|
---|
5466 | const RECT *dirty_rect);
|
---|
5467 |
|
---|
5468 | END_INTERFACE
|
---|
5469 | } IWineD3DCubeTextureVtbl;
|
---|
5470 | interface IWineD3DCubeTexture {
|
---|
5471 | CONST_VTBL IWineD3DCubeTextureVtbl* lpVtbl;
|
---|
5472 | };
|
---|
5473 |
|
---|
5474 | #ifdef COBJMACROS
|
---|
5475 | /*** IUnknown methods ***/
|
---|
5476 | #define IWineD3DCubeTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5477 | #define IWineD3DCubeTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5478 | #define IWineD3DCubeTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5479 | /*** IWineD3DBase methods ***/
|
---|
5480 | #define IWineD3DCubeTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5481 | /*** IWineD3DResource methods ***/
|
---|
5482 | #define IWineD3DCubeTexture_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
5483 | #define IWineD3DCubeTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5484 | #define IWineD3DCubeTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5485 | #define IWineD3DCubeTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5486 | #define IWineD3DCubeTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5487 | #define IWineD3DCubeTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5488 | #define IWineD3DCubeTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5489 | #define IWineD3DCubeTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5490 | #define IWineD3DCubeTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5491 | /*** IWineD3DBaseTexture methods ***/
|
---|
5492 | #define IWineD3DCubeTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5493 | #define IWineD3DCubeTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5494 | #define IWineD3DCubeTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5495 | #define IWineD3DCubeTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5496 | #define IWineD3DCubeTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5497 | #define IWineD3DCubeTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5498 | #define IWineD3DCubeTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5499 | #define IWineD3DCubeTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5500 | #define IWineD3DCubeTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5501 | #define IWineD3DCubeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5502 | #define IWineD3DCubeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5503 | /*** IWineD3DCubeTexture methods ***/
|
---|
5504 | #define IWineD3DCubeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5505 | #define IWineD3DCubeTexture_GetCubeMapSurface(This,face,level,surface) (This)->lpVtbl->GetCubeMapSurface(This,face,level,surface)
|
---|
5506 | #define IWineD3DCubeTexture_LockRect(This,face,level,locked_rect,rect,flags) (This)->lpVtbl->LockRect(This,face,level,locked_rect,rect,flags)
|
---|
5507 | #define IWineD3DCubeTexture_UnlockRect(This,face,level) (This)->lpVtbl->UnlockRect(This,face,level)
|
---|
5508 | #define IWineD3DCubeTexture_AddDirtyRect(This,face,dirty_rect) (This)->lpVtbl->AddDirtyRect(This,face,dirty_rect)
|
---|
5509 | #endif
|
---|
5510 |
|
---|
5511 | #endif
|
---|
5512 |
|
---|
5513 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetLevelDesc_Proxy(
|
---|
5514 | IWineD3DCubeTexture* This,
|
---|
5515 | UINT level,
|
---|
5516 | WINED3DSURFACE_DESC *desc);
|
---|
5517 | void __RPC_STUB IWineD3DCubeTexture_GetLevelDesc_Stub(
|
---|
5518 | IRpcStubBuffer* This,
|
---|
5519 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5520 | PRPC_MESSAGE pRpcMessage,
|
---|
5521 | DWORD* pdwStubPhase);
|
---|
5522 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_GetCubeMapSurface_Proxy(
|
---|
5523 | IWineD3DCubeTexture* This,
|
---|
5524 | WINED3DCUBEMAP_FACES face,
|
---|
5525 | UINT level,
|
---|
5526 | IWineD3DSurface **surface);
|
---|
5527 | void __RPC_STUB IWineD3DCubeTexture_GetCubeMapSurface_Stub(
|
---|
5528 | IRpcStubBuffer* This,
|
---|
5529 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5530 | PRPC_MESSAGE pRpcMessage,
|
---|
5531 | DWORD* pdwStubPhase);
|
---|
5532 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_LockRect_Proxy(
|
---|
5533 | IWineD3DCubeTexture* This,
|
---|
5534 | WINED3DCUBEMAP_FACES face,
|
---|
5535 | UINT level,
|
---|
5536 | WINED3DLOCKED_RECT *locked_rect,
|
---|
5537 | const RECT *rect,
|
---|
5538 | DWORD flags);
|
---|
5539 | void __RPC_STUB IWineD3DCubeTexture_LockRect_Stub(
|
---|
5540 | IRpcStubBuffer* This,
|
---|
5541 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5542 | PRPC_MESSAGE pRpcMessage,
|
---|
5543 | DWORD* pdwStubPhase);
|
---|
5544 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_UnlockRect_Proxy(
|
---|
5545 | IWineD3DCubeTexture* This,
|
---|
5546 | WINED3DCUBEMAP_FACES face,
|
---|
5547 | UINT level);
|
---|
5548 | void __RPC_STUB IWineD3DCubeTexture_UnlockRect_Stub(
|
---|
5549 | IRpcStubBuffer* This,
|
---|
5550 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5551 | PRPC_MESSAGE pRpcMessage,
|
---|
5552 | DWORD* pdwStubPhase);
|
---|
5553 | HRESULT STDMETHODCALLTYPE IWineD3DCubeTexture_AddDirtyRect_Proxy(
|
---|
5554 | IWineD3DCubeTexture* This,
|
---|
5555 | WINED3DCUBEMAP_FACES face,
|
---|
5556 | const RECT *dirty_rect);
|
---|
5557 | void __RPC_STUB IWineD3DCubeTexture_AddDirtyRect_Stub(
|
---|
5558 | IRpcStubBuffer* This,
|
---|
5559 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5560 | PRPC_MESSAGE pRpcMessage,
|
---|
5561 | DWORD* pdwStubPhase);
|
---|
5562 |
|
---|
5563 | #endif /* __IWineD3DCubeTexture_INTERFACE_DEFINED__ */
|
---|
5564 |
|
---|
5565 | /*****************************************************************************
|
---|
5566 | * IWineD3DVolumeTexture interface
|
---|
5567 | */
|
---|
5568 | #ifndef __IWineD3DVolumeTexture_INTERFACE_DEFINED__
|
---|
5569 | #define __IWineD3DVolumeTexture_INTERFACE_DEFINED__
|
---|
5570 |
|
---|
5571 | DEFINE_GUID(IID_IWineD3DVolumeTexture, 0x7b39470c, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5572 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5573 | interface IWineD3DVolumeTexture : public IWineD3DBaseTexture
|
---|
5574 | {
|
---|
5575 | virtual HRESULT STDMETHODCALLTYPE GetLevelDesc(
|
---|
5576 | UINT level,
|
---|
5577 | WINED3DVOLUME_DESC *desc) = 0;
|
---|
5578 |
|
---|
5579 | virtual HRESULT STDMETHODCALLTYPE GetVolumeLevel(
|
---|
5580 | UINT level,
|
---|
5581 | IWineD3DVolume **volume) = 0;
|
---|
5582 |
|
---|
5583 | virtual HRESULT STDMETHODCALLTYPE LockBox(
|
---|
5584 | UINT level,
|
---|
5585 | WINED3DLOCKED_BOX *locked_box,
|
---|
5586 | const WINED3DBOX *box,
|
---|
5587 | DWORD flags) = 0;
|
---|
5588 |
|
---|
5589 | virtual HRESULT STDMETHODCALLTYPE UnlockBox(
|
---|
5590 | UINT level) = 0;
|
---|
5591 |
|
---|
5592 | virtual HRESULT STDMETHODCALLTYPE AddDirtyBox(
|
---|
5593 | const WINED3DBOX *dirty_box) = 0;
|
---|
5594 |
|
---|
5595 | };
|
---|
5596 | #else
|
---|
5597 | typedef struct IWineD3DVolumeTextureVtbl {
|
---|
5598 | BEGIN_INTERFACE
|
---|
5599 |
|
---|
5600 | /*** IUnknown methods ***/
|
---|
5601 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5602 | IWineD3DVolumeTexture* This,
|
---|
5603 | REFIID riid,
|
---|
5604 | void **ppvObject);
|
---|
5605 |
|
---|
5606 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5607 | IWineD3DVolumeTexture* This);
|
---|
5608 |
|
---|
5609 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5610 | IWineD3DVolumeTexture* This);
|
---|
5611 |
|
---|
5612 | /*** IWineD3DBase methods ***/
|
---|
5613 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5614 | IWineD3DVolumeTexture* This,
|
---|
5615 | IUnknown **parent);
|
---|
5616 |
|
---|
5617 | /*** IWineD3DResource methods ***/
|
---|
5618 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
5619 | IWineD3DVolumeTexture* This,
|
---|
5620 | IWineD3DDevice **device);
|
---|
5621 |
|
---|
5622 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
5623 | IWineD3DVolumeTexture* This,
|
---|
5624 | REFGUID guid,
|
---|
5625 | const void *data,
|
---|
5626 | DWORD data_size,
|
---|
5627 | DWORD flags);
|
---|
5628 |
|
---|
5629 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
5630 | IWineD3DVolumeTexture* This,
|
---|
5631 | REFGUID guid,
|
---|
5632 | void *data,
|
---|
5633 | DWORD *data_size);
|
---|
5634 |
|
---|
5635 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
5636 | IWineD3DVolumeTexture* This,
|
---|
5637 | REFGUID guid);
|
---|
5638 |
|
---|
5639 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
5640 | IWineD3DVolumeTexture* This,
|
---|
5641 | DWORD new_priority);
|
---|
5642 |
|
---|
5643 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
5644 | IWineD3DVolumeTexture* This);
|
---|
5645 |
|
---|
5646 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
5647 | IWineD3DVolumeTexture* This);
|
---|
5648 |
|
---|
5649 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
5650 | IWineD3DVolumeTexture* This);
|
---|
5651 |
|
---|
5652 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
5653 | IWineD3DVolumeTexture* This);
|
---|
5654 |
|
---|
5655 | /*** IWineD3DBaseTexture methods ***/
|
---|
5656 | DWORD (STDMETHODCALLTYPE *SetLOD)(
|
---|
5657 | IWineD3DVolumeTexture* This,
|
---|
5658 | DWORD new_lod);
|
---|
5659 |
|
---|
5660 | DWORD (STDMETHODCALLTYPE *GetLOD)(
|
---|
5661 | IWineD3DVolumeTexture* This);
|
---|
5662 |
|
---|
5663 | DWORD (STDMETHODCALLTYPE *GetLevelCount)(
|
---|
5664 | IWineD3DVolumeTexture* This);
|
---|
5665 |
|
---|
5666 | HRESULT (STDMETHODCALLTYPE *SetAutoGenFilterType)(
|
---|
5667 | IWineD3DVolumeTexture* This,
|
---|
5668 | WINED3DTEXTUREFILTERTYPE filter_type);
|
---|
5669 |
|
---|
5670 | WINED3DTEXTUREFILTERTYPE (STDMETHODCALLTYPE *GetAutoGenFilterType)(
|
---|
5671 | IWineD3DVolumeTexture* This);
|
---|
5672 |
|
---|
5673 | void (STDMETHODCALLTYPE *GenerateMipSubLevels)(
|
---|
5674 | IWineD3DVolumeTexture* This);
|
---|
5675 |
|
---|
5676 | BOOL (STDMETHODCALLTYPE *SetDirty)(
|
---|
5677 | IWineD3DVolumeTexture* This,
|
---|
5678 | BOOL dirty);
|
---|
5679 |
|
---|
5680 | BOOL (STDMETHODCALLTYPE *GetDirty)(
|
---|
5681 | IWineD3DVolumeTexture* This);
|
---|
5682 |
|
---|
5683 | HRESULT (STDMETHODCALLTYPE *BindTexture)(
|
---|
5684 | IWineD3DVolumeTexture* This,
|
---|
5685 | BOOL srgb);
|
---|
5686 |
|
---|
5687 | UINT (STDMETHODCALLTYPE *GetTextureDimensions)(
|
---|
5688 | IWineD3DVolumeTexture* This);
|
---|
5689 |
|
---|
5690 | BOOL (STDMETHODCALLTYPE *IsCondNP2)(
|
---|
5691 | IWineD3DVolumeTexture* This);
|
---|
5692 |
|
---|
5693 | /*** IWineD3DVolumeTexture methods ***/
|
---|
5694 | HRESULT (STDMETHODCALLTYPE *GetLevelDesc)(
|
---|
5695 | IWineD3DVolumeTexture* This,
|
---|
5696 | UINT level,
|
---|
5697 | WINED3DVOLUME_DESC *desc);
|
---|
5698 |
|
---|
5699 | HRESULT (STDMETHODCALLTYPE *GetVolumeLevel)(
|
---|
5700 | IWineD3DVolumeTexture* This,
|
---|
5701 | UINT level,
|
---|
5702 | IWineD3DVolume **volume);
|
---|
5703 |
|
---|
5704 | HRESULT (STDMETHODCALLTYPE *LockBox)(
|
---|
5705 | IWineD3DVolumeTexture* This,
|
---|
5706 | UINT level,
|
---|
5707 | WINED3DLOCKED_BOX *locked_box,
|
---|
5708 | const WINED3DBOX *box,
|
---|
5709 | DWORD flags);
|
---|
5710 |
|
---|
5711 | HRESULT (STDMETHODCALLTYPE *UnlockBox)(
|
---|
5712 | IWineD3DVolumeTexture* This,
|
---|
5713 | UINT level);
|
---|
5714 |
|
---|
5715 | HRESULT (STDMETHODCALLTYPE *AddDirtyBox)(
|
---|
5716 | IWineD3DVolumeTexture* This,
|
---|
5717 | const WINED3DBOX *dirty_box);
|
---|
5718 |
|
---|
5719 | END_INTERFACE
|
---|
5720 | } IWineD3DVolumeTextureVtbl;
|
---|
5721 | interface IWineD3DVolumeTexture {
|
---|
5722 | CONST_VTBL IWineD3DVolumeTextureVtbl* lpVtbl;
|
---|
5723 | };
|
---|
5724 |
|
---|
5725 | #ifdef COBJMACROS
|
---|
5726 | /*** IUnknown methods ***/
|
---|
5727 | #define IWineD3DVolumeTexture_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5728 | #define IWineD3DVolumeTexture_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5729 | #define IWineD3DVolumeTexture_Release(This) (This)->lpVtbl->Release(This)
|
---|
5730 | /*** IWineD3DBase methods ***/
|
---|
5731 | #define IWineD3DVolumeTexture_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5732 | /*** IWineD3DResource methods ***/
|
---|
5733 | #define IWineD3DVolumeTexture_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
5734 | #define IWineD3DVolumeTexture_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
5735 | #define IWineD3DVolumeTexture_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
5736 | #define IWineD3DVolumeTexture_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
5737 | #define IWineD3DVolumeTexture_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
5738 | #define IWineD3DVolumeTexture_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
5739 | #define IWineD3DVolumeTexture_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
5740 | #define IWineD3DVolumeTexture_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
5741 | #define IWineD3DVolumeTexture_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
5742 | /*** IWineD3DBaseTexture methods ***/
|
---|
5743 | #define IWineD3DVolumeTexture_SetLOD(This,new_lod) (This)->lpVtbl->SetLOD(This,new_lod)
|
---|
5744 | #define IWineD3DVolumeTexture_GetLOD(This) (This)->lpVtbl->GetLOD(This)
|
---|
5745 | #define IWineD3DVolumeTexture_GetLevelCount(This) (This)->lpVtbl->GetLevelCount(This)
|
---|
5746 | #define IWineD3DVolumeTexture_SetAutoGenFilterType(This,filter_type) (This)->lpVtbl->SetAutoGenFilterType(This,filter_type)
|
---|
5747 | #define IWineD3DVolumeTexture_GetAutoGenFilterType(This) (This)->lpVtbl->GetAutoGenFilterType(This)
|
---|
5748 | #define IWineD3DVolumeTexture_GenerateMipSubLevels(This) (This)->lpVtbl->GenerateMipSubLevels(This)
|
---|
5749 | #define IWineD3DVolumeTexture_SetDirty(This,dirty) (This)->lpVtbl->SetDirty(This,dirty)
|
---|
5750 | #define IWineD3DVolumeTexture_GetDirty(This) (This)->lpVtbl->GetDirty(This)
|
---|
5751 | #define IWineD3DVolumeTexture_BindTexture(This,srgb) (This)->lpVtbl->BindTexture(This,srgb)
|
---|
5752 | #define IWineD3DVolumeTexture_GetTextureDimensions(This) (This)->lpVtbl->GetTextureDimensions(This)
|
---|
5753 | #define IWineD3DVolumeTexture_IsCondNP2(This) (This)->lpVtbl->IsCondNP2(This)
|
---|
5754 | /*** IWineD3DVolumeTexture methods ***/
|
---|
5755 | #define IWineD3DVolumeTexture_GetLevelDesc(This,level,desc) (This)->lpVtbl->GetLevelDesc(This,level,desc)
|
---|
5756 | #define IWineD3DVolumeTexture_GetVolumeLevel(This,level,volume) (This)->lpVtbl->GetVolumeLevel(This,level,volume)
|
---|
5757 | #define IWineD3DVolumeTexture_LockBox(This,level,locked_box,box,flags) (This)->lpVtbl->LockBox(This,level,locked_box,box,flags)
|
---|
5758 | #define IWineD3DVolumeTexture_UnlockBox(This,level) (This)->lpVtbl->UnlockBox(This,level)
|
---|
5759 | #define IWineD3DVolumeTexture_AddDirtyBox(This,dirty_box) (This)->lpVtbl->AddDirtyBox(This,dirty_box)
|
---|
5760 | #endif
|
---|
5761 |
|
---|
5762 | #endif
|
---|
5763 |
|
---|
5764 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetLevelDesc_Proxy(
|
---|
5765 | IWineD3DVolumeTexture* This,
|
---|
5766 | UINT level,
|
---|
5767 | WINED3DVOLUME_DESC *desc);
|
---|
5768 | void __RPC_STUB IWineD3DVolumeTexture_GetLevelDesc_Stub(
|
---|
5769 | IRpcStubBuffer* This,
|
---|
5770 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5771 | PRPC_MESSAGE pRpcMessage,
|
---|
5772 | DWORD* pdwStubPhase);
|
---|
5773 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_GetVolumeLevel_Proxy(
|
---|
5774 | IWineD3DVolumeTexture* This,
|
---|
5775 | UINT level,
|
---|
5776 | IWineD3DVolume **volume);
|
---|
5777 | void __RPC_STUB IWineD3DVolumeTexture_GetVolumeLevel_Stub(
|
---|
5778 | IRpcStubBuffer* This,
|
---|
5779 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5780 | PRPC_MESSAGE pRpcMessage,
|
---|
5781 | DWORD* pdwStubPhase);
|
---|
5782 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_LockBox_Proxy(
|
---|
5783 | IWineD3DVolumeTexture* This,
|
---|
5784 | UINT level,
|
---|
5785 | WINED3DLOCKED_BOX *locked_box,
|
---|
5786 | const WINED3DBOX *box,
|
---|
5787 | DWORD flags);
|
---|
5788 | void __RPC_STUB IWineD3DVolumeTexture_LockBox_Stub(
|
---|
5789 | IRpcStubBuffer* This,
|
---|
5790 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5791 | PRPC_MESSAGE pRpcMessage,
|
---|
5792 | DWORD* pdwStubPhase);
|
---|
5793 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_UnlockBox_Proxy(
|
---|
5794 | IWineD3DVolumeTexture* This,
|
---|
5795 | UINT level);
|
---|
5796 | void __RPC_STUB IWineD3DVolumeTexture_UnlockBox_Stub(
|
---|
5797 | IRpcStubBuffer* This,
|
---|
5798 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5799 | PRPC_MESSAGE pRpcMessage,
|
---|
5800 | DWORD* pdwStubPhase);
|
---|
5801 | HRESULT STDMETHODCALLTYPE IWineD3DVolumeTexture_AddDirtyBox_Proxy(
|
---|
5802 | IWineD3DVolumeTexture* This,
|
---|
5803 | const WINED3DBOX *dirty_box);
|
---|
5804 | void __RPC_STUB IWineD3DVolumeTexture_AddDirtyBox_Stub(
|
---|
5805 | IRpcStubBuffer* This,
|
---|
5806 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5807 | PRPC_MESSAGE pRpcMessage,
|
---|
5808 | DWORD* pdwStubPhase);
|
---|
5809 |
|
---|
5810 | #endif /* __IWineD3DVolumeTexture_INTERFACE_DEFINED__ */
|
---|
5811 |
|
---|
5812 | /*****************************************************************************
|
---|
5813 | * IWineD3DVertexDeclaration interface
|
---|
5814 | */
|
---|
5815 | #ifndef __IWineD3DVertexDeclaration_INTERFACE_DEFINED__
|
---|
5816 | #define __IWineD3DVertexDeclaration_INTERFACE_DEFINED__
|
---|
5817 |
|
---|
5818 | DEFINE_GUID(IID_IWineD3DVertexDeclaration, 0x7cd55be6, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5819 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5820 | interface IWineD3DVertexDeclaration : public IWineD3DBase
|
---|
5821 | {
|
---|
5822 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
5823 | IWineD3DDevice **device) = 0;
|
---|
5824 |
|
---|
5825 | };
|
---|
5826 | #else
|
---|
5827 | typedef struct IWineD3DVertexDeclarationVtbl {
|
---|
5828 | BEGIN_INTERFACE
|
---|
5829 |
|
---|
5830 | /*** IUnknown methods ***/
|
---|
5831 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5832 | IWineD3DVertexDeclaration* This,
|
---|
5833 | REFIID riid,
|
---|
5834 | void **ppvObject);
|
---|
5835 |
|
---|
5836 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5837 | IWineD3DVertexDeclaration* This);
|
---|
5838 |
|
---|
5839 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5840 | IWineD3DVertexDeclaration* This);
|
---|
5841 |
|
---|
5842 | /*** IWineD3DBase methods ***/
|
---|
5843 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5844 | IWineD3DVertexDeclaration* This,
|
---|
5845 | IUnknown **parent);
|
---|
5846 |
|
---|
5847 | /*** IWineD3DVertexDeclaration methods ***/
|
---|
5848 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
5849 | IWineD3DVertexDeclaration* This,
|
---|
5850 | IWineD3DDevice **device);
|
---|
5851 |
|
---|
5852 | END_INTERFACE
|
---|
5853 | } IWineD3DVertexDeclarationVtbl;
|
---|
5854 | interface IWineD3DVertexDeclaration {
|
---|
5855 | CONST_VTBL IWineD3DVertexDeclarationVtbl* lpVtbl;
|
---|
5856 | };
|
---|
5857 |
|
---|
5858 | #ifdef COBJMACROS
|
---|
5859 | /*** IUnknown methods ***/
|
---|
5860 | #define IWineD3DVertexDeclaration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5861 | #define IWineD3DVertexDeclaration_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5862 | #define IWineD3DVertexDeclaration_Release(This) (This)->lpVtbl->Release(This)
|
---|
5863 | /*** IWineD3DBase methods ***/
|
---|
5864 | #define IWineD3DVertexDeclaration_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5865 | /*** IWineD3DVertexDeclaration methods ***/
|
---|
5866 | #define IWineD3DVertexDeclaration_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
5867 | #endif
|
---|
5868 |
|
---|
5869 | #endif
|
---|
5870 |
|
---|
5871 | HRESULT STDMETHODCALLTYPE IWineD3DVertexDeclaration_GetDevice_Proxy(
|
---|
5872 | IWineD3DVertexDeclaration* This,
|
---|
5873 | IWineD3DDevice **device);
|
---|
5874 | void __RPC_STUB IWineD3DVertexDeclaration_GetDevice_Stub(
|
---|
5875 | IRpcStubBuffer* This,
|
---|
5876 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5877 | PRPC_MESSAGE pRpcMessage,
|
---|
5878 | DWORD* pdwStubPhase);
|
---|
5879 |
|
---|
5880 | #endif /* __IWineD3DVertexDeclaration_INTERFACE_DEFINED__ */
|
---|
5881 |
|
---|
5882 | /*****************************************************************************
|
---|
5883 | * IWineD3DStateBlock interface
|
---|
5884 | */
|
---|
5885 | #ifndef __IWineD3DStateBlock_INTERFACE_DEFINED__
|
---|
5886 | #define __IWineD3DStateBlock_INTERFACE_DEFINED__
|
---|
5887 |
|
---|
5888 | DEFINE_GUID(IID_IWineD3DStateBlock, 0x83b073ce, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
5889 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
5890 | interface IWineD3DStateBlock : public IWineD3DBase
|
---|
5891 | {
|
---|
5892 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
5893 | IWineD3DDevice **device) = 0;
|
---|
5894 |
|
---|
5895 | virtual HRESULT STDMETHODCALLTYPE Capture(
|
---|
5896 | ) = 0;
|
---|
5897 |
|
---|
5898 | virtual HRESULT STDMETHODCALLTYPE Apply(
|
---|
5899 | ) = 0;
|
---|
5900 |
|
---|
5901 | virtual HRESULT STDMETHODCALLTYPE InitStartupStateBlock(
|
---|
5902 | ) = 0;
|
---|
5903 |
|
---|
5904 | };
|
---|
5905 | #else
|
---|
5906 | typedef struct IWineD3DStateBlockVtbl {
|
---|
5907 | BEGIN_INTERFACE
|
---|
5908 |
|
---|
5909 | /*** IUnknown methods ***/
|
---|
5910 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
5911 | IWineD3DStateBlock* This,
|
---|
5912 | REFIID riid,
|
---|
5913 | void **ppvObject);
|
---|
5914 |
|
---|
5915 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
5916 | IWineD3DStateBlock* This);
|
---|
5917 |
|
---|
5918 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
5919 | IWineD3DStateBlock* This);
|
---|
5920 |
|
---|
5921 | /*** IWineD3DBase methods ***/
|
---|
5922 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
5923 | IWineD3DStateBlock* This,
|
---|
5924 | IUnknown **parent);
|
---|
5925 |
|
---|
5926 | /*** IWineD3DStateBlock methods ***/
|
---|
5927 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
5928 | IWineD3DStateBlock* This,
|
---|
5929 | IWineD3DDevice **device);
|
---|
5930 |
|
---|
5931 | HRESULT (STDMETHODCALLTYPE *Capture)(
|
---|
5932 | IWineD3DStateBlock* This);
|
---|
5933 |
|
---|
5934 | HRESULT (STDMETHODCALLTYPE *Apply)(
|
---|
5935 | IWineD3DStateBlock* This);
|
---|
5936 |
|
---|
5937 | HRESULT (STDMETHODCALLTYPE *InitStartupStateBlock)(
|
---|
5938 | IWineD3DStateBlock* This);
|
---|
5939 |
|
---|
5940 | END_INTERFACE
|
---|
5941 | } IWineD3DStateBlockVtbl;
|
---|
5942 | interface IWineD3DStateBlock {
|
---|
5943 | CONST_VTBL IWineD3DStateBlockVtbl* lpVtbl;
|
---|
5944 | };
|
---|
5945 |
|
---|
5946 | #ifdef COBJMACROS
|
---|
5947 | /*** IUnknown methods ***/
|
---|
5948 | #define IWineD3DStateBlock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
5949 | #define IWineD3DStateBlock_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
5950 | #define IWineD3DStateBlock_Release(This) (This)->lpVtbl->Release(This)
|
---|
5951 | /*** IWineD3DBase methods ***/
|
---|
5952 | #define IWineD3DStateBlock_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
5953 | /*** IWineD3DStateBlock methods ***/
|
---|
5954 | #define IWineD3DStateBlock_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
5955 | #define IWineD3DStateBlock_Capture(This) (This)->lpVtbl->Capture(This)
|
---|
5956 | #define IWineD3DStateBlock_Apply(This) (This)->lpVtbl->Apply(This)
|
---|
5957 | #define IWineD3DStateBlock_InitStartupStateBlock(This) (This)->lpVtbl->InitStartupStateBlock(This)
|
---|
5958 | #endif
|
---|
5959 |
|
---|
5960 | #endif
|
---|
5961 |
|
---|
5962 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_GetDevice_Proxy(
|
---|
5963 | IWineD3DStateBlock* This,
|
---|
5964 | IWineD3DDevice **device);
|
---|
5965 | void __RPC_STUB IWineD3DStateBlock_GetDevice_Stub(
|
---|
5966 | IRpcStubBuffer* This,
|
---|
5967 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5968 | PRPC_MESSAGE pRpcMessage,
|
---|
5969 | DWORD* pdwStubPhase);
|
---|
5970 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_Capture_Proxy(
|
---|
5971 | IWineD3DStateBlock* This);
|
---|
5972 | void __RPC_STUB IWineD3DStateBlock_Capture_Stub(
|
---|
5973 | IRpcStubBuffer* This,
|
---|
5974 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5975 | PRPC_MESSAGE pRpcMessage,
|
---|
5976 | DWORD* pdwStubPhase);
|
---|
5977 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_Apply_Proxy(
|
---|
5978 | IWineD3DStateBlock* This);
|
---|
5979 | void __RPC_STUB IWineD3DStateBlock_Apply_Stub(
|
---|
5980 | IRpcStubBuffer* This,
|
---|
5981 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5982 | PRPC_MESSAGE pRpcMessage,
|
---|
5983 | DWORD* pdwStubPhase);
|
---|
5984 | HRESULT STDMETHODCALLTYPE IWineD3DStateBlock_InitStartupStateBlock_Proxy(
|
---|
5985 | IWineD3DStateBlock* This);
|
---|
5986 | void __RPC_STUB IWineD3DStateBlock_InitStartupStateBlock_Stub(
|
---|
5987 | IRpcStubBuffer* This,
|
---|
5988 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
5989 | PRPC_MESSAGE pRpcMessage,
|
---|
5990 | DWORD* pdwStubPhase);
|
---|
5991 |
|
---|
5992 | #endif /* __IWineD3DStateBlock_INTERFACE_DEFINED__ */
|
---|
5993 |
|
---|
5994 | /*****************************************************************************
|
---|
5995 | * IWineD3DQuery interface
|
---|
5996 | */
|
---|
5997 | #ifndef __IWineD3DQuery_INTERFACE_DEFINED__
|
---|
5998 | #define __IWineD3DQuery_INTERFACE_DEFINED__
|
---|
5999 |
|
---|
6000 | DEFINE_GUID(IID_IWineD3DQuery, 0x905ddbac, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6001 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6002 | interface IWineD3DQuery : public IWineD3DBase
|
---|
6003 | {
|
---|
6004 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
6005 | IWineD3DDevice **device) = 0;
|
---|
6006 |
|
---|
6007 | virtual HRESULT STDMETHODCALLTYPE GetData(
|
---|
6008 | void *data,
|
---|
6009 | DWORD data_size,
|
---|
6010 | DWORD flags) = 0;
|
---|
6011 |
|
---|
6012 | virtual DWORD STDMETHODCALLTYPE GetDataSize(
|
---|
6013 | ) = 0;
|
---|
6014 |
|
---|
6015 | virtual WINED3DQUERYTYPE STDMETHODCALLTYPE GetType(
|
---|
6016 | ) = 0;
|
---|
6017 |
|
---|
6018 | virtual HRESULT STDMETHODCALLTYPE Issue(
|
---|
6019 | DWORD flags) = 0;
|
---|
6020 |
|
---|
6021 | };
|
---|
6022 | #else
|
---|
6023 | typedef struct IWineD3DQueryVtbl {
|
---|
6024 | BEGIN_INTERFACE
|
---|
6025 |
|
---|
6026 | /*** IUnknown methods ***/
|
---|
6027 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6028 | IWineD3DQuery* This,
|
---|
6029 | REFIID riid,
|
---|
6030 | void **ppvObject);
|
---|
6031 |
|
---|
6032 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6033 | IWineD3DQuery* This);
|
---|
6034 |
|
---|
6035 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6036 | IWineD3DQuery* This);
|
---|
6037 |
|
---|
6038 | /*** IWineD3DBase methods ***/
|
---|
6039 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6040 | IWineD3DQuery* This,
|
---|
6041 | IUnknown **parent);
|
---|
6042 |
|
---|
6043 | /*** IWineD3DQuery methods ***/
|
---|
6044 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6045 | IWineD3DQuery* This,
|
---|
6046 | IWineD3DDevice **device);
|
---|
6047 |
|
---|
6048 | HRESULT (STDMETHODCALLTYPE *GetData)(
|
---|
6049 | IWineD3DQuery* This,
|
---|
6050 | void *data,
|
---|
6051 | DWORD data_size,
|
---|
6052 | DWORD flags);
|
---|
6053 |
|
---|
6054 | DWORD (STDMETHODCALLTYPE *GetDataSize)(
|
---|
6055 | IWineD3DQuery* This);
|
---|
6056 |
|
---|
6057 | WINED3DQUERYTYPE (STDMETHODCALLTYPE *GetType)(
|
---|
6058 | IWineD3DQuery* This);
|
---|
6059 |
|
---|
6060 | HRESULT (STDMETHODCALLTYPE *Issue)(
|
---|
6061 | IWineD3DQuery* This,
|
---|
6062 | DWORD flags);
|
---|
6063 |
|
---|
6064 | END_INTERFACE
|
---|
6065 | } IWineD3DQueryVtbl;
|
---|
6066 | interface IWineD3DQuery {
|
---|
6067 | CONST_VTBL IWineD3DQueryVtbl* lpVtbl;
|
---|
6068 | };
|
---|
6069 |
|
---|
6070 | #ifdef COBJMACROS
|
---|
6071 | /*** IUnknown methods ***/
|
---|
6072 | #define IWineD3DQuery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6073 | #define IWineD3DQuery_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6074 | #define IWineD3DQuery_Release(This) (This)->lpVtbl->Release(This)
|
---|
6075 | /*** IWineD3DBase methods ***/
|
---|
6076 | #define IWineD3DQuery_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6077 | /*** IWineD3DQuery methods ***/
|
---|
6078 | #define IWineD3DQuery_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6079 | #define IWineD3DQuery_GetData(This,data,data_size,flags) (This)->lpVtbl->GetData(This,data,data_size,flags)
|
---|
6080 | #define IWineD3DQuery_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
|
---|
6081 | #define IWineD3DQuery_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
6082 | #define IWineD3DQuery_Issue(This,flags) (This)->lpVtbl->Issue(This,flags)
|
---|
6083 | #endif
|
---|
6084 |
|
---|
6085 | #endif
|
---|
6086 |
|
---|
6087 | HRESULT STDMETHODCALLTYPE IWineD3DQuery_GetDevice_Proxy(
|
---|
6088 | IWineD3DQuery* This,
|
---|
6089 | IWineD3DDevice **device);
|
---|
6090 | void __RPC_STUB IWineD3DQuery_GetDevice_Stub(
|
---|
6091 | IRpcStubBuffer* This,
|
---|
6092 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6093 | PRPC_MESSAGE pRpcMessage,
|
---|
6094 | DWORD* pdwStubPhase);
|
---|
6095 | HRESULT STDMETHODCALLTYPE IWineD3DQuery_GetData_Proxy(
|
---|
6096 | IWineD3DQuery* This,
|
---|
6097 | void *data,
|
---|
6098 | DWORD data_size,
|
---|
6099 | DWORD flags);
|
---|
6100 | void __RPC_STUB IWineD3DQuery_GetData_Stub(
|
---|
6101 | IRpcStubBuffer* This,
|
---|
6102 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6103 | PRPC_MESSAGE pRpcMessage,
|
---|
6104 | DWORD* pdwStubPhase);
|
---|
6105 | DWORD STDMETHODCALLTYPE IWineD3DQuery_GetDataSize_Proxy(
|
---|
6106 | IWineD3DQuery* This);
|
---|
6107 | void __RPC_STUB IWineD3DQuery_GetDataSize_Stub(
|
---|
6108 | IRpcStubBuffer* This,
|
---|
6109 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6110 | PRPC_MESSAGE pRpcMessage,
|
---|
6111 | DWORD* pdwStubPhase);
|
---|
6112 | WINED3DQUERYTYPE STDMETHODCALLTYPE IWineD3DQuery_GetType_Proxy(
|
---|
6113 | IWineD3DQuery* This);
|
---|
6114 | void __RPC_STUB IWineD3DQuery_GetType_Stub(
|
---|
6115 | IRpcStubBuffer* This,
|
---|
6116 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6117 | PRPC_MESSAGE pRpcMessage,
|
---|
6118 | DWORD* pdwStubPhase);
|
---|
6119 | HRESULT STDMETHODCALLTYPE IWineD3DQuery_Issue_Proxy(
|
---|
6120 | IWineD3DQuery* This,
|
---|
6121 | DWORD flags);
|
---|
6122 | void __RPC_STUB IWineD3DQuery_Issue_Stub(
|
---|
6123 | IRpcStubBuffer* This,
|
---|
6124 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6125 | PRPC_MESSAGE pRpcMessage,
|
---|
6126 | DWORD* pdwStubPhase);
|
---|
6127 |
|
---|
6128 | #endif /* __IWineD3DQuery_INTERFACE_DEFINED__ */
|
---|
6129 |
|
---|
6130 | /*****************************************************************************
|
---|
6131 | * IWineD3DSwapChain interface
|
---|
6132 | */
|
---|
6133 | #ifndef __IWineD3DSwapChain_INTERFACE_DEFINED__
|
---|
6134 | #define __IWineD3DSwapChain_INTERFACE_DEFINED__
|
---|
6135 |
|
---|
6136 | DEFINE_GUID(IID_IWineD3DSwapChain, 0x34d01b10, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6137 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6138 | interface IWineD3DSwapChain : public IWineD3DBase
|
---|
6139 | {
|
---|
6140 | virtual void STDMETHODCALLTYPE Destroy(
|
---|
6141 | ) = 0;
|
---|
6142 |
|
---|
6143 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
6144 | IWineD3DDevice **device) = 0;
|
---|
6145 |
|
---|
6146 | virtual HRESULT STDMETHODCALLTYPE Present(
|
---|
6147 | const RECT *src_rect,
|
---|
6148 | const RECT *dst_rect,
|
---|
6149 | HWND dst_window_override,
|
---|
6150 | const RGNDATA *dirty_region,
|
---|
6151 | DWORD flags) = 0;
|
---|
6152 |
|
---|
6153 | virtual HRESULT STDMETHODCALLTYPE SetDestWindowOverride(
|
---|
6154 | HWND window) = 0;
|
---|
6155 |
|
---|
6156 | virtual HRESULT STDMETHODCALLTYPE GetFrontBufferData(
|
---|
6157 | IWineD3DSurface *dst_surface) = 0;
|
---|
6158 |
|
---|
6159 | virtual HRESULT STDMETHODCALLTYPE GetBackBuffer(
|
---|
6160 | UINT backbuffer_idx,
|
---|
6161 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6162 | IWineD3DSurface **backbuffer) = 0;
|
---|
6163 |
|
---|
6164 | virtual HRESULT STDMETHODCALLTYPE GetRasterStatus(
|
---|
6165 | WINED3DRASTER_STATUS *raster_status) = 0;
|
---|
6166 |
|
---|
6167 | virtual HRESULT STDMETHODCALLTYPE GetDisplayMode(
|
---|
6168 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
6169 |
|
---|
6170 | virtual HRESULT STDMETHODCALLTYPE GetPresentParameters(
|
---|
6171 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6172 |
|
---|
6173 | virtual HRESULT STDMETHODCALLTYPE SetGammaRamp(
|
---|
6174 | DWORD flags,
|
---|
6175 | const WINED3DGAMMARAMP *ramp) = 0;
|
---|
6176 |
|
---|
6177 | virtual HRESULT STDMETHODCALLTYPE GetGammaRamp(
|
---|
6178 | WINED3DGAMMARAMP *ramp) = 0;
|
---|
6179 |
|
---|
6180 | };
|
---|
6181 | #else
|
---|
6182 | typedef struct IWineD3DSwapChainVtbl {
|
---|
6183 | BEGIN_INTERFACE
|
---|
6184 |
|
---|
6185 | /*** IUnknown methods ***/
|
---|
6186 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6187 | IWineD3DSwapChain* This,
|
---|
6188 | REFIID riid,
|
---|
6189 | void **ppvObject);
|
---|
6190 |
|
---|
6191 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6192 | IWineD3DSwapChain* This);
|
---|
6193 |
|
---|
6194 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6195 | IWineD3DSwapChain* This);
|
---|
6196 |
|
---|
6197 | /*** IWineD3DBase methods ***/
|
---|
6198 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6199 | IWineD3DSwapChain* This,
|
---|
6200 | IUnknown **parent);
|
---|
6201 |
|
---|
6202 | /*** IWineD3DSwapChain methods ***/
|
---|
6203 | void (STDMETHODCALLTYPE *Destroy)(
|
---|
6204 | IWineD3DSwapChain* This);
|
---|
6205 |
|
---|
6206 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6207 | IWineD3DSwapChain* This,
|
---|
6208 | IWineD3DDevice **device);
|
---|
6209 |
|
---|
6210 | HRESULT (STDMETHODCALLTYPE *Present)(
|
---|
6211 | IWineD3DSwapChain* This,
|
---|
6212 | const RECT *src_rect,
|
---|
6213 | const RECT *dst_rect,
|
---|
6214 | HWND dst_window_override,
|
---|
6215 | const RGNDATA *dirty_region,
|
---|
6216 | DWORD flags);
|
---|
6217 |
|
---|
6218 | HRESULT (STDMETHODCALLTYPE *SetDestWindowOverride)(
|
---|
6219 | IWineD3DSwapChain* This,
|
---|
6220 | HWND window);
|
---|
6221 |
|
---|
6222 | HRESULT (STDMETHODCALLTYPE *GetFrontBufferData)(
|
---|
6223 | IWineD3DSwapChain* This,
|
---|
6224 | IWineD3DSurface *dst_surface);
|
---|
6225 |
|
---|
6226 | HRESULT (STDMETHODCALLTYPE *GetBackBuffer)(
|
---|
6227 | IWineD3DSwapChain* This,
|
---|
6228 | UINT backbuffer_idx,
|
---|
6229 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6230 | IWineD3DSurface **backbuffer);
|
---|
6231 |
|
---|
6232 | HRESULT (STDMETHODCALLTYPE *GetRasterStatus)(
|
---|
6233 | IWineD3DSwapChain* This,
|
---|
6234 | WINED3DRASTER_STATUS *raster_status);
|
---|
6235 |
|
---|
6236 | HRESULT (STDMETHODCALLTYPE *GetDisplayMode)(
|
---|
6237 | IWineD3DSwapChain* This,
|
---|
6238 | WINED3DDISPLAYMODE *mode);
|
---|
6239 |
|
---|
6240 | HRESULT (STDMETHODCALLTYPE *GetPresentParameters)(
|
---|
6241 | IWineD3DSwapChain* This,
|
---|
6242 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
6243 |
|
---|
6244 | HRESULT (STDMETHODCALLTYPE *SetGammaRamp)(
|
---|
6245 | IWineD3DSwapChain* This,
|
---|
6246 | DWORD flags,
|
---|
6247 | const WINED3DGAMMARAMP *ramp);
|
---|
6248 |
|
---|
6249 | HRESULT (STDMETHODCALLTYPE *GetGammaRamp)(
|
---|
6250 | IWineD3DSwapChain* This,
|
---|
6251 | WINED3DGAMMARAMP *ramp);
|
---|
6252 |
|
---|
6253 | END_INTERFACE
|
---|
6254 | } IWineD3DSwapChainVtbl;
|
---|
6255 | interface IWineD3DSwapChain {
|
---|
6256 | CONST_VTBL IWineD3DSwapChainVtbl* lpVtbl;
|
---|
6257 | };
|
---|
6258 |
|
---|
6259 | #ifdef COBJMACROS
|
---|
6260 | /*** IUnknown methods ***/
|
---|
6261 | #define IWineD3DSwapChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6262 | #define IWineD3DSwapChain_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6263 | #define IWineD3DSwapChain_Release(This) (This)->lpVtbl->Release(This)
|
---|
6264 | /*** IWineD3DBase methods ***/
|
---|
6265 | #define IWineD3DSwapChain_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6266 | /*** IWineD3DSwapChain methods ***/
|
---|
6267 | #define IWineD3DSwapChain_Destroy(This) (This)->lpVtbl->Destroy(This)
|
---|
6268 | #define IWineD3DSwapChain_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6269 | #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)
|
---|
6270 | #define IWineD3DSwapChain_SetDestWindowOverride(This,window) (This)->lpVtbl->SetDestWindowOverride(This,window)
|
---|
6271 | #define IWineD3DSwapChain_GetFrontBufferData(This,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,dst_surface)
|
---|
6272 | #define IWineD3DSwapChain_GetBackBuffer(This,backbuffer_idx,backbuffer_type,backbuffer) (This)->lpVtbl->GetBackBuffer(This,backbuffer_idx,backbuffer_type,backbuffer)
|
---|
6273 | #define IWineD3DSwapChain_GetRasterStatus(This,raster_status) (This)->lpVtbl->GetRasterStatus(This,raster_status)
|
---|
6274 | #define IWineD3DSwapChain_GetDisplayMode(This,mode) (This)->lpVtbl->GetDisplayMode(This,mode)
|
---|
6275 | #define IWineD3DSwapChain_GetPresentParameters(This,present_parameters) (This)->lpVtbl->GetPresentParameters(This,present_parameters)
|
---|
6276 | #define IWineD3DSwapChain_SetGammaRamp(This,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,flags,ramp)
|
---|
6277 | #define IWineD3DSwapChain_GetGammaRamp(This,ramp) (This)->lpVtbl->GetGammaRamp(This,ramp)
|
---|
6278 | #endif
|
---|
6279 |
|
---|
6280 | #endif
|
---|
6281 |
|
---|
6282 | void STDMETHODCALLTYPE IWineD3DSwapChain_Destroy_Proxy(
|
---|
6283 | IWineD3DSwapChain* This);
|
---|
6284 | void __RPC_STUB IWineD3DSwapChain_Destroy_Stub(
|
---|
6285 | IRpcStubBuffer* This,
|
---|
6286 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6287 | PRPC_MESSAGE pRpcMessage,
|
---|
6288 | DWORD* pdwStubPhase);
|
---|
6289 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetDevice_Proxy(
|
---|
6290 | IWineD3DSwapChain* This,
|
---|
6291 | IWineD3DDevice **device);
|
---|
6292 | void __RPC_STUB IWineD3DSwapChain_GetDevice_Stub(
|
---|
6293 | IRpcStubBuffer* This,
|
---|
6294 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6295 | PRPC_MESSAGE pRpcMessage,
|
---|
6296 | DWORD* pdwStubPhase);
|
---|
6297 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_Present_Proxy(
|
---|
6298 | IWineD3DSwapChain* This,
|
---|
6299 | const RECT *src_rect,
|
---|
6300 | const RECT *dst_rect,
|
---|
6301 | HWND dst_window_override,
|
---|
6302 | const RGNDATA *dirty_region,
|
---|
6303 | DWORD flags);
|
---|
6304 | void __RPC_STUB IWineD3DSwapChain_Present_Stub(
|
---|
6305 | IRpcStubBuffer* This,
|
---|
6306 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6307 | PRPC_MESSAGE pRpcMessage,
|
---|
6308 | DWORD* pdwStubPhase);
|
---|
6309 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_SetDestWindowOverride_Proxy(
|
---|
6310 | IWineD3DSwapChain* This,
|
---|
6311 | HWND window);
|
---|
6312 | void __RPC_STUB IWineD3DSwapChain_SetDestWindowOverride_Stub(
|
---|
6313 | IRpcStubBuffer* This,
|
---|
6314 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6315 | PRPC_MESSAGE pRpcMessage,
|
---|
6316 | DWORD* pdwStubPhase);
|
---|
6317 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetFrontBufferData_Proxy(
|
---|
6318 | IWineD3DSwapChain* This,
|
---|
6319 | IWineD3DSurface *dst_surface);
|
---|
6320 | void __RPC_STUB IWineD3DSwapChain_GetFrontBufferData_Stub(
|
---|
6321 | IRpcStubBuffer* This,
|
---|
6322 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6323 | PRPC_MESSAGE pRpcMessage,
|
---|
6324 | DWORD* pdwStubPhase);
|
---|
6325 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetBackBuffer_Proxy(
|
---|
6326 | IWineD3DSwapChain* This,
|
---|
6327 | UINT backbuffer_idx,
|
---|
6328 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6329 | IWineD3DSurface **backbuffer);
|
---|
6330 | void __RPC_STUB IWineD3DSwapChain_GetBackBuffer_Stub(
|
---|
6331 | IRpcStubBuffer* This,
|
---|
6332 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6333 | PRPC_MESSAGE pRpcMessage,
|
---|
6334 | DWORD* pdwStubPhase);
|
---|
6335 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetRasterStatus_Proxy(
|
---|
6336 | IWineD3DSwapChain* This,
|
---|
6337 | WINED3DRASTER_STATUS *raster_status);
|
---|
6338 | void __RPC_STUB IWineD3DSwapChain_GetRasterStatus_Stub(
|
---|
6339 | IRpcStubBuffer* This,
|
---|
6340 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6341 | PRPC_MESSAGE pRpcMessage,
|
---|
6342 | DWORD* pdwStubPhase);
|
---|
6343 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetDisplayMode_Proxy(
|
---|
6344 | IWineD3DSwapChain* This,
|
---|
6345 | WINED3DDISPLAYMODE *mode);
|
---|
6346 | void __RPC_STUB IWineD3DSwapChain_GetDisplayMode_Stub(
|
---|
6347 | IRpcStubBuffer* This,
|
---|
6348 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6349 | PRPC_MESSAGE pRpcMessage,
|
---|
6350 | DWORD* pdwStubPhase);
|
---|
6351 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetPresentParameters_Proxy(
|
---|
6352 | IWineD3DSwapChain* This,
|
---|
6353 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
6354 | void __RPC_STUB IWineD3DSwapChain_GetPresentParameters_Stub(
|
---|
6355 | IRpcStubBuffer* This,
|
---|
6356 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6357 | PRPC_MESSAGE pRpcMessage,
|
---|
6358 | DWORD* pdwStubPhase);
|
---|
6359 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_SetGammaRamp_Proxy(
|
---|
6360 | IWineD3DSwapChain* This,
|
---|
6361 | DWORD flags,
|
---|
6362 | const WINED3DGAMMARAMP *ramp);
|
---|
6363 | void __RPC_STUB IWineD3DSwapChain_SetGammaRamp_Stub(
|
---|
6364 | IRpcStubBuffer* This,
|
---|
6365 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6366 | PRPC_MESSAGE pRpcMessage,
|
---|
6367 | DWORD* pdwStubPhase);
|
---|
6368 | HRESULT STDMETHODCALLTYPE IWineD3DSwapChain_GetGammaRamp_Proxy(
|
---|
6369 | IWineD3DSwapChain* This,
|
---|
6370 | WINED3DGAMMARAMP *ramp);
|
---|
6371 | void __RPC_STUB IWineD3DSwapChain_GetGammaRamp_Stub(
|
---|
6372 | IRpcStubBuffer* This,
|
---|
6373 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6374 | PRPC_MESSAGE pRpcMessage,
|
---|
6375 | DWORD* pdwStubPhase);
|
---|
6376 |
|
---|
6377 | #endif /* __IWineD3DSwapChain_INTERFACE_DEFINED__ */
|
---|
6378 |
|
---|
6379 | /*****************************************************************************
|
---|
6380 | * IWineD3DBuffer interface
|
---|
6381 | */
|
---|
6382 | #ifndef __IWineD3DBuffer_INTERFACE_DEFINED__
|
---|
6383 | #define __IWineD3DBuffer_INTERFACE_DEFINED__
|
---|
6384 |
|
---|
6385 | DEFINE_GUID(IID_IWineD3DBuffer, 0xb3f028e8, 0x1a40, 0x4ab3, 0x92,0x92, 0x5b,0xf6,0xcf,0xd8,0x02,0x09);
|
---|
6386 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6387 | interface IWineD3DBuffer : public IWineD3DResource
|
---|
6388 | {
|
---|
6389 | virtual HRESULT STDMETHODCALLTYPE Map(
|
---|
6390 | UINT offset,
|
---|
6391 | UINT size,
|
---|
6392 | BYTE **data,
|
---|
6393 | DWORD flags) = 0;
|
---|
6394 |
|
---|
6395 | virtual HRESULT STDMETHODCALLTYPE Unmap(
|
---|
6396 | ) = 0;
|
---|
6397 |
|
---|
6398 | virtual HRESULT STDMETHODCALLTYPE GetDesc(
|
---|
6399 | WINED3DBUFFER_DESC *desc) = 0;
|
---|
6400 |
|
---|
6401 | };
|
---|
6402 | #else
|
---|
6403 | typedef struct IWineD3DBufferVtbl {
|
---|
6404 | BEGIN_INTERFACE
|
---|
6405 |
|
---|
6406 | /*** IUnknown methods ***/
|
---|
6407 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6408 | IWineD3DBuffer* This,
|
---|
6409 | REFIID riid,
|
---|
6410 | void **ppvObject);
|
---|
6411 |
|
---|
6412 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6413 | IWineD3DBuffer* This);
|
---|
6414 |
|
---|
6415 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6416 | IWineD3DBuffer* This);
|
---|
6417 |
|
---|
6418 | /*** IWineD3DBase methods ***/
|
---|
6419 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6420 | IWineD3DBuffer* This,
|
---|
6421 | IUnknown **parent);
|
---|
6422 |
|
---|
6423 | /*** IWineD3DResource methods ***/
|
---|
6424 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6425 | IWineD3DBuffer* This,
|
---|
6426 | IWineD3DDevice **device);
|
---|
6427 |
|
---|
6428 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
|
---|
6429 | IWineD3DBuffer* This,
|
---|
6430 | REFGUID guid,
|
---|
6431 | const void *data,
|
---|
6432 | DWORD data_size,
|
---|
6433 | DWORD flags);
|
---|
6434 |
|
---|
6435 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
|
---|
6436 | IWineD3DBuffer* This,
|
---|
6437 | REFGUID guid,
|
---|
6438 | void *data,
|
---|
6439 | DWORD *data_size);
|
---|
6440 |
|
---|
6441 | HRESULT (STDMETHODCALLTYPE *FreePrivateData)(
|
---|
6442 | IWineD3DBuffer* This,
|
---|
6443 | REFGUID guid);
|
---|
6444 |
|
---|
6445 | DWORD (STDMETHODCALLTYPE *SetPriority)(
|
---|
6446 | IWineD3DBuffer* This,
|
---|
6447 | DWORD new_priority);
|
---|
6448 |
|
---|
6449 | DWORD (STDMETHODCALLTYPE *GetPriority)(
|
---|
6450 | IWineD3DBuffer* This);
|
---|
6451 |
|
---|
6452 | void (STDMETHODCALLTYPE *PreLoad)(
|
---|
6453 | IWineD3DBuffer* This);
|
---|
6454 |
|
---|
6455 | void (STDMETHODCALLTYPE *UnLoad)(
|
---|
6456 | IWineD3DBuffer* This);
|
---|
6457 |
|
---|
6458 | WINED3DRESOURCETYPE (STDMETHODCALLTYPE *GetType)(
|
---|
6459 | IWineD3DBuffer* This);
|
---|
6460 |
|
---|
6461 | /*** IWineD3DBuffer methods ***/
|
---|
6462 | HRESULT (STDMETHODCALLTYPE *Map)(
|
---|
6463 | IWineD3DBuffer* This,
|
---|
6464 | UINT offset,
|
---|
6465 | UINT size,
|
---|
6466 | BYTE **data,
|
---|
6467 | DWORD flags);
|
---|
6468 |
|
---|
6469 | HRESULT (STDMETHODCALLTYPE *Unmap)(
|
---|
6470 | IWineD3DBuffer* This);
|
---|
6471 |
|
---|
6472 | HRESULT (STDMETHODCALLTYPE *GetDesc)(
|
---|
6473 | IWineD3DBuffer* This,
|
---|
6474 | WINED3DBUFFER_DESC *desc);
|
---|
6475 |
|
---|
6476 | END_INTERFACE
|
---|
6477 | } IWineD3DBufferVtbl;
|
---|
6478 | interface IWineD3DBuffer {
|
---|
6479 | CONST_VTBL IWineD3DBufferVtbl* lpVtbl;
|
---|
6480 | };
|
---|
6481 |
|
---|
6482 | #ifdef COBJMACROS
|
---|
6483 | /*** IUnknown methods ***/
|
---|
6484 | #define IWineD3DBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6485 | #define IWineD3DBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6486 | #define IWineD3DBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
6487 | /*** IWineD3DBase methods ***/
|
---|
6488 | #define IWineD3DBuffer_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6489 | /*** IWineD3DResource methods ***/
|
---|
6490 | #define IWineD3DBuffer_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6491 | #define IWineD3DBuffer_SetPrivateData(This,guid,data,data_size,flags) (This)->lpVtbl->SetPrivateData(This,guid,data,data_size,flags)
|
---|
6492 | #define IWineD3DBuffer_GetPrivateData(This,guid,data,data_size) (This)->lpVtbl->GetPrivateData(This,guid,data,data_size)
|
---|
6493 | #define IWineD3DBuffer_FreePrivateData(This,guid) (This)->lpVtbl->FreePrivateData(This,guid)
|
---|
6494 | #define IWineD3DBuffer_SetPriority(This,new_priority) (This)->lpVtbl->SetPriority(This,new_priority)
|
---|
6495 | #define IWineD3DBuffer_GetPriority(This) (This)->lpVtbl->GetPriority(This)
|
---|
6496 | #define IWineD3DBuffer_PreLoad(This) (This)->lpVtbl->PreLoad(This)
|
---|
6497 | #define IWineD3DBuffer_UnLoad(This) (This)->lpVtbl->UnLoad(This)
|
---|
6498 | #define IWineD3DBuffer_GetType(This) (This)->lpVtbl->GetType(This)
|
---|
6499 | /*** IWineD3DBuffer methods ***/
|
---|
6500 | #define IWineD3DBuffer_Map(This,offset,size,data,flags) (This)->lpVtbl->Map(This,offset,size,data,flags)
|
---|
6501 | #define IWineD3DBuffer_Unmap(This) (This)->lpVtbl->Unmap(This)
|
---|
6502 | #define IWineD3DBuffer_GetDesc(This,desc) (This)->lpVtbl->GetDesc(This,desc)
|
---|
6503 | #endif
|
---|
6504 |
|
---|
6505 | #endif
|
---|
6506 |
|
---|
6507 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_Map_Proxy(
|
---|
6508 | IWineD3DBuffer* This,
|
---|
6509 | UINT offset,
|
---|
6510 | UINT size,
|
---|
6511 | BYTE **data,
|
---|
6512 | DWORD flags);
|
---|
6513 | void __RPC_STUB IWineD3DBuffer_Map_Stub(
|
---|
6514 | IRpcStubBuffer* This,
|
---|
6515 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6516 | PRPC_MESSAGE pRpcMessage,
|
---|
6517 | DWORD* pdwStubPhase);
|
---|
6518 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_Unmap_Proxy(
|
---|
6519 | IWineD3DBuffer* This);
|
---|
6520 | void __RPC_STUB IWineD3DBuffer_Unmap_Stub(
|
---|
6521 | IRpcStubBuffer* This,
|
---|
6522 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6523 | PRPC_MESSAGE pRpcMessage,
|
---|
6524 | DWORD* pdwStubPhase);
|
---|
6525 | HRESULT STDMETHODCALLTYPE IWineD3DBuffer_GetDesc_Proxy(
|
---|
6526 | IWineD3DBuffer* This,
|
---|
6527 | WINED3DBUFFER_DESC *desc);
|
---|
6528 | void __RPC_STUB IWineD3DBuffer_GetDesc_Stub(
|
---|
6529 | IRpcStubBuffer* This,
|
---|
6530 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6531 | PRPC_MESSAGE pRpcMessage,
|
---|
6532 | DWORD* pdwStubPhase);
|
---|
6533 |
|
---|
6534 | #endif /* __IWineD3DBuffer_INTERFACE_DEFINED__ */
|
---|
6535 |
|
---|
6536 | /*****************************************************************************
|
---|
6537 | * IWineD3DBaseShader interface
|
---|
6538 | */
|
---|
6539 | #ifndef __IWineD3DBaseShader_INTERFACE_DEFINED__
|
---|
6540 | #define __IWineD3DBaseShader_INTERFACE_DEFINED__
|
---|
6541 |
|
---|
6542 | DEFINE_GUID(IID_IWineD3DBaseShader, 0xeac93065, 0xa4df, 0x446f, 0x86,0xa1, 0x9e,0xf2,0xbc,0xa4,0x0a,0x3c);
|
---|
6543 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6544 | interface IWineD3DBaseShader : public IWineD3DBase
|
---|
6545 | {
|
---|
6546 | virtual HRESULT STDMETHODCALLTYPE GetDevice(
|
---|
6547 | IWineD3DDevice **device) = 0;
|
---|
6548 |
|
---|
6549 | virtual HRESULT STDMETHODCALLTYPE GetFunction(
|
---|
6550 | void *data,
|
---|
6551 | UINT *data_size) = 0;
|
---|
6552 |
|
---|
6553 | };
|
---|
6554 | #else
|
---|
6555 | typedef struct IWineD3DBaseShaderVtbl {
|
---|
6556 | BEGIN_INTERFACE
|
---|
6557 |
|
---|
6558 | /*** IUnknown methods ***/
|
---|
6559 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6560 | IWineD3DBaseShader* This,
|
---|
6561 | REFIID riid,
|
---|
6562 | void **ppvObject);
|
---|
6563 |
|
---|
6564 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6565 | IWineD3DBaseShader* This);
|
---|
6566 |
|
---|
6567 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6568 | IWineD3DBaseShader* This);
|
---|
6569 |
|
---|
6570 | /*** IWineD3DBase methods ***/
|
---|
6571 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6572 | IWineD3DBaseShader* This,
|
---|
6573 | IUnknown **parent);
|
---|
6574 |
|
---|
6575 | /*** IWineD3DBaseShader methods ***/
|
---|
6576 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6577 | IWineD3DBaseShader* This,
|
---|
6578 | IWineD3DDevice **device);
|
---|
6579 |
|
---|
6580 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6581 | IWineD3DBaseShader* This,
|
---|
6582 | void *data,
|
---|
6583 | UINT *data_size);
|
---|
6584 |
|
---|
6585 | END_INTERFACE
|
---|
6586 | } IWineD3DBaseShaderVtbl;
|
---|
6587 | interface IWineD3DBaseShader {
|
---|
6588 | CONST_VTBL IWineD3DBaseShaderVtbl* lpVtbl;
|
---|
6589 | };
|
---|
6590 |
|
---|
6591 | #ifdef COBJMACROS
|
---|
6592 | /*** IUnknown methods ***/
|
---|
6593 | #define IWineD3DBaseShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6594 | #define IWineD3DBaseShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6595 | #define IWineD3DBaseShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6596 | /*** IWineD3DBase methods ***/
|
---|
6597 | #define IWineD3DBaseShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6598 | /*** IWineD3DBaseShader methods ***/
|
---|
6599 | #define IWineD3DBaseShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6600 | #define IWineD3DBaseShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6601 | #endif
|
---|
6602 |
|
---|
6603 | #endif
|
---|
6604 |
|
---|
6605 | HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetDevice_Proxy(
|
---|
6606 | IWineD3DBaseShader* This,
|
---|
6607 | IWineD3DDevice **device);
|
---|
6608 | void __RPC_STUB IWineD3DBaseShader_GetDevice_Stub(
|
---|
6609 | IRpcStubBuffer* This,
|
---|
6610 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6611 | PRPC_MESSAGE pRpcMessage,
|
---|
6612 | DWORD* pdwStubPhase);
|
---|
6613 | HRESULT STDMETHODCALLTYPE IWineD3DBaseShader_GetFunction_Proxy(
|
---|
6614 | IWineD3DBaseShader* This,
|
---|
6615 | void *data,
|
---|
6616 | UINT *data_size);
|
---|
6617 | void __RPC_STUB IWineD3DBaseShader_GetFunction_Stub(
|
---|
6618 | IRpcStubBuffer* This,
|
---|
6619 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6620 | PRPC_MESSAGE pRpcMessage,
|
---|
6621 | DWORD* pdwStubPhase);
|
---|
6622 |
|
---|
6623 | #endif /* __IWineD3DBaseShader_INTERFACE_DEFINED__ */
|
---|
6624 |
|
---|
6625 | /*****************************************************************************
|
---|
6626 | * IWineD3DVertexShader interface
|
---|
6627 | */
|
---|
6628 | #ifndef __IWineD3DVertexShader_INTERFACE_DEFINED__
|
---|
6629 | #define __IWineD3DVertexShader_INTERFACE_DEFINED__
|
---|
6630 |
|
---|
6631 | DEFINE_GUID(IID_IWineD3DVertexShader, 0x7f7a2b60, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6632 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6633 | interface IWineD3DVertexShader : public IWineD3DBaseShader
|
---|
6634 | {
|
---|
6635 | virtual HRESULT STDMETHODCALLTYPE SetLocalConstantsF(
|
---|
6636 | UINT start_idx,
|
---|
6637 | const float *src_data,
|
---|
6638 | UINT vector4f_count) = 0;
|
---|
6639 |
|
---|
6640 | };
|
---|
6641 | #else
|
---|
6642 | typedef struct IWineD3DVertexShaderVtbl {
|
---|
6643 | BEGIN_INTERFACE
|
---|
6644 |
|
---|
6645 | /*** IUnknown methods ***/
|
---|
6646 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6647 | IWineD3DVertexShader* This,
|
---|
6648 | REFIID riid,
|
---|
6649 | void **ppvObject);
|
---|
6650 |
|
---|
6651 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6652 | IWineD3DVertexShader* This);
|
---|
6653 |
|
---|
6654 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6655 | IWineD3DVertexShader* This);
|
---|
6656 |
|
---|
6657 | /*** IWineD3DBase methods ***/
|
---|
6658 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6659 | IWineD3DVertexShader* This,
|
---|
6660 | IUnknown **parent);
|
---|
6661 |
|
---|
6662 | /*** IWineD3DBaseShader methods ***/
|
---|
6663 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6664 | IWineD3DVertexShader* This,
|
---|
6665 | IWineD3DDevice **device);
|
---|
6666 |
|
---|
6667 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6668 | IWineD3DVertexShader* This,
|
---|
6669 | void *data,
|
---|
6670 | UINT *data_size);
|
---|
6671 |
|
---|
6672 | /*** IWineD3DVertexShader methods ***/
|
---|
6673 | HRESULT (STDMETHODCALLTYPE *SetLocalConstantsF)(
|
---|
6674 | IWineD3DVertexShader* This,
|
---|
6675 | UINT start_idx,
|
---|
6676 | const float *src_data,
|
---|
6677 | UINT vector4f_count);
|
---|
6678 |
|
---|
6679 | END_INTERFACE
|
---|
6680 | } IWineD3DVertexShaderVtbl;
|
---|
6681 | interface IWineD3DVertexShader {
|
---|
6682 | CONST_VTBL IWineD3DVertexShaderVtbl* lpVtbl;
|
---|
6683 | };
|
---|
6684 |
|
---|
6685 | #ifdef COBJMACROS
|
---|
6686 | /*** IUnknown methods ***/
|
---|
6687 | #define IWineD3DVertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6688 | #define IWineD3DVertexShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6689 | #define IWineD3DVertexShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6690 | /*** IWineD3DBase methods ***/
|
---|
6691 | #define IWineD3DVertexShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6692 | /*** IWineD3DBaseShader methods ***/
|
---|
6693 | #define IWineD3DVertexShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6694 | #define IWineD3DVertexShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6695 | /*** IWineD3DVertexShader methods ***/
|
---|
6696 | #define IWineD3DVertexShader_SetLocalConstantsF(This,start_idx,src_data,vector4f_count) (This)->lpVtbl->SetLocalConstantsF(This,start_idx,src_data,vector4f_count)
|
---|
6697 | #endif
|
---|
6698 |
|
---|
6699 | #endif
|
---|
6700 |
|
---|
6701 | HRESULT STDMETHODCALLTYPE IWineD3DVertexShader_SetLocalConstantsF_Proxy(
|
---|
6702 | IWineD3DVertexShader* This,
|
---|
6703 | UINT start_idx,
|
---|
6704 | const float *src_data,
|
---|
6705 | UINT vector4f_count);
|
---|
6706 | void __RPC_STUB IWineD3DVertexShader_SetLocalConstantsF_Stub(
|
---|
6707 | IRpcStubBuffer* This,
|
---|
6708 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
6709 | PRPC_MESSAGE pRpcMessage,
|
---|
6710 | DWORD* pdwStubPhase);
|
---|
6711 |
|
---|
6712 | #endif /* __IWineD3DVertexShader_INTERFACE_DEFINED__ */
|
---|
6713 |
|
---|
6714 | /*****************************************************************************
|
---|
6715 | * IWineD3DPixelShader interface
|
---|
6716 | */
|
---|
6717 | #ifndef __IWineD3DPixelShader_INTERFACE_DEFINED__
|
---|
6718 | #define __IWineD3DPixelShader_INTERFACE_DEFINED__
|
---|
6719 |
|
---|
6720 | DEFINE_GUID(IID_IWineD3DPixelShader, 0x818503da, 0x6f30, 0x11d9, 0xc6,0x87, 0x00,0x04,0x61,0x42,0xc1,0x4f);
|
---|
6721 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6722 | interface IWineD3DPixelShader : public IWineD3DBaseShader
|
---|
6723 | {
|
---|
6724 | };
|
---|
6725 | #else
|
---|
6726 | typedef struct IWineD3DPixelShaderVtbl {
|
---|
6727 | BEGIN_INTERFACE
|
---|
6728 |
|
---|
6729 | /*** IUnknown methods ***/
|
---|
6730 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
6731 | IWineD3DPixelShader* This,
|
---|
6732 | REFIID riid,
|
---|
6733 | void **ppvObject);
|
---|
6734 |
|
---|
6735 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
6736 | IWineD3DPixelShader* This);
|
---|
6737 |
|
---|
6738 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
6739 | IWineD3DPixelShader* This);
|
---|
6740 |
|
---|
6741 | /*** IWineD3DBase methods ***/
|
---|
6742 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
6743 | IWineD3DPixelShader* This,
|
---|
6744 | IUnknown **parent);
|
---|
6745 |
|
---|
6746 | /*** IWineD3DBaseShader methods ***/
|
---|
6747 | HRESULT (STDMETHODCALLTYPE *GetDevice)(
|
---|
6748 | IWineD3DPixelShader* This,
|
---|
6749 | IWineD3DDevice **device);
|
---|
6750 |
|
---|
6751 | HRESULT (STDMETHODCALLTYPE *GetFunction)(
|
---|
6752 | IWineD3DPixelShader* This,
|
---|
6753 | void *data,
|
---|
6754 | UINT *data_size);
|
---|
6755 |
|
---|
6756 | END_INTERFACE
|
---|
6757 | } IWineD3DPixelShaderVtbl;
|
---|
6758 | interface IWineD3DPixelShader {
|
---|
6759 | CONST_VTBL IWineD3DPixelShaderVtbl* lpVtbl;
|
---|
6760 | };
|
---|
6761 |
|
---|
6762 | #ifdef COBJMACROS
|
---|
6763 | /*** IUnknown methods ***/
|
---|
6764 | #define IWineD3DPixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
6765 | #define IWineD3DPixelShader_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
6766 | #define IWineD3DPixelShader_Release(This) (This)->lpVtbl->Release(This)
|
---|
6767 | /*** IWineD3DBase methods ***/
|
---|
6768 | #define IWineD3DPixelShader_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
6769 | /*** IWineD3DBaseShader methods ***/
|
---|
6770 | #define IWineD3DPixelShader_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
---|
6771 | #define IWineD3DPixelShader_GetFunction(This,data,data_size) (This)->lpVtbl->GetFunction(This,data,data_size)
|
---|
6772 | #endif
|
---|
6773 |
|
---|
6774 | #endif
|
---|
6775 |
|
---|
6776 |
|
---|
6777 | #endif /* __IWineD3DPixelShader_INTERFACE_DEFINED__ */
|
---|
6778 |
|
---|
6779 | /*****************************************************************************
|
---|
6780 | * IWineD3DDevice interface
|
---|
6781 | */
|
---|
6782 | #ifndef __IWineD3DDevice_INTERFACE_DEFINED__
|
---|
6783 | #define __IWineD3DDevice_INTERFACE_DEFINED__
|
---|
6784 |
|
---|
6785 | DEFINE_GUID(IID_IWineD3DDevice, 0x6d10a2ce, 0x09d0, 0x4a53, 0xa4,0x27, 0x11,0x38,0x8f,0x9f,0x8c,0xa5);
|
---|
6786 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
6787 | interface IWineD3DDevice : public IWineD3DBase
|
---|
6788 | {
|
---|
6789 | virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
|
---|
6790 | struct wined3d_buffer_desc *desc,
|
---|
6791 | const void *data,
|
---|
6792 | IUnknown *parent,
|
---|
6793 | const struct wined3d_parent_ops *parent_ops,
|
---|
6794 | IWineD3DBuffer **buffer) = 0;
|
---|
6795 |
|
---|
6796 | virtual HRESULT STDMETHODCALLTYPE CreateVertexBuffer(
|
---|
6797 | UINT length,
|
---|
6798 | DWORD usage,
|
---|
6799 | DWORD fvf,
|
---|
6800 | WINED3DPOOL pool,
|
---|
6801 | IWineD3DBuffer **vertex_buffer,
|
---|
6802 | IUnknown *parent,
|
---|
6803 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6804 |
|
---|
6805 | virtual HRESULT STDMETHODCALLTYPE CreateIndexBuffer(
|
---|
6806 | UINT length,
|
---|
6807 | DWORD usage,
|
---|
6808 | WINED3DPOOL pool,
|
---|
6809 | IWineD3DBuffer **index_buffer,
|
---|
6810 | IUnknown *parent,
|
---|
6811 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6812 |
|
---|
6813 | virtual HRESULT STDMETHODCALLTYPE CreateStateBlock(
|
---|
6814 | WINED3DSTATEBLOCKTYPE type,
|
---|
6815 | IWineD3DStateBlock **stateblock,
|
---|
6816 | IUnknown *parent) = 0;
|
---|
6817 |
|
---|
6818 | virtual HRESULT STDMETHODCALLTYPE CreateSurface(
|
---|
6819 | UINT width,
|
---|
6820 | UINT height,
|
---|
6821 | WINED3DFORMAT format,
|
---|
6822 | BOOL lockable,
|
---|
6823 | BOOL discard,
|
---|
6824 | UINT level,
|
---|
6825 | IWineD3DSurface **surface,
|
---|
6826 | DWORD usage,
|
---|
6827 | WINED3DPOOL pool,
|
---|
6828 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
6829 | DWORD multisample_quality,
|
---|
6830 | WINED3DSURFTYPE surface_type,
|
---|
6831 | IUnknown *parent,
|
---|
6832 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6833 |
|
---|
6834 | virtual HRESULT STDMETHODCALLTYPE CreateRendertargetView(
|
---|
6835 | IWineD3DResource *resource,
|
---|
6836 | IUnknown *parent,
|
---|
6837 | IWineD3DRendertargetView **rendertarget_view) = 0;
|
---|
6838 |
|
---|
6839 | virtual HRESULT STDMETHODCALLTYPE CreateTexture(
|
---|
6840 | UINT width,
|
---|
6841 | UINT height,
|
---|
6842 | UINT levels,
|
---|
6843 | DWORD usage,
|
---|
6844 | WINED3DFORMAT format,
|
---|
6845 | WINED3DPOOL pool,
|
---|
6846 | IWineD3DTexture **texture,
|
---|
6847 | IUnknown *parent,
|
---|
6848 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6849 |
|
---|
6850 | virtual HRESULT STDMETHODCALLTYPE CreateVolumeTexture(
|
---|
6851 | UINT width,
|
---|
6852 | UINT height,
|
---|
6853 | UINT depth,
|
---|
6854 | UINT levels,
|
---|
6855 | DWORD usage,
|
---|
6856 | WINED3DFORMAT format,
|
---|
6857 | WINED3DPOOL pool,
|
---|
6858 | IWineD3DVolumeTexture **texture,
|
---|
6859 | IUnknown *parent,
|
---|
6860 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6861 |
|
---|
6862 | virtual HRESULT STDMETHODCALLTYPE CreateVolume(
|
---|
6863 | UINT width,
|
---|
6864 | UINT height,
|
---|
6865 | UINT depth,
|
---|
6866 | DWORD usage,
|
---|
6867 | WINED3DFORMAT format,
|
---|
6868 | WINED3DPOOL pool,
|
---|
6869 | IWineD3DVolume **volume,
|
---|
6870 | IUnknown *parent,
|
---|
6871 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6872 |
|
---|
6873 | virtual HRESULT STDMETHODCALLTYPE CreateCubeTexture(
|
---|
6874 | UINT edge_length,
|
---|
6875 | UINT levels,
|
---|
6876 | DWORD usage,
|
---|
6877 | WINED3DFORMAT format,
|
---|
6878 | WINED3DPOOL pool,
|
---|
6879 | IWineD3DCubeTexture **texture,
|
---|
6880 | IUnknown *parent,
|
---|
6881 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6882 |
|
---|
6883 | virtual HRESULT STDMETHODCALLTYPE CreateQuery(
|
---|
6884 | WINED3DQUERYTYPE type,
|
---|
6885 | IWineD3DQuery **query,
|
---|
6886 | IUnknown *parent) = 0;
|
---|
6887 |
|
---|
6888 | virtual HRESULT STDMETHODCALLTYPE CreateSwapChain(
|
---|
6889 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
6890 | IWineD3DSwapChain **swapchain,
|
---|
6891 | IUnknown *parent,
|
---|
6892 | WINED3DSURFTYPE surface_type) = 0;
|
---|
6893 |
|
---|
6894 | virtual HRESULT STDMETHODCALLTYPE CreateVertexDeclaration(
|
---|
6895 | IWineD3DVertexDeclaration **declaration,
|
---|
6896 | IUnknown *parent,
|
---|
6897 | const struct wined3d_parent_ops *parent_ops,
|
---|
6898 | const WINED3DVERTEXELEMENT *elements,
|
---|
6899 | UINT element_count) = 0;
|
---|
6900 |
|
---|
6901 | virtual HRESULT STDMETHODCALLTYPE CreateVertexDeclarationFromFVF(
|
---|
6902 | IWineD3DVertexDeclaration **declaration,
|
---|
6903 | IUnknown *parent,
|
---|
6904 | const struct wined3d_parent_ops *parent_ops,
|
---|
6905 | DWORD fvf) = 0;
|
---|
6906 |
|
---|
6907 | virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
|
---|
6908 | const DWORD *function,
|
---|
6909 | const struct wined3d_shader_signature *output_signature,
|
---|
6910 | IWineD3DVertexShader **shader,
|
---|
6911 | IUnknown *parent,
|
---|
6912 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6913 |
|
---|
6914 | virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
|
---|
6915 | const DWORD *function,
|
---|
6916 | const struct wined3d_shader_signature *output_signature,
|
---|
6917 | IWineD3DPixelShader **shader,
|
---|
6918 | IUnknown *parent,
|
---|
6919 | const struct wined3d_parent_ops *parent_ops) = 0;
|
---|
6920 |
|
---|
6921 | virtual HRESULT STDMETHODCALLTYPE CreatePalette(
|
---|
6922 | DWORD flags,
|
---|
6923 | const PALETTEENTRY *palette_entry,
|
---|
6924 | IWineD3DPalette **palette,
|
---|
6925 | IUnknown *parent) = 0;
|
---|
6926 |
|
---|
6927 | virtual HRESULT STDMETHODCALLTYPE Init3D(
|
---|
6928 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6929 |
|
---|
6930 | virtual HRESULT STDMETHODCALLTYPE InitGDI(
|
---|
6931 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6932 |
|
---|
6933 | virtual HRESULT STDMETHODCALLTYPE Uninit3D(
|
---|
6934 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0;
|
---|
6935 |
|
---|
6936 | virtual HRESULT STDMETHODCALLTYPE UninitGDI(
|
---|
6937 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain)) = 0;
|
---|
6938 |
|
---|
6939 | virtual void STDMETHODCALLTYPE SetMultithreaded(
|
---|
6940 | ) = 0;
|
---|
6941 |
|
---|
6942 | virtual HRESULT STDMETHODCALLTYPE EvictManagedResources(
|
---|
6943 | ) = 0;
|
---|
6944 |
|
---|
6945 | virtual UINT STDMETHODCALLTYPE GetAvailableTextureMem(
|
---|
6946 | ) = 0;
|
---|
6947 |
|
---|
6948 | virtual HRESULT STDMETHODCALLTYPE GetBackBuffer(
|
---|
6949 | UINT swapchain_idx,
|
---|
6950 | UINT backbuffer_idx,
|
---|
6951 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
6952 | IWineD3DSurface **backbuffer) = 0;
|
---|
6953 |
|
---|
6954 | virtual HRESULT STDMETHODCALLTYPE GetCreationParameters(
|
---|
6955 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters) = 0;
|
---|
6956 |
|
---|
6957 | virtual HRESULT STDMETHODCALLTYPE GetDeviceCaps(
|
---|
6958 | WINED3DCAPS *caps) = 0;
|
---|
6959 |
|
---|
6960 | virtual HRESULT STDMETHODCALLTYPE GetDirect3D(
|
---|
6961 | IWineD3D **d3d) = 0;
|
---|
6962 |
|
---|
6963 | virtual HRESULT STDMETHODCALLTYPE GetDisplayMode(
|
---|
6964 | UINT swapchain_idx,
|
---|
6965 | WINED3DDISPLAYMODE *mode) = 0;
|
---|
6966 |
|
---|
6967 | virtual HRESULT STDMETHODCALLTYPE SetDisplayMode(
|
---|
6968 | UINT swapchain_idx,
|
---|
6969 | const WINED3DDISPLAYMODE *mode) = 0;
|
---|
6970 |
|
---|
6971 | virtual UINT STDMETHODCALLTYPE GetNumberOfSwapChains(
|
---|
6972 | ) = 0;
|
---|
6973 |
|
---|
6974 | virtual HRESULT STDMETHODCALLTYPE GetRasterStatus(
|
---|
6975 | UINT swapchain_idx,
|
---|
6976 | WINED3DRASTER_STATUS *raster_status) = 0;
|
---|
6977 |
|
---|
6978 | virtual HRESULT STDMETHODCALLTYPE GetSwapChain(
|
---|
6979 | UINT swapchain_idx,
|
---|
6980 | IWineD3DSwapChain **swapchain) = 0;
|
---|
6981 |
|
---|
6982 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
6983 | WINED3DPRESENT_PARAMETERS *present_parameters) = 0;
|
---|
6984 |
|
---|
6985 | virtual HRESULT STDMETHODCALLTYPE SetDialogBoxMode(
|
---|
6986 | BOOL enable_dialogs) = 0;
|
---|
6987 |
|
---|
6988 | virtual HRESULT STDMETHODCALLTYPE SetCursorProperties(
|
---|
6989 | UINT x_hotspot,
|
---|
6990 | UINT y_hotspot,
|
---|
6991 | IWineD3DSurface *cursor_surface) = 0;
|
---|
6992 |
|
---|
6993 | virtual void STDMETHODCALLTYPE SetCursorPosition(
|
---|
6994 | int x_screen_space,
|
---|
6995 | int y_screen_space,
|
---|
6996 | DWORD flags) = 0;
|
---|
6997 |
|
---|
6998 | virtual BOOL STDMETHODCALLTYPE ShowCursor(
|
---|
6999 | BOOL show) = 0;
|
---|
7000 |
|
---|
7001 | virtual HRESULT STDMETHODCALLTYPE TestCooperativeLevel(
|
---|
7002 | ) = 0;
|
---|
7003 |
|
---|
7004 | virtual HRESULT STDMETHODCALLTYPE SetClipPlane(
|
---|
7005 | DWORD plane_idx,
|
---|
7006 | const float *plane) = 0;
|
---|
7007 |
|
---|
7008 | virtual HRESULT STDMETHODCALLTYPE GetClipPlane(
|
---|
7009 | DWORD plane_idx,
|
---|
7010 | float *plane) = 0;
|
---|
7011 |
|
---|
7012 | virtual HRESULT STDMETHODCALLTYPE SetClipStatus(
|
---|
7013 | const WINED3DCLIPSTATUS *clip_status) = 0;
|
---|
7014 |
|
---|
7015 | virtual HRESULT STDMETHODCALLTYPE GetClipStatus(
|
---|
7016 | WINED3DCLIPSTATUS *clip_status) = 0;
|
---|
7017 |
|
---|
7018 | virtual HRESULT STDMETHODCALLTYPE SetCurrentTexturePalette(
|
---|
7019 | UINT palette_number) = 0;
|
---|
7020 |
|
---|
7021 | virtual HRESULT STDMETHODCALLTYPE GetCurrentTexturePalette(
|
---|
7022 | UINT *palette_number) = 0;
|
---|
7023 |
|
---|
7024 | virtual HRESULT STDMETHODCALLTYPE SetDepthStencilSurface(
|
---|
7025 | IWineD3DSurface *depth_stencil) = 0;
|
---|
7026 |
|
---|
7027 | virtual HRESULT STDMETHODCALLTYPE GetDepthStencilSurface(
|
---|
7028 | IWineD3DSurface **depth_stencil) = 0;
|
---|
7029 |
|
---|
7030 | virtual void STDMETHODCALLTYPE SetGammaRamp(
|
---|
7031 | UINT swapchain_idx,
|
---|
7032 | DWORD flags,
|
---|
7033 | const WINED3DGAMMARAMP *ramp) = 0;
|
---|
7034 |
|
---|
7035 | virtual void STDMETHODCALLTYPE GetGammaRamp(
|
---|
7036 | UINT swapchain_idx,
|
---|
7037 | WINED3DGAMMARAMP *ramp) = 0;
|
---|
7038 |
|
---|
7039 | virtual HRESULT STDMETHODCALLTYPE SetIndexBuffer(
|
---|
7040 | IWineD3DBuffer *index_buffer,
|
---|
7041 | WINED3DFORMAT format) = 0;
|
---|
7042 |
|
---|
7043 | virtual HRESULT STDMETHODCALLTYPE GetIndexBuffer(
|
---|
7044 | IWineD3DBuffer **index_buffer) = 0;
|
---|
7045 |
|
---|
7046 | virtual HRESULT STDMETHODCALLTYPE SetBaseVertexIndex(
|
---|
7047 | INT base_index) = 0;
|
---|
7048 |
|
---|
7049 | virtual HRESULT STDMETHODCALLTYPE GetBaseVertexIndex(
|
---|
7050 | INT *base_index) = 0;
|
---|
7051 |
|
---|
7052 | virtual HRESULT STDMETHODCALLTYPE SetLight(
|
---|
7053 | DWORD light_idx,
|
---|
7054 | const WINED3DLIGHT *light) = 0;
|
---|
7055 |
|
---|
7056 | virtual HRESULT STDMETHODCALLTYPE GetLight(
|
---|
7057 | DWORD light_idx,
|
---|
7058 | WINED3DLIGHT *light) = 0;
|
---|
7059 |
|
---|
7060 | virtual HRESULT STDMETHODCALLTYPE SetLightEnable(
|
---|
7061 | DWORD light_idx,
|
---|
7062 | BOOL enable) = 0;
|
---|
7063 |
|
---|
7064 | virtual HRESULT STDMETHODCALLTYPE GetLightEnable(
|
---|
7065 | DWORD light_idx,
|
---|
7066 | BOOL *enable) = 0;
|
---|
7067 |
|
---|
7068 | virtual HRESULT STDMETHODCALLTYPE SetMaterial(
|
---|
7069 | const WINED3DMATERIAL *material) = 0;
|
---|
7070 |
|
---|
7071 | virtual HRESULT STDMETHODCALLTYPE GetMaterial(
|
---|
7072 | WINED3DMATERIAL *material) = 0;
|
---|
7073 |
|
---|
7074 | virtual HRESULT STDMETHODCALLTYPE SetNPatchMode(
|
---|
7075 | float segments) = 0;
|
---|
7076 |
|
---|
7077 | virtual float STDMETHODCALLTYPE GetNPatchMode(
|
---|
7078 | ) = 0;
|
---|
7079 |
|
---|
7080 | virtual HRESULT STDMETHODCALLTYPE SetPaletteEntries(
|
---|
7081 | UINT palette_number,
|
---|
7082 | const PALETTEENTRY *entries) = 0;
|
---|
7083 |
|
---|
7084 | virtual HRESULT STDMETHODCALLTYPE GetPaletteEntries(
|
---|
7085 | UINT palette_number,
|
---|
7086 | PALETTEENTRY *entries) = 0;
|
---|
7087 |
|
---|
7088 | virtual HRESULT STDMETHODCALLTYPE SetPixelShader(
|
---|
7089 | IWineD3DPixelShader *shader) = 0;
|
---|
7090 |
|
---|
7091 | virtual HRESULT STDMETHODCALLTYPE GetPixelShader(
|
---|
7092 | IWineD3DPixelShader **shader) = 0;
|
---|
7093 |
|
---|
7094 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantB(
|
---|
7095 | UINT start_register,
|
---|
7096 | const BOOL *constants,
|
---|
7097 | UINT bool_count) = 0;
|
---|
7098 |
|
---|
7099 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantB(
|
---|
7100 | UINT start_register,
|
---|
7101 | BOOL *constants,
|
---|
7102 | UINT bool_count) = 0;
|
---|
7103 |
|
---|
7104 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantI(
|
---|
7105 | UINT start_register,
|
---|
7106 | const int *constants,
|
---|
7107 | UINT vector4i_count) = 0;
|
---|
7108 |
|
---|
7109 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantI(
|
---|
7110 | UINT start_register,
|
---|
7111 | int *constants,
|
---|
7112 | UINT vector4i_count) = 0;
|
---|
7113 |
|
---|
7114 | virtual HRESULT STDMETHODCALLTYPE SetPixelShaderConstantF(
|
---|
7115 | UINT start_register,
|
---|
7116 | const float *constants,
|
---|
7117 | UINT vector4f_count) = 0;
|
---|
7118 |
|
---|
7119 | virtual HRESULT STDMETHODCALLTYPE GetPixelShaderConstantF(
|
---|
7120 | UINT start_register,
|
---|
7121 | float *constants,
|
---|
7122 | UINT vector4f_count) = 0;
|
---|
7123 |
|
---|
7124 | virtual HRESULT STDMETHODCALLTYPE SetRenderState(
|
---|
7125 | WINED3DRENDERSTATETYPE state,
|
---|
7126 | DWORD value) = 0;
|
---|
7127 |
|
---|
7128 | virtual HRESULT STDMETHODCALLTYPE GetRenderState(
|
---|
7129 | WINED3DRENDERSTATETYPE state,
|
---|
7130 | DWORD *value) = 0;
|
---|
7131 |
|
---|
7132 | virtual HRESULT STDMETHODCALLTYPE SetRenderTarget(
|
---|
7133 | DWORD render_target_idx,
|
---|
7134 | IWineD3DSurface *render_target) = 0;
|
---|
7135 |
|
---|
7136 | virtual HRESULT STDMETHODCALLTYPE GetRenderTarget(
|
---|
7137 | DWORD render_target_idx,
|
---|
7138 | IWineD3DSurface **render_target) = 0;
|
---|
7139 |
|
---|
7140 | virtual HRESULT STDMETHODCALLTYPE SetFrontBackBuffers(
|
---|
7141 | IWineD3DSurface *front,
|
---|
7142 | IWineD3DSurface *back) = 0;
|
---|
7143 |
|
---|
7144 | virtual HRESULT STDMETHODCALLTYPE SetSamplerState(
|
---|
7145 | DWORD sampler_idx,
|
---|
7146 | WINED3DSAMPLERSTATETYPE state,
|
---|
7147 | DWORD value) = 0;
|
---|
7148 |
|
---|
7149 | virtual HRESULT STDMETHODCALLTYPE GetSamplerState(
|
---|
7150 | DWORD sampler_idx,
|
---|
7151 | WINED3DSAMPLERSTATETYPE state,
|
---|
7152 | DWORD *value) = 0;
|
---|
7153 |
|
---|
7154 | virtual HRESULT STDMETHODCALLTYPE SetScissorRect(
|
---|
7155 | const RECT *rect) = 0;
|
---|
7156 |
|
---|
7157 | virtual HRESULT STDMETHODCALLTYPE GetScissorRect(
|
---|
7158 | RECT *rect) = 0;
|
---|
7159 |
|
---|
7160 | virtual HRESULT STDMETHODCALLTYPE SetSoftwareVertexProcessing(
|
---|
7161 | BOOL software) = 0;
|
---|
7162 |
|
---|
7163 | virtual BOOL STDMETHODCALLTYPE GetSoftwareVertexProcessing(
|
---|
7164 | ) = 0;
|
---|
7165 |
|
---|
7166 | virtual HRESULT STDMETHODCALLTYPE SetStreamSource(
|
---|
7167 | UINT stream_idx,
|
---|
7168 | IWineD3DBuffer *buffer,
|
---|
7169 | UINT offset,
|
---|
7170 | UINT stride) = 0;
|
---|
7171 |
|
---|
7172 | virtual HRESULT STDMETHODCALLTYPE GetStreamSource(
|
---|
7173 | UINT stream_idx,
|
---|
7174 | IWineD3DBuffer **buffer,
|
---|
7175 | UINT *offset,
|
---|
7176 | UINT *stride) = 0;
|
---|
7177 |
|
---|
7178 | virtual HRESULT STDMETHODCALLTYPE SetStreamSourceFreq(
|
---|
7179 | UINT stream_idx,
|
---|
7180 | UINT divider) = 0;
|
---|
7181 |
|
---|
7182 | virtual HRESULT STDMETHODCALLTYPE GetStreamSourceFreq(
|
---|
7183 | UINT stream_idx,
|
---|
7184 | UINT *divider) = 0;
|
---|
7185 |
|
---|
7186 | virtual HRESULT STDMETHODCALLTYPE SetTexture(
|
---|
7187 | DWORD stage,
|
---|
7188 | IWineD3DBaseTexture *texture) = 0;
|
---|
7189 |
|
---|
7190 | virtual HRESULT STDMETHODCALLTYPE GetTexture(
|
---|
7191 | DWORD stage,
|
---|
7192 | IWineD3DBaseTexture **texture) = 0;
|
---|
7193 |
|
---|
7194 | virtual HRESULT STDMETHODCALLTYPE SetTextureStageState(
|
---|
7195 | DWORD stage,
|
---|
7196 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7197 | DWORD value) = 0;
|
---|
7198 |
|
---|
7199 | virtual HRESULT STDMETHODCALLTYPE GetTextureStageState(
|
---|
7200 | DWORD stage,
|
---|
7201 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7202 | DWORD *value) = 0;
|
---|
7203 |
|
---|
7204 | virtual HRESULT STDMETHODCALLTYPE SetTransform(
|
---|
7205 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7206 | const WINED3DMATRIX *matrix) = 0;
|
---|
7207 |
|
---|
7208 | virtual HRESULT STDMETHODCALLTYPE GetTransform(
|
---|
7209 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7210 | WINED3DMATRIX *matrix) = 0;
|
---|
7211 |
|
---|
7212 | virtual HRESULT STDMETHODCALLTYPE SetVertexDeclaration(
|
---|
7213 | IWineD3DVertexDeclaration *declaration) = 0;
|
---|
7214 |
|
---|
7215 | virtual HRESULT STDMETHODCALLTYPE GetVertexDeclaration(
|
---|
7216 | IWineD3DVertexDeclaration **declaration) = 0;
|
---|
7217 |
|
---|
7218 | virtual HRESULT STDMETHODCALLTYPE SetVertexShader(
|
---|
7219 | IWineD3DVertexShader *shader) = 0;
|
---|
7220 |
|
---|
7221 | virtual HRESULT STDMETHODCALLTYPE GetVertexShader(
|
---|
7222 | IWineD3DVertexShader **shader) = 0;
|
---|
7223 |
|
---|
7224 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantB(
|
---|
7225 | UINT start_register,
|
---|
7226 | const BOOL *constants,
|
---|
7227 | UINT bool_count) = 0;
|
---|
7228 |
|
---|
7229 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantB(
|
---|
7230 | UINT start_register,
|
---|
7231 | BOOL *constants,
|
---|
7232 | UINT bool_count) = 0;
|
---|
7233 |
|
---|
7234 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantI(
|
---|
7235 | UINT start_register,
|
---|
7236 | const int *constants,
|
---|
7237 | UINT vector4i_count) = 0;
|
---|
7238 |
|
---|
7239 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantI(
|
---|
7240 | UINT start_register,
|
---|
7241 | int *constants,
|
---|
7242 | UINT vector4i_count) = 0;
|
---|
7243 |
|
---|
7244 | virtual HRESULT STDMETHODCALLTYPE SetVertexShaderConstantF(
|
---|
7245 | UINT start_register,
|
---|
7246 | const float *constants,
|
---|
7247 | UINT vector4f_count) = 0;
|
---|
7248 |
|
---|
7249 | virtual HRESULT STDMETHODCALLTYPE GetVertexShaderConstantF(
|
---|
7250 | UINT start_register,
|
---|
7251 | float *constants,
|
---|
7252 | UINT vector4f_count) = 0;
|
---|
7253 |
|
---|
7254 | virtual HRESULT STDMETHODCALLTYPE SetViewport(
|
---|
7255 | const WINED3DVIEWPORT *viewport) = 0;
|
---|
7256 |
|
---|
7257 | virtual HRESULT STDMETHODCALLTYPE GetViewport(
|
---|
7258 | WINED3DVIEWPORT *viewport) = 0;
|
---|
7259 |
|
---|
7260 | virtual HRESULT STDMETHODCALLTYPE MultiplyTransform(
|
---|
7261 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7262 | const WINED3DMATRIX *matrix) = 0;
|
---|
7263 |
|
---|
7264 | virtual HRESULT STDMETHODCALLTYPE ValidateDevice(
|
---|
7265 | DWORD *num_passes) = 0;
|
---|
7266 |
|
---|
7267 | virtual HRESULT STDMETHODCALLTYPE ProcessVertices(
|
---|
7268 | UINT src_start_idx,
|
---|
7269 | UINT dst_idx,
|
---|
7270 | UINT vertex_count,
|
---|
7271 | IWineD3DBuffer *dest_buffer,
|
---|
7272 | IWineD3DVertexDeclaration *declaration,
|
---|
7273 | DWORD flags,
|
---|
7274 | DWORD DestFVF) = 0;
|
---|
7275 |
|
---|
7276 | virtual HRESULT STDMETHODCALLTYPE BeginStateBlock(
|
---|
7277 | ) = 0;
|
---|
7278 |
|
---|
7279 | virtual HRESULT STDMETHODCALLTYPE EndStateBlock(
|
---|
7280 | IWineD3DStateBlock **stateblock) = 0;
|
---|
7281 |
|
---|
7282 | virtual HRESULT STDMETHODCALLTYPE BeginScene(
|
---|
7283 | ) = 0;
|
---|
7284 |
|
---|
7285 | virtual HRESULT STDMETHODCALLTYPE EndScene(
|
---|
7286 | ) = 0;
|
---|
7287 |
|
---|
7288 | virtual HRESULT STDMETHODCALLTYPE Present(
|
---|
7289 | const RECT *src_rect,
|
---|
7290 | const RECT *dst_rect,
|
---|
7291 | HWND dst_window_override,
|
---|
7292 | const RGNDATA *dirty_region) = 0;
|
---|
7293 |
|
---|
7294 | virtual HRESULT STDMETHODCALLTYPE Clear(
|
---|
7295 | DWORD rect_count,
|
---|
7296 | const WINED3DRECT *rects,
|
---|
7297 | DWORD flags,
|
---|
7298 | WINED3DCOLOR color,
|
---|
7299 | float z,
|
---|
7300 | DWORD stencil) = 0;
|
---|
7301 |
|
---|
7302 | virtual void STDMETHODCALLTYPE ClearRendertargetView(
|
---|
7303 | IWineD3DRendertargetView *rendertarget_view,
|
---|
7304 | const float color[4]) = 0;
|
---|
7305 |
|
---|
7306 | virtual void STDMETHODCALLTYPE SetPrimitiveType(
|
---|
7307 | WINED3DPRIMITIVETYPE primitive_topology) = 0;
|
---|
7308 |
|
---|
7309 | virtual void STDMETHODCALLTYPE GetPrimitiveType(
|
---|
7310 | WINED3DPRIMITIVETYPE *primitive_topology) = 0;
|
---|
7311 |
|
---|
7312 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitive(
|
---|
7313 | UINT start_vertex,
|
---|
7314 | UINT vertex_count) = 0;
|
---|
7315 |
|
---|
7316 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitive(
|
---|
7317 | UINT start_idx,
|
---|
7318 | UINT index_count) = 0;
|
---|
7319 |
|
---|
7320 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitiveUP(
|
---|
7321 | UINT vertex_count,
|
---|
7322 | const void *stream_data,
|
---|
7323 | UINT stream_stride) = 0;
|
---|
7324 |
|
---|
7325 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveUP(
|
---|
7326 | UINT index_count,
|
---|
7327 | const void *index_data,
|
---|
7328 | WINED3DFORMAT index_data_format,
|
---|
7329 | const void *stream_data,
|
---|
7330 | UINT stream_stride) = 0;
|
---|
7331 |
|
---|
7332 | virtual HRESULT STDMETHODCALLTYPE DrawPrimitiveStrided(
|
---|
7333 | UINT vertex_count,
|
---|
7334 | const WineDirect3DVertexStridedData *strided_data) = 0;
|
---|
7335 |
|
---|
7336 | virtual HRESULT STDMETHODCALLTYPE DrawIndexedPrimitiveStrided(
|
---|
7337 | UINT index_count,
|
---|
7338 | const WineDirect3DVertexStridedData *strided_data,
|
---|
7339 | UINT vertex_count,
|
---|
7340 | const void *index_data,
|
---|
7341 | WINED3DFORMAT index_data_format) = 0;
|
---|
7342 |
|
---|
7343 | virtual HRESULT STDMETHODCALLTYPE DrawRectPatch(
|
---|
7344 | UINT handle,
|
---|
7345 | const float *num_segs,
|
---|
7346 | const WINED3DRECTPATCH_INFO *rect_patch_info) = 0;
|
---|
7347 |
|
---|
7348 | virtual HRESULT STDMETHODCALLTYPE DrawTriPatch(
|
---|
7349 | UINT handle,
|
---|
7350 | const float *num_segs,
|
---|
7351 | const WINED3DTRIPATCH_INFO *tri_patch_info) = 0;
|
---|
7352 |
|
---|
7353 | virtual HRESULT STDMETHODCALLTYPE DeletePatch(
|
---|
7354 | UINT handle) = 0;
|
---|
7355 |
|
---|
7356 | virtual HRESULT STDMETHODCALLTYPE ColorFill(
|
---|
7357 | IWineD3DSurface *surface,
|
---|
7358 | const WINED3DRECT *rect,
|
---|
7359 | WINED3DCOLOR color) = 0;
|
---|
7360 |
|
---|
7361 | virtual HRESULT STDMETHODCALLTYPE UpdateTexture(
|
---|
7362 | IWineD3DBaseTexture *src_texture,
|
---|
7363 | IWineD3DBaseTexture *dst_texture) = 0;
|
---|
7364 |
|
---|
7365 | virtual HRESULT STDMETHODCALLTYPE UpdateSurface(
|
---|
7366 | IWineD3DSurface *src_surface,
|
---|
7367 | const RECT *src_rect,
|
---|
7368 | IWineD3DSurface *dst_surface,
|
---|
7369 | const POINT *dst_point) = 0;
|
---|
7370 |
|
---|
7371 | virtual HRESULT STDMETHODCALLTYPE GetFrontBufferData(
|
---|
7372 | UINT swapchain_idx,
|
---|
7373 | IWineD3DSurface *dst_surface) = 0;
|
---|
7374 |
|
---|
7375 | virtual HRESULT STDMETHODCALLTYPE EnumResources(
|
---|
7376 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
7377 | void *data) = 0;
|
---|
7378 |
|
---|
7379 | };
|
---|
7380 | #else
|
---|
7381 | typedef struct IWineD3DDeviceVtbl {
|
---|
7382 | BEGIN_INTERFACE
|
---|
7383 |
|
---|
7384 | /*** IUnknown methods ***/
|
---|
7385 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
7386 | IWineD3DDevice* This,
|
---|
7387 | REFIID riid,
|
---|
7388 | void **ppvObject);
|
---|
7389 |
|
---|
7390 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
7391 | IWineD3DDevice* This);
|
---|
7392 |
|
---|
7393 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
7394 | IWineD3DDevice* This);
|
---|
7395 |
|
---|
7396 | /*** IWineD3DBase methods ***/
|
---|
7397 | HRESULT (STDMETHODCALLTYPE *GetParent)(
|
---|
7398 | IWineD3DDevice* This,
|
---|
7399 | IUnknown **parent);
|
---|
7400 |
|
---|
7401 | /*** IWineD3DDevice methods ***/
|
---|
7402 | HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
|
---|
7403 | IWineD3DDevice* This,
|
---|
7404 | struct wined3d_buffer_desc *desc,
|
---|
7405 | const void *data,
|
---|
7406 | IUnknown *parent,
|
---|
7407 | const struct wined3d_parent_ops *parent_ops,
|
---|
7408 | IWineD3DBuffer **buffer);
|
---|
7409 |
|
---|
7410 | HRESULT (STDMETHODCALLTYPE *CreateVertexBuffer)(
|
---|
7411 | IWineD3DDevice* This,
|
---|
7412 | UINT length,
|
---|
7413 | DWORD usage,
|
---|
7414 | DWORD fvf,
|
---|
7415 | WINED3DPOOL pool,
|
---|
7416 | IWineD3DBuffer **vertex_buffer,
|
---|
7417 | IUnknown *parent,
|
---|
7418 | const struct wined3d_parent_ops *parent_ops);
|
---|
7419 |
|
---|
7420 | HRESULT (STDMETHODCALLTYPE *CreateIndexBuffer)(
|
---|
7421 | IWineD3DDevice* This,
|
---|
7422 | UINT length,
|
---|
7423 | DWORD usage,
|
---|
7424 | WINED3DPOOL pool,
|
---|
7425 | IWineD3DBuffer **index_buffer,
|
---|
7426 | IUnknown *parent,
|
---|
7427 | const struct wined3d_parent_ops *parent_ops);
|
---|
7428 |
|
---|
7429 | HRESULT (STDMETHODCALLTYPE *CreateStateBlock)(
|
---|
7430 | IWineD3DDevice* This,
|
---|
7431 | WINED3DSTATEBLOCKTYPE type,
|
---|
7432 | IWineD3DStateBlock **stateblock,
|
---|
7433 | IUnknown *parent);
|
---|
7434 |
|
---|
7435 | HRESULT (STDMETHODCALLTYPE *CreateSurface)(
|
---|
7436 | IWineD3DDevice* This,
|
---|
7437 | UINT width,
|
---|
7438 | UINT height,
|
---|
7439 | WINED3DFORMAT format,
|
---|
7440 | BOOL lockable,
|
---|
7441 | BOOL discard,
|
---|
7442 | UINT level,
|
---|
7443 | IWineD3DSurface **surface,
|
---|
7444 | DWORD usage,
|
---|
7445 | WINED3DPOOL pool,
|
---|
7446 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
7447 | DWORD multisample_quality,
|
---|
7448 | WINED3DSURFTYPE surface_type,
|
---|
7449 | IUnknown *parent,
|
---|
7450 | const struct wined3d_parent_ops *parent_ops);
|
---|
7451 |
|
---|
7452 | HRESULT (STDMETHODCALLTYPE *CreateRendertargetView)(
|
---|
7453 | IWineD3DDevice* This,
|
---|
7454 | IWineD3DResource *resource,
|
---|
7455 | IUnknown *parent,
|
---|
7456 | IWineD3DRendertargetView **rendertarget_view);
|
---|
7457 |
|
---|
7458 | HRESULT (STDMETHODCALLTYPE *CreateTexture)(
|
---|
7459 | IWineD3DDevice* This,
|
---|
7460 | UINT width,
|
---|
7461 | UINT height,
|
---|
7462 | UINT levels,
|
---|
7463 | DWORD usage,
|
---|
7464 | WINED3DFORMAT format,
|
---|
7465 | WINED3DPOOL pool,
|
---|
7466 | IWineD3DTexture **texture,
|
---|
7467 | IUnknown *parent,
|
---|
7468 | const struct wined3d_parent_ops *parent_ops);
|
---|
7469 |
|
---|
7470 | HRESULT (STDMETHODCALLTYPE *CreateVolumeTexture)(
|
---|
7471 | IWineD3DDevice* This,
|
---|
7472 | UINT width,
|
---|
7473 | UINT height,
|
---|
7474 | UINT depth,
|
---|
7475 | UINT levels,
|
---|
7476 | DWORD usage,
|
---|
7477 | WINED3DFORMAT format,
|
---|
7478 | WINED3DPOOL pool,
|
---|
7479 | IWineD3DVolumeTexture **texture,
|
---|
7480 | IUnknown *parent,
|
---|
7481 | const struct wined3d_parent_ops *parent_ops);
|
---|
7482 |
|
---|
7483 | HRESULT (STDMETHODCALLTYPE *CreateVolume)(
|
---|
7484 | IWineD3DDevice* This,
|
---|
7485 | UINT width,
|
---|
7486 | UINT height,
|
---|
7487 | UINT depth,
|
---|
7488 | DWORD usage,
|
---|
7489 | WINED3DFORMAT format,
|
---|
7490 | WINED3DPOOL pool,
|
---|
7491 | IWineD3DVolume **volume,
|
---|
7492 | IUnknown *parent,
|
---|
7493 | const struct wined3d_parent_ops *parent_ops);
|
---|
7494 |
|
---|
7495 | HRESULT (STDMETHODCALLTYPE *CreateCubeTexture)(
|
---|
7496 | IWineD3DDevice* This,
|
---|
7497 | UINT edge_length,
|
---|
7498 | UINT levels,
|
---|
7499 | DWORD usage,
|
---|
7500 | WINED3DFORMAT format,
|
---|
7501 | WINED3DPOOL pool,
|
---|
7502 | IWineD3DCubeTexture **texture,
|
---|
7503 | IUnknown *parent,
|
---|
7504 | const struct wined3d_parent_ops *parent_ops);
|
---|
7505 |
|
---|
7506 | HRESULT (STDMETHODCALLTYPE *CreateQuery)(
|
---|
7507 | IWineD3DDevice* This,
|
---|
7508 | WINED3DQUERYTYPE type,
|
---|
7509 | IWineD3DQuery **query,
|
---|
7510 | IUnknown *parent);
|
---|
7511 |
|
---|
7512 | HRESULT (STDMETHODCALLTYPE *CreateSwapChain)(
|
---|
7513 | IWineD3DDevice* This,
|
---|
7514 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
7515 | IWineD3DSwapChain **swapchain,
|
---|
7516 | IUnknown *parent,
|
---|
7517 | WINED3DSURFTYPE surface_type);
|
---|
7518 |
|
---|
7519 | HRESULT (STDMETHODCALLTYPE *CreateVertexDeclaration)(
|
---|
7520 | IWineD3DDevice* This,
|
---|
7521 | IWineD3DVertexDeclaration **declaration,
|
---|
7522 | IUnknown *parent,
|
---|
7523 | const struct wined3d_parent_ops *parent_ops,
|
---|
7524 | const WINED3DVERTEXELEMENT *elements,
|
---|
7525 | UINT element_count);
|
---|
7526 |
|
---|
7527 | HRESULT (STDMETHODCALLTYPE *CreateVertexDeclarationFromFVF)(
|
---|
7528 | IWineD3DDevice* This,
|
---|
7529 | IWineD3DVertexDeclaration **declaration,
|
---|
7530 | IUnknown *parent,
|
---|
7531 | const struct wined3d_parent_ops *parent_ops,
|
---|
7532 | DWORD fvf);
|
---|
7533 |
|
---|
7534 | HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
|
---|
7535 | IWineD3DDevice* This,
|
---|
7536 | const DWORD *function,
|
---|
7537 | const struct wined3d_shader_signature *output_signature,
|
---|
7538 | IWineD3DVertexShader **shader,
|
---|
7539 | IUnknown *parent,
|
---|
7540 | const struct wined3d_parent_ops *parent_ops);
|
---|
7541 |
|
---|
7542 | HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
|
---|
7543 | IWineD3DDevice* This,
|
---|
7544 | const DWORD *function,
|
---|
7545 | const struct wined3d_shader_signature *output_signature,
|
---|
7546 | IWineD3DPixelShader **shader,
|
---|
7547 | IUnknown *parent,
|
---|
7548 | const struct wined3d_parent_ops *parent_ops);
|
---|
7549 |
|
---|
7550 | HRESULT (STDMETHODCALLTYPE *CreatePalette)(
|
---|
7551 | IWineD3DDevice* This,
|
---|
7552 | DWORD flags,
|
---|
7553 | const PALETTEENTRY *palette_entry,
|
---|
7554 | IWineD3DPalette **palette,
|
---|
7555 | IUnknown *parent);
|
---|
7556 |
|
---|
7557 | HRESULT (STDMETHODCALLTYPE *Init3D)(
|
---|
7558 | IWineD3DDevice* This,
|
---|
7559 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7560 |
|
---|
7561 | HRESULT (STDMETHODCALLTYPE *InitGDI)(
|
---|
7562 | IWineD3DDevice* This,
|
---|
7563 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7564 |
|
---|
7565 | HRESULT (STDMETHODCALLTYPE *Uninit3D)(
|
---|
7566 | IWineD3DDevice* This,
|
---|
7567 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
7568 |
|
---|
7569 | HRESULT (STDMETHODCALLTYPE *UninitGDI)(
|
---|
7570 | IWineD3DDevice* This,
|
---|
7571 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
7572 |
|
---|
7573 | void (STDMETHODCALLTYPE *SetMultithreaded)(
|
---|
7574 | IWineD3DDevice* This);
|
---|
7575 |
|
---|
7576 | HRESULT (STDMETHODCALLTYPE *EvictManagedResources)(
|
---|
7577 | IWineD3DDevice* This);
|
---|
7578 |
|
---|
7579 | UINT (STDMETHODCALLTYPE *GetAvailableTextureMem)(
|
---|
7580 | IWineD3DDevice* This);
|
---|
7581 |
|
---|
7582 | HRESULT (STDMETHODCALLTYPE *GetBackBuffer)(
|
---|
7583 | IWineD3DDevice* This,
|
---|
7584 | UINT swapchain_idx,
|
---|
7585 | UINT backbuffer_idx,
|
---|
7586 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
7587 | IWineD3DSurface **backbuffer);
|
---|
7588 |
|
---|
7589 | HRESULT (STDMETHODCALLTYPE *GetCreationParameters)(
|
---|
7590 | IWineD3DDevice* This,
|
---|
7591 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
---|
7592 |
|
---|
7593 | HRESULT (STDMETHODCALLTYPE *GetDeviceCaps)(
|
---|
7594 | IWineD3DDevice* This,
|
---|
7595 | WINED3DCAPS *caps);
|
---|
7596 |
|
---|
7597 | HRESULT (STDMETHODCALLTYPE *GetDirect3D)(
|
---|
7598 | IWineD3DDevice* This,
|
---|
7599 | IWineD3D **d3d);
|
---|
7600 |
|
---|
7601 | HRESULT (STDMETHODCALLTYPE *GetDisplayMode)(
|
---|
7602 | IWineD3DDevice* This,
|
---|
7603 | UINT swapchain_idx,
|
---|
7604 | WINED3DDISPLAYMODE *mode);
|
---|
7605 |
|
---|
7606 | HRESULT (STDMETHODCALLTYPE *SetDisplayMode)(
|
---|
7607 | IWineD3DDevice* This,
|
---|
7608 | UINT swapchain_idx,
|
---|
7609 | const WINED3DDISPLAYMODE *mode);
|
---|
7610 |
|
---|
7611 | UINT (STDMETHODCALLTYPE *GetNumberOfSwapChains)(
|
---|
7612 | IWineD3DDevice* This);
|
---|
7613 |
|
---|
7614 | HRESULT (STDMETHODCALLTYPE *GetRasterStatus)(
|
---|
7615 | IWineD3DDevice* This,
|
---|
7616 | UINT swapchain_idx,
|
---|
7617 | WINED3DRASTER_STATUS *raster_status);
|
---|
7618 |
|
---|
7619 | HRESULT (STDMETHODCALLTYPE *GetSwapChain)(
|
---|
7620 | IWineD3DDevice* This,
|
---|
7621 | UINT swapchain_idx,
|
---|
7622 | IWineD3DSwapChain **swapchain);
|
---|
7623 |
|
---|
7624 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
7625 | IWineD3DDevice* This,
|
---|
7626 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
7627 |
|
---|
7628 | HRESULT (STDMETHODCALLTYPE *SetDialogBoxMode)(
|
---|
7629 | IWineD3DDevice* This,
|
---|
7630 | BOOL enable_dialogs);
|
---|
7631 |
|
---|
7632 | HRESULT (STDMETHODCALLTYPE *SetCursorProperties)(
|
---|
7633 | IWineD3DDevice* This,
|
---|
7634 | UINT x_hotspot,
|
---|
7635 | UINT y_hotspot,
|
---|
7636 | IWineD3DSurface *cursor_surface);
|
---|
7637 |
|
---|
7638 | void (STDMETHODCALLTYPE *SetCursorPosition)(
|
---|
7639 | IWineD3DDevice* This,
|
---|
7640 | int x_screen_space,
|
---|
7641 | int y_screen_space,
|
---|
7642 | DWORD flags);
|
---|
7643 |
|
---|
7644 | BOOL (STDMETHODCALLTYPE *ShowCursor)(
|
---|
7645 | IWineD3DDevice* This,
|
---|
7646 | BOOL show);
|
---|
7647 |
|
---|
7648 | HRESULT (STDMETHODCALLTYPE *TestCooperativeLevel)(
|
---|
7649 | IWineD3DDevice* This);
|
---|
7650 |
|
---|
7651 | HRESULT (STDMETHODCALLTYPE *SetClipPlane)(
|
---|
7652 | IWineD3DDevice* This,
|
---|
7653 | DWORD plane_idx,
|
---|
7654 | const float *plane);
|
---|
7655 |
|
---|
7656 | HRESULT (STDMETHODCALLTYPE *GetClipPlane)(
|
---|
7657 | IWineD3DDevice* This,
|
---|
7658 | DWORD plane_idx,
|
---|
7659 | float *plane);
|
---|
7660 |
|
---|
7661 | HRESULT (STDMETHODCALLTYPE *SetClipStatus)(
|
---|
7662 | IWineD3DDevice* This,
|
---|
7663 | const WINED3DCLIPSTATUS *clip_status);
|
---|
7664 |
|
---|
7665 | HRESULT (STDMETHODCALLTYPE *GetClipStatus)(
|
---|
7666 | IWineD3DDevice* This,
|
---|
7667 | WINED3DCLIPSTATUS *clip_status);
|
---|
7668 |
|
---|
7669 | HRESULT (STDMETHODCALLTYPE *SetCurrentTexturePalette)(
|
---|
7670 | IWineD3DDevice* This,
|
---|
7671 | UINT palette_number);
|
---|
7672 |
|
---|
7673 | HRESULT (STDMETHODCALLTYPE *GetCurrentTexturePalette)(
|
---|
7674 | IWineD3DDevice* This,
|
---|
7675 | UINT *palette_number);
|
---|
7676 |
|
---|
7677 | HRESULT (STDMETHODCALLTYPE *SetDepthStencilSurface)(
|
---|
7678 | IWineD3DDevice* This,
|
---|
7679 | IWineD3DSurface *depth_stencil);
|
---|
7680 |
|
---|
7681 | HRESULT (STDMETHODCALLTYPE *GetDepthStencilSurface)(
|
---|
7682 | IWineD3DDevice* This,
|
---|
7683 | IWineD3DSurface **depth_stencil);
|
---|
7684 |
|
---|
7685 | void (STDMETHODCALLTYPE *SetGammaRamp)(
|
---|
7686 | IWineD3DDevice* This,
|
---|
7687 | UINT swapchain_idx,
|
---|
7688 | DWORD flags,
|
---|
7689 | const WINED3DGAMMARAMP *ramp);
|
---|
7690 |
|
---|
7691 | void (STDMETHODCALLTYPE *GetGammaRamp)(
|
---|
7692 | IWineD3DDevice* This,
|
---|
7693 | UINT swapchain_idx,
|
---|
7694 | WINED3DGAMMARAMP *ramp);
|
---|
7695 |
|
---|
7696 | HRESULT (STDMETHODCALLTYPE *SetIndexBuffer)(
|
---|
7697 | IWineD3DDevice* This,
|
---|
7698 | IWineD3DBuffer *index_buffer,
|
---|
7699 | WINED3DFORMAT format);
|
---|
7700 |
|
---|
7701 | HRESULT (STDMETHODCALLTYPE *GetIndexBuffer)(
|
---|
7702 | IWineD3DDevice* This,
|
---|
7703 | IWineD3DBuffer **index_buffer);
|
---|
7704 |
|
---|
7705 | HRESULT (STDMETHODCALLTYPE *SetBaseVertexIndex)(
|
---|
7706 | IWineD3DDevice* This,
|
---|
7707 | INT base_index);
|
---|
7708 |
|
---|
7709 | HRESULT (STDMETHODCALLTYPE *GetBaseVertexIndex)(
|
---|
7710 | IWineD3DDevice* This,
|
---|
7711 | INT *base_index);
|
---|
7712 |
|
---|
7713 | HRESULT (STDMETHODCALLTYPE *SetLight)(
|
---|
7714 | IWineD3DDevice* This,
|
---|
7715 | DWORD light_idx,
|
---|
7716 | const WINED3DLIGHT *light);
|
---|
7717 |
|
---|
7718 | HRESULT (STDMETHODCALLTYPE *GetLight)(
|
---|
7719 | IWineD3DDevice* This,
|
---|
7720 | DWORD light_idx,
|
---|
7721 | WINED3DLIGHT *light);
|
---|
7722 |
|
---|
7723 | HRESULT (STDMETHODCALLTYPE *SetLightEnable)(
|
---|
7724 | IWineD3DDevice* This,
|
---|
7725 | DWORD light_idx,
|
---|
7726 | BOOL enable);
|
---|
7727 |
|
---|
7728 | HRESULT (STDMETHODCALLTYPE *GetLightEnable)(
|
---|
7729 | IWineD3DDevice* This,
|
---|
7730 | DWORD light_idx,
|
---|
7731 | BOOL *enable);
|
---|
7732 |
|
---|
7733 | HRESULT (STDMETHODCALLTYPE *SetMaterial)(
|
---|
7734 | IWineD3DDevice* This,
|
---|
7735 | const WINED3DMATERIAL *material);
|
---|
7736 |
|
---|
7737 | HRESULT (STDMETHODCALLTYPE *GetMaterial)(
|
---|
7738 | IWineD3DDevice* This,
|
---|
7739 | WINED3DMATERIAL *material);
|
---|
7740 |
|
---|
7741 | HRESULT (STDMETHODCALLTYPE *SetNPatchMode)(
|
---|
7742 | IWineD3DDevice* This,
|
---|
7743 | float segments);
|
---|
7744 |
|
---|
7745 | float (STDMETHODCALLTYPE *GetNPatchMode)(
|
---|
7746 | IWineD3DDevice* This);
|
---|
7747 |
|
---|
7748 | HRESULT (STDMETHODCALLTYPE *SetPaletteEntries)(
|
---|
7749 | IWineD3DDevice* This,
|
---|
7750 | UINT palette_number,
|
---|
7751 | const PALETTEENTRY *entries);
|
---|
7752 |
|
---|
7753 | HRESULT (STDMETHODCALLTYPE *GetPaletteEntries)(
|
---|
7754 | IWineD3DDevice* This,
|
---|
7755 | UINT palette_number,
|
---|
7756 | PALETTEENTRY *entries);
|
---|
7757 |
|
---|
7758 | HRESULT (STDMETHODCALLTYPE *SetPixelShader)(
|
---|
7759 | IWineD3DDevice* This,
|
---|
7760 | IWineD3DPixelShader *shader);
|
---|
7761 |
|
---|
7762 | HRESULT (STDMETHODCALLTYPE *GetPixelShader)(
|
---|
7763 | IWineD3DDevice* This,
|
---|
7764 | IWineD3DPixelShader **shader);
|
---|
7765 |
|
---|
7766 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantB)(
|
---|
7767 | IWineD3DDevice* This,
|
---|
7768 | UINT start_register,
|
---|
7769 | const BOOL *constants,
|
---|
7770 | UINT bool_count);
|
---|
7771 |
|
---|
7772 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantB)(
|
---|
7773 | IWineD3DDevice* This,
|
---|
7774 | UINT start_register,
|
---|
7775 | BOOL *constants,
|
---|
7776 | UINT bool_count);
|
---|
7777 |
|
---|
7778 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantI)(
|
---|
7779 | IWineD3DDevice* This,
|
---|
7780 | UINT start_register,
|
---|
7781 | const int *constants,
|
---|
7782 | UINT vector4i_count);
|
---|
7783 |
|
---|
7784 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantI)(
|
---|
7785 | IWineD3DDevice* This,
|
---|
7786 | UINT start_register,
|
---|
7787 | int *constants,
|
---|
7788 | UINT vector4i_count);
|
---|
7789 |
|
---|
7790 | HRESULT (STDMETHODCALLTYPE *SetPixelShaderConstantF)(
|
---|
7791 | IWineD3DDevice* This,
|
---|
7792 | UINT start_register,
|
---|
7793 | const float *constants,
|
---|
7794 | UINT vector4f_count);
|
---|
7795 |
|
---|
7796 | HRESULT (STDMETHODCALLTYPE *GetPixelShaderConstantF)(
|
---|
7797 | IWineD3DDevice* This,
|
---|
7798 | UINT start_register,
|
---|
7799 | float *constants,
|
---|
7800 | UINT vector4f_count);
|
---|
7801 |
|
---|
7802 | HRESULT (STDMETHODCALLTYPE *SetRenderState)(
|
---|
7803 | IWineD3DDevice* This,
|
---|
7804 | WINED3DRENDERSTATETYPE state,
|
---|
7805 | DWORD value);
|
---|
7806 |
|
---|
7807 | HRESULT (STDMETHODCALLTYPE *GetRenderState)(
|
---|
7808 | IWineD3DDevice* This,
|
---|
7809 | WINED3DRENDERSTATETYPE state,
|
---|
7810 | DWORD *value);
|
---|
7811 |
|
---|
7812 | HRESULT (STDMETHODCALLTYPE *SetRenderTarget)(
|
---|
7813 | IWineD3DDevice* This,
|
---|
7814 | DWORD render_target_idx,
|
---|
7815 | IWineD3DSurface *render_target);
|
---|
7816 |
|
---|
7817 | HRESULT (STDMETHODCALLTYPE *GetRenderTarget)(
|
---|
7818 | IWineD3DDevice* This,
|
---|
7819 | DWORD render_target_idx,
|
---|
7820 | IWineD3DSurface **render_target);
|
---|
7821 |
|
---|
7822 | HRESULT (STDMETHODCALLTYPE *SetFrontBackBuffers)(
|
---|
7823 | IWineD3DDevice* This,
|
---|
7824 | IWineD3DSurface *front,
|
---|
7825 | IWineD3DSurface *back);
|
---|
7826 |
|
---|
7827 | HRESULT (STDMETHODCALLTYPE *SetSamplerState)(
|
---|
7828 | IWineD3DDevice* This,
|
---|
7829 | DWORD sampler_idx,
|
---|
7830 | WINED3DSAMPLERSTATETYPE state,
|
---|
7831 | DWORD value);
|
---|
7832 |
|
---|
7833 | HRESULT (STDMETHODCALLTYPE *GetSamplerState)(
|
---|
7834 | IWineD3DDevice* This,
|
---|
7835 | DWORD sampler_idx,
|
---|
7836 | WINED3DSAMPLERSTATETYPE state,
|
---|
7837 | DWORD *value);
|
---|
7838 |
|
---|
7839 | HRESULT (STDMETHODCALLTYPE *SetScissorRect)(
|
---|
7840 | IWineD3DDevice* This,
|
---|
7841 | const RECT *rect);
|
---|
7842 |
|
---|
7843 | HRESULT (STDMETHODCALLTYPE *GetScissorRect)(
|
---|
7844 | IWineD3DDevice* This,
|
---|
7845 | RECT *rect);
|
---|
7846 |
|
---|
7847 | HRESULT (STDMETHODCALLTYPE *SetSoftwareVertexProcessing)(
|
---|
7848 | IWineD3DDevice* This,
|
---|
7849 | BOOL software);
|
---|
7850 |
|
---|
7851 | BOOL (STDMETHODCALLTYPE *GetSoftwareVertexProcessing)(
|
---|
7852 | IWineD3DDevice* This);
|
---|
7853 |
|
---|
7854 | HRESULT (STDMETHODCALLTYPE *SetStreamSource)(
|
---|
7855 | IWineD3DDevice* This,
|
---|
7856 | UINT stream_idx,
|
---|
7857 | IWineD3DBuffer *buffer,
|
---|
7858 | UINT offset,
|
---|
7859 | UINT stride);
|
---|
7860 |
|
---|
7861 | HRESULT (STDMETHODCALLTYPE *GetStreamSource)(
|
---|
7862 | IWineD3DDevice* This,
|
---|
7863 | UINT stream_idx,
|
---|
7864 | IWineD3DBuffer **buffer,
|
---|
7865 | UINT *offset,
|
---|
7866 | UINT *stride);
|
---|
7867 |
|
---|
7868 | HRESULT (STDMETHODCALLTYPE *SetStreamSourceFreq)(
|
---|
7869 | IWineD3DDevice* This,
|
---|
7870 | UINT stream_idx,
|
---|
7871 | UINT divider);
|
---|
7872 |
|
---|
7873 | HRESULT (STDMETHODCALLTYPE *GetStreamSourceFreq)(
|
---|
7874 | IWineD3DDevice* This,
|
---|
7875 | UINT stream_idx,
|
---|
7876 | UINT *divider);
|
---|
7877 |
|
---|
7878 | HRESULT (STDMETHODCALLTYPE *SetTexture)(
|
---|
7879 | IWineD3DDevice* This,
|
---|
7880 | DWORD stage,
|
---|
7881 | IWineD3DBaseTexture *texture);
|
---|
7882 |
|
---|
7883 | HRESULT (STDMETHODCALLTYPE *GetTexture)(
|
---|
7884 | IWineD3DDevice* This,
|
---|
7885 | DWORD stage,
|
---|
7886 | IWineD3DBaseTexture **texture);
|
---|
7887 |
|
---|
7888 | HRESULT (STDMETHODCALLTYPE *SetTextureStageState)(
|
---|
7889 | IWineD3DDevice* This,
|
---|
7890 | DWORD stage,
|
---|
7891 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7892 | DWORD value);
|
---|
7893 |
|
---|
7894 | HRESULT (STDMETHODCALLTYPE *GetTextureStageState)(
|
---|
7895 | IWineD3DDevice* This,
|
---|
7896 | DWORD stage,
|
---|
7897 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
7898 | DWORD *value);
|
---|
7899 |
|
---|
7900 | HRESULT (STDMETHODCALLTYPE *SetTransform)(
|
---|
7901 | IWineD3DDevice* This,
|
---|
7902 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7903 | const WINED3DMATRIX *matrix);
|
---|
7904 |
|
---|
7905 | HRESULT (STDMETHODCALLTYPE *GetTransform)(
|
---|
7906 | IWineD3DDevice* This,
|
---|
7907 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7908 | WINED3DMATRIX *matrix);
|
---|
7909 |
|
---|
7910 | HRESULT (STDMETHODCALLTYPE *SetVertexDeclaration)(
|
---|
7911 | IWineD3DDevice* This,
|
---|
7912 | IWineD3DVertexDeclaration *declaration);
|
---|
7913 |
|
---|
7914 | HRESULT (STDMETHODCALLTYPE *GetVertexDeclaration)(
|
---|
7915 | IWineD3DDevice* This,
|
---|
7916 | IWineD3DVertexDeclaration **declaration);
|
---|
7917 |
|
---|
7918 | HRESULT (STDMETHODCALLTYPE *SetVertexShader)(
|
---|
7919 | IWineD3DDevice* This,
|
---|
7920 | IWineD3DVertexShader *shader);
|
---|
7921 |
|
---|
7922 | HRESULT (STDMETHODCALLTYPE *GetVertexShader)(
|
---|
7923 | IWineD3DDevice* This,
|
---|
7924 | IWineD3DVertexShader **shader);
|
---|
7925 |
|
---|
7926 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantB)(
|
---|
7927 | IWineD3DDevice* This,
|
---|
7928 | UINT start_register,
|
---|
7929 | const BOOL *constants,
|
---|
7930 | UINT bool_count);
|
---|
7931 |
|
---|
7932 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantB)(
|
---|
7933 | IWineD3DDevice* This,
|
---|
7934 | UINT start_register,
|
---|
7935 | BOOL *constants,
|
---|
7936 | UINT bool_count);
|
---|
7937 |
|
---|
7938 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantI)(
|
---|
7939 | IWineD3DDevice* This,
|
---|
7940 | UINT start_register,
|
---|
7941 | const int *constants,
|
---|
7942 | UINT vector4i_count);
|
---|
7943 |
|
---|
7944 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantI)(
|
---|
7945 | IWineD3DDevice* This,
|
---|
7946 | UINT start_register,
|
---|
7947 | int *constants,
|
---|
7948 | UINT vector4i_count);
|
---|
7949 |
|
---|
7950 | HRESULT (STDMETHODCALLTYPE *SetVertexShaderConstantF)(
|
---|
7951 | IWineD3DDevice* This,
|
---|
7952 | UINT start_register,
|
---|
7953 | const float *constants,
|
---|
7954 | UINT vector4f_count);
|
---|
7955 |
|
---|
7956 | HRESULT (STDMETHODCALLTYPE *GetVertexShaderConstantF)(
|
---|
7957 | IWineD3DDevice* This,
|
---|
7958 | UINT start_register,
|
---|
7959 | float *constants,
|
---|
7960 | UINT vector4f_count);
|
---|
7961 |
|
---|
7962 | HRESULT (STDMETHODCALLTYPE *SetViewport)(
|
---|
7963 | IWineD3DDevice* This,
|
---|
7964 | const WINED3DVIEWPORT *viewport);
|
---|
7965 |
|
---|
7966 | HRESULT (STDMETHODCALLTYPE *GetViewport)(
|
---|
7967 | IWineD3DDevice* This,
|
---|
7968 | WINED3DVIEWPORT *viewport);
|
---|
7969 |
|
---|
7970 | HRESULT (STDMETHODCALLTYPE *MultiplyTransform)(
|
---|
7971 | IWineD3DDevice* This,
|
---|
7972 | WINED3DTRANSFORMSTATETYPE state,
|
---|
7973 | const WINED3DMATRIX *matrix);
|
---|
7974 |
|
---|
7975 | HRESULT (STDMETHODCALLTYPE *ValidateDevice)(
|
---|
7976 | IWineD3DDevice* This,
|
---|
7977 | DWORD *num_passes);
|
---|
7978 |
|
---|
7979 | HRESULT (STDMETHODCALLTYPE *ProcessVertices)(
|
---|
7980 | IWineD3DDevice* This,
|
---|
7981 | UINT src_start_idx,
|
---|
7982 | UINT dst_idx,
|
---|
7983 | UINT vertex_count,
|
---|
7984 | IWineD3DBuffer *dest_buffer,
|
---|
7985 | IWineD3DVertexDeclaration *declaration,
|
---|
7986 | DWORD flags,
|
---|
7987 | DWORD DestFVF);
|
---|
7988 |
|
---|
7989 | HRESULT (STDMETHODCALLTYPE *BeginStateBlock)(
|
---|
7990 | IWineD3DDevice* This);
|
---|
7991 |
|
---|
7992 | HRESULT (STDMETHODCALLTYPE *EndStateBlock)(
|
---|
7993 | IWineD3DDevice* This,
|
---|
7994 | IWineD3DStateBlock **stateblock);
|
---|
7995 |
|
---|
7996 | HRESULT (STDMETHODCALLTYPE *BeginScene)(
|
---|
7997 | IWineD3DDevice* This);
|
---|
7998 |
|
---|
7999 | HRESULT (STDMETHODCALLTYPE *EndScene)(
|
---|
8000 | IWineD3DDevice* This);
|
---|
8001 |
|
---|
8002 | HRESULT (STDMETHODCALLTYPE *Present)(
|
---|
8003 | IWineD3DDevice* This,
|
---|
8004 | const RECT *src_rect,
|
---|
8005 | const RECT *dst_rect,
|
---|
8006 | HWND dst_window_override,
|
---|
8007 | const RGNDATA *dirty_region);
|
---|
8008 |
|
---|
8009 | HRESULT (STDMETHODCALLTYPE *Clear)(
|
---|
8010 | IWineD3DDevice* This,
|
---|
8011 | DWORD rect_count,
|
---|
8012 | const WINED3DRECT *rects,
|
---|
8013 | DWORD flags,
|
---|
8014 | WINED3DCOLOR color,
|
---|
8015 | float z,
|
---|
8016 | DWORD stencil);
|
---|
8017 |
|
---|
8018 | void (STDMETHODCALLTYPE *ClearRendertargetView)(
|
---|
8019 | IWineD3DDevice* This,
|
---|
8020 | IWineD3DRendertargetView *rendertarget_view,
|
---|
8021 | const float color[4]);
|
---|
8022 |
|
---|
8023 | void (STDMETHODCALLTYPE *SetPrimitiveType)(
|
---|
8024 | IWineD3DDevice* This,
|
---|
8025 | WINED3DPRIMITIVETYPE primitive_topology);
|
---|
8026 |
|
---|
8027 | void (STDMETHODCALLTYPE *GetPrimitiveType)(
|
---|
8028 | IWineD3DDevice* This,
|
---|
8029 | WINED3DPRIMITIVETYPE *primitive_topology);
|
---|
8030 |
|
---|
8031 | HRESULT (STDMETHODCALLTYPE *DrawPrimitive)(
|
---|
8032 | IWineD3DDevice* This,
|
---|
8033 | UINT start_vertex,
|
---|
8034 | UINT vertex_count);
|
---|
8035 |
|
---|
8036 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitive)(
|
---|
8037 | IWineD3DDevice* This,
|
---|
8038 | UINT start_idx,
|
---|
8039 | UINT index_count);
|
---|
8040 |
|
---|
8041 | HRESULT (STDMETHODCALLTYPE *DrawPrimitiveUP)(
|
---|
8042 | IWineD3DDevice* This,
|
---|
8043 | UINT vertex_count,
|
---|
8044 | const void *stream_data,
|
---|
8045 | UINT stream_stride);
|
---|
8046 |
|
---|
8047 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveUP)(
|
---|
8048 | IWineD3DDevice* This,
|
---|
8049 | UINT index_count,
|
---|
8050 | const void *index_data,
|
---|
8051 | WINED3DFORMAT index_data_format,
|
---|
8052 | const void *stream_data,
|
---|
8053 | UINT stream_stride);
|
---|
8054 |
|
---|
8055 | HRESULT (STDMETHODCALLTYPE *DrawPrimitiveStrided)(
|
---|
8056 | IWineD3DDevice* This,
|
---|
8057 | UINT vertex_count,
|
---|
8058 | const WineDirect3DVertexStridedData *strided_data);
|
---|
8059 |
|
---|
8060 | HRESULT (STDMETHODCALLTYPE *DrawIndexedPrimitiveStrided)(
|
---|
8061 | IWineD3DDevice* This,
|
---|
8062 | UINT index_count,
|
---|
8063 | const WineDirect3DVertexStridedData *strided_data,
|
---|
8064 | UINT vertex_count,
|
---|
8065 | const void *index_data,
|
---|
8066 | WINED3DFORMAT index_data_format);
|
---|
8067 |
|
---|
8068 | HRESULT (STDMETHODCALLTYPE *DrawRectPatch)(
|
---|
8069 | IWineD3DDevice* This,
|
---|
8070 | UINT handle,
|
---|
8071 | const float *num_segs,
|
---|
8072 | const WINED3DRECTPATCH_INFO *rect_patch_info);
|
---|
8073 |
|
---|
8074 | HRESULT (STDMETHODCALLTYPE *DrawTriPatch)(
|
---|
8075 | IWineD3DDevice* This,
|
---|
8076 | UINT handle,
|
---|
8077 | const float *num_segs,
|
---|
8078 | const WINED3DTRIPATCH_INFO *tri_patch_info);
|
---|
8079 |
|
---|
8080 | HRESULT (STDMETHODCALLTYPE *DeletePatch)(
|
---|
8081 | IWineD3DDevice* This,
|
---|
8082 | UINT handle);
|
---|
8083 |
|
---|
8084 | HRESULT (STDMETHODCALLTYPE *ColorFill)(
|
---|
8085 | IWineD3DDevice* This,
|
---|
8086 | IWineD3DSurface *surface,
|
---|
8087 | const WINED3DRECT *rect,
|
---|
8088 | WINED3DCOLOR color);
|
---|
8089 |
|
---|
8090 | HRESULT (STDMETHODCALLTYPE *UpdateTexture)(
|
---|
8091 | IWineD3DDevice* This,
|
---|
8092 | IWineD3DBaseTexture *src_texture,
|
---|
8093 | IWineD3DBaseTexture *dst_texture);
|
---|
8094 |
|
---|
8095 | HRESULT (STDMETHODCALLTYPE *UpdateSurface)(
|
---|
8096 | IWineD3DDevice* This,
|
---|
8097 | IWineD3DSurface *src_surface,
|
---|
8098 | const RECT *src_rect,
|
---|
8099 | IWineD3DSurface *dst_surface,
|
---|
8100 | const POINT *dst_point);
|
---|
8101 |
|
---|
8102 | HRESULT (STDMETHODCALLTYPE *GetFrontBufferData)(
|
---|
8103 | IWineD3DDevice* This,
|
---|
8104 | UINT swapchain_idx,
|
---|
8105 | IWineD3DSurface *dst_surface);
|
---|
8106 |
|
---|
8107 | HRESULT (STDMETHODCALLTYPE *EnumResources)(
|
---|
8108 | IWineD3DDevice* This,
|
---|
8109 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
8110 | void *data);
|
---|
8111 |
|
---|
8112 | END_INTERFACE
|
---|
8113 | } IWineD3DDeviceVtbl;
|
---|
8114 | interface IWineD3DDevice {
|
---|
8115 | CONST_VTBL IWineD3DDeviceVtbl* lpVtbl;
|
---|
8116 | };
|
---|
8117 |
|
---|
8118 | #ifdef COBJMACROS
|
---|
8119 | /*** IUnknown methods ***/
|
---|
8120 | #define IWineD3DDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
8121 | #define IWineD3DDevice_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
8122 | #define IWineD3DDevice_Release(This) (This)->lpVtbl->Release(This)
|
---|
8123 | /*** IWineD3DBase methods ***/
|
---|
8124 | #define IWineD3DDevice_GetParent(This,parent) (This)->lpVtbl->GetParent(This,parent)
|
---|
8125 | /*** IWineD3DDevice methods ***/
|
---|
8126 | #define IWineD3DDevice_CreateBuffer(This,desc,data,parent,parent_ops,buffer) (This)->lpVtbl->CreateBuffer(This,desc,data,parent,parent_ops,buffer)
|
---|
8127 | #define IWineD3DDevice_CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent,parent_ops) (This)->lpVtbl->CreateVertexBuffer(This,length,usage,fvf,pool,vertex_buffer,parent,parent_ops)
|
---|
8128 | #define IWineD3DDevice_CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops) (This)->lpVtbl->CreateIndexBuffer(This,length,usage,pool,index_buffer,parent,parent_ops)
|
---|
8129 | #define IWineD3DDevice_CreateStateBlock(This,type,stateblock,parent) (This)->lpVtbl->CreateStateBlock(This,type,stateblock,parent)
|
---|
8130 | #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)
|
---|
8131 | #define IWineD3DDevice_CreateRendertargetView(This,resource,parent,rendertarget_view) (This)->lpVtbl->CreateRendertargetView(This,resource,parent,rendertarget_view)
|
---|
8132 | #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)
|
---|
8133 | #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)
|
---|
8134 | #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)
|
---|
8135 | #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)
|
---|
8136 | #define IWineD3DDevice_CreateQuery(This,type,query,parent) (This)->lpVtbl->CreateQuery(This,type,query,parent)
|
---|
8137 | #define IWineD3DDevice_CreateSwapChain(This,present_parameters,swapchain,parent,surface_type) (This)->lpVtbl->CreateSwapChain(This,present_parameters,swapchain,parent,surface_type)
|
---|
8138 | #define IWineD3DDevice_CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count) (This)->lpVtbl->CreateVertexDeclaration(This,declaration,parent,parent_ops,elements,element_count)
|
---|
8139 | #define IWineD3DDevice_CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf) (This)->lpVtbl->CreateVertexDeclarationFromFVF(This,declaration,parent,parent_ops,fvf)
|
---|
8140 | #define IWineD3DDevice_CreateVertexShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreateVertexShader(This,function,output_signature,shader,parent,parent_ops)
|
---|
8141 | #define IWineD3DDevice_CreatePixelShader(This,function,output_signature,shader,parent,parent_ops) (This)->lpVtbl->CreatePixelShader(This,function,output_signature,shader,parent,parent_ops)
|
---|
8142 | #define IWineD3DDevice_CreatePalette(This,flags,palette_entry,palette,parent) (This)->lpVtbl->CreatePalette(This,flags,palette_entry,palette,parent)
|
---|
8143 | #define IWineD3DDevice_Init3D(This,present_parameters) (This)->lpVtbl->Init3D(This,present_parameters)
|
---|
8144 | #define IWineD3DDevice_InitGDI(This,present_parameters) (This)->lpVtbl->InitGDI(This,present_parameters)
|
---|
8145 | #define IWineD3DDevice_Uninit3D(This,destroy_swapchain_callback) (This)->lpVtbl->Uninit3D(This,destroy_swapchain_callback)
|
---|
8146 | #define IWineD3DDevice_UninitGDI(This,destroy_swapchain_callback) (This)->lpVtbl->UninitGDI(This,destroy_swapchain_callback)
|
---|
8147 | #define IWineD3DDevice_SetMultithreaded(This) (This)->lpVtbl->SetMultithreaded(This)
|
---|
8148 | #define IWineD3DDevice_EvictManagedResources(This) (This)->lpVtbl->EvictManagedResources(This)
|
---|
8149 | #define IWineD3DDevice_GetAvailableTextureMem(This) (This)->lpVtbl->GetAvailableTextureMem(This)
|
---|
8150 | #define IWineD3DDevice_GetBackBuffer(This,swapchain_idx,backbuffer_idx,backbuffer_type,backbuffer) (This)->lpVtbl->GetBackBuffer(This,swapchain_idx,backbuffer_idx,backbuffer_type,backbuffer)
|
---|
8151 | #define IWineD3DDevice_GetCreationParameters(This,creation_parameters) (This)->lpVtbl->GetCreationParameters(This,creation_parameters)
|
---|
8152 | #define IWineD3DDevice_GetDeviceCaps(This,caps) (This)->lpVtbl->GetDeviceCaps(This,caps)
|
---|
8153 | #define IWineD3DDevice_GetDirect3D(This,d3d) (This)->lpVtbl->GetDirect3D(This,d3d)
|
---|
8154 | #define IWineD3DDevice_GetDisplayMode(This,swapchain_idx,mode) (This)->lpVtbl->GetDisplayMode(This,swapchain_idx,mode)
|
---|
8155 | #define IWineD3DDevice_SetDisplayMode(This,swapchain_idx,mode) (This)->lpVtbl->SetDisplayMode(This,swapchain_idx,mode)
|
---|
8156 | #define IWineD3DDevice_GetNumberOfSwapChains(This) (This)->lpVtbl->GetNumberOfSwapChains(This)
|
---|
8157 | #define IWineD3DDevice_GetRasterStatus(This,swapchain_idx,raster_status) (This)->lpVtbl->GetRasterStatus(This,swapchain_idx,raster_status)
|
---|
8158 | #define IWineD3DDevice_GetSwapChain(This,swapchain_idx,swapchain) (This)->lpVtbl->GetSwapChain(This,swapchain_idx,swapchain)
|
---|
8159 | #define IWineD3DDevice_Reset(This,present_parameters) (This)->lpVtbl->Reset(This,present_parameters)
|
---|
8160 | #define IWineD3DDevice_SetDialogBoxMode(This,enable_dialogs) (This)->lpVtbl->SetDialogBoxMode(This,enable_dialogs)
|
---|
8161 | #define IWineD3DDevice_SetCursorProperties(This,x_hotspot,y_hotspot,cursor_surface) (This)->lpVtbl->SetCursorProperties(This,x_hotspot,y_hotspot,cursor_surface)
|
---|
8162 | #define IWineD3DDevice_SetCursorPosition(This,x_screen_space,y_screen_space,flags) (This)->lpVtbl->SetCursorPosition(This,x_screen_space,y_screen_space,flags)
|
---|
8163 | #define IWineD3DDevice_ShowCursor(This,show) (This)->lpVtbl->ShowCursor(This,show)
|
---|
8164 | #define IWineD3DDevice_TestCooperativeLevel(This) (This)->lpVtbl->TestCooperativeLevel(This)
|
---|
8165 | #define IWineD3DDevice_SetClipPlane(This,plane_idx,plane) (This)->lpVtbl->SetClipPlane(This,plane_idx,plane)
|
---|
8166 | #define IWineD3DDevice_GetClipPlane(This,plane_idx,plane) (This)->lpVtbl->GetClipPlane(This,plane_idx,plane)
|
---|
8167 | #define IWineD3DDevice_SetClipStatus(This,clip_status) (This)->lpVtbl->SetClipStatus(This,clip_status)
|
---|
8168 | #define IWineD3DDevice_GetClipStatus(This,clip_status) (This)->lpVtbl->GetClipStatus(This,clip_status)
|
---|
8169 | #define IWineD3DDevice_SetCurrentTexturePalette(This,palette_number) (This)->lpVtbl->SetCurrentTexturePalette(This,palette_number)
|
---|
8170 | #define IWineD3DDevice_GetCurrentTexturePalette(This,palette_number) (This)->lpVtbl->GetCurrentTexturePalette(This,palette_number)
|
---|
8171 | #define IWineD3DDevice_SetDepthStencilSurface(This,depth_stencil) (This)->lpVtbl->SetDepthStencilSurface(This,depth_stencil)
|
---|
8172 | #define IWineD3DDevice_GetDepthStencilSurface(This,depth_stencil) (This)->lpVtbl->GetDepthStencilSurface(This,depth_stencil)
|
---|
8173 | #define IWineD3DDevice_SetGammaRamp(This,swapchain_idx,flags,ramp) (This)->lpVtbl->SetGammaRamp(This,swapchain_idx,flags,ramp)
|
---|
8174 | #define IWineD3DDevice_GetGammaRamp(This,swapchain_idx,ramp) (This)->lpVtbl->GetGammaRamp(This,swapchain_idx,ramp)
|
---|
8175 | #define IWineD3DDevice_SetIndexBuffer(This,index_buffer,format) (This)->lpVtbl->SetIndexBuffer(This,index_buffer,format)
|
---|
8176 | #define IWineD3DDevice_GetIndexBuffer(This,index_buffer) (This)->lpVtbl->GetIndexBuffer(This,index_buffer)
|
---|
8177 | #define IWineD3DDevice_SetBaseVertexIndex(This,base_index) (This)->lpVtbl->SetBaseVertexIndex(This,base_index)
|
---|
8178 | #define IWineD3DDevice_GetBaseVertexIndex(This,base_index) (This)->lpVtbl->GetBaseVertexIndex(This,base_index)
|
---|
8179 | #define IWineD3DDevice_SetLight(This,light_idx,light) (This)->lpVtbl->SetLight(This,light_idx,light)
|
---|
8180 | #define IWineD3DDevice_GetLight(This,light_idx,light) (This)->lpVtbl->GetLight(This,light_idx,light)
|
---|
8181 | #define IWineD3DDevice_SetLightEnable(This,light_idx,enable) (This)->lpVtbl->SetLightEnable(This,light_idx,enable)
|
---|
8182 | #define IWineD3DDevice_GetLightEnable(This,light_idx,enable) (This)->lpVtbl->GetLightEnable(This,light_idx,enable)
|
---|
8183 | #define IWineD3DDevice_SetMaterial(This,material) (This)->lpVtbl->SetMaterial(This,material)
|
---|
8184 | #define IWineD3DDevice_GetMaterial(This,material) (This)->lpVtbl->GetMaterial(This,material)
|
---|
8185 | #define IWineD3DDevice_SetNPatchMode(This,segments) (This)->lpVtbl->SetNPatchMode(This,segments)
|
---|
8186 | #define IWineD3DDevice_GetNPatchMode(This) (This)->lpVtbl->GetNPatchMode(This)
|
---|
8187 | #define IWineD3DDevice_SetPaletteEntries(This,palette_number,entries) (This)->lpVtbl->SetPaletteEntries(This,palette_number,entries)
|
---|
8188 | #define IWineD3DDevice_GetPaletteEntries(This,palette_number,entries) (This)->lpVtbl->GetPaletteEntries(This,palette_number,entries)
|
---|
8189 | #define IWineD3DDevice_SetPixelShader(This,shader) (This)->lpVtbl->SetPixelShader(This,shader)
|
---|
8190 | #define IWineD3DDevice_GetPixelShader(This,shader) (This)->lpVtbl->GetPixelShader(This,shader)
|
---|
8191 | #define IWineD3DDevice_SetPixelShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->SetPixelShaderConstantB(This,start_register,constants,bool_count)
|
---|
8192 | #define IWineD3DDevice_GetPixelShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->GetPixelShaderConstantB(This,start_register,constants,bool_count)
|
---|
8193 | #define IWineD3DDevice_SetPixelShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->SetPixelShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8194 | #define IWineD3DDevice_GetPixelShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->GetPixelShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8195 | #define IWineD3DDevice_SetPixelShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->SetPixelShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8196 | #define IWineD3DDevice_GetPixelShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->GetPixelShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8197 | #define IWineD3DDevice_SetRenderState(This,state,value) (This)->lpVtbl->SetRenderState(This,state,value)
|
---|
8198 | #define IWineD3DDevice_GetRenderState(This,state,value) (This)->lpVtbl->GetRenderState(This,state,value)
|
---|
8199 | #define IWineD3DDevice_SetRenderTarget(This,render_target_idx,render_target) (This)->lpVtbl->SetRenderTarget(This,render_target_idx,render_target)
|
---|
8200 | #define IWineD3DDevice_GetRenderTarget(This,render_target_idx,render_target) (This)->lpVtbl->GetRenderTarget(This,render_target_idx,render_target)
|
---|
8201 | #define IWineD3DDevice_SetFrontBackBuffers(This,front,back) (This)->lpVtbl->SetFrontBackBuffers(This,front,back)
|
---|
8202 | #define IWineD3DDevice_SetSamplerState(This,sampler_idx,state,value) (This)->lpVtbl->SetSamplerState(This,sampler_idx,state,value)
|
---|
8203 | #define IWineD3DDevice_GetSamplerState(This,sampler_idx,state,value) (This)->lpVtbl->GetSamplerState(This,sampler_idx,state,value)
|
---|
8204 | #define IWineD3DDevice_SetScissorRect(This,rect) (This)->lpVtbl->SetScissorRect(This,rect)
|
---|
8205 | #define IWineD3DDevice_GetScissorRect(This,rect) (This)->lpVtbl->GetScissorRect(This,rect)
|
---|
8206 | #define IWineD3DDevice_SetSoftwareVertexProcessing(This,software) (This)->lpVtbl->SetSoftwareVertexProcessing(This,software)
|
---|
8207 | #define IWineD3DDevice_GetSoftwareVertexProcessing(This) (This)->lpVtbl->GetSoftwareVertexProcessing(This)
|
---|
8208 | #define IWineD3DDevice_SetStreamSource(This,stream_idx,buffer,offset,stride) (This)->lpVtbl->SetStreamSource(This,stream_idx,buffer,offset,stride)
|
---|
8209 | #define IWineD3DDevice_GetStreamSource(This,stream_idx,buffer,offset,stride) (This)->lpVtbl->GetStreamSource(This,stream_idx,buffer,offset,stride)
|
---|
8210 | #define IWineD3DDevice_SetStreamSourceFreq(This,stream_idx,divider) (This)->lpVtbl->SetStreamSourceFreq(This,stream_idx,divider)
|
---|
8211 | #define IWineD3DDevice_GetStreamSourceFreq(This,stream_idx,divider) (This)->lpVtbl->GetStreamSourceFreq(This,stream_idx,divider)
|
---|
8212 | #define IWineD3DDevice_SetTexture(This,stage,texture) (This)->lpVtbl->SetTexture(This,stage,texture)
|
---|
8213 | #define IWineD3DDevice_GetTexture(This,stage,texture) (This)->lpVtbl->GetTexture(This,stage,texture)
|
---|
8214 | #define IWineD3DDevice_SetTextureStageState(This,stage,state,value) (This)->lpVtbl->SetTextureStageState(This,stage,state,value)
|
---|
8215 | #define IWineD3DDevice_GetTextureStageState(This,stage,state,value) (This)->lpVtbl->GetTextureStageState(This,stage,state,value)
|
---|
8216 | #define IWineD3DDevice_SetTransform(This,state,matrix) (This)->lpVtbl->SetTransform(This,state,matrix)
|
---|
8217 | #define IWineD3DDevice_GetTransform(This,state,matrix) (This)->lpVtbl->GetTransform(This,state,matrix)
|
---|
8218 | #define IWineD3DDevice_SetVertexDeclaration(This,declaration) (This)->lpVtbl->SetVertexDeclaration(This,declaration)
|
---|
8219 | #define IWineD3DDevice_GetVertexDeclaration(This,declaration) (This)->lpVtbl->GetVertexDeclaration(This,declaration)
|
---|
8220 | #define IWineD3DDevice_SetVertexShader(This,shader) (This)->lpVtbl->SetVertexShader(This,shader)
|
---|
8221 | #define IWineD3DDevice_GetVertexShader(This,shader) (This)->lpVtbl->GetVertexShader(This,shader)
|
---|
8222 | #define IWineD3DDevice_SetVertexShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->SetVertexShaderConstantB(This,start_register,constants,bool_count)
|
---|
8223 | #define IWineD3DDevice_GetVertexShaderConstantB(This,start_register,constants,bool_count) (This)->lpVtbl->GetVertexShaderConstantB(This,start_register,constants,bool_count)
|
---|
8224 | #define IWineD3DDevice_SetVertexShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->SetVertexShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8225 | #define IWineD3DDevice_GetVertexShaderConstantI(This,start_register,constants,vector4i_count) (This)->lpVtbl->GetVertexShaderConstantI(This,start_register,constants,vector4i_count)
|
---|
8226 | #define IWineD3DDevice_SetVertexShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->SetVertexShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8227 | #define IWineD3DDevice_GetVertexShaderConstantF(This,start_register,constants,vector4f_count) (This)->lpVtbl->GetVertexShaderConstantF(This,start_register,constants,vector4f_count)
|
---|
8228 | #define IWineD3DDevice_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
|
---|
8229 | #define IWineD3DDevice_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
|
---|
8230 | #define IWineD3DDevice_MultiplyTransform(This,state,matrix) (This)->lpVtbl->MultiplyTransform(This,state,matrix)
|
---|
8231 | #define IWineD3DDevice_ValidateDevice(This,num_passes) (This)->lpVtbl->ValidateDevice(This,num_passes)
|
---|
8232 | #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)
|
---|
8233 | #define IWineD3DDevice_BeginStateBlock(This) (This)->lpVtbl->BeginStateBlock(This)
|
---|
8234 | #define IWineD3DDevice_EndStateBlock(This,stateblock) (This)->lpVtbl->EndStateBlock(This,stateblock)
|
---|
8235 | #define IWineD3DDevice_BeginScene(This) (This)->lpVtbl->BeginScene(This)
|
---|
8236 | #define IWineD3DDevice_EndScene(This) (This)->lpVtbl->EndScene(This)
|
---|
8237 | #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)
|
---|
8238 | #define IWineD3DDevice_Clear(This,rect_count,rects,flags,color,z,stencil) (This)->lpVtbl->Clear(This,rect_count,rects,flags,color,z,stencil)
|
---|
8239 | #define IWineD3DDevice_ClearRendertargetView(This,rendertarget_view,color) (This)->lpVtbl->ClearRendertargetView(This,rendertarget_view,color)
|
---|
8240 | #define IWineD3DDevice_SetPrimitiveType(This,primitive_topology) (This)->lpVtbl->SetPrimitiveType(This,primitive_topology)
|
---|
8241 | #define IWineD3DDevice_GetPrimitiveType(This,primitive_topology) (This)->lpVtbl->GetPrimitiveType(This,primitive_topology)
|
---|
8242 | #define IWineD3DDevice_DrawPrimitive(This,start_vertex,vertex_count) (This)->lpVtbl->DrawPrimitive(This,start_vertex,vertex_count)
|
---|
8243 | #define IWineD3DDevice_DrawIndexedPrimitive(This,start_idx,index_count) (This)->lpVtbl->DrawIndexedPrimitive(This,start_idx,index_count)
|
---|
8244 | #define IWineD3DDevice_DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride) (This)->lpVtbl->DrawPrimitiveUP(This,vertex_count,stream_data,stream_stride)
|
---|
8245 | #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)
|
---|
8246 | #define IWineD3DDevice_DrawPrimitiveStrided(This,vertex_count,strided_data) (This)->lpVtbl->DrawPrimitiveStrided(This,vertex_count,strided_data)
|
---|
8247 | #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)
|
---|
8248 | #define IWineD3DDevice_DrawRectPatch(This,handle,num_segs,rect_patch_info) (This)->lpVtbl->DrawRectPatch(This,handle,num_segs,rect_patch_info)
|
---|
8249 | #define IWineD3DDevice_DrawTriPatch(This,handle,num_segs,tri_patch_info) (This)->lpVtbl->DrawTriPatch(This,handle,num_segs,tri_patch_info)
|
---|
8250 | #define IWineD3DDevice_DeletePatch(This,handle) (This)->lpVtbl->DeletePatch(This,handle)
|
---|
8251 | #define IWineD3DDevice_ColorFill(This,surface,rect,color) (This)->lpVtbl->ColorFill(This,surface,rect,color)
|
---|
8252 | #define IWineD3DDevice_UpdateTexture(This,src_texture,dst_texture) (This)->lpVtbl->UpdateTexture(This,src_texture,dst_texture)
|
---|
8253 | #define IWineD3DDevice_UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point) (This)->lpVtbl->UpdateSurface(This,src_surface,src_rect,dst_surface,dst_point)
|
---|
8254 | #define IWineD3DDevice_GetFrontBufferData(This,swapchain_idx,dst_surface) (This)->lpVtbl->GetFrontBufferData(This,swapchain_idx,dst_surface)
|
---|
8255 | #define IWineD3DDevice_EnumResources(This,callback,data) (This)->lpVtbl->EnumResources(This,callback,data)
|
---|
8256 | #endif
|
---|
8257 |
|
---|
8258 | #endif
|
---|
8259 |
|
---|
8260 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateBuffer_Proxy(
|
---|
8261 | IWineD3DDevice* This,
|
---|
8262 | struct wined3d_buffer_desc *desc,
|
---|
8263 | const void *data,
|
---|
8264 | IUnknown *parent,
|
---|
8265 | const struct wined3d_parent_ops *parent_ops,
|
---|
8266 | IWineD3DBuffer **buffer);
|
---|
8267 | void __RPC_STUB IWineD3DDevice_CreateBuffer_Stub(
|
---|
8268 | IRpcStubBuffer* This,
|
---|
8269 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8270 | PRPC_MESSAGE pRpcMessage,
|
---|
8271 | DWORD* pdwStubPhase);
|
---|
8272 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexBuffer_Proxy(
|
---|
8273 | IWineD3DDevice* This,
|
---|
8274 | UINT length,
|
---|
8275 | DWORD usage,
|
---|
8276 | DWORD fvf,
|
---|
8277 | WINED3DPOOL pool,
|
---|
8278 | IWineD3DBuffer **vertex_buffer,
|
---|
8279 | IUnknown *parent,
|
---|
8280 | const struct wined3d_parent_ops *parent_ops);
|
---|
8281 | void __RPC_STUB IWineD3DDevice_CreateVertexBuffer_Stub(
|
---|
8282 | IRpcStubBuffer* This,
|
---|
8283 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8284 | PRPC_MESSAGE pRpcMessage,
|
---|
8285 | DWORD* pdwStubPhase);
|
---|
8286 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateIndexBuffer_Proxy(
|
---|
8287 | IWineD3DDevice* This,
|
---|
8288 | UINT length,
|
---|
8289 | DWORD usage,
|
---|
8290 | WINED3DPOOL pool,
|
---|
8291 | IWineD3DBuffer **index_buffer,
|
---|
8292 | IUnknown *parent,
|
---|
8293 | const struct wined3d_parent_ops *parent_ops);
|
---|
8294 | void __RPC_STUB IWineD3DDevice_CreateIndexBuffer_Stub(
|
---|
8295 | IRpcStubBuffer* This,
|
---|
8296 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8297 | PRPC_MESSAGE pRpcMessage,
|
---|
8298 | DWORD* pdwStubPhase);
|
---|
8299 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateStateBlock_Proxy(
|
---|
8300 | IWineD3DDevice* This,
|
---|
8301 | WINED3DSTATEBLOCKTYPE type,
|
---|
8302 | IWineD3DStateBlock **stateblock,
|
---|
8303 | IUnknown *parent);
|
---|
8304 | void __RPC_STUB IWineD3DDevice_CreateStateBlock_Stub(
|
---|
8305 | IRpcStubBuffer* This,
|
---|
8306 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8307 | PRPC_MESSAGE pRpcMessage,
|
---|
8308 | DWORD* pdwStubPhase);
|
---|
8309 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateSurface_Proxy(
|
---|
8310 | IWineD3DDevice* This,
|
---|
8311 | UINT width,
|
---|
8312 | UINT height,
|
---|
8313 | WINED3DFORMAT format,
|
---|
8314 | BOOL lockable,
|
---|
8315 | BOOL discard,
|
---|
8316 | UINT level,
|
---|
8317 | IWineD3DSurface **surface,
|
---|
8318 | DWORD usage,
|
---|
8319 | WINED3DPOOL pool,
|
---|
8320 | WINED3DMULTISAMPLE_TYPE multisample_type,
|
---|
8321 | DWORD multisample_quality,
|
---|
8322 | WINED3DSURFTYPE surface_type,
|
---|
8323 | IUnknown *parent,
|
---|
8324 | const struct wined3d_parent_ops *parent_ops);
|
---|
8325 | void __RPC_STUB IWineD3DDevice_CreateSurface_Stub(
|
---|
8326 | IRpcStubBuffer* This,
|
---|
8327 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8328 | PRPC_MESSAGE pRpcMessage,
|
---|
8329 | DWORD* pdwStubPhase);
|
---|
8330 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateRendertargetView_Proxy(
|
---|
8331 | IWineD3DDevice* This,
|
---|
8332 | IWineD3DResource *resource,
|
---|
8333 | IUnknown *parent,
|
---|
8334 | IWineD3DRendertargetView **rendertarget_view);
|
---|
8335 | void __RPC_STUB IWineD3DDevice_CreateRendertargetView_Stub(
|
---|
8336 | IRpcStubBuffer* This,
|
---|
8337 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8338 | PRPC_MESSAGE pRpcMessage,
|
---|
8339 | DWORD* pdwStubPhase);
|
---|
8340 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateTexture_Proxy(
|
---|
8341 | IWineD3DDevice* This,
|
---|
8342 | UINT width,
|
---|
8343 | UINT height,
|
---|
8344 | UINT levels,
|
---|
8345 | DWORD usage,
|
---|
8346 | WINED3DFORMAT format,
|
---|
8347 | WINED3DPOOL pool,
|
---|
8348 | IWineD3DTexture **texture,
|
---|
8349 | IUnknown *parent,
|
---|
8350 | const struct wined3d_parent_ops *parent_ops);
|
---|
8351 | void __RPC_STUB IWineD3DDevice_CreateTexture_Stub(
|
---|
8352 | IRpcStubBuffer* This,
|
---|
8353 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8354 | PRPC_MESSAGE pRpcMessage,
|
---|
8355 | DWORD* pdwStubPhase);
|
---|
8356 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVolumeTexture_Proxy(
|
---|
8357 | IWineD3DDevice* This,
|
---|
8358 | UINT width,
|
---|
8359 | UINT height,
|
---|
8360 | UINT depth,
|
---|
8361 | UINT levels,
|
---|
8362 | DWORD usage,
|
---|
8363 | WINED3DFORMAT format,
|
---|
8364 | WINED3DPOOL pool,
|
---|
8365 | IWineD3DVolumeTexture **texture,
|
---|
8366 | IUnknown *parent,
|
---|
8367 | const struct wined3d_parent_ops *parent_ops);
|
---|
8368 | void __RPC_STUB IWineD3DDevice_CreateVolumeTexture_Stub(
|
---|
8369 | IRpcStubBuffer* This,
|
---|
8370 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8371 | PRPC_MESSAGE pRpcMessage,
|
---|
8372 | DWORD* pdwStubPhase);
|
---|
8373 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVolume_Proxy(
|
---|
8374 | IWineD3DDevice* This,
|
---|
8375 | UINT width,
|
---|
8376 | UINT height,
|
---|
8377 | UINT depth,
|
---|
8378 | DWORD usage,
|
---|
8379 | WINED3DFORMAT format,
|
---|
8380 | WINED3DPOOL pool,
|
---|
8381 | IWineD3DVolume **volume,
|
---|
8382 | IUnknown *parent,
|
---|
8383 | const struct wined3d_parent_ops *parent_ops);
|
---|
8384 | void __RPC_STUB IWineD3DDevice_CreateVolume_Stub(
|
---|
8385 | IRpcStubBuffer* This,
|
---|
8386 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8387 | PRPC_MESSAGE pRpcMessage,
|
---|
8388 | DWORD* pdwStubPhase);
|
---|
8389 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateCubeTexture_Proxy(
|
---|
8390 | IWineD3DDevice* This,
|
---|
8391 | UINT edge_length,
|
---|
8392 | UINT levels,
|
---|
8393 | DWORD usage,
|
---|
8394 | WINED3DFORMAT format,
|
---|
8395 | WINED3DPOOL pool,
|
---|
8396 | IWineD3DCubeTexture **texture,
|
---|
8397 | IUnknown *parent,
|
---|
8398 | const struct wined3d_parent_ops *parent_ops);
|
---|
8399 | void __RPC_STUB IWineD3DDevice_CreateCubeTexture_Stub(
|
---|
8400 | IRpcStubBuffer* This,
|
---|
8401 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8402 | PRPC_MESSAGE pRpcMessage,
|
---|
8403 | DWORD* pdwStubPhase);
|
---|
8404 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateQuery_Proxy(
|
---|
8405 | IWineD3DDevice* This,
|
---|
8406 | WINED3DQUERYTYPE type,
|
---|
8407 | IWineD3DQuery **query,
|
---|
8408 | IUnknown *parent);
|
---|
8409 | void __RPC_STUB IWineD3DDevice_CreateQuery_Stub(
|
---|
8410 | IRpcStubBuffer* This,
|
---|
8411 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8412 | PRPC_MESSAGE pRpcMessage,
|
---|
8413 | DWORD* pdwStubPhase);
|
---|
8414 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateSwapChain_Proxy(
|
---|
8415 | IWineD3DDevice* This,
|
---|
8416 | WINED3DPRESENT_PARAMETERS *present_parameters,
|
---|
8417 | IWineD3DSwapChain **swapchain,
|
---|
8418 | IUnknown *parent,
|
---|
8419 | WINED3DSURFTYPE surface_type);
|
---|
8420 | void __RPC_STUB IWineD3DDevice_CreateSwapChain_Stub(
|
---|
8421 | IRpcStubBuffer* This,
|
---|
8422 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8423 | PRPC_MESSAGE pRpcMessage,
|
---|
8424 | DWORD* pdwStubPhase);
|
---|
8425 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexDeclaration_Proxy(
|
---|
8426 | IWineD3DDevice* This,
|
---|
8427 | IWineD3DVertexDeclaration **declaration,
|
---|
8428 | IUnknown *parent,
|
---|
8429 | const struct wined3d_parent_ops *parent_ops,
|
---|
8430 | const WINED3DVERTEXELEMENT *elements,
|
---|
8431 | UINT element_count);
|
---|
8432 | void __RPC_STUB IWineD3DDevice_CreateVertexDeclaration_Stub(
|
---|
8433 | IRpcStubBuffer* This,
|
---|
8434 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8435 | PRPC_MESSAGE pRpcMessage,
|
---|
8436 | DWORD* pdwStubPhase);
|
---|
8437 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexDeclarationFromFVF_Proxy(
|
---|
8438 | IWineD3DDevice* This,
|
---|
8439 | IWineD3DVertexDeclaration **declaration,
|
---|
8440 | IUnknown *parent,
|
---|
8441 | const struct wined3d_parent_ops *parent_ops,
|
---|
8442 | DWORD fvf);
|
---|
8443 | void __RPC_STUB IWineD3DDevice_CreateVertexDeclarationFromFVF_Stub(
|
---|
8444 | IRpcStubBuffer* This,
|
---|
8445 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8446 | PRPC_MESSAGE pRpcMessage,
|
---|
8447 | DWORD* pdwStubPhase);
|
---|
8448 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreateVertexShader_Proxy(
|
---|
8449 | IWineD3DDevice* This,
|
---|
8450 | const DWORD *function,
|
---|
8451 | const struct wined3d_shader_signature *output_signature,
|
---|
8452 | IWineD3DVertexShader **shader,
|
---|
8453 | IUnknown *parent,
|
---|
8454 | const struct wined3d_parent_ops *parent_ops);
|
---|
8455 | void __RPC_STUB IWineD3DDevice_CreateVertexShader_Stub(
|
---|
8456 | IRpcStubBuffer* This,
|
---|
8457 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8458 | PRPC_MESSAGE pRpcMessage,
|
---|
8459 | DWORD* pdwStubPhase);
|
---|
8460 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreatePixelShader_Proxy(
|
---|
8461 | IWineD3DDevice* This,
|
---|
8462 | const DWORD *function,
|
---|
8463 | const struct wined3d_shader_signature *output_signature,
|
---|
8464 | IWineD3DPixelShader **shader,
|
---|
8465 | IUnknown *parent,
|
---|
8466 | const struct wined3d_parent_ops *parent_ops);
|
---|
8467 | void __RPC_STUB IWineD3DDevice_CreatePixelShader_Stub(
|
---|
8468 | IRpcStubBuffer* This,
|
---|
8469 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8470 | PRPC_MESSAGE pRpcMessage,
|
---|
8471 | DWORD* pdwStubPhase);
|
---|
8472 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_CreatePalette_Proxy(
|
---|
8473 | IWineD3DDevice* This,
|
---|
8474 | DWORD flags,
|
---|
8475 | const PALETTEENTRY *palette_entry,
|
---|
8476 | IWineD3DPalette **palette,
|
---|
8477 | IUnknown *parent);
|
---|
8478 | void __RPC_STUB IWineD3DDevice_CreatePalette_Stub(
|
---|
8479 | IRpcStubBuffer* This,
|
---|
8480 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8481 | PRPC_MESSAGE pRpcMessage,
|
---|
8482 | DWORD* pdwStubPhase);
|
---|
8483 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Init3D_Proxy(
|
---|
8484 | IWineD3DDevice* This,
|
---|
8485 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8486 | void __RPC_STUB IWineD3DDevice_Init3D_Stub(
|
---|
8487 | IRpcStubBuffer* This,
|
---|
8488 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8489 | PRPC_MESSAGE pRpcMessage,
|
---|
8490 | DWORD* pdwStubPhase);
|
---|
8491 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_InitGDI_Proxy(
|
---|
8492 | IWineD3DDevice* This,
|
---|
8493 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8494 | void __RPC_STUB IWineD3DDevice_InitGDI_Stub(
|
---|
8495 | IRpcStubBuffer* This,
|
---|
8496 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8497 | PRPC_MESSAGE pRpcMessage,
|
---|
8498 | DWORD* pdwStubPhase);
|
---|
8499 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Uninit3D_Proxy(
|
---|
8500 | IWineD3DDevice* This,
|
---|
8501 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
8502 | void __RPC_STUB IWineD3DDevice_Uninit3D_Stub(
|
---|
8503 | IRpcStubBuffer* This,
|
---|
8504 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8505 | PRPC_MESSAGE pRpcMessage,
|
---|
8506 | DWORD* pdwStubPhase);
|
---|
8507 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UninitGDI_Proxy(
|
---|
8508 | IWineD3DDevice* This,
|
---|
8509 | ULONG (STDMETHODCALLTYPE * destroy_swapchain_callback)(IWineD3DSwapChain *pSwapChain));
|
---|
8510 | void __RPC_STUB IWineD3DDevice_UninitGDI_Stub(
|
---|
8511 | IRpcStubBuffer* This,
|
---|
8512 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8513 | PRPC_MESSAGE pRpcMessage,
|
---|
8514 | DWORD* pdwStubPhase);
|
---|
8515 | void STDMETHODCALLTYPE IWineD3DDevice_SetMultithreaded_Proxy(
|
---|
8516 | IWineD3DDevice* This);
|
---|
8517 | void __RPC_STUB IWineD3DDevice_SetMultithreaded_Stub(
|
---|
8518 | IRpcStubBuffer* This,
|
---|
8519 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8520 | PRPC_MESSAGE pRpcMessage,
|
---|
8521 | DWORD* pdwStubPhase);
|
---|
8522 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EvictManagedResources_Proxy(
|
---|
8523 | IWineD3DDevice* This);
|
---|
8524 | void __RPC_STUB IWineD3DDevice_EvictManagedResources_Stub(
|
---|
8525 | IRpcStubBuffer* This,
|
---|
8526 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8527 | PRPC_MESSAGE pRpcMessage,
|
---|
8528 | DWORD* pdwStubPhase);
|
---|
8529 | UINT STDMETHODCALLTYPE IWineD3DDevice_GetAvailableTextureMem_Proxy(
|
---|
8530 | IWineD3DDevice* This);
|
---|
8531 | void __RPC_STUB IWineD3DDevice_GetAvailableTextureMem_Stub(
|
---|
8532 | IRpcStubBuffer* This,
|
---|
8533 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8534 | PRPC_MESSAGE pRpcMessage,
|
---|
8535 | DWORD* pdwStubPhase);
|
---|
8536 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetBackBuffer_Proxy(
|
---|
8537 | IWineD3DDevice* This,
|
---|
8538 | UINT swapchain_idx,
|
---|
8539 | UINT backbuffer_idx,
|
---|
8540 | WINED3DBACKBUFFER_TYPE backbuffer_type,
|
---|
8541 | IWineD3DSurface **backbuffer);
|
---|
8542 | void __RPC_STUB IWineD3DDevice_GetBackBuffer_Stub(
|
---|
8543 | IRpcStubBuffer* This,
|
---|
8544 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8545 | PRPC_MESSAGE pRpcMessage,
|
---|
8546 | DWORD* pdwStubPhase);
|
---|
8547 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetCreationParameters_Proxy(
|
---|
8548 | IWineD3DDevice* This,
|
---|
8549 | WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
---|
8550 | void __RPC_STUB IWineD3DDevice_GetCreationParameters_Stub(
|
---|
8551 | IRpcStubBuffer* This,
|
---|
8552 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8553 | PRPC_MESSAGE pRpcMessage,
|
---|
8554 | DWORD* pdwStubPhase);
|
---|
8555 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDeviceCaps_Proxy(
|
---|
8556 | IWineD3DDevice* This,
|
---|
8557 | WINED3DCAPS *caps);
|
---|
8558 | void __RPC_STUB IWineD3DDevice_GetDeviceCaps_Stub(
|
---|
8559 | IRpcStubBuffer* This,
|
---|
8560 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8561 | PRPC_MESSAGE pRpcMessage,
|
---|
8562 | DWORD* pdwStubPhase);
|
---|
8563 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDirect3D_Proxy(
|
---|
8564 | IWineD3DDevice* This,
|
---|
8565 | IWineD3D **d3d);
|
---|
8566 | void __RPC_STUB IWineD3DDevice_GetDirect3D_Stub(
|
---|
8567 | IRpcStubBuffer* This,
|
---|
8568 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8569 | PRPC_MESSAGE pRpcMessage,
|
---|
8570 | DWORD* pdwStubPhase);
|
---|
8571 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDisplayMode_Proxy(
|
---|
8572 | IWineD3DDevice* This,
|
---|
8573 | UINT swapchain_idx,
|
---|
8574 | WINED3DDISPLAYMODE *mode);
|
---|
8575 | void __RPC_STUB IWineD3DDevice_GetDisplayMode_Stub(
|
---|
8576 | IRpcStubBuffer* This,
|
---|
8577 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8578 | PRPC_MESSAGE pRpcMessage,
|
---|
8579 | DWORD* pdwStubPhase);
|
---|
8580 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDisplayMode_Proxy(
|
---|
8581 | IWineD3DDevice* This,
|
---|
8582 | UINT swapchain_idx,
|
---|
8583 | const WINED3DDISPLAYMODE *mode);
|
---|
8584 | void __RPC_STUB IWineD3DDevice_SetDisplayMode_Stub(
|
---|
8585 | IRpcStubBuffer* This,
|
---|
8586 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8587 | PRPC_MESSAGE pRpcMessage,
|
---|
8588 | DWORD* pdwStubPhase);
|
---|
8589 | UINT STDMETHODCALLTYPE IWineD3DDevice_GetNumberOfSwapChains_Proxy(
|
---|
8590 | IWineD3DDevice* This);
|
---|
8591 | void __RPC_STUB IWineD3DDevice_GetNumberOfSwapChains_Stub(
|
---|
8592 | IRpcStubBuffer* This,
|
---|
8593 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8594 | PRPC_MESSAGE pRpcMessage,
|
---|
8595 | DWORD* pdwStubPhase);
|
---|
8596 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRasterStatus_Proxy(
|
---|
8597 | IWineD3DDevice* This,
|
---|
8598 | UINT swapchain_idx,
|
---|
8599 | WINED3DRASTER_STATUS *raster_status);
|
---|
8600 | void __RPC_STUB IWineD3DDevice_GetRasterStatus_Stub(
|
---|
8601 | IRpcStubBuffer* This,
|
---|
8602 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8603 | PRPC_MESSAGE pRpcMessage,
|
---|
8604 | DWORD* pdwStubPhase);
|
---|
8605 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSwapChain_Proxy(
|
---|
8606 | IWineD3DDevice* This,
|
---|
8607 | UINT swapchain_idx,
|
---|
8608 | IWineD3DSwapChain **swapchain);
|
---|
8609 | void __RPC_STUB IWineD3DDevice_GetSwapChain_Stub(
|
---|
8610 | IRpcStubBuffer* This,
|
---|
8611 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8612 | PRPC_MESSAGE pRpcMessage,
|
---|
8613 | DWORD* pdwStubPhase);
|
---|
8614 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Reset_Proxy(
|
---|
8615 | IWineD3DDevice* This,
|
---|
8616 | WINED3DPRESENT_PARAMETERS *present_parameters);
|
---|
8617 | void __RPC_STUB IWineD3DDevice_Reset_Stub(
|
---|
8618 | IRpcStubBuffer* This,
|
---|
8619 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8620 | PRPC_MESSAGE pRpcMessage,
|
---|
8621 | DWORD* pdwStubPhase);
|
---|
8622 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDialogBoxMode_Proxy(
|
---|
8623 | IWineD3DDevice* This,
|
---|
8624 | BOOL enable_dialogs);
|
---|
8625 | void __RPC_STUB IWineD3DDevice_SetDialogBoxMode_Stub(
|
---|
8626 | IRpcStubBuffer* This,
|
---|
8627 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8628 | PRPC_MESSAGE pRpcMessage,
|
---|
8629 | DWORD* pdwStubPhase);
|
---|
8630 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetCursorProperties_Proxy(
|
---|
8631 | IWineD3DDevice* This,
|
---|
8632 | UINT x_hotspot,
|
---|
8633 | UINT y_hotspot,
|
---|
8634 | IWineD3DSurface *cursor_surface);
|
---|
8635 | void __RPC_STUB IWineD3DDevice_SetCursorProperties_Stub(
|
---|
8636 | IRpcStubBuffer* This,
|
---|
8637 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8638 | PRPC_MESSAGE pRpcMessage,
|
---|
8639 | DWORD* pdwStubPhase);
|
---|
8640 | void STDMETHODCALLTYPE IWineD3DDevice_SetCursorPosition_Proxy(
|
---|
8641 | IWineD3DDevice* This,
|
---|
8642 | int x_screen_space,
|
---|
8643 | int y_screen_space,
|
---|
8644 | DWORD flags);
|
---|
8645 | void __RPC_STUB IWineD3DDevice_SetCursorPosition_Stub(
|
---|
8646 | IRpcStubBuffer* This,
|
---|
8647 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8648 | PRPC_MESSAGE pRpcMessage,
|
---|
8649 | DWORD* pdwStubPhase);
|
---|
8650 | BOOL STDMETHODCALLTYPE IWineD3DDevice_ShowCursor_Proxy(
|
---|
8651 | IWineD3DDevice* This,
|
---|
8652 | BOOL show);
|
---|
8653 | void __RPC_STUB IWineD3DDevice_ShowCursor_Stub(
|
---|
8654 | IRpcStubBuffer* This,
|
---|
8655 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8656 | PRPC_MESSAGE pRpcMessage,
|
---|
8657 | DWORD* pdwStubPhase);
|
---|
8658 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_TestCooperativeLevel_Proxy(
|
---|
8659 | IWineD3DDevice* This);
|
---|
8660 | void __RPC_STUB IWineD3DDevice_TestCooperativeLevel_Stub(
|
---|
8661 | IRpcStubBuffer* This,
|
---|
8662 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8663 | PRPC_MESSAGE pRpcMessage,
|
---|
8664 | DWORD* pdwStubPhase);
|
---|
8665 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetClipPlane_Proxy(
|
---|
8666 | IWineD3DDevice* This,
|
---|
8667 | DWORD plane_idx,
|
---|
8668 | const float *plane);
|
---|
8669 | void __RPC_STUB IWineD3DDevice_SetClipPlane_Stub(
|
---|
8670 | IRpcStubBuffer* This,
|
---|
8671 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8672 | PRPC_MESSAGE pRpcMessage,
|
---|
8673 | DWORD* pdwStubPhase);
|
---|
8674 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetClipPlane_Proxy(
|
---|
8675 | IWineD3DDevice* This,
|
---|
8676 | DWORD plane_idx,
|
---|
8677 | float *plane);
|
---|
8678 | void __RPC_STUB IWineD3DDevice_GetClipPlane_Stub(
|
---|
8679 | IRpcStubBuffer* This,
|
---|
8680 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8681 | PRPC_MESSAGE pRpcMessage,
|
---|
8682 | DWORD* pdwStubPhase);
|
---|
8683 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetClipStatus_Proxy(
|
---|
8684 | IWineD3DDevice* This,
|
---|
8685 | const WINED3DCLIPSTATUS *clip_status);
|
---|
8686 | void __RPC_STUB IWineD3DDevice_SetClipStatus_Stub(
|
---|
8687 | IRpcStubBuffer* This,
|
---|
8688 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8689 | PRPC_MESSAGE pRpcMessage,
|
---|
8690 | DWORD* pdwStubPhase);
|
---|
8691 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetClipStatus_Proxy(
|
---|
8692 | IWineD3DDevice* This,
|
---|
8693 | WINED3DCLIPSTATUS *clip_status);
|
---|
8694 | void __RPC_STUB IWineD3DDevice_GetClipStatus_Stub(
|
---|
8695 | IRpcStubBuffer* This,
|
---|
8696 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8697 | PRPC_MESSAGE pRpcMessage,
|
---|
8698 | DWORD* pdwStubPhase);
|
---|
8699 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetCurrentTexturePalette_Proxy(
|
---|
8700 | IWineD3DDevice* This,
|
---|
8701 | UINT palette_number);
|
---|
8702 | void __RPC_STUB IWineD3DDevice_SetCurrentTexturePalette_Stub(
|
---|
8703 | IRpcStubBuffer* This,
|
---|
8704 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8705 | PRPC_MESSAGE pRpcMessage,
|
---|
8706 | DWORD* pdwStubPhase);
|
---|
8707 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetCurrentTexturePalette_Proxy(
|
---|
8708 | IWineD3DDevice* This,
|
---|
8709 | UINT *palette_number);
|
---|
8710 | void __RPC_STUB IWineD3DDevice_GetCurrentTexturePalette_Stub(
|
---|
8711 | IRpcStubBuffer* This,
|
---|
8712 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8713 | PRPC_MESSAGE pRpcMessage,
|
---|
8714 | DWORD* pdwStubPhase);
|
---|
8715 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetDepthStencilSurface_Proxy(
|
---|
8716 | IWineD3DDevice* This,
|
---|
8717 | IWineD3DSurface *depth_stencil);
|
---|
8718 | void __RPC_STUB IWineD3DDevice_SetDepthStencilSurface_Stub(
|
---|
8719 | IRpcStubBuffer* This,
|
---|
8720 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8721 | PRPC_MESSAGE pRpcMessage,
|
---|
8722 | DWORD* pdwStubPhase);
|
---|
8723 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetDepthStencilSurface_Proxy(
|
---|
8724 | IWineD3DDevice* This,
|
---|
8725 | IWineD3DSurface **depth_stencil);
|
---|
8726 | void __RPC_STUB IWineD3DDevice_GetDepthStencilSurface_Stub(
|
---|
8727 | IRpcStubBuffer* This,
|
---|
8728 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8729 | PRPC_MESSAGE pRpcMessage,
|
---|
8730 | DWORD* pdwStubPhase);
|
---|
8731 | void STDMETHODCALLTYPE IWineD3DDevice_SetGammaRamp_Proxy(
|
---|
8732 | IWineD3DDevice* This,
|
---|
8733 | UINT swapchain_idx,
|
---|
8734 | DWORD flags,
|
---|
8735 | const WINED3DGAMMARAMP *ramp);
|
---|
8736 | void __RPC_STUB IWineD3DDevice_SetGammaRamp_Stub(
|
---|
8737 | IRpcStubBuffer* This,
|
---|
8738 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8739 | PRPC_MESSAGE pRpcMessage,
|
---|
8740 | DWORD* pdwStubPhase);
|
---|
8741 | void STDMETHODCALLTYPE IWineD3DDevice_GetGammaRamp_Proxy(
|
---|
8742 | IWineD3DDevice* This,
|
---|
8743 | UINT swapchain_idx,
|
---|
8744 | WINED3DGAMMARAMP *ramp);
|
---|
8745 | void __RPC_STUB IWineD3DDevice_GetGammaRamp_Stub(
|
---|
8746 | IRpcStubBuffer* This,
|
---|
8747 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8748 | PRPC_MESSAGE pRpcMessage,
|
---|
8749 | DWORD* pdwStubPhase);
|
---|
8750 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetIndexBuffer_Proxy(
|
---|
8751 | IWineD3DDevice* This,
|
---|
8752 | IWineD3DBuffer *index_buffer,
|
---|
8753 | WINED3DFORMAT format);
|
---|
8754 | void __RPC_STUB IWineD3DDevice_SetIndexBuffer_Stub(
|
---|
8755 | IRpcStubBuffer* This,
|
---|
8756 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8757 | PRPC_MESSAGE pRpcMessage,
|
---|
8758 | DWORD* pdwStubPhase);
|
---|
8759 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetIndexBuffer_Proxy(
|
---|
8760 | IWineD3DDevice* This,
|
---|
8761 | IWineD3DBuffer **index_buffer);
|
---|
8762 | void __RPC_STUB IWineD3DDevice_GetIndexBuffer_Stub(
|
---|
8763 | IRpcStubBuffer* This,
|
---|
8764 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8765 | PRPC_MESSAGE pRpcMessage,
|
---|
8766 | DWORD* pdwStubPhase);
|
---|
8767 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetBaseVertexIndex_Proxy(
|
---|
8768 | IWineD3DDevice* This,
|
---|
8769 | INT base_index);
|
---|
8770 | void __RPC_STUB IWineD3DDevice_SetBaseVertexIndex_Stub(
|
---|
8771 | IRpcStubBuffer* This,
|
---|
8772 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8773 | PRPC_MESSAGE pRpcMessage,
|
---|
8774 | DWORD* pdwStubPhase);
|
---|
8775 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetBaseVertexIndex_Proxy(
|
---|
8776 | IWineD3DDevice* This,
|
---|
8777 | INT *base_index);
|
---|
8778 | void __RPC_STUB IWineD3DDevice_GetBaseVertexIndex_Stub(
|
---|
8779 | IRpcStubBuffer* This,
|
---|
8780 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8781 | PRPC_MESSAGE pRpcMessage,
|
---|
8782 | DWORD* pdwStubPhase);
|
---|
8783 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetLight_Proxy(
|
---|
8784 | IWineD3DDevice* This,
|
---|
8785 | DWORD light_idx,
|
---|
8786 | const WINED3DLIGHT *light);
|
---|
8787 | void __RPC_STUB IWineD3DDevice_SetLight_Stub(
|
---|
8788 | IRpcStubBuffer* This,
|
---|
8789 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8790 | PRPC_MESSAGE pRpcMessage,
|
---|
8791 | DWORD* pdwStubPhase);
|
---|
8792 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetLight_Proxy(
|
---|
8793 | IWineD3DDevice* This,
|
---|
8794 | DWORD light_idx,
|
---|
8795 | WINED3DLIGHT *light);
|
---|
8796 | void __RPC_STUB IWineD3DDevice_GetLight_Stub(
|
---|
8797 | IRpcStubBuffer* This,
|
---|
8798 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8799 | PRPC_MESSAGE pRpcMessage,
|
---|
8800 | DWORD* pdwStubPhase);
|
---|
8801 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetLightEnable_Proxy(
|
---|
8802 | IWineD3DDevice* This,
|
---|
8803 | DWORD light_idx,
|
---|
8804 | BOOL enable);
|
---|
8805 | void __RPC_STUB IWineD3DDevice_SetLightEnable_Stub(
|
---|
8806 | IRpcStubBuffer* This,
|
---|
8807 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8808 | PRPC_MESSAGE pRpcMessage,
|
---|
8809 | DWORD* pdwStubPhase);
|
---|
8810 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetLightEnable_Proxy(
|
---|
8811 | IWineD3DDevice* This,
|
---|
8812 | DWORD light_idx,
|
---|
8813 | BOOL *enable);
|
---|
8814 | void __RPC_STUB IWineD3DDevice_GetLightEnable_Stub(
|
---|
8815 | IRpcStubBuffer* This,
|
---|
8816 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8817 | PRPC_MESSAGE pRpcMessage,
|
---|
8818 | DWORD* pdwStubPhase);
|
---|
8819 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetMaterial_Proxy(
|
---|
8820 | IWineD3DDevice* This,
|
---|
8821 | const WINED3DMATERIAL *material);
|
---|
8822 | void __RPC_STUB IWineD3DDevice_SetMaterial_Stub(
|
---|
8823 | IRpcStubBuffer* This,
|
---|
8824 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8825 | PRPC_MESSAGE pRpcMessage,
|
---|
8826 | DWORD* pdwStubPhase);
|
---|
8827 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetMaterial_Proxy(
|
---|
8828 | IWineD3DDevice* This,
|
---|
8829 | WINED3DMATERIAL *material);
|
---|
8830 | void __RPC_STUB IWineD3DDevice_GetMaterial_Stub(
|
---|
8831 | IRpcStubBuffer* This,
|
---|
8832 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8833 | PRPC_MESSAGE pRpcMessage,
|
---|
8834 | DWORD* pdwStubPhase);
|
---|
8835 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetNPatchMode_Proxy(
|
---|
8836 | IWineD3DDevice* This,
|
---|
8837 | float segments);
|
---|
8838 | void __RPC_STUB IWineD3DDevice_SetNPatchMode_Stub(
|
---|
8839 | IRpcStubBuffer* This,
|
---|
8840 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8841 | PRPC_MESSAGE pRpcMessage,
|
---|
8842 | DWORD* pdwStubPhase);
|
---|
8843 | float STDMETHODCALLTYPE IWineD3DDevice_GetNPatchMode_Proxy(
|
---|
8844 | IWineD3DDevice* This);
|
---|
8845 | void __RPC_STUB IWineD3DDevice_GetNPatchMode_Stub(
|
---|
8846 | IRpcStubBuffer* This,
|
---|
8847 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8848 | PRPC_MESSAGE pRpcMessage,
|
---|
8849 | DWORD* pdwStubPhase);
|
---|
8850 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPaletteEntries_Proxy(
|
---|
8851 | IWineD3DDevice* This,
|
---|
8852 | UINT palette_number,
|
---|
8853 | const PALETTEENTRY *entries);
|
---|
8854 | void __RPC_STUB IWineD3DDevice_SetPaletteEntries_Stub(
|
---|
8855 | IRpcStubBuffer* This,
|
---|
8856 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8857 | PRPC_MESSAGE pRpcMessage,
|
---|
8858 | DWORD* pdwStubPhase);
|
---|
8859 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPaletteEntries_Proxy(
|
---|
8860 | IWineD3DDevice* This,
|
---|
8861 | UINT palette_number,
|
---|
8862 | PALETTEENTRY *entries);
|
---|
8863 | void __RPC_STUB IWineD3DDevice_GetPaletteEntries_Stub(
|
---|
8864 | IRpcStubBuffer* This,
|
---|
8865 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8866 | PRPC_MESSAGE pRpcMessage,
|
---|
8867 | DWORD* pdwStubPhase);
|
---|
8868 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShader_Proxy(
|
---|
8869 | IWineD3DDevice* This,
|
---|
8870 | IWineD3DPixelShader *shader);
|
---|
8871 | void __RPC_STUB IWineD3DDevice_SetPixelShader_Stub(
|
---|
8872 | IRpcStubBuffer* This,
|
---|
8873 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8874 | PRPC_MESSAGE pRpcMessage,
|
---|
8875 | DWORD* pdwStubPhase);
|
---|
8876 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShader_Proxy(
|
---|
8877 | IWineD3DDevice* This,
|
---|
8878 | IWineD3DPixelShader **shader);
|
---|
8879 | void __RPC_STUB IWineD3DDevice_GetPixelShader_Stub(
|
---|
8880 | IRpcStubBuffer* This,
|
---|
8881 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8882 | PRPC_MESSAGE pRpcMessage,
|
---|
8883 | DWORD* pdwStubPhase);
|
---|
8884 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantB_Proxy(
|
---|
8885 | IWineD3DDevice* This,
|
---|
8886 | UINT start_register,
|
---|
8887 | const BOOL *constants,
|
---|
8888 | UINT bool_count);
|
---|
8889 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantB_Stub(
|
---|
8890 | IRpcStubBuffer* This,
|
---|
8891 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8892 | PRPC_MESSAGE pRpcMessage,
|
---|
8893 | DWORD* pdwStubPhase);
|
---|
8894 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantB_Proxy(
|
---|
8895 | IWineD3DDevice* This,
|
---|
8896 | UINT start_register,
|
---|
8897 | BOOL *constants,
|
---|
8898 | UINT bool_count);
|
---|
8899 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantB_Stub(
|
---|
8900 | IRpcStubBuffer* This,
|
---|
8901 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8902 | PRPC_MESSAGE pRpcMessage,
|
---|
8903 | DWORD* pdwStubPhase);
|
---|
8904 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantI_Proxy(
|
---|
8905 | IWineD3DDevice* This,
|
---|
8906 | UINT start_register,
|
---|
8907 | const int *constants,
|
---|
8908 | UINT vector4i_count);
|
---|
8909 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantI_Stub(
|
---|
8910 | IRpcStubBuffer* This,
|
---|
8911 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8912 | PRPC_MESSAGE pRpcMessage,
|
---|
8913 | DWORD* pdwStubPhase);
|
---|
8914 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantI_Proxy(
|
---|
8915 | IWineD3DDevice* This,
|
---|
8916 | UINT start_register,
|
---|
8917 | int *constants,
|
---|
8918 | UINT vector4i_count);
|
---|
8919 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantI_Stub(
|
---|
8920 | IRpcStubBuffer* This,
|
---|
8921 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8922 | PRPC_MESSAGE pRpcMessage,
|
---|
8923 | DWORD* pdwStubPhase);
|
---|
8924 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetPixelShaderConstantF_Proxy(
|
---|
8925 | IWineD3DDevice* This,
|
---|
8926 | UINT start_register,
|
---|
8927 | const float *constants,
|
---|
8928 | UINT vector4f_count);
|
---|
8929 | void __RPC_STUB IWineD3DDevice_SetPixelShaderConstantF_Stub(
|
---|
8930 | IRpcStubBuffer* This,
|
---|
8931 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8932 | PRPC_MESSAGE pRpcMessage,
|
---|
8933 | DWORD* pdwStubPhase);
|
---|
8934 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetPixelShaderConstantF_Proxy(
|
---|
8935 | IWineD3DDevice* This,
|
---|
8936 | UINT start_register,
|
---|
8937 | float *constants,
|
---|
8938 | UINT vector4f_count);
|
---|
8939 | void __RPC_STUB IWineD3DDevice_GetPixelShaderConstantF_Stub(
|
---|
8940 | IRpcStubBuffer* This,
|
---|
8941 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8942 | PRPC_MESSAGE pRpcMessage,
|
---|
8943 | DWORD* pdwStubPhase);
|
---|
8944 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetRenderState_Proxy(
|
---|
8945 | IWineD3DDevice* This,
|
---|
8946 | WINED3DRENDERSTATETYPE state,
|
---|
8947 | DWORD value);
|
---|
8948 | void __RPC_STUB IWineD3DDevice_SetRenderState_Stub(
|
---|
8949 | IRpcStubBuffer* This,
|
---|
8950 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8951 | PRPC_MESSAGE pRpcMessage,
|
---|
8952 | DWORD* pdwStubPhase);
|
---|
8953 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRenderState_Proxy(
|
---|
8954 | IWineD3DDevice* This,
|
---|
8955 | WINED3DRENDERSTATETYPE state,
|
---|
8956 | DWORD *value);
|
---|
8957 | void __RPC_STUB IWineD3DDevice_GetRenderState_Stub(
|
---|
8958 | IRpcStubBuffer* This,
|
---|
8959 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8960 | PRPC_MESSAGE pRpcMessage,
|
---|
8961 | DWORD* pdwStubPhase);
|
---|
8962 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetRenderTarget_Proxy(
|
---|
8963 | IWineD3DDevice* This,
|
---|
8964 | DWORD render_target_idx,
|
---|
8965 | IWineD3DSurface *render_target);
|
---|
8966 | void __RPC_STUB IWineD3DDevice_SetRenderTarget_Stub(
|
---|
8967 | IRpcStubBuffer* This,
|
---|
8968 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8969 | PRPC_MESSAGE pRpcMessage,
|
---|
8970 | DWORD* pdwStubPhase);
|
---|
8971 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetRenderTarget_Proxy(
|
---|
8972 | IWineD3DDevice* This,
|
---|
8973 | DWORD render_target_idx,
|
---|
8974 | IWineD3DSurface **render_target);
|
---|
8975 | void __RPC_STUB IWineD3DDevice_GetRenderTarget_Stub(
|
---|
8976 | IRpcStubBuffer* This,
|
---|
8977 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8978 | PRPC_MESSAGE pRpcMessage,
|
---|
8979 | DWORD* pdwStubPhase);
|
---|
8980 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetFrontBackBuffers_Proxy(
|
---|
8981 | IWineD3DDevice* This,
|
---|
8982 | IWineD3DSurface *front,
|
---|
8983 | IWineD3DSurface *back);
|
---|
8984 | void __RPC_STUB IWineD3DDevice_SetFrontBackBuffers_Stub(
|
---|
8985 | IRpcStubBuffer* This,
|
---|
8986 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8987 | PRPC_MESSAGE pRpcMessage,
|
---|
8988 | DWORD* pdwStubPhase);
|
---|
8989 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetSamplerState_Proxy(
|
---|
8990 | IWineD3DDevice* This,
|
---|
8991 | DWORD sampler_idx,
|
---|
8992 | WINED3DSAMPLERSTATETYPE state,
|
---|
8993 | DWORD value);
|
---|
8994 | void __RPC_STUB IWineD3DDevice_SetSamplerState_Stub(
|
---|
8995 | IRpcStubBuffer* This,
|
---|
8996 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
8997 | PRPC_MESSAGE pRpcMessage,
|
---|
8998 | DWORD* pdwStubPhase);
|
---|
8999 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetSamplerState_Proxy(
|
---|
9000 | IWineD3DDevice* This,
|
---|
9001 | DWORD sampler_idx,
|
---|
9002 | WINED3DSAMPLERSTATETYPE state,
|
---|
9003 | DWORD *value);
|
---|
9004 | void __RPC_STUB IWineD3DDevice_GetSamplerState_Stub(
|
---|
9005 | IRpcStubBuffer* This,
|
---|
9006 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9007 | PRPC_MESSAGE pRpcMessage,
|
---|
9008 | DWORD* pdwStubPhase);
|
---|
9009 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetScissorRect_Proxy(
|
---|
9010 | IWineD3DDevice* This,
|
---|
9011 | const RECT *rect);
|
---|
9012 | void __RPC_STUB IWineD3DDevice_SetScissorRect_Stub(
|
---|
9013 | IRpcStubBuffer* This,
|
---|
9014 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9015 | PRPC_MESSAGE pRpcMessage,
|
---|
9016 | DWORD* pdwStubPhase);
|
---|
9017 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetScissorRect_Proxy(
|
---|
9018 | IWineD3DDevice* This,
|
---|
9019 | RECT *rect);
|
---|
9020 | void __RPC_STUB IWineD3DDevice_GetScissorRect_Stub(
|
---|
9021 | IRpcStubBuffer* This,
|
---|
9022 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9023 | PRPC_MESSAGE pRpcMessage,
|
---|
9024 | DWORD* pdwStubPhase);
|
---|
9025 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetSoftwareVertexProcessing_Proxy(
|
---|
9026 | IWineD3DDevice* This,
|
---|
9027 | BOOL software);
|
---|
9028 | void __RPC_STUB IWineD3DDevice_SetSoftwareVertexProcessing_Stub(
|
---|
9029 | IRpcStubBuffer* This,
|
---|
9030 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9031 | PRPC_MESSAGE pRpcMessage,
|
---|
9032 | DWORD* pdwStubPhase);
|
---|
9033 | BOOL STDMETHODCALLTYPE IWineD3DDevice_GetSoftwareVertexProcessing_Proxy(
|
---|
9034 | IWineD3DDevice* This);
|
---|
9035 | void __RPC_STUB IWineD3DDevice_GetSoftwareVertexProcessing_Stub(
|
---|
9036 | IRpcStubBuffer* This,
|
---|
9037 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9038 | PRPC_MESSAGE pRpcMessage,
|
---|
9039 | DWORD* pdwStubPhase);
|
---|
9040 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetStreamSource_Proxy(
|
---|
9041 | IWineD3DDevice* This,
|
---|
9042 | UINT stream_idx,
|
---|
9043 | IWineD3DBuffer *buffer,
|
---|
9044 | UINT offset,
|
---|
9045 | UINT stride);
|
---|
9046 | void __RPC_STUB IWineD3DDevice_SetStreamSource_Stub(
|
---|
9047 | IRpcStubBuffer* This,
|
---|
9048 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9049 | PRPC_MESSAGE pRpcMessage,
|
---|
9050 | DWORD* pdwStubPhase);
|
---|
9051 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetStreamSource_Proxy(
|
---|
9052 | IWineD3DDevice* This,
|
---|
9053 | UINT stream_idx,
|
---|
9054 | IWineD3DBuffer **buffer,
|
---|
9055 | UINT *offset,
|
---|
9056 | UINT *stride);
|
---|
9057 | void __RPC_STUB IWineD3DDevice_GetStreamSource_Stub(
|
---|
9058 | IRpcStubBuffer* This,
|
---|
9059 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9060 | PRPC_MESSAGE pRpcMessage,
|
---|
9061 | DWORD* pdwStubPhase);
|
---|
9062 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetStreamSourceFreq_Proxy(
|
---|
9063 | IWineD3DDevice* This,
|
---|
9064 | UINT stream_idx,
|
---|
9065 | UINT divider);
|
---|
9066 | void __RPC_STUB IWineD3DDevice_SetStreamSourceFreq_Stub(
|
---|
9067 | IRpcStubBuffer* This,
|
---|
9068 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9069 | PRPC_MESSAGE pRpcMessage,
|
---|
9070 | DWORD* pdwStubPhase);
|
---|
9071 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetStreamSourceFreq_Proxy(
|
---|
9072 | IWineD3DDevice* This,
|
---|
9073 | UINT stream_idx,
|
---|
9074 | UINT *divider);
|
---|
9075 | void __RPC_STUB IWineD3DDevice_GetStreamSourceFreq_Stub(
|
---|
9076 | IRpcStubBuffer* This,
|
---|
9077 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9078 | PRPC_MESSAGE pRpcMessage,
|
---|
9079 | DWORD* pdwStubPhase);
|
---|
9080 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTexture_Proxy(
|
---|
9081 | IWineD3DDevice* This,
|
---|
9082 | DWORD stage,
|
---|
9083 | IWineD3DBaseTexture *texture);
|
---|
9084 | void __RPC_STUB IWineD3DDevice_SetTexture_Stub(
|
---|
9085 | IRpcStubBuffer* This,
|
---|
9086 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9087 | PRPC_MESSAGE pRpcMessage,
|
---|
9088 | DWORD* pdwStubPhase);
|
---|
9089 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTexture_Proxy(
|
---|
9090 | IWineD3DDevice* This,
|
---|
9091 | DWORD stage,
|
---|
9092 | IWineD3DBaseTexture **texture);
|
---|
9093 | void __RPC_STUB IWineD3DDevice_GetTexture_Stub(
|
---|
9094 | IRpcStubBuffer* This,
|
---|
9095 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9096 | PRPC_MESSAGE pRpcMessage,
|
---|
9097 | DWORD* pdwStubPhase);
|
---|
9098 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTextureStageState_Proxy(
|
---|
9099 | IWineD3DDevice* This,
|
---|
9100 | DWORD stage,
|
---|
9101 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
9102 | DWORD value);
|
---|
9103 | void __RPC_STUB IWineD3DDevice_SetTextureStageState_Stub(
|
---|
9104 | IRpcStubBuffer* This,
|
---|
9105 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9106 | PRPC_MESSAGE pRpcMessage,
|
---|
9107 | DWORD* pdwStubPhase);
|
---|
9108 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTextureStageState_Proxy(
|
---|
9109 | IWineD3DDevice* This,
|
---|
9110 | DWORD stage,
|
---|
9111 | WINED3DTEXTURESTAGESTATETYPE state,
|
---|
9112 | DWORD *value);
|
---|
9113 | void __RPC_STUB IWineD3DDevice_GetTextureStageState_Stub(
|
---|
9114 | IRpcStubBuffer* This,
|
---|
9115 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9116 | PRPC_MESSAGE pRpcMessage,
|
---|
9117 | DWORD* pdwStubPhase);
|
---|
9118 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetTransform_Proxy(
|
---|
9119 | IWineD3DDevice* This,
|
---|
9120 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9121 | const WINED3DMATRIX *matrix);
|
---|
9122 | void __RPC_STUB IWineD3DDevice_SetTransform_Stub(
|
---|
9123 | IRpcStubBuffer* This,
|
---|
9124 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9125 | PRPC_MESSAGE pRpcMessage,
|
---|
9126 | DWORD* pdwStubPhase);
|
---|
9127 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetTransform_Proxy(
|
---|
9128 | IWineD3DDevice* This,
|
---|
9129 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9130 | WINED3DMATRIX *matrix);
|
---|
9131 | void __RPC_STUB IWineD3DDevice_GetTransform_Stub(
|
---|
9132 | IRpcStubBuffer* This,
|
---|
9133 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9134 | PRPC_MESSAGE pRpcMessage,
|
---|
9135 | DWORD* pdwStubPhase);
|
---|
9136 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexDeclaration_Proxy(
|
---|
9137 | IWineD3DDevice* This,
|
---|
9138 | IWineD3DVertexDeclaration *declaration);
|
---|
9139 | void __RPC_STUB IWineD3DDevice_SetVertexDeclaration_Stub(
|
---|
9140 | IRpcStubBuffer* This,
|
---|
9141 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9142 | PRPC_MESSAGE pRpcMessage,
|
---|
9143 | DWORD* pdwStubPhase);
|
---|
9144 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexDeclaration_Proxy(
|
---|
9145 | IWineD3DDevice* This,
|
---|
9146 | IWineD3DVertexDeclaration **declaration);
|
---|
9147 | void __RPC_STUB IWineD3DDevice_GetVertexDeclaration_Stub(
|
---|
9148 | IRpcStubBuffer* This,
|
---|
9149 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9150 | PRPC_MESSAGE pRpcMessage,
|
---|
9151 | DWORD* pdwStubPhase);
|
---|
9152 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShader_Proxy(
|
---|
9153 | IWineD3DDevice* This,
|
---|
9154 | IWineD3DVertexShader *shader);
|
---|
9155 | void __RPC_STUB IWineD3DDevice_SetVertexShader_Stub(
|
---|
9156 | IRpcStubBuffer* This,
|
---|
9157 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9158 | PRPC_MESSAGE pRpcMessage,
|
---|
9159 | DWORD* pdwStubPhase);
|
---|
9160 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShader_Proxy(
|
---|
9161 | IWineD3DDevice* This,
|
---|
9162 | IWineD3DVertexShader **shader);
|
---|
9163 | void __RPC_STUB IWineD3DDevice_GetVertexShader_Stub(
|
---|
9164 | IRpcStubBuffer* This,
|
---|
9165 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9166 | PRPC_MESSAGE pRpcMessage,
|
---|
9167 | DWORD* pdwStubPhase);
|
---|
9168 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantB_Proxy(
|
---|
9169 | IWineD3DDevice* This,
|
---|
9170 | UINT start_register,
|
---|
9171 | const BOOL *constants,
|
---|
9172 | UINT bool_count);
|
---|
9173 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantB_Stub(
|
---|
9174 | IRpcStubBuffer* This,
|
---|
9175 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9176 | PRPC_MESSAGE pRpcMessage,
|
---|
9177 | DWORD* pdwStubPhase);
|
---|
9178 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantB_Proxy(
|
---|
9179 | IWineD3DDevice* This,
|
---|
9180 | UINT start_register,
|
---|
9181 | BOOL *constants,
|
---|
9182 | UINT bool_count);
|
---|
9183 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantB_Stub(
|
---|
9184 | IRpcStubBuffer* This,
|
---|
9185 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9186 | PRPC_MESSAGE pRpcMessage,
|
---|
9187 | DWORD* pdwStubPhase);
|
---|
9188 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantI_Proxy(
|
---|
9189 | IWineD3DDevice* This,
|
---|
9190 | UINT start_register,
|
---|
9191 | const int *constants,
|
---|
9192 | UINT vector4i_count);
|
---|
9193 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantI_Stub(
|
---|
9194 | IRpcStubBuffer* This,
|
---|
9195 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9196 | PRPC_MESSAGE pRpcMessage,
|
---|
9197 | DWORD* pdwStubPhase);
|
---|
9198 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantI_Proxy(
|
---|
9199 | IWineD3DDevice* This,
|
---|
9200 | UINT start_register,
|
---|
9201 | int *constants,
|
---|
9202 | UINT vector4i_count);
|
---|
9203 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantI_Stub(
|
---|
9204 | IRpcStubBuffer* This,
|
---|
9205 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9206 | PRPC_MESSAGE pRpcMessage,
|
---|
9207 | DWORD* pdwStubPhase);
|
---|
9208 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetVertexShaderConstantF_Proxy(
|
---|
9209 | IWineD3DDevice* This,
|
---|
9210 | UINT start_register,
|
---|
9211 | const float *constants,
|
---|
9212 | UINT vector4f_count);
|
---|
9213 | void __RPC_STUB IWineD3DDevice_SetVertexShaderConstantF_Stub(
|
---|
9214 | IRpcStubBuffer* This,
|
---|
9215 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9216 | PRPC_MESSAGE pRpcMessage,
|
---|
9217 | DWORD* pdwStubPhase);
|
---|
9218 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetVertexShaderConstantF_Proxy(
|
---|
9219 | IWineD3DDevice* This,
|
---|
9220 | UINT start_register,
|
---|
9221 | float *constants,
|
---|
9222 | UINT vector4f_count);
|
---|
9223 | void __RPC_STUB IWineD3DDevice_GetVertexShaderConstantF_Stub(
|
---|
9224 | IRpcStubBuffer* This,
|
---|
9225 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9226 | PRPC_MESSAGE pRpcMessage,
|
---|
9227 | DWORD* pdwStubPhase);
|
---|
9228 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_SetViewport_Proxy(
|
---|
9229 | IWineD3DDevice* This,
|
---|
9230 | const WINED3DVIEWPORT *viewport);
|
---|
9231 | void __RPC_STUB IWineD3DDevice_SetViewport_Stub(
|
---|
9232 | IRpcStubBuffer* This,
|
---|
9233 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9234 | PRPC_MESSAGE pRpcMessage,
|
---|
9235 | DWORD* pdwStubPhase);
|
---|
9236 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetViewport_Proxy(
|
---|
9237 | IWineD3DDevice* This,
|
---|
9238 | WINED3DVIEWPORT *viewport);
|
---|
9239 | void __RPC_STUB IWineD3DDevice_GetViewport_Stub(
|
---|
9240 | IRpcStubBuffer* This,
|
---|
9241 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9242 | PRPC_MESSAGE pRpcMessage,
|
---|
9243 | DWORD* pdwStubPhase);
|
---|
9244 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_MultiplyTransform_Proxy(
|
---|
9245 | IWineD3DDevice* This,
|
---|
9246 | WINED3DTRANSFORMSTATETYPE state,
|
---|
9247 | const WINED3DMATRIX *matrix);
|
---|
9248 | void __RPC_STUB IWineD3DDevice_MultiplyTransform_Stub(
|
---|
9249 | IRpcStubBuffer* This,
|
---|
9250 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9251 | PRPC_MESSAGE pRpcMessage,
|
---|
9252 | DWORD* pdwStubPhase);
|
---|
9253 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ValidateDevice_Proxy(
|
---|
9254 | IWineD3DDevice* This,
|
---|
9255 | DWORD *num_passes);
|
---|
9256 | void __RPC_STUB IWineD3DDevice_ValidateDevice_Stub(
|
---|
9257 | IRpcStubBuffer* This,
|
---|
9258 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9259 | PRPC_MESSAGE pRpcMessage,
|
---|
9260 | DWORD* pdwStubPhase);
|
---|
9261 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ProcessVertices_Proxy(
|
---|
9262 | IWineD3DDevice* This,
|
---|
9263 | UINT src_start_idx,
|
---|
9264 | UINT dst_idx,
|
---|
9265 | UINT vertex_count,
|
---|
9266 | IWineD3DBuffer *dest_buffer,
|
---|
9267 | IWineD3DVertexDeclaration *declaration,
|
---|
9268 | DWORD flags,
|
---|
9269 | DWORD DestFVF);
|
---|
9270 | void __RPC_STUB IWineD3DDevice_ProcessVertices_Stub(
|
---|
9271 | IRpcStubBuffer* This,
|
---|
9272 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9273 | PRPC_MESSAGE pRpcMessage,
|
---|
9274 | DWORD* pdwStubPhase);
|
---|
9275 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_BeginStateBlock_Proxy(
|
---|
9276 | IWineD3DDevice* This);
|
---|
9277 | void __RPC_STUB IWineD3DDevice_BeginStateBlock_Stub(
|
---|
9278 | IRpcStubBuffer* This,
|
---|
9279 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9280 | PRPC_MESSAGE pRpcMessage,
|
---|
9281 | DWORD* pdwStubPhase);
|
---|
9282 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EndStateBlock_Proxy(
|
---|
9283 | IWineD3DDevice* This,
|
---|
9284 | IWineD3DStateBlock **stateblock);
|
---|
9285 | void __RPC_STUB IWineD3DDevice_EndStateBlock_Stub(
|
---|
9286 | IRpcStubBuffer* This,
|
---|
9287 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9288 | PRPC_MESSAGE pRpcMessage,
|
---|
9289 | DWORD* pdwStubPhase);
|
---|
9290 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_BeginScene_Proxy(
|
---|
9291 | IWineD3DDevice* This);
|
---|
9292 | void __RPC_STUB IWineD3DDevice_BeginScene_Stub(
|
---|
9293 | IRpcStubBuffer* This,
|
---|
9294 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9295 | PRPC_MESSAGE pRpcMessage,
|
---|
9296 | DWORD* pdwStubPhase);
|
---|
9297 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EndScene_Proxy(
|
---|
9298 | IWineD3DDevice* This);
|
---|
9299 | void __RPC_STUB IWineD3DDevice_EndScene_Stub(
|
---|
9300 | IRpcStubBuffer* This,
|
---|
9301 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9302 | PRPC_MESSAGE pRpcMessage,
|
---|
9303 | DWORD* pdwStubPhase);
|
---|
9304 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Present_Proxy(
|
---|
9305 | IWineD3DDevice* This,
|
---|
9306 | const RECT *src_rect,
|
---|
9307 | const RECT *dst_rect,
|
---|
9308 | HWND dst_window_override,
|
---|
9309 | const RGNDATA *dirty_region);
|
---|
9310 | void __RPC_STUB IWineD3DDevice_Present_Stub(
|
---|
9311 | IRpcStubBuffer* This,
|
---|
9312 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9313 | PRPC_MESSAGE pRpcMessage,
|
---|
9314 | DWORD* pdwStubPhase);
|
---|
9315 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_Clear_Proxy(
|
---|
9316 | IWineD3DDevice* This,
|
---|
9317 | DWORD rect_count,
|
---|
9318 | const WINED3DRECT *rects,
|
---|
9319 | DWORD flags,
|
---|
9320 | WINED3DCOLOR color,
|
---|
9321 | float z,
|
---|
9322 | DWORD stencil);
|
---|
9323 | void __RPC_STUB IWineD3DDevice_Clear_Stub(
|
---|
9324 | IRpcStubBuffer* This,
|
---|
9325 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9326 | PRPC_MESSAGE pRpcMessage,
|
---|
9327 | DWORD* pdwStubPhase);
|
---|
9328 | void STDMETHODCALLTYPE IWineD3DDevice_ClearRendertargetView_Proxy(
|
---|
9329 | IWineD3DDevice* This,
|
---|
9330 | IWineD3DRendertargetView *rendertarget_view,
|
---|
9331 | const float color[4]);
|
---|
9332 | void __RPC_STUB IWineD3DDevice_ClearRendertargetView_Stub(
|
---|
9333 | IRpcStubBuffer* This,
|
---|
9334 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9335 | PRPC_MESSAGE pRpcMessage,
|
---|
9336 | DWORD* pdwStubPhase);
|
---|
9337 | void STDMETHODCALLTYPE IWineD3DDevice_SetPrimitiveType_Proxy(
|
---|
9338 | IWineD3DDevice* This,
|
---|
9339 | WINED3DPRIMITIVETYPE primitive_topology);
|
---|
9340 | void __RPC_STUB IWineD3DDevice_SetPrimitiveType_Stub(
|
---|
9341 | IRpcStubBuffer* This,
|
---|
9342 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9343 | PRPC_MESSAGE pRpcMessage,
|
---|
9344 | DWORD* pdwStubPhase);
|
---|
9345 | void STDMETHODCALLTYPE IWineD3DDevice_GetPrimitiveType_Proxy(
|
---|
9346 | IWineD3DDevice* This,
|
---|
9347 | WINED3DPRIMITIVETYPE *primitive_topology);
|
---|
9348 | void __RPC_STUB IWineD3DDevice_GetPrimitiveType_Stub(
|
---|
9349 | IRpcStubBuffer* This,
|
---|
9350 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9351 | PRPC_MESSAGE pRpcMessage,
|
---|
9352 | DWORD* pdwStubPhase);
|
---|
9353 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitive_Proxy(
|
---|
9354 | IWineD3DDevice* This,
|
---|
9355 | UINT start_vertex,
|
---|
9356 | UINT vertex_count);
|
---|
9357 | void __RPC_STUB IWineD3DDevice_DrawPrimitive_Stub(
|
---|
9358 | IRpcStubBuffer* This,
|
---|
9359 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9360 | PRPC_MESSAGE pRpcMessage,
|
---|
9361 | DWORD* pdwStubPhase);
|
---|
9362 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitive_Proxy(
|
---|
9363 | IWineD3DDevice* This,
|
---|
9364 | UINT start_idx,
|
---|
9365 | UINT index_count);
|
---|
9366 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitive_Stub(
|
---|
9367 | IRpcStubBuffer* This,
|
---|
9368 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9369 | PRPC_MESSAGE pRpcMessage,
|
---|
9370 | DWORD* pdwStubPhase);
|
---|
9371 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitiveUP_Proxy(
|
---|
9372 | IWineD3DDevice* This,
|
---|
9373 | UINT vertex_count,
|
---|
9374 | const void *stream_data,
|
---|
9375 | UINT stream_stride);
|
---|
9376 | void __RPC_STUB IWineD3DDevice_DrawPrimitiveUP_Stub(
|
---|
9377 | IRpcStubBuffer* This,
|
---|
9378 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9379 | PRPC_MESSAGE pRpcMessage,
|
---|
9380 | DWORD* pdwStubPhase);
|
---|
9381 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveUP_Proxy(
|
---|
9382 | IWineD3DDevice* This,
|
---|
9383 | UINT index_count,
|
---|
9384 | const void *index_data,
|
---|
9385 | WINED3DFORMAT index_data_format,
|
---|
9386 | const void *stream_data,
|
---|
9387 | UINT stream_stride);
|
---|
9388 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitiveUP_Stub(
|
---|
9389 | IRpcStubBuffer* This,
|
---|
9390 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9391 | PRPC_MESSAGE pRpcMessage,
|
---|
9392 | DWORD* pdwStubPhase);
|
---|
9393 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawPrimitiveStrided_Proxy(
|
---|
9394 | IWineD3DDevice* This,
|
---|
9395 | UINT vertex_count,
|
---|
9396 | const WineDirect3DVertexStridedData *strided_data);
|
---|
9397 | void __RPC_STUB IWineD3DDevice_DrawPrimitiveStrided_Stub(
|
---|
9398 | IRpcStubBuffer* This,
|
---|
9399 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9400 | PRPC_MESSAGE pRpcMessage,
|
---|
9401 | DWORD* pdwStubPhase);
|
---|
9402 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawIndexedPrimitiveStrided_Proxy(
|
---|
9403 | IWineD3DDevice* This,
|
---|
9404 | UINT index_count,
|
---|
9405 | const WineDirect3DVertexStridedData *strided_data,
|
---|
9406 | UINT vertex_count,
|
---|
9407 | const void *index_data,
|
---|
9408 | WINED3DFORMAT index_data_format);
|
---|
9409 | void __RPC_STUB IWineD3DDevice_DrawIndexedPrimitiveStrided_Stub(
|
---|
9410 | IRpcStubBuffer* This,
|
---|
9411 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9412 | PRPC_MESSAGE pRpcMessage,
|
---|
9413 | DWORD* pdwStubPhase);
|
---|
9414 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawRectPatch_Proxy(
|
---|
9415 | IWineD3DDevice* This,
|
---|
9416 | UINT handle,
|
---|
9417 | const float *num_segs,
|
---|
9418 | const WINED3DRECTPATCH_INFO *rect_patch_info);
|
---|
9419 | void __RPC_STUB IWineD3DDevice_DrawRectPatch_Stub(
|
---|
9420 | IRpcStubBuffer* This,
|
---|
9421 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9422 | PRPC_MESSAGE pRpcMessage,
|
---|
9423 | DWORD* pdwStubPhase);
|
---|
9424 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DrawTriPatch_Proxy(
|
---|
9425 | IWineD3DDevice* This,
|
---|
9426 | UINT handle,
|
---|
9427 | const float *num_segs,
|
---|
9428 | const WINED3DTRIPATCH_INFO *tri_patch_info);
|
---|
9429 | void __RPC_STUB IWineD3DDevice_DrawTriPatch_Stub(
|
---|
9430 | IRpcStubBuffer* This,
|
---|
9431 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9432 | PRPC_MESSAGE pRpcMessage,
|
---|
9433 | DWORD* pdwStubPhase);
|
---|
9434 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_DeletePatch_Proxy(
|
---|
9435 | IWineD3DDevice* This,
|
---|
9436 | UINT handle);
|
---|
9437 | void __RPC_STUB IWineD3DDevice_DeletePatch_Stub(
|
---|
9438 | IRpcStubBuffer* This,
|
---|
9439 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9440 | PRPC_MESSAGE pRpcMessage,
|
---|
9441 | DWORD* pdwStubPhase);
|
---|
9442 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_ColorFill_Proxy(
|
---|
9443 | IWineD3DDevice* This,
|
---|
9444 | IWineD3DSurface *surface,
|
---|
9445 | const WINED3DRECT *rect,
|
---|
9446 | WINED3DCOLOR color);
|
---|
9447 | void __RPC_STUB IWineD3DDevice_ColorFill_Stub(
|
---|
9448 | IRpcStubBuffer* This,
|
---|
9449 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9450 | PRPC_MESSAGE pRpcMessage,
|
---|
9451 | DWORD* pdwStubPhase);
|
---|
9452 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UpdateTexture_Proxy(
|
---|
9453 | IWineD3DDevice* This,
|
---|
9454 | IWineD3DBaseTexture *src_texture,
|
---|
9455 | IWineD3DBaseTexture *dst_texture);
|
---|
9456 | void __RPC_STUB IWineD3DDevice_UpdateTexture_Stub(
|
---|
9457 | IRpcStubBuffer* This,
|
---|
9458 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9459 | PRPC_MESSAGE pRpcMessage,
|
---|
9460 | DWORD* pdwStubPhase);
|
---|
9461 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_UpdateSurface_Proxy(
|
---|
9462 | IWineD3DDevice* This,
|
---|
9463 | IWineD3DSurface *src_surface,
|
---|
9464 | const RECT *src_rect,
|
---|
9465 | IWineD3DSurface *dst_surface,
|
---|
9466 | const POINT *dst_point);
|
---|
9467 | void __RPC_STUB IWineD3DDevice_UpdateSurface_Stub(
|
---|
9468 | IRpcStubBuffer* This,
|
---|
9469 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9470 | PRPC_MESSAGE pRpcMessage,
|
---|
9471 | DWORD* pdwStubPhase);
|
---|
9472 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_GetFrontBufferData_Proxy(
|
---|
9473 | IWineD3DDevice* This,
|
---|
9474 | UINT swapchain_idx,
|
---|
9475 | IWineD3DSurface *dst_surface);
|
---|
9476 | void __RPC_STUB IWineD3DDevice_GetFrontBufferData_Stub(
|
---|
9477 | IRpcStubBuffer* This,
|
---|
9478 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9479 | PRPC_MESSAGE pRpcMessage,
|
---|
9480 | DWORD* pdwStubPhase);
|
---|
9481 | HRESULT STDMETHODCALLTYPE IWineD3DDevice_EnumResources_Proxy(
|
---|
9482 | IWineD3DDevice* This,
|
---|
9483 | HRESULT (STDMETHODCALLTYPE * callback)(IWineD3DResource *resource,void *pData),
|
---|
9484 | void *data);
|
---|
9485 | void __RPC_STUB IWineD3DDevice_EnumResources_Stub(
|
---|
9486 | IRpcStubBuffer* This,
|
---|
9487 | IRpcChannelBuffer* pRpcChannelBuffer,
|
---|
9488 | PRPC_MESSAGE pRpcMessage,
|
---|
9489 | DWORD* pdwStubPhase);
|
---|
9490 |
|
---|
9491 | #endif /* __IWineD3DDevice_INTERFACE_DEFINED__ */
|
---|
9492 |
|
---|
9493 | IWineD3D * STDMETHODCALLTYPE WineDirect3DCreate(UINT dxVersion,IUnknown *parent);
|
---|
9494 |
|
---|
9495 | IWineD3DClipper * STDMETHODCALLTYPE WineDirect3DCreateClipper(IUnknown *parent);
|
---|
9496 |
|
---|
9497 | void STDMETHODCALLTYPE wined3d_mutex_lock(void);
|
---|
9498 |
|
---|
9499 | void STDMETHODCALLTYPE wined3d_mutex_unlock(void);
|
---|
9500 |
|
---|
9501 | /* Begin additional prototypes for all interfaces */
|
---|
9502 |
|
---|
9503 |
|
---|
9504 | /* End additional prototypes */
|
---|
9505 |
|
---|
9506 | #ifdef __cplusplus
|
---|
9507 | }
|
---|
9508 | #endif
|
---|
9509 |
|
---|
9510 | #endif /* __WIDL_WINED3D_H */
|
---|