xref: /reactos/win32ss/gdi/eng/umpdstubs.c (revision 40462c92)
1 #include <win32k.h>
2 #undef XFORMOBJ
3 
4 #define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
5 
6 __kernel_entry
7 BOOL
8 APIENTRY
9 NtGdiUMPDEngFreeUserMem(
10     _In_ KERNEL_PVOID *ppv)
11 {
12     UNIMPLEMENTED;
13     return FALSE;
14 }
15 
16 __kernel_entry
17 BOOL
18 APIENTRY
19 NtGdiSetPUMPDOBJ(
20     _In_opt_ HUMPD humpd,
21     _In_ BOOL bStoreID,
22     _Inout_opt_ HUMPD *phumpd,
23     _Out_opt_ BOOL *pbWOW64)
24 {
25     UNIMPLEMENTED;
26     return FALSE;
27 }
28 
29 __kernel_entry
30 HANDLE
31 APIENTRY
32 NtGdiBRUSHOBJ_hGetColorTransform(
33     _In_ BRUSHOBJ *pbo)
34 {
35     UNIMPLEMENTED;
36     return NULL;
37 }
38 
39 __kernel_entry
40 PVOID
41 APIENTRY
42 NtGdiBRUSHOBJ_pvAllocRbrush(
43     _In_ BRUSHOBJ *pbo,
44     _In_ ULONG cj)
45 {
46     UNIMPLEMENTED;
47     return NULL;
48 }
49 
50 __kernel_entry
51 PVOID
52 APIENTRY
53 NtGdiBRUSHOBJ_pvGetRbrush(
54     _In_ BRUSHOBJ *pbo)
55 {
56     UNIMPLEMENTED;
57     return NULL;
58 }
59 
60 __kernel_entry
61 ULONG
62 APIENTRY
63 NtGdiBRUSHOBJ_ulGetBrushColor(
64     _In_ BRUSHOBJ *pbo)
65 {
66     UNIMPLEMENTED;
67     return 0;
68 }
69 
70 __kernel_entry
71 BOOL
72 APIENTRY
73 NtGdiBRUSHOBJ_DeleteRbrush(
74     _In_opt_ BRUSHOBJ *pbo,
75     _In_opt_ BRUSHOBJ *pboB)
76 {
77     UNIMPLEMENTED;
78     return 0;
79 }
80 
81 __kernel_entry
82 BOOL
83 APIENTRY
84 NtGdiCLIPOBJ_bEnum(
85     _In_ CLIPOBJ *pco,
86     _In_ ULONG cj,
87     _Out_writes_bytes_(cj) ULONG *pul)
88 {
89     UNIMPLEMENTED;
90     return FALSE;
91 }
92 
93 __kernel_entry
94 ULONG
95 APIENTRY
96 NtGdiCLIPOBJ_cEnumStart(
97     _In_ CLIPOBJ *pco,
98     _In_ BOOL bAll,
99     _In_ ULONG iType,
100     _In_ ULONG iDirection,
101     _In_ ULONG cLimit)
102 {
103     UNIMPLEMENTED;
104     return 0;
105 }
106 
107 __kernel_entry
108 PATHOBJ*
109 APIENTRY
110 NtGdiCLIPOBJ_ppoGetPath(
111     _In_ CLIPOBJ *pco)
112 {
113     UNIMPLEMENTED;
114     return NULL;
115 }
116 
117 __kernel_entry
118 BOOL
119 APIENTRY
120 NtGdiEngAssociateSurface(
121     _In_ HSURF hsurf,
122     _In_ HDEV hdev,
123     _In_ FLONG flHooks)
124 {
125     UNIMPLEMENTED;
126     return FALSE;
127 }
128 
129 __kernel_entry
130 BOOL
131 APIENTRY
132 NtGdiEngCheckAbort(
133     _In_ SURFOBJ *pso)
134 {
135     UNIMPLEMENTED;
136     return FALSE;
137 }
138 
139 __kernel_entry
140 FD_GLYPHSET*
141 APIENTRY
142 NtGdiEngComputeGlyphSet(
143     _In_ INT nCodePage,
144     _In_ INT nFirstChar,
145     _In_ INT cChars)
146 {
147     UNIMPLEMENTED;
148     return NULL;
149 }
150 
151 __kernel_entry
152 BOOL
153 APIENTRY
154 NtGdiEngCopyBits(
155     _In_ SURFOBJ *psoDst,
156     _In_ SURFOBJ *psoSrc,
157     _In_opt_ CLIPOBJ *pco,
158     _In_opt_ XLATEOBJ *pxlo,
159     _In_ RECTL *prclDst,
160     _In_ POINTL *pptlSrc)
161 {
162     UNIMPLEMENTED;
163     return FALSE;
164 }
165 
166 __kernel_entry
167 HBITMAP
168 APIENTRY
169 NtGdiEngCreateBitmap(
170     _In_ SIZEL sizl,
171     _In_ LONG lWidth,
172     _In_ ULONG iFormat,
173     _In_ FLONG fl,
174     _In_opt_ PVOID pvBits)
175 {
176     UNIMPLEMENTED;
177     return NULL;
178 }
179 
180 __kernel_entry
181 CLIPOBJ*
182 APIENTRY
183 NtGdiEngCreateClip(
184     VOID)
185 {
186     UNIMPLEMENTED;
187     return NULL;
188 }
189 
190 __kernel_entry
191 HBITMAP
192 APIENTRY
193 NtGdiEngCreateDeviceBitmap(
194     _In_ DHSURF dhsurf,
195     _In_ SIZEL sizl,
196     _In_ ULONG iFormatCompat)
197 {
198     UNIMPLEMENTED;
199     return NULL;
200 }
201 
202 __kernel_entry
203 HSURF
204 APIENTRY
205 NtGdiEngCreateDeviceSurface(
206     _In_ DHSURF dhsurf,
207     _In_ SIZEL sizl,
208     _In_ ULONG iFormatCompat)
209 {
210     UNIMPLEMENTED;
211     return NULL;
212 }
213 
214 __kernel_entry
215 NTSTATUS
216 APIENTRY
217 NtGdiEngDeleteClip(
218     _In_ CLIPOBJ*pco)
219 {
220     UNIMPLEMENTED;
221     return STATUS_NOT_IMPLEMENTED;
222 }
223 
224 __kernel_entry
225 NTSTATUS
226 APIENTRY
227 NtGdiEngDeletePath(
228     _In_ PATHOBJ *ppo)
229 {
230     UNIMPLEMENTED;
231     return STATUS_NOT_IMPLEMENTED;
232 }
233 
234 __kernel_entry
235 BOOL
236 APIENTRY
237 NtGdiEngDeleteSurface(
238     _In_ HSURF hsurf)
239 {
240     UNIMPLEMENTED;
241     return FALSE;
242 }
243 
244 __kernel_entry
245 BOOL
246 APIENTRY
247 NtGdiEngEraseSurface(
248     _In_ SURFOBJ *pso,
249     _In_ RECTL *prcl,
250     _In_ ULONG iColor)
251 {
252     UNIMPLEMENTED;
253     return FALSE;
254 }
255 
256 __kernel_entry
257 BOOL
258 APIENTRY
259 NtGdiEngFillPath(
260     _In_ SURFOBJ *pso,
261     _In_ PATHOBJ *ppo,
262     _In_ CLIPOBJ *pco,
263     _In_ BRUSHOBJ *pbo,
264     _In_ POINTL *pptlBrushOrg,
265     _In_ MIX mix,
266     _In_ FLONG flOptions)
267 {
268     UNIMPLEMENTED;
269     return FALSE;
270 }
271 
272 __kernel_entry
273 BOOL
274 APIENTRY
275 NtGdiEngGradientFill(
276     _In_ SURFOBJ *psoDest,
277     _In_ CLIPOBJ *pco,
278     _In_ XLATEOBJ *pxlo,
279     _In_reads_(nVertex) TRIVERTEX *pVertex,
280     _In_ ULONG nVertex,
281     _In_ /* _In_reads_(nMesh) */ PVOID pMesh,
282     _In_ ULONG nMesh,
283     _In_ RECTL *prclExtents,
284     _In_ POINTL *pptlDitherOrg,
285     _In_ ULONG ulMode)
286 {
287     UNIMPLEMENTED;
288     return FALSE;
289 }
290 
291 __kernel_entry
292 BOOL
293 APIENTRY
294 NtGdiEngLineTo(
295     _In_ SURFOBJ *pso,
296     _In_ CLIPOBJ *pco,
297     _In_ BRUSHOBJ *pbo,
298     _In_ LONG x1,
299     _In_ LONG y1,
300     _In_ LONG x2,
301     _In_ LONG y2,
302     _In_ RECTL *prclBounds,
303     _In_ MIX mix)
304 {
305     UNIMPLEMENTED;
306     return FALSE;
307 }
308 
309 __kernel_entry
310 BOOL
311 APIENTRY
312 NtGdiEngMarkBandingSurface(
313     _In_ HSURF hsurf)
314 {
315     UNIMPLEMENTED;
316     return FALSE;
317 }
318 
319 __kernel_entry
320 BOOL
321 APIENTRY
322 NtGdiEngPaint(
323     _In_ SURFOBJ *pso,
324     _In_ CLIPOBJ *pco,
325     _In_ BRUSHOBJ *pbo,
326     _In_ POINTL *pptlBrushOrg,
327     _In_ MIX mix)
328 {
329     UNIMPLEMENTED;
330     return FALSE;
331 }
332 
333 __kernel_entry
334 BOOL
335 APIENTRY
336 NtGdiEngPlgBlt(
337     _In_ SURFOBJ *psoTrg,
338     _In_ SURFOBJ *psoSrc,
339     _In_opt_ SURFOBJ *psoMsk,
340     _In_ CLIPOBJ *pco,
341     _In_opt_ XLATEOBJ *pxlo,
342     _In_ COLORADJUSTMENT *pca,
343     _In_ POINTL *pptlBrushOrg,
344     _In_ POINTFIX *pptfx,
345     _In_ RECTL *prcl,
346     _In_opt_ POINTL *pptl,
347     _In_ ULONG iMode)
348 {
349     UNIMPLEMENTED;
350     return FALSE;
351 }
352 
353 __kernel_entry
354 BOOL
355 APIENTRY
356 NtGdiEngStretchBltROP(
357     _In_ SURFOBJ *psoTrg,
358     _In_ SURFOBJ *psoSrc,
359     _In_ SURFOBJ *psoMask,
360     _In_ CLIPOBJ *pco,
361     _In_ XLATEOBJ *pxlo,
362     _In_ COLORADJUSTMENT *pca,
363     _In_ POINTL *pptlBrushOrg,
364     _In_ RECTL *prclTrg,
365     _In_ RECTL *prclSrc,
366     _In_ POINTL *pptlMask,
367     _In_ ULONG iMode,
368     _In_ BRUSHOBJ *pbo,
369     _In_ ROP4 rop4)
370 {
371     UNIMPLEMENTED;
372     return FALSE;
373 }
374 
375 __kernel_entry
376 BOOL
377 APIENTRY
378 NtGdiEngStrokePath(
379     _In_ SURFOBJ *pso,
380     _In_ PATHOBJ *ppo,
381     _In_ CLIPOBJ *pco,
382     _In_ XFORMOBJ *pxo,
383     _In_ BRUSHOBJ *pbo,
384     _In_ POINTL *pptlBrushOrg,
385     _In_ LINEATTRS *plineattrs,
386     _In_ MIX mix)
387 {
388     UNIMPLEMENTED;
389     return FALSE;
390 }
391 
392 __kernel_entry
393 BOOL
394 APIENTRY
395 NtGdiEngStrokeAndFillPath(
396     _In_ SURFOBJ *pso,
397     _In_ PATHOBJ *ppo,
398     _In_ CLIPOBJ *pco,IN XFORMOBJ *pxo,
399     _In_ BRUSHOBJ *pboStroke,
400     _In_ LINEATTRS *plineattrs,
401     _In_ BRUSHOBJ *pboFill,
402     _In_ POINTL *pptlBrushOrg,
403     _In_ MIX mix,
404     _In_ FLONG flOptions)
405 {
406     UNIMPLEMENTED;
407     return FALSE;
408 }
409 
410 __kernel_entry
411 BOOL
412 APIENTRY
413 NtGdiEngTextOut(
414     _In_ SURFOBJ *pso,
415     _In_ STROBJ *pstro,
416     _In_ FONTOBJ *pfo,
417     _In_ CLIPOBJ *pco,
418     _In_ RECTL *prclExtra,
419     _In_ RECTL *prclOpaque,
420     _In_ BRUSHOBJ *pboFore,
421     _In_ BRUSHOBJ *pboOpaque,
422     _In_ POINTL *pptlOrg,
423     _In_ MIX mix)
424 {
425      UNIMPLEMENTED;
426     return FALSE;
427 }
428 
429 __kernel_entry
430 BOOL
431 APIENTRY
432 NtGdiEngTransparentBlt(
433     _In_ SURFOBJ *psoDst,
434     _In_ SURFOBJ *psoSrc,
435     _In_ CLIPOBJ *pco,
436     _In_ XLATEOBJ *pxlo,
437     _In_ RECTL *prclDst,
438     _In_ RECTL *prclSrc,
439     _In_ ULONG iTransColor,
440     _In_ ULONG ulReserved)
441 {
442     UNIMPLEMENTED;
443     return FALSE;
444 }
445 
446 __kernel_entry
447 NTSTATUS
448 APIENTRY
449 NtGdiFONTOBJ_vGetInfo(
450     _In_ FONTOBJ *pfo,
451     _In_ ULONG cjSize,
452     _Out_writes_bytes_(cjSize) FONTINFO *pfi)
453 {
454     UNIMPLEMENTED;
455     return STATUS_NOT_IMPLEMENTED;
456 }
457 
458 __kernel_entry
459 XFORMOBJ*
460 APIENTRY
461 NtGdiFONTOBJ_pxoGetXform(
462     _In_ FONTOBJ *pfo)
463 {
464     UNIMPLEMENTED;
465     return NULL;
466 }
467 
468 __kernel_entry
469 ULONG
470 APIENTRY
471 NtGdiFONTOBJ_cGetGlyphs(
472     _In_ FONTOBJ *pfo,
473     _In_ ULONG iMode,
474     _In_ ULONG cGlyph,
475     _In_ HGLYPH *phg,
476     _At_((GLYPHDATA**)ppvGlyph, _Outptr_) PVOID *ppvGlyph)
477 {
478     UNIMPLEMENTED;
479     return 0;
480 }
481 
482 __kernel_entry
483 IFIMETRICS*
484 APIENTRY
485 NtGdiFONTOBJ_pifi(
486     _In_ FONTOBJ *pfo)
487 {
488     UNIMPLEMENTED;
489     return NULL;
490 }
491 
492 __kernel_entry
493 FD_GLYPHSET*
494 APIENTRY
495 NtGdiFONTOBJ_pfdg(
496     _In_ FONTOBJ *pfo)
497 {
498     UNIMPLEMENTED;
499     return NULL;
500 }
501 
502 __kernel_entry
503 PFD_GLYPHATTR
504 APIENTRY
505 NtGdiFONTOBJ_pQueryGlyphAttrs(
506     _In_ FONTOBJ *pfo,
507     _In_ ULONG iMode)
508 {
509     UNIMPLEMENTED;
510     return NULL;
511 }
512 
513 __kernel_entry
514 PVOID
515 APIENTRY
516 NtGdiFONTOBJ_pvTrueTypeFontFile(
517     _In_ FONTOBJ *pfo,
518     _Out_ ULONG *pcjFile)
519 {
520     UNIMPLEMENTED;
521     return NULL;
522 }
523 
524 __kernel_entry
525 ULONG
526 APIENTRY
527 NtGdiFONTOBJ_cGetAllGlyphHandles(
528     _In_ FONTOBJ *pfo,
529     _Out_opt_ _Post_count_(return) HGLYPH *phg)
530 {
531     UNIMPLEMENTED;
532     return 0;
533 }
534 
535 __kernel_entry
536 LONG
537 APIENTRY
538 NtGdiHT_Get8BPPMaskPalette(
539     _Out_opt_ _Post_count_(return) LPPALETTEENTRY pPaletteEntry,
540     _In_ BOOL Use8BPPMaskPal,
541     _In_ BYTE CMYMask,
542     _In_ USHORT RedGamma,
543     _In_ USHORT GreenGamma,
544     _In_ USHORT BlueGamma)
545 {
546     UNIMPLEMENTED;
547     return FALSE;
548 }
549 
550 __kernel_entry
551 LONG
552 APIENTRY
553 NtGdiHT_Get8BPPFormatPalette(
554     _Out_opt_ _Post_count_(return) LPPALETTEENTRY pPaletteEntry,
555     _In_ USHORT RedGamma,
556     _In_ USHORT GreenGamma,
557     _In_ USHORT BlueGamma)
558 {
559     UNIMPLEMENTED;
560     return FALSE;
561 }
562 
563 __kernel_entry
564 NTSTATUS
565 APIENTRY
566 NtGdiPATHOBJ_vGetBounds(
567     _In_ PATHOBJ *ppo,
568     _Out_ PRECTFX prectfx)
569 {
570     UNIMPLEMENTED;
571     return STATUS_NOT_IMPLEMENTED;
572 }
573 
574 __kernel_entry
575 BOOL
576 APIENTRY
577 NtGdiPATHOBJ_bEnum(
578     _In_ PATHOBJ *ppo,
579     _Out_ PATHDATA *ppd)
580 {
581     UNIMPLEMENTED;
582     return FALSE;
583 }
584 
585 __kernel_entry
586 NTSTATUS
587 APIENTRY
588 NtGdiPATHOBJ_vEnumStart(
589     _In_ PATHOBJ *ppo)
590 {
591     UNIMPLEMENTED;
592     return STATUS_NOT_IMPLEMENTED;
593 }
594 
595 __kernel_entry
596 NTSTATUS
597 APIENTRY
598 NtGdiPATHOBJ_vEnumStartClipLines(
599     _In_ PATHOBJ *ppo,
600     _In_ CLIPOBJ *pco,
601     _In_ SURFOBJ *pso,
602     _In_ LINEATTRS *pla)
603 {
604     UNIMPLEMENTED;
605     return STATUS_NOT_IMPLEMENTED;
606 }
607 
608 __kernel_entry
609 BOOL
610 APIENTRY
611 NtGdiPATHOBJ_bEnumClipLines(
612     _In_ PATHOBJ *ppo,
613     _In_ ULONG cb,
614     _Out_writes_bytes_(cb) CLIPLINE *pcl)
615 {
616     UNIMPLEMENTED;
617     return FALSE;
618 }
619 
620 __kernel_entry
621 BOOL
622 APIENTRY
623 NtGdiSTROBJ_bEnum(
624     _In_ STROBJ *pstro,
625     _Out_ ULONG *pc,
626     _Outptr_result_buffer_(*pc) PGLYPHPOS *ppgpos)
627 {
628     UNIMPLEMENTED;
629     return FALSE;
630 }
631 
632 __kernel_entry
633 BOOL
634 APIENTRY
635 NtGdiSTROBJ_bEnumPositionsOnly(
636     _In_ STROBJ *pstro,
637     _Out_ ULONG *pc,
638     _Outptr_result_buffer_(*pc) PGLYPHPOS *ppgpos)
639 {
640     UNIMPLEMENTED;
641     return FALSE;
642 }
643 
644 __kernel_entry
645 BOOL
646 APIENTRY
647 NtGdiSTROBJ_bGetAdvanceWidths(
648     _In_ STROBJ*pstro,
649     _In_ ULONG iFirst,
650     _In_ ULONG c,
651     _Out_writes_(c) POINTQF*pptqD)
652 {
653     UNIMPLEMENTED;
654     return FALSE;
655 }
656 
657 __kernel_entry
658 NTSTATUS
659 APIENTRY
660 NtGdiSTROBJ_vEnumStart(
661     _Inout_ STROBJ *pstro)
662 {
663     UNIMPLEMENTED;
664     return STATUS_NOT_IMPLEMENTED;
665 }
666 
667 __kernel_entry
668 DWORD
669 APIENTRY
670 NtGdiSTROBJ_dwGetCodePage(
671     _In_ STROBJ *pstro)
672 {
673     UNIMPLEMENTED;
674     return 0;
675 }
676 
677 __kernel_entry
678 BOOL
679 APIENTRY
680 NtGdiXFORMOBJ_bApplyXform(
681     _In_ XFORMOBJ *pxo,
682     _In_ ULONG iMode,
683     _In_ ULONG cPoints,
684     _In_reads_(cPoints) PPOINTL pptIn,
685     _Out_writes_(cPoints) PPOINTL pptOut)
686 {
687     UNIMPLEMENTED;
688     return FALSE;
689 }
690 
691 __kernel_entry
692 ULONG
693 APIENTRY
694 NtGdiXFORMOBJ_iGetXform(
695     _In_ XFORMOBJ *pxo,
696     _Out_opt_ XFORML *pxform)
697 {
698     UNIMPLEMENTED;
699     return 0;
700 }
701 
702 __kernel_entry
703 ULONG
704 APIENTRY
705 NtGdiXLATEOBJ_cGetPalette(
706     _In_ XLATEOBJ *pxlo,
707     _In_ ULONG iPal,
708     _In_ ULONG cPal,
709     _Out_writes_(cPal) ULONG *pPal)
710 {
711     UNIMPLEMENTED;
712     return 0;
713 }
714 
715 __kernel_entry
716 ULONG
717 APIENTRY
718 NtGdiXLATEOBJ_iXlate(
719     _In_ XLATEOBJ *pxlo,
720     _In_ ULONG iColor)
721 {
722     UNIMPLEMENTED;
723     return 0;
724 }
725 
726 __kernel_entry
727 HANDLE
728 APIENTRY
729 NtGdiXLATEOBJ_hGetColorTransform(
730     _In_ XLATEOBJ *pxlo)
731 {
732     UNIMPLEMENTED;
733     return 0;
734 }
735 
736 
737 //NtGdiEngAlphaBlend
738 //NtGdiEngUnlockSurface
739 //NtGdiEngLockSurface
740 //NtGdiEngBitBlt
741 //NtGdiEngStretchBlt
742 
743