ReactOS 0.4.15-dev-5893-g1bb4167
NtGdiDdQueryDirectDrawObject.c File Reference
#include <stdio.h>
#include <windows.h>
#include <wingdi.h>
#include <winddi.h>
#include <d3dnthal.h>
#include <dll/directx/d3d8thk.h>
#include "test.h"
Include dependency graph for NtGdiDdQueryDirectDrawObject.c:

Go to the source code of this file.

Functions

void test_NtGdiDdQueryDirectDrawObject (HANDLE hDirectDrawLocal)
 

Variables

BOOL dumping_on
 
struct {
   DWORD   pos
 
} * mytest
 

Function Documentation

◆ test_NtGdiDdQueryDirectDrawObject()

void test_NtGdiDdQueryDirectDrawObject ( HANDLE  hDirectDrawLocal)

Definition at line 35 of file NtGdiDdQueryDirectDrawObject.c.

36{
37 int fails=0;
38 BOOL retValue=FALSE;
39
41 DWORD *pCallBackFlags = NULL;
42 LPD3DNTHAL_CALLBACKS puD3dCallbacks = NULL;
43 LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData = NULL;
44 PDD_D3DBUFCALLBACKS puD3dBufferCallbacks = NULL;
45 LPDDSURFACEDESC puD3dTextureFormats = NULL;
46 DWORD *puNumHeaps = NULL;
47 VIDEOMEMORY *puvmList = NULL;
48 DWORD *puNumFourCC = NULL;
49 DWORD *puFourCC = NULL;
50
51 DD_HALINFO HalInfo;
52 DWORD CallBackFlags[4];
53 D3DNTHAL_CALLBACKS D3dCallbacks;
54 D3DNTHAL_GLOBALDRIVERDATA D3dDriverData;
55 DD_D3DBUFCALLBACKS D3dBufferCallbacks;
56 DDSURFACEDESC2 D3dTextureFormats[100];
57 VIDEOMEMORY vmList;
58
59 /* clear data */
60 memset(&vmList,0,sizeof(VIDEOMEMORY));
61 memset(&D3dTextureFormats,0,sizeof(DDSURFACEDESC));
62 memset(&D3dBufferCallbacks,0,sizeof(DD_D3DBUFCALLBACKS));
63 memset(&D3dDriverData,0,sizeof(D3DNTHAL_GLOBALDRIVERDATA));
64 memset(&D3dCallbacks,0,sizeof(D3DNTHAL_CALLBACKS));
65 memset(&HalInfo,0,sizeof(DD_HALINFO));
66 memset(CallBackFlags,0,sizeof(DWORD)*3);
67
68 printf("Start testing of NtGdiDdQueryDirectDrawObject\n");
69
70 /* testing OsThunkDdQueryDirectDrawObject( NULL, .... */
71 printf("testing DdQueryDirectDrawObject( NULL, ....)\n");
72
74 pCallBackFlags, puD3dCallbacks,
75 puD3dDriverData, puD3dBufferCallbacks,
76 puD3dTextureFormats, puNumHeaps,
77 puvmList, puNumFourCC,
78 puFourCC);
79
80 testing_noteq(retValue,FALSE,fails,"1. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
81 testing_noteq(pHalInfo,NULL,fails,"2. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
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 /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, NULL, .... */
91 printf("testing DdQueryDirectDrawObject( hDD, NULL, ....)\n");
92
93 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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");
101 testing_noteq(pHalInfo,NULL,fails,"11. 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 /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo, NULL, .... */
111 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, NULL, ....)\n");
112
113 pHalInfo = &HalInfo;
114 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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 if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
133 (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
134 {
135 printf("28. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...);\n");
136 fails++;
137 }
138 */
139
140 if (dumping_on == TRUE)
141 {
142 dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, NULL, ...)");
143 }
144
145
146
147
148
149
150
151
152
153
154
155
156
157 /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, .... */
158 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, NULL, ....)\n");
159
160 pHalInfo = &HalInfo;
161 pCallBackFlags = CallBackFlags;
162
164
165 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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 if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
183 (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
184 {
185 printf("38. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...);\n");
186 fails++;
187 }
188 */
189
190 if (dumping_on == TRUE)
191 {
192 dump_halinfo(pHalInfo,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...)");
193 dump_CallBackFlags(pCallBackFlags,"NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, NULL, ...)");
194 }
195
196 /* testing OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo, pCallBackFlags, D3dCallbacks, .... */
197 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ....)\n");
198
199 pHalInfo = &HalInfo;
200 pCallBackFlags = CallBackFlags;
201 puD3dCallbacks = &D3dCallbacks;
202
204 RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
205
206 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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
218 testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"42. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
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 if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
227 (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
228 {
229 printf("48. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\n");
230 fails++;
231 }
232 */
233
234 if (dumping_on == TRUE)
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 /* testing OsThunkDdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, */
242 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ....)\n");
243
244 pHalInfo = &HalInfo;
245 pCallBackFlags = CallBackFlags;
246 puD3dCallbacks = &D3dCallbacks;
247 puD3dDriverData = &D3dDriverData;
248
250 RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
251 RtlZeroMemory(puD3dCallbacks,sizeof(D3DNTHAL_CALLBACKS));
252
253 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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
265 testing_noteq(puD3dDriverData->dwSize,sizeof(D3DNTHAL_GLOBALDRIVERDATA),fails,"53. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, NULL, ...);\0");
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 if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
273 (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
274 {
275 printf("58. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, NULL, ...);\n");
276 fails++;
277 }
278 */
279
280 if (dumping_on == TRUE)
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/* testing OsThunkDdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, NULL, */
289 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, NULL, ....)\n");
290
291 pHalInfo = &HalInfo;
292 pCallBackFlags = CallBackFlags;
293 puD3dCallbacks = &D3dCallbacks;
294 puD3dDriverData = &D3dDriverData;
295 puD3dBufferCallbacks = &D3dBufferCallbacks;
296
298 RtlZeroMemory(pCallBackFlags,sizeof(DWORD)*3);
299 RtlZeroMemory(puD3dCallbacks,sizeof(D3DNTHAL_CALLBACKS));
300 RtlZeroMemory(puD3dDriverData,sizeof(D3DNTHAL_CALLBACKS));
301
302 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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
314 testing_noteq(puD3dDriverData->dwSize,sizeof(D3DNTHAL_GLOBALDRIVERDATA),fails,"63. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dBufferCallbacks, NULL, ...);\0");
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 if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
321 (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
322 {
323 printf("67. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, NULL, ...);\n");
324 fails++;
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
333 if (dumping_on == TRUE)
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/* testing OsThunkDdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, puD3dTextureFormats, NULL, */
343 printf("testing DdQueryDirectDrawObject( hDD, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, D3dBufferCallbacks, puD3dTextureFormats, NULL, ....)\n");
344
345 pHalInfo = &HalInfo;
346 pCallBackFlags = CallBackFlags;
347 puD3dCallbacks = &D3dCallbacks;
348 puD3dDriverData = &D3dDriverData;
349 puD3dBufferCallbacks = &D3dBufferCallbacks;
350
351 if (puD3dDriverData)
352 {
353 puD3dTextureFormats = malloc (puD3dDriverData->dwNumTextureFormats * sizeof(DDSURFACEDESC2));
354 if (!puD3dTextureFormats)
355 printf("Waring Out of memory\n");
356
357 RtlZeroMemory(puD3dTextureFormats, puD3dDriverData->dwNumTextureFormats * sizeof(DDSURFACEDESC2));
358 }
359
360 retValue = OsThunkDdQueryDirectDrawObject( hDirectDrawLocal, pHalInfo,
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 /* does not work nice in xp */
376 // testing_noteq(puD3dCallbacks->dwSize,sizeof(D3DNTHAL_CALLBACKS),fails,"72. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\0");
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// if ((pHalInfo->dwSize != sizeof(DD_HALINFO)) &&
385// (pHalInfo->dwSize != sizeof(DD_HALINFO_V4)))
386// {
387// printf("8. if this show for NT 2000/XP/2003 ignore it, NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, pHalInfo, pCallBackFlags, puD3dCallbacks, puD3dDriverData, puD3dBufferCallbacks, puD3dTextureFormats, NULL, ...);\n");
388// fails++;
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 /* fixme test case for it */
401 }
402
403 if (dumping_on == TRUE)
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)
#define free
Definition: debug_ros.c:5
#define malloc
Definition: debug_ros.c:4
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
BOOL dumping_on
Definition: main.c:15
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define printf
Definition: freeldr.h:94
void dump_D3dDriverData(D3DNTHAL_GLOBALDRIVERDATA *puD3dDriverData, char *text)
Definition: dump.c:601
void dump_D3dBufferCallbacks(DD_D3DBUFCALLBACKS *puD3dBufferCallbacks, char *text)
Definition: dump.c:1126
void dump_halinfo(DD_HALINFO *pHalInfo, char *text)
Definition: dump.c:92
void dump_D3dCallbacks(D3DNTHAL_CALLBACKS *puD3dCallbacks, char *text)
Definition: dump.c:552
void dump_CallBackFlags(DWORD *pCallBackFlags, char *text)
Definition: dump.c:41
void dump_D3dTextureFormats(DDSURFACEDESC *puD3dTextureFormats, int dwNum, char *text)
Definition: dump.c:1164
#define testing_eq(input, value, counter, text)
Definition: test.h:24
#define show_status(counter, text)
Definition: test.h:40
#define testing_noteq(input, value, counter, text)
Definition: test.h:32
#define memset(x, y, z)
Definition: compat.h:39
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
_Out_ DD_HALINFO * pHalInfo
Definition: winddi.h:4226

Referenced by main().

Variable Documentation

◆ dumping_on

BOOL dumping_on
extern

Definition at line 15 of file main.c.

Referenced by main(), and test_NtGdiDdQueryDirectDrawObject().

◆ 

◆ pos

DWORD pos

Definition at line 15 of file NtGdiDdQueryDirectDrawObject.c.

Referenced by __attribute__(), _check_cur_pos(), _chsize_s(), _dosmaperr(), _ftelli64(), _i64toa(), _i64toa_s(), _i64tow(), _i64tow_s(), _ltoa(), _ltoa_s(), _ltow(), _ltow_s(), _mbsnbcpy_s(), _tiffisSizeProc(), _tiffosSizeProc(), _tiffosWriteProc(), _ui64toa(), _ui64toa_s(), _ui64tow(), _ui64tow_s(), _ultoa(), _ultow(), _wgetenv(), ACMStream_fnFindSample(), ACMStream_fnReadFormat(), ACMStream_fnSetFormat(), add_dib_bits(), add_entry_to_lb(), add_option(), add_undo_delete_run(), add_undo_insert_run(), add_undo_join_paras(), add_undo_set_char_fmt(), add_with_alpha(), AddItem(), AddMRUData(), AdjustFrameSize(), CTrayWindow::AdjustSizerRect(), aexpand(), af_latin_hint_edges(), alloc_match_state(), AllocateRegistryPathInfo(), assemble_shader(), AsyncReader_GetPin(), AtapiStartIo__(), AudioRecord_GetPin(), AVICompressor_GetPin(), AVIFILE_FindStreamInTable(), AVIFILE_LoadIndex(), AVIFILE_ParseIndex(), AVIFILE_ReadBlock(), AVIFILE_ReadFrame(), AVIFILE_SamplesToBlock(), AVIFILE_SaveIndex(), AviMux_GetPin(), AVISplitter_InputPin_PreConnect(), AVIStreamFindSample(), AVIStreamGetFrame(), AVIStreamReadFormat(), AVIStreamSetFormat(), BaseRenderer_GetPin(), bc_seekback(), binary_search(), BitmapDecoderInfo_MatchesPattern(), blend_colors(), blend_colors_premult(), BmpFrameEncode_Commit(), BrsFolder_OnWindowPosChanging(), brush_fill_pixels(), CalculateStartPos(), canonicalize_hierpart(), canonicalize_scheme(), cff_index_access_element(), check_backup_boot(), check_bitmap_format(), check_tiff_format(), CheckMenuRadioItem(), chmc_entries_free(), chmc_entries_qsort(), chmc_pmgi_done(), chmc_pmgi_free(), chmc_pmgl_free(), chmc_reset_table_done(), chmc_section_destroy(), chmc_section_lookup(), chmc_sections_done(), chmc_sections_free(), chmc_tree_done(), chmc_uncompressed_done(), chmc_write(), Clear(), ClickLockProc(), comment_state(), compile_shader(), component_GetDependency(), config_load(), config_parse_pair(), StringTest::copy(), countDiffRLE4(), countDiffRLE8(), create_connection_settings(), create_decoder(), create_enum_variant_mc2(), create_key(), create_match2(), create_sub_body(), create_sub_matches(), create_test_stream(), create_window_tree(), CreateSpider(), StartMenu::CreateSubmenu(), CRYPT_AsnEncodeOid(), customWordBreakProc(), d3dx9_sprite_Flush(), data_start_state(), data_type_state(), DATETIME_LButtonDown(), debug_print_writemask(), debug_writemask(), decode_base64(), decode_mcu_AC_refine(), decode_pathname4(), decode_qp(), default_value_name_state(), delete_key_state(), delete_value_state(), MoveConstructorTest::deque_test(), DIALOG_CreateIndirect(), DIB_16BPP_ColorFill(), disk_enum_devices(), Dispatch_Invoke(), DispGetParam(), DispGetParam_CopyOnly(), DisplayScreen(), Entry::do_context_menu(), do_insert_range(), BtrfsRecv::do_recv(), do_searchW(), DoParseFile(), dpi_winproc(), DSOUND_bufpos_to_mixpos(), DSOUND_bufpos_to_secpos(), dump_memory64_info(), dump_memory_info(), dumphex(), dword_data_state(), EDIT_MoveDown_ML(), EDIT_MovePageDown_ML(), EDIT_MovePageUp_ML(), EDIT_MoveUp_ML(), EDIT_PaintLine(), EDIT_SetCaretPos(), EDIT_WindowProc(), EDIT_WM_HScroll(), EDIT_WM_VScroll(), enum_fmtetc_construct(), eol_backslash_state(), escape_string(), CShellCommandHelp::Execute(), export_hex_data(), feed_set_pos(), fgetpos(), fi_add(), file_basename(), fill_texture(), FillBuffer(), find_entry(), find_entry_by_id(), find_entry_by_name(), find_entry_language(), find_first_entry(), find_first_id_entry(), find_html_symbol(), find_prop_name(), FlatSB_SetScrollPos(), flush_extents(), flush_refs(), format_filelist_filename(), found_path(), FreeLdrPageWndProc(), fs_flush(), fs_read(), fs_test(), fs_write(), fsetpos(), FT_Read_Stream_At(), FT_Seek_Stream(), FT_Stream_ReadAt(), FT_Stream_Seek(), ftruncate_growable(), MainFrameBase::fullscreen_move(), GdipGetPathGradientPresetBlend(), GdipReleaseDC(), GdipSetPathGradientBlend(), GdipSetPathGradientPresetBlend(), get_current_dataobject(), get_data_from_stream(), get_doc_elem_by_id(), get_domattr(), get_file_nameA(), get_ligature(), get_ligature_len(), get_name(), get_node_position(), get_temp_buffer(), get_textfont_prop_for_pos(), ATL::CAtlList< E, ETraits >::GetAt(), GetCharacterPlacementW(), GetChmString(), getenv(), ATL::CAtlList< E, ETraits >::GetNext(), getpin_callback(), ATL::CAtlList< E, ETraits >::GetPrev(), gl_kill(), gl_killword(), gl_word(), gtStripContig(), gtStripSeparate(), gtTileContig(), gtTileSeparate(), handle_read(), handle_write(), HashFirstEntry(), HashInsert(), HashLookup(), HashRemove(), hex_data_state(), hex_multiline_state(), HLPFILE_BrowseParagraph(), Host_get_Path(), HTMLAttributeCollection_get_dispid(), HTMLAttributeCollection_invoke(), HTMLStyle_get_backgroundPositionX(), HTMLStyle_get_backgroundPositionY(), HTMLStyle_put_backgroundPositionX(), HTMLStyle_put_backgroundPositionY(), HUF_setMaxHeight(), HUF_sort(), IAVIStream_fnFindSample(), IAVIStream_fnReadFormat(), IAVIStream_fnSetFormat(), ICMStream_fnFindSample(), ICMStream_fnReadFormat(), ICMStream_fnSetFormat(), NotifyArea::IconHitTest(), ID3DXFontImpl_DrawTextW(), IDirectSoundBufferImpl_GetCurrentPosition(), IDirectSoundCaptureBufferImpl_GetCurrentPosition(), IdnToUnicode(), IEditAVIStream_fnFindSample(), IEditAVIStream_fnReadFormat(), IEditAVIStream_fnSetFormat(), import_registry_file(), InfpParseBuffer(), StringTest::insert(), ATL::CAtlList< E, ETraits >::InsertAfter(), ATL::CAtlList< E, ETraits >::InsertBefore(), IntMenuItemFromPoint(), invert_matrix_3d(), is_comctl32_class(), is_float(), is_guid(), is_integer(), is_name(), is_string(), JOY_Timer(), key_name_state(), layout_row(), ldap_parse_vlv_controlW(), leading_spaces_state(), line_start_state(), list_to_string(), LISTBOX_Directory(), LISTBOX_GetItemFromPoint(), LISTBOX_HandleHScroll(), LISTBOX_HandleVScroll(), LISTBOX_SetHorizontalPos(), LISTVIEW_Arrange(), LISTVIEW_CreateDragImage(), LISTVIEW_DrawItem(), LISTVIEW_DrawItemPart(), load_IFD_entry(), load_stream(), load_ttf_name_id(), LoadBootIni(), LoadIfdMetadata(), LoadIniFile(), LogfAllocAndBuildNewRecord(), LPK_DrawUnderscore(), LpkGetCharacterPlacement(), lzx_output_match(), main(), MainWndProc(), make_decode_table(), make_file_orphan(), marshal_WdtpInterfacePointer(), marshall_unicode_as_utf8(), match_broken_nv_clip(), MCIWndProc(), MD_OnHScroll(), MD_OnHScrollClipboard(), MD_OnVScroll(), MD_OnVScrollClipboard(), MDICascade(), ME_GetRunSizeCommon(), ME_HandleMessage(), ME_InsertTextFromCursor(), ME_StreamOutRTFText(), MediaPosition_get_CurrentPosition(), MediaPosition_get_StopTime(), MediaPositionPassThru_CanSeekBackward(), MediaPositionPassThru_CanSeekForward(), MediaPositionPassThru_get_CurrentPosition(), MediaPositionPassThru_get_Duration(), MediaPositionPassThru_get_PrerollTime(), MediaPositionPassThru_get_Rate(), MediaPositionPassThru_get_StopTime(), MediaPositionPassThru_put_CurrentPosition(), MediaPositionPassThru_put_PrerollTime(), MediaPositionPassThru_put_Rate(), MediaPositionPassThru_put_StopTime(), MediaStreamFilterImpl_GetPin(), MENU_FindItemByCoords(), MENU_FindSubMenu(), MENU_InsertItem(), MENU_SelectItem(), MENU_TrackMenu(), MetadataReaderInfo_MatchesPattern(), TCharmap::modmap(), MoveItem(), MPEGSplitter_pre_connect(), mpg123_feedseek(), mpg123_seek(), mpg123_seek_frame(), mpg123_tell(), msi_combobox_add_item(), msi_dialog_adjust_dialog_pos(), msi_dialog_oncreate(), msi_dump_stream_to_file(), msi_get_stream(), msi_listbox_add_item(), MSRLE32_CompressRLE4(), MSRLE32_CompressRLE4Line(), MSRLE32_CompressRLE8(), MSRLE32_CompressRLE8Line(), MySetFilePointerEx(), mystrrchr(), new_index_name(), next_delimiter(), next_non_delimiter(), CZipEnumerator::next_unique(), one_i64tow_test(), one_itow_test(), one_ltow_test(), one_RtlInt64ToUnicodeString_test(), one_RtlIntegerToUnicodeString_test(), one_ui64tow_test(), one_ultow_test(), oob_client(), oob_server(), test_insert_one< C >::operator()(), test_insert_n< C >::operator()(), TokenList::operator[](), opt_sample_rgb_2d(), opt_sample_rgba_2d(), out_seek(), OutputWorker::output_number(), parallel_enum_devices(), parse_buffer(), parse_new_id3(), parse_script_with_error(), parse_script_with_error_a(), parse_typelib_version(), parse_version(), Parser_GetPin(), patch_offset_get_filepatches(), patch_offset_get_files(), patch_offset_list_create(), patch_offset_list_free(), patch_offset_modify_db(), patch_set_offsets(), patch_update_file_sequence(), patch_update_filepatch_sequence(), PATH_PathToRegion(), permute_args(), pfr_glyph_load_simple(), position_d3dcolor(), position_float4(), DesktopShellView::PositionIcons(), prev_delimiter(), prev_non_delimiter(), PRINTDLG_SetUpPaperComboBoxA(), PRINTDLG_SetUpPaperComboBoxW(), printer_enum_devices(), CMenuToolbarBase::ProcessContextMenu(), ProcessKeys(), PROGRESS_SetPos(), ps_dimension_add_t1stem(), ps_mask_table_merge(), psh_hint_align(), psh_hint_snap_stem_side_delta(), push_language(), push_token(), quoted_value_name_state(), quotes_state(), Bookmark::read(), BookmarkList::read(), BookmarkFolder::read(), Favorites::read(), read_data(), read_line(), read_utf8(), CConsole::ReadLine(), BtrfsRecv::recv_thread(), reg_import(), RegExp2_Execute(), REGPROC_escape_string(), release_marshal_data(), ReLoadDisplayPage(), ATL::CAtlList< E, ETraits >::RemoveAt(), ReplaceSubstr(), RevealMatrixMessage(), RtlIntegerToChar(), safe_read(), safe_write(), SampleGrabber_GetPin(), SCROLL_DrawMovingThumb(), SCROLL_GetThumbVal(), SCROLL_HandleScrollEvent(), scrub_extent_raid0(), scrub_extent_raid10(), section_name_state(), FstreamTest::seek(), stdio_streambuf_base::seekoff(), strstreambuf::seekpos(), stdio_streambuf_base::seekpos(), select_server(), send_chmod_command(), send_chown_command(), send_command_finish(), send_inode(), send_inode_extref(), send_inode_ref(), send_rmdir_command(), send_subvol_header(), send_truncate_command(), send_unlink_command(), send_utimes_command(), send_utimes_command_dir(), send_xattr(), serial_enum_devices(), set_builder_component(), set_head_text(), audio_producer::set_position(), set_print_template(), set_value_state(), SetConvertStg(), SHAddToRecentDocs(), shader_arb_compile(), simple_client(), simple_mixed_client(), simple_server(), SmartTeeFilter_GetPin(), START_TEST(), Storage_CreateStream(), Storage_OpenStream(), stream_info(), stream_lseek(), STREAMS_fetch_stream(), strftime_date(), strftime_int(), strftime_str(), strftime_time(), String_charAt(), string_data_state(), String_indexOf(), String_lastIndexOf(), TAB_RecalcHotTrack(), test__creat(), test_block_align(), test_capture(), test_chsize(), test_clock(), test_closefigure(), test_CreateBody(), test_createconfigstream(), test_CreateUpDownControl(), test_defwinproc(), test_filbuf(), test_fileops(), test_font_transform(), test_getblend(), test_GetMessagePos(), test_hittest(), test_IActiveScriptError(), test_ID3DXSprite(), test_insert_n< C >::test_insert_n(), test_insert_one< C >::test_insert_one(), test_insert_range< C, Iter >::test_insert_range(), test_IStream_Clone(), test_IWinHttpRequest(), test_layered_window(), test_map_points(), test_media_seeking(), test_messages(), test_metadata_GCE(), test_metadata_IMD(), test_metadata_LSD(), test_mmio_buffer_pointer(), test_mmioSeek(), test_mxwriter_flush(), test_mxwriter_stream(), test_OleDoAutoConvert(), test_overwrite(), test_PBM_STEPIT(), test_PeekMessage2(), test_polydraw(), test_QueryCapability(), test_reader_pos(), test_resize(), test_RtlDuplicateUnicodeString(), test_RtlFindCharInUnicodeString(), test_RtlIsDosDeviceName_U(), test_RtlUnicodeStringToAnsiString(), RopeTest::test_saved_rope_iterators(), test_simple(), test_storage_refcount(), test_storage_stream(), test_StrChrA(), test_stream_seek(), test_StreamOnIStream(), test_StrRChrW(), test_texture_shader(), test_track(), test_transacted_shared(), test_UrlCanonicalizeW(), test_word_wrap(), test_worst_case(), test_write_flush_size(), TextPara_DeleteTab(), textstream_get_AtEndOfStream(), throw_error(), time_from_pos(), TOOLBAR_ReplaceBitmap(), TRACKBAR_ConvertPlaceToPosition(), TRACKBAR_GetTicPos(), TRACKBAR_KeyDown(), trailing_spaces_state(), TransformFilter_GetPin(), TREEVIEW_EnsureVisible(), trust_status_to_str(), try_clone_edr(), tt_face_load_loca(), tt_get_metrics(), unknown_data_state(), unzSetOffset(), unzSetOffset64(), update_navigation_commands(), UpdateFromEvent(), FxTagTracker::UpdateTagHistory(), UPDOWN_SetPos(), UpDownWindowProc(), value_name_state(), vector_at(), MoveConstructorTest::vector_test(), VerQueryValueA(), VerQueryValueW(), VfwCapture_GetPin(), WAVEParser_InputPin_PreConnect(), WCacheGetSortedListIndex(), wexpand(), win32_seek64_file_func(), win32_seek_file_func(), win32_tell64_file_func(), win32_tell_file_func(), wine_compose(), wine_glVertex3fv(), wine_glVertex4fv(), WINHELP_FindLink(), wmain(), StartMenu::WndProc(), Favorites::write(), Bookmark::write(), BookmarkList::write(), BookmarkFolder::write(), Write_EndOfCentralDirectoryRecord(), write_proc_func_header(), write_stream(), write_stream_data(), Write_Zip64EndOfCentralDirectoryLocator(), Write_Zip64EndOfCentralDirectoryRecord(), x86_64_find_runtime_function(), XCOPY_DoCopy(), XCOPY_ParseCommandLine(), xdrmem_setpos(), xdrrec_getpos(), xdrrec_setpos(), xdrstdio_setpos(), xmlBuildRelativeURI(), xmlParserAddNodeInfo(), xmlParserFindNodeInfo(), xmlUTF8Strpos(), xsltTestPredicateMatch(), zipClose(), ZSTD_compressBlock_opt_generic(), ZSTD_getFrameHeader_advanced(), ZSTD_rollingHash_append(), and ZSTD_writeFrameHeader().