36{
37 int fails=0;
39
50
52 DWORD CallBackFlags[4];
58
59
67
68 printf(
"Start testing of NtGdiDdQueryDirectDrawObject\n");
69
70
71 printf(
"testing DdQueryDirectDrawObject( NULL, ....)\n");
72
74 pCallBackFlags, puD3dCallbacks,
75 puD3dDriverData, puD3dBufferCallbacks,
76 puD3dTextureFormats, puNumHeaps,
77 puvmList, puNumFourCC,
78 puFourCC);
79
82 testing_noteq(pCallBackFlags,
NULL,fails,
"3. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
83 testing_noteq(puD3dCallbacks,
NULL,fails,
"4. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
84 testing_noteq(puD3dDriverData,
NULL,fails,
"5. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
85 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"6. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
86 testing_noteq(puD3dTextureFormats,
NULL,fails,
"7. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
87 testing_noteq(puNumFourCC,
NULL,fails,
"8. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
88 testing_noteq(puFourCC,
NULL,fails,
"9. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
89
90
91 printf(
"testing DdQueryDirectDrawObject( hDD, NULL, ....)\n");
92
94 pCallBackFlags, puD3dCallbacks,
95 puD3dDriverData, puD3dBufferCallbacks,
96 puD3dTextureFormats, puNumHeaps,
97 puvmList, puNumFourCC,
98 puFourCC);
99
100 testing_noteq(retValue,
FALSE,fails,
"10. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
102 testing_noteq(pCallBackFlags,
NULL,fails,
"12. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
103 testing_noteq(puD3dCallbacks,
NULL,fails,
"13. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
104 testing_noteq(puD3dDriverData,
NULL,fails,
"14. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
105 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"15. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
106 testing_noteq(puD3dTextureFormats,
NULL,fails,
"16. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
107 testing_noteq(puNumFourCC,
NULL,fails,
"17. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
108 testing_noteq(puFourCC,
NULL,fails,
"18. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
109
110
111 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, NULL, ....)\n");
112
115 pCallBackFlags, puD3dCallbacks,
116 puD3dDriverData, puD3dBufferCallbacks,
117 puD3dTextureFormats, puNumHeaps,
118 puvmList, puNumFourCC,
119 puFourCC);
120
121 testing_noteq(retValue,
FALSE,fails,
"19. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
122 testing_eq(
pHalInfo,
NULL,fails,
"20. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
123 testing_noteq(pCallBackFlags,
NULL,fails,
"21. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
124 testing_noteq(puD3dCallbacks,
NULL,fails,
"22. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
125 testing_noteq(puD3dDriverData,
NULL,fails,
"23. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
126 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"24. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
127 testing_noteq(puD3dTextureFormats,
NULL,fails,
"25. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
128 testing_noteq(puNumFourCC,
NULL,fails,
"26. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
129 testing_noteq(puFourCC,
NULL,fails,
"27. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\0");
130
131
132
133
134
135
136
137
138
139
141 {
143 }
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, NULL, ....)\n");
159
161 pCallBackFlags = CallBackFlags;
162
164
166 pCallBackFlags, puD3dCallbacks,
167 puD3dDriverData, puD3dBufferCallbacks,
168 puD3dTextureFormats, puNumHeaps,
169 puvmList, puNumFourCC,
170 puFourCC);
171
172 testing_noteq(retValue,
FALSE,fails,
"29. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
173 testing_eq(
pHalInfo,
NULL,fails,
"30. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
174 testing_eq(pCallBackFlags,
NULL,fails,
"31. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
175 testing_noteq(puD3dCallbacks,
NULL,fails,
"32. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
176 testing_noteq(puD3dDriverData,
NULL,fails,
"33. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
177 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"34. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
178 testing_noteq(puD3dTextureFormats,
NULL,fails,
"35. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
179 testing_noteq(puNumFourCC,
NULL,fails,
"36. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
180 testing_noteq(puFourCC,
NULL,fails,
"37. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\0");
181
182
183
184
185
186
187
188
189
191 {
192 dump_halinfo(
pHalInfo,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...)");
193 dump_CallBackFlags(pCallBackFlags,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...)");
194 }
195
196
197 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ....)\n");
198
200 pCallBackFlags = CallBackFlags;
201 puD3dCallbacks = &D3dCallbacks;
202
205
207 pCallBackFlags, puD3dCallbacks,
208 puD3dDriverData, puD3dBufferCallbacks,
209 puD3dTextureFormats, puNumHeaps,
210 puvmList, puNumFourCC,
211 puFourCC);
212
213 testing_noteq(retValue,
FALSE,fails,
"39. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
214 testing_eq(
pHalInfo,
NULL,fails,
"40. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
215 testing_eq(pCallBackFlags,
NULL,fails,
"41. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
216
217
219
220 testing_noteq(puD3dDriverData,
NULL,fails,
"43. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
221 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"44. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
222 testing_noteq(puD3dTextureFormats,
NULL,fails,
"45. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
223 testing_noteq(puNumFourCC,
NULL,fails,
"46. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
224 testing_noteq(puFourCC,
NULL,fails,
"47. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
225
226
227
228
229
230
231
232
233
235 {
236 dump_halinfo(
pHalInfo,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...)");
237 dump_CallBackFlags(pCallBackFlags,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...)");
238 dump_D3dCallbacks(puD3dCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...)");
239 }
240
241
242 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ....)\n");
243
245 pCallBackFlags = CallBackFlags;
246 puD3dCallbacks = &D3dCallbacks;
247 puD3dDriverData = &D3dDriverData;
248
252
254 pCallBackFlags, puD3dCallbacks,
255 puD3dDriverData, puD3dBufferCallbacks,
256 puD3dTextureFormats, puNumHeaps,
257 puvmList, puNumFourCC,
258 puFourCC);
259
260 testing_noteq(retValue,
FALSE,fails,
"49. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
261 testing_eq(
pHalInfo,
NULL,fails,
"50. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
262 testing_eq(pCallBackFlags,
NULL,fails,
"51. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
263 testing_noteq(puD3dCallbacks->
dwSize,
sizeof(
D3DNTHAL_CALLBACKS),fails,
"52. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
264
266
267 testing_noteq(puD3dBufferCallbacks,
NULL,fails,
"54. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
268 testing_noteq(puD3dTextureFormats,
NULL,fails,
"55. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
269 testing_noteq(puNumFourCC,
NULL,fails,
"56. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
270 testing_noteq(puFourCC,
NULL,fails,
"57. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\0");
271
272
273
274
275
276
277
278
279
281 {
282 dump_halinfo(
pHalInfo,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...)");
283 dump_CallBackFlags(pCallBackFlags,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...)");
284 dump_D3dCallbacks(puD3dCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...)");
285 dump_D3dDriverData(puD3dDriverData,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...)");
286 }
287
288
289 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, NULL, ....)\n");
290
292 pCallBackFlags = CallBackFlags;
293 puD3dCallbacks = &D3dCallbacks;
294 puD3dDriverData = &D3dDriverData;
295 puD3dBufferCallbacks = &D3dBufferCallbacks;
296
301
303 pCallBackFlags, puD3dCallbacks,
304 puD3dDriverData, puD3dBufferCallbacks,
305 puD3dTextureFormats, puNumHeaps,
306 puvmList, puNumFourCC,
307 puFourCC);
308
309 testing_noteq(retValue,
FALSE,fails,
"59. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
310 testing_eq(
pHalInfo,
NULL,fails,
"60. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
311 testing_eq(pCallBackFlags,
NULL,fails,
"61. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
312 testing_noteq(puD3dCallbacks->
dwSize,
sizeof(
D3DNTHAL_CALLBACKS),fails,
"62. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
313
315
316 testing_noteq(puD3dTextureFormats,
NULL,fails,
"64. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
317 testing_noteq(puNumFourCC,
NULL,fails,
"65. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
318 testing_noteq(puFourCC,
NULL,fails,
"66. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\0");
319
320
321
322
323
324
325
326
327
328 if (puD3dBufferCallbacks)
329 {
330 testing_noteq(puD3dBufferCallbacks->
dwSize,
sizeof(
DD_D3DBUFCALLBACKS),fails,
"68. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL...);\0");
331 }
332
334 {
335 dump_halinfo(
pHalInfo,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...)");
336 dump_CallBackFlags(pCallBackFlags,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...)");
337 dump_D3dCallbacks(puD3dCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...)");
338 dump_D3dDriverData(puD3dDriverData,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...)");
339 dump_D3dBufferCallbacks(puD3dBufferCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...)");
340 }
341
342
343 printf(
"testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, puD3dTextureFormats, NULL, ....)\n");
344
346 pCallBackFlags = CallBackFlags;
347 puD3dCallbacks = &D3dCallbacks;
348 puD3dDriverData = &D3dDriverData;
349 puD3dBufferCallbacks = &D3dBufferCallbacks;
350
351 if (puD3dDriverData)
352 {
354 if (!puD3dTextureFormats)
355 printf(
"Waring Out of memory\n");
356
358 }
359
361 pCallBackFlags, puD3dCallbacks,
362 puD3dDriverData, puD3dBufferCallbacks,
363 puD3dTextureFormats, puNumHeaps,
364 puvmList, puNumFourCC,
365 puFourCC);
366
367
368
369
370
371 testing_noteq(retValue,
FALSE,fails,
"69. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
372 testing_eq(
pHalInfo,
NULL,fails,
"70. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
373 testing_eq(pCallBackFlags,
NULL,fails,
"71. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
374
375
376
377
378 testing_noteq(puD3dDriverData->
dwSize,
sizeof(
D3DNTHAL_GLOBALDRIVERDATA),fails,
"73. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
379
380 testing_noteq(puNumFourCC,
NULL,fails,
"74. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
381 testing_noteq(puFourCC,
NULL,fails,
"75. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
382
383
384
385
386
387
388
389
390
391
392 if (puD3dBufferCallbacks)
393 {
394
395 testing_noteq(puD3dBufferCallbacks->
dwSize,
sizeof(
DD_D3DBUFCALLBACKS),fails,
"76. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL...);\0");
396 }
397
398 if (puD3dTextureFormats)
399 {
400
401 }
402
404 {
405 dump_halinfo(
pHalInfo,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
406 dump_CallBackFlags(pCallBackFlags,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
407 dump_D3dCallbacks(puD3dCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
408 dump_D3dDriverData(puD3dDriverData,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
409 dump_D3dBufferCallbacks(puD3dBufferCallbacks,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
410 dump_D3dTextureFormats(puD3dTextureFormats, puD3dDriverData->
dwNumTextureFormats,
"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...)");
411 }
412
413
414
415
416
417 if (puD3dTextureFormats)
418 free (puD3dTextureFormats);
419 show_status(fails,
"NtGdiDdQueryDirectDrawObject\0");
420}
BOOL WINAPI OsThunkDdQueryDirectDrawObject(HANDLE hDirectDrawLocal, DD_HALINFO *pHalInfo, DWORD *pCallBackFlags, LPD3DNTHAL_CALLBACKS puD3dCallbacks, LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData, PDD_D3DBUFCALLBACKS puD3dBufferCallbacks, LPDDSURFACEDESC puD3dTextureFormats, DWORD *puNumHeaps, VIDEOMEMORY *puvmList, DWORD *puNumFourCC, DWORD *puFourCC)
void dump_D3dDriverData(D3DNTHAL_GLOBALDRIVERDATA *puD3dDriverData, char *text)
void dump_D3dBufferCallbacks(DD_D3DBUFCALLBACKS *puD3dBufferCallbacks, char *text)
void dump_halinfo(DD_HALINFO *pHalInfo, char *text)
void dump_D3dCallbacks(D3DNTHAL_CALLBACKS *puD3dCallbacks, char *text)
void dump_CallBackFlags(DWORD *pCallBackFlags, char *text)
void dump_D3dTextureFormats(DDSURFACEDESC *puD3dTextureFormats, int dwNum, char *text)