fdc4af78fe8a283765b7d16a56445cdf67a02f44
[reactos.git] / reactos / subsys / win32k / ntddraw / stubs.c
1 /*
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Native DirectDraw stubs
6 * FILE: subsys/win32k/ntddraw/stubs.c
7 * PROGRAMER: Peter Bajusz (hyp-x@stormregion.com)
8 * REVISION HISTORY:
9 * 25-10-2003 PB Created
10 */
11 #include <ddk/ntddk.h>
12 #include <win32k/win32k.h>
13
14 #define NDEBUG
15 #include <debug.h>
16
17
18 BOOL APIENTRY NtGdiD3dContextCreate(
19 HANDLE hDirectDrawLocal,
20 HANDLE hSurfColor,
21 HANDLE hSurfZ,
22 D3DNTHAL_CONTEXTCREATEDATA *pdcci
23 )
24 {
25 UNIMPLEMENTED
26
27 return 0;
28 }
29
30 DWORD APIENTRY NtGdiD3dContextDestroy(
31 LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData
32 )
33 {
34 UNIMPLEMENTED
35
36 return 0;
37 }
38
39 DWORD APIENTRY NtGdiD3dContextDestroyAll(VOID)
40 {
41 UNIMPLEMENTED
42
43 return 0;
44 }
45
46 DWORD APIENTRY NtGdiD3dDrawPrimitives2(
47 HANDLE hCmdBuf,
48 HANDLE hVBuf,
49 LPD3DNTHAL_DRAWPRIMITIVES2DATA pded,
50 FLATPTR *pfpVidMemCmd,
51 DWORD *pdwSizeCmd,
52 FLATPTR *pfpVidMemVtx,
53 DWORD *pdwSizeVtx
54 )
55 {
56 UNIMPLEMENTED
57
58 return 0;
59 }
60
61 DWORD APIENTRY NtGdiD3dValidateTextureStageState(
62 LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA pData
63 )
64 {
65 UNIMPLEMENTED
66
67 return 0;
68 }
69
70 DWORD APIENTRY NtGdiDdAddAttachedSurface(
71 HANDLE hSurface,
72 HANDLE hSurfaceAttached,
73 PDD_ADDATTACHEDSURFACEDATA puAddAttachedSurfaceData
74 )
75 {
76 UNIMPLEMENTED
77
78 return 0;
79 }
80
81 DWORD APIENTRY NtGdiDdAlphaBlt(VOID)
82 {
83 UNIMPLEMENTED
84
85 return 0;
86 }
87
88 BOOL APIENTRY NtGdiDdAttachSurface(
89 HANDLE hSurfaceFrom,
90 HANDLE hSurfaceTo
91 )
92 {
93 UNIMPLEMENTED
94
95 return 0;
96 }
97
98 DWORD APIENTRY NtGdiDdBeginMoCompFrame(
99 HANDLE hMoComp,
100 PDD_BEGINMOCOMPFRAMEDATA puBeginFrameData
101 )
102 {
103 UNIMPLEMENTED
104
105 return 0;
106 }
107
108 DWORD APIENTRY NtGdiDdBlt(
109 HANDLE hSurfaceDest,
110 HANDLE hSurfaceSrc,
111 PDD_BLTDATA puBltData
112 )
113 {
114 UNIMPLEMENTED
115
116 return 0;
117 }
118
119 DWORD APIENTRY NtGdiDdCanCreateD3DBuffer(
120 HANDLE hDirectDraw,
121 PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
122 )
123 {
124 UNIMPLEMENTED
125
126 return 0;
127 }
128
129 DWORD APIENTRY NtGdiDdCanCreateSurface(
130 HANDLE hDirectDraw,
131 PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
132 )
133 {
134 UNIMPLEMENTED
135
136 return 0;
137 }
138
139 DWORD APIENTRY NtGdiDdColorControl(
140 HANDLE hSurface,
141 PDD_COLORCONTROLDATA puColorControlData
142 )
143 {
144 UNIMPLEMENTED
145
146 return 0;
147 }
148
149 DWORD APIENTRY NtGdiDdCreateD3DBuffer(
150 HANDLE hDirectDraw,
151 HANDLE *hSurface,
152 DDSURFACEDESC *puSurfaceDescription,
153 DD_SURFACE_GLOBAL *puSurfaceGlobalData,
154 DD_SURFACE_LOCAL *puSurfaceLocalData,
155 DD_SURFACE_MORE *puSurfaceMoreData,
156 DD_CREATESURFACEDATA *puCreateSurfaceData,
157 HANDLE *puhSurface
158 )
159 {
160 UNIMPLEMENTED
161
162 return 0;
163 }
164
165 HANDLE APIENTRY NtGdiDdCreateDirectDrawObject(
166 HDC hdc
167 )
168 {
169 UNIMPLEMENTED
170
171 return 0;
172 }
173
174 HANDLE APIENTRY NtGdiDdCreateMoComp(
175 HANDLE hDirectDraw,
176 PDD_CREATEMOCOMPDATA puCreateMoCompData
177 )
178 {
179 UNIMPLEMENTED
180
181 return 0;
182 }
183
184 DWORD APIENTRY NtGdiDdCreateSurface(
185 HANDLE hDirectDraw,
186 HANDLE *hSurface,
187 DDSURFACEDESC *puSurfaceDescription,
188 DD_SURFACE_GLOBAL *puSurfaceGlobalData,
189 DD_SURFACE_LOCAL *puSurfaceLocalData,
190 DD_SURFACE_MORE *puSurfaceMoreData,
191 DD_CREATESURFACEDATA *puCreateSurfaceData,
192 HANDLE *puhSurface
193 )
194 {
195 UNIMPLEMENTED
196
197 return 0;
198 }
199
200 DWORD APIENTRY NtGdiDdCreateSurfaceEx(
201 HANDLE hDirectDraw,
202 HANDLE hSurface,
203 DWORD dwSurfaceHandle
204 )
205 {
206 UNIMPLEMENTED
207
208 return 0;
209 }
210
211 HANDLE APIENTRY NtGdiDdCreateSurfaceObject(
212 HANDLE hDirectDrawLocal,
213 HANDLE hSurface,
214 PDD_SURFACE_LOCAL puSurfaceLocal,
215 PDD_SURFACE_MORE puSurfaceMore,
216 PDD_SURFACE_GLOBAL puSurfaceGlobal,
217 BOOL bComplete
218 )
219 {
220 UNIMPLEMENTED
221
222 return 0;
223 }
224
225 BOOL APIENTRY NtGdiDdDeleteDirectDrawObject(
226 HANDLE hDirectDrawLocal
227 )
228 {
229 UNIMPLEMENTED
230
231 return 0;
232 }
233
234 BOOL APIENTRY NtGdiDdDeleteSurfaceObject(
235 HANDLE hSurface
236 )
237 {
238 UNIMPLEMENTED
239
240 return 0;
241 }
242
243 DWORD APIENTRY NtGdiDdDestroyD3DBuffer(
244 HANDLE hSurface
245 )
246 {
247 UNIMPLEMENTED
248
249 return 0;
250 }
251
252 DWORD APIENTRY NtGdiDdDestroyMoComp(
253 HANDLE hMoComp,
254 PDD_DESTROYMOCOMPDATA puBeginFrameData
255 )
256 {
257 UNIMPLEMENTED
258
259 return 0;
260 }
261
262 DWORD APIENTRY NtGdiDdDestroySurface(
263 HANDLE hSurface,
264 BOOL bRealDestroy
265 )
266 {
267 UNIMPLEMENTED
268
269 return 0;
270 }
271
272 DWORD APIENTRY NtGdiDdEndMoCompFrame(
273 HANDLE hMoComp,
274 PDD_ENDMOCOMPFRAMEDATA puEndFrameData
275 )
276 {
277 UNIMPLEMENTED
278
279 return 0;
280 }
281
282 DWORD APIENTRY NtGdiDdFlip(
283 HANDLE hSurfaceCurrent,
284 HANDLE hSurfaceTarget,
285 HANDLE hSurfaceCurrentLeft,
286 HANDLE hSurfaceTargetLeft,
287 PDD_FLIPDATA puFlipData
288 )
289 {
290 UNIMPLEMENTED
291
292 return 0;
293 }
294
295 DWORD APIENTRY NtGdiDdFlipToGDISurface(
296 HANDLE hDirectDraw,
297 PDD_FLIPTOGDISURFACEDATA puFlipToGDISurfaceData
298 )
299 {
300 UNIMPLEMENTED
301
302 return 0;
303 }
304
305 DWORD APIENTRY NtGdiDdGetAvailDriverMemory(
306 HANDLE hDirectDraw,
307 PDD_GETAVAILDRIVERMEMORYDATA puGetAvailDriverMemoryData
308 )
309 {
310 UNIMPLEMENTED
311
312 return 0;
313 }
314
315 DWORD APIENTRY NtGdiDdGetBltStatus(
316 HANDLE hSurface,
317 PDD_GETBLTSTATUSDATA puGetBltStatusData
318 )
319 {
320 UNIMPLEMENTED
321
322 return 0;
323 }
324
325 HDC APIENTRY NtGdiDdGetDC(
326 HANDLE hSurface,
327 PALETTEENTRY *puColorTable
328 )
329 {
330 UNIMPLEMENTED
331
332 return 0;
333 }
334
335 DWORD APIENTRY NtGdiDdGetDriverInfo(
336 HANDLE hDirectDraw,
337 PDD_GETDRIVERINFODATA puGetDriverInfoData
338 )
339 {
340 UNIMPLEMENTED
341
342 return 0;
343 }
344
345 DWORD APIENTRY NtGdiDdGetDriverState(
346 PDD_GETDRIVERSTATEDATA pdata
347 )
348 {
349 UNIMPLEMENTED
350
351 return 0;
352 }
353
354 DWORD APIENTRY NtGdiDdGetDxHandle(
355 HANDLE hDirectDraw,
356 HANDLE hSurface,
357 BOOL bRelease
358 )
359 {
360 UNIMPLEMENTED
361
362 return 0;
363 }
364
365 DWORD APIENTRY NtGdiDdGetFlipStatus(
366 HANDLE hSurface,
367 PDD_GETFLIPSTATUSDATA puGetFlipStatusData
368 )
369 {
370 UNIMPLEMENTED
371
372 return 0;
373 }
374
375 DWORD APIENTRY NtGdiDdGetInternalMoCompInfo(
376 HANDLE hDirectDraw,
377 PDD_GETINTERNALMOCOMPDATA puGetInternalData
378 )
379 {
380 UNIMPLEMENTED
381
382 return 0;
383 }
384
385 DWORD APIENTRY NtGdiDdGetMoCompBuffInfo(
386 HANDLE hDirectDraw,
387 PDD_GETMOCOMPCOMPBUFFDATA puGetBuffData
388 )
389 {
390 UNIMPLEMENTED
391
392 return 0;
393 }
394
395 DWORD APIENTRY NtGdiDdGetMoCompFormats(
396 HANDLE hDirectDraw,
397 PDD_GETMOCOMPFORMATSDATA puGetMoCompFormatsData
398 )
399 {
400 UNIMPLEMENTED
401
402 return 0;
403 }
404
405 DWORD APIENTRY NtGdiDdGetMoCompGuids(
406 HANDLE hDirectDraw,
407 PDD_GETMOCOMPGUIDSDATA puGetMoCompGuidsData
408 )
409 {
410 UNIMPLEMENTED
411
412 return 0;
413 }
414
415 DWORD APIENTRY NtGdiDdGetScanLine(
416 HANDLE hDirectDraw,
417 PDD_GETSCANLINEDATA puGetScanLineData
418 )
419 {
420 UNIMPLEMENTED
421
422 return 0;
423 }
424
425 DWORD APIENTRY NtGdiDdLock(
426 HANDLE hSurface,
427 PDD_LOCKDATA puLockData,
428 HDC hdcClip
429 )
430 {
431 UNIMPLEMENTED
432
433 return 0;
434 }
435
436 DWORD APIENTRY NtGdiDdLockD3D(
437 HANDLE hSurface,
438 PDD_LOCKDATA puLockData
439 )
440 {
441 UNIMPLEMENTED
442
443 return 0;
444 }
445
446 BOOL APIENTRY NtGdiDdQueryDirectDrawObject(
447 HANDLE hDirectDrawLocal,
448 DD_HALINFO *pHalInfo,
449 DWORD *pCallBackFlags,
450 LPD3DNTHAL_CALLBACKS puD3dCallbacks,
451 LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData,
452 PDD_D3DBUFCALLBACKS puD3dBufferCallbacks,
453 LPDDSURFACEDESC puD3dTextureFormats,
454 DWORD *puNumHeaps,
455 VIDEOMEMORY *puvmList,
456 DWORD *puNumFourCC,
457 DWORD *puFourCC
458 )
459 {
460 UNIMPLEMENTED
461
462 return 0;
463 }
464
465 DWORD APIENTRY NtGdiDdQueryMoCompStatus(
466 HANDLE hMoComp,
467 PDD_QUERYMOCOMPSTATUSDATA puQueryMoCompStatusData
468 )
469 {
470 UNIMPLEMENTED
471
472 return 0;
473 }
474
475 BOOL APIENTRY NtGdiDdReenableDirectDrawObject(
476 HANDLE hDirectDrawLocal,
477 BOOL *pubNewMode
478 )
479 {
480 UNIMPLEMENTED
481
482 return 0;
483 }
484
485 BOOL APIENTRY NtGdiDdReleaseDC(
486 HANDLE hSurface
487 )
488 {
489 UNIMPLEMENTED
490
491 return 0;
492 }
493
494 DWORD APIENTRY NtGdiDdRenderMoComp(
495 HANDLE hMoComp,
496 PDD_RENDERMOCOMPDATA puRenderMoCompData
497 )
498 {
499 UNIMPLEMENTED
500
501 return 0;
502 }
503
504 BOOL APIENTRY NtGdiDdResetVisrgn(
505 HANDLE hSurface,
506 HWND hwnd
507 )
508 {
509 UNIMPLEMENTED
510
511 return 0;
512 }
513
514 DWORD APIENTRY NtGdiDdSetColorKey(
515 HANDLE hSurface,
516 PDD_SETCOLORKEYDATA puSetColorKeyData
517 )
518 {
519 UNIMPLEMENTED
520
521 return 0;
522 }
523
524 DWORD APIENTRY NtGdiDdSetExclusiveMode(
525 HANDLE hDirectDraw,
526 PDD_SETEXCLUSIVEMODEDATA puSetExclusiveModeData
527 )
528 {
529 UNIMPLEMENTED
530
531 return 0;
532 }
533
534 BOOL APIENTRY NtGdiDdSetGammaRamp(
535 HANDLE hDirectDraw,
536 HDC hdc,
537 LPVOID lpGammaRamp
538 )
539 {
540 UNIMPLEMENTED
541
542 return 0;
543 }
544
545 DWORD APIENTRY NtGdiDdSetOverlayPosition(
546 HANDLE hSurfaceSource,
547 HANDLE hSurfaceDestination,
548 PDD_SETOVERLAYPOSITIONDATA puSetOverlayPositionData
549 )
550 {
551 UNIMPLEMENTED
552
553 return 0;
554 }
555
556 VOID APIENTRY NtGdiDdUnattachSurface(
557 HANDLE hSurface,
558 HANDLE hSurfaceAttached
559 )
560 {
561 UNIMPLEMENTED
562 }
563
564 DWORD APIENTRY NtGdiDdUnlock(
565 HANDLE hSurface,
566 PDD_UNLOCKDATA puUnlockData
567 )
568 {
569 UNIMPLEMENTED
570
571 return 0;
572 }
573
574 DWORD APIENTRY NtGdiDdUnlockD3D(
575 HANDLE hSurface,
576 PDD_UNLOCKDATA puUnlockData
577 )
578 {
579 UNIMPLEMENTED
580
581 return 0;
582 }
583
584 DWORD APIENTRY NtGdiDdUpdateOverlay(
585 HANDLE hSurfaceDestination,
586 HANDLE hSurfaceSource,
587 PDD_UPDATEOVERLAYDATA puUpdateOverlayData
588 )
589 {
590 UNIMPLEMENTED
591
592 return 0;
593 }
594
595 DWORD APIENTRY NtGdiDdWaitForVerticalBlank(
596 HANDLE hDirectDraw,
597 PDD_WAITFORVERTICALBLANKDATA puWaitForVerticalBlankData
598 )
599 {
600 UNIMPLEMENTED
601
602 return 0;
603 }
604
605 /* EOF */