6285c9d34b73eb9af211a8c73368acba31926bd0
[reactos.git] / reactos / win32ss / gdi / eng / stubs.c
1 /*
2 * Stubs for unimplemented WIN32K.SYS exports
3 */
4
5 #include <win32k.h>
6 #undef XFORMOBJ
7
8 #define UNIMPLEMENTED DbgPrint("(%s:%i) WIN32K: %s UNIMPLEMENTED\n", __FILE__, __LINE__, __FUNCTION__ )
9
10
11 /*
12 * @unimplemented
13 */
14 BOOL
15 APIENTRY
16 EngTextOut(
17 SURFOBJ *pso,
18 STROBJ *pstro,
19 FONTOBJ *pfo,
20 CLIPOBJ *pco,
21 RECTL *prclExtra,
22 RECTL *prclOpaque,
23 BRUSHOBJ *pboFore,
24 BRUSHOBJ *pboOpaque,
25 POINTL *pptlOrg,
26 MIX mix)
27 {
28 // www.osr.com/ddk/graphics/gdifncs_4tgn.htm
29 UNIMPLEMENTED;
30 return FALSE;
31 }
32
33 /*
34 * @unimplemented
35 */
36 PATHOBJ*
37 APIENTRY
38 CLIPOBJ_ppoGetPath(IN CLIPOBJ *pco)
39 {
40 // www.osr.com/ddk/graphics/gdifncs_6hbb.htm
41 UNIMPLEMENTED;
42 return 0;
43 }
44
45 /*
46 * @unimplemented
47 */
48 BOOL
49 APIENTRY
50 EngCheckAbort(IN SURFOBJ *pso)
51 {
52 // www.osr.com/ddk/graphics/gdifncs_3u7b.htm
53 UNIMPLEMENTED;
54 return FALSE;
55 }
56
57 /*
58 * @unimplemented
59 */
60 FD_GLYPHSET*
61 APIENTRY
62 EngComputeGlyphSet(
63 IN INT nCodePage,
64 IN INT nFirstChar,
65 IN INT cChars)
66 {
67 // www.osr.com/ddk/graphics/gdifncs_9607.htm
68 UNIMPLEMENTED;
69 return NULL;
70 }
71
72 /*
73 * @unimplemented
74 */
75 PATHOBJ*
76 APIENTRY
77 EngCreatePath(VOID)
78 {
79 // www.osr.com/ddk/graphics/gdifncs_4aav.htm
80 UNIMPLEMENTED;
81 return NULL;
82 }
83
84 /*
85 * @unimplemented
86 */
87 VOID
88 APIENTRY
89 EngDeletePath(IN PATHOBJ *ppo)
90 {
91 // www.osr.com/ddk/graphics/gdifncs_3fl3.htm
92 UNIMPLEMENTED;
93 }
94
95 /*
96 * @unimplemented
97 */
98 BOOL
99 APIENTRY
100 EngEnumForms(
101 IN HANDLE hPrinter,
102 IN DWORD Level,
103 OUT LPBYTE pForm,
104 IN DWORD cbBuf,
105 OUT LPDWORD pcbNeeded,
106 OUT LPDWORD pcReturned)
107 {
108 // www.osr.com/ddk/graphics/gdifncs_5e07.htm
109 UNIMPLEMENTED;
110 return FALSE;
111 }
112
113 /*
114 * @unimplemented
115 */
116 BOOL
117 APIENTRY
118 EngFillPath(
119 IN SURFOBJ *pso,
120 IN PATHOBJ *ppo,
121 IN CLIPOBJ *pco,
122 IN BRUSHOBJ *pbo,
123 IN POINTL *pptlBrushOrg,
124 IN MIX mix,
125 IN FLONG flOptions)
126 {
127 // www.osr.com/ddk/graphics/gdifncs_9pyf.htm
128 UNIMPLEMENTED;
129 return FALSE;
130 }
131
132 /*
133 * @unimplemented
134 */
135 PVOID
136 APIENTRY
137 EngFindResource(
138 IN HANDLE h,
139 IN int iName,
140 IN int iType,
141 OUT PULONG pulSize)
142 {
143 // www.osr.com/ddk/graphics/gdifncs_7rjb.htm
144 UNIMPLEMENTED;
145 return NULL;
146 }
147
148 /*
149 * @unimplemented
150 */
151 BOOL
152 APIENTRY
153 EngGetFileChangeTime(
154 IN HANDLE h,
155 OUT LARGE_INTEGER *pChangeTime)
156 {
157 // www.osr.com/ddk/graphics/gdifncs_1i1z.htm
158 UNIMPLEMENTED;
159 return FALSE;
160 }
161
162 /*
163 * @unimplemented
164 */
165 BOOL
166 APIENTRY
167 EngGetFilePath(
168 IN HANDLE h,
169 OUT WCHAR (*pDest)[MAX_PATH + 1])
170 {
171 // www.osr.com/ddk/graphics/gdifncs_5g2v.htm
172 UNIMPLEMENTED;
173 return FALSE;
174 }
175
176 /*
177 * @unimplemented
178 */
179 BOOL
180 APIENTRY
181 EngGetForm(
182 IN HANDLE hPrinter,
183 IN LPWSTR pFormName,
184 IN DWORD Level,
185 OUT LPBYTE pForm,
186 IN DWORD cbBuf,
187 OUT LPDWORD pcbNeeded)
188 {
189 // www.osr.com/ddk/graphics/gdifncs_5vvr.htm
190 UNIMPLEMENTED;
191 return FALSE;
192 }
193
194 /*
195 * @unimplemented
196 */
197 BOOL
198 APIENTRY
199 EngGetPrinter(
200 IN HANDLE hPrinter,
201 IN DWORD dwLevel,
202 OUT LPBYTE pPrinter,
203 IN DWORD cbBuf,
204 OUT LPDWORD pcbNeeded)
205 {
206 // www.osr.com/ddk/graphics/gdifncs_50h3.htm
207 UNIMPLEMENTED;
208 return FALSE;
209 }
210
211 /*
212 * @unimplemented
213 */
214 DWORD
215 APIENTRY
216 EngGetPrinterData(
217 IN HANDLE hPrinter,
218 IN LPWSTR pValueName,
219 OUT LPDWORD pType,
220 OUT LPBYTE pData,
221 IN DWORD nSize,
222 OUT LPDWORD pcbNeeded)
223 {
224 // www.osr.com/ddk/graphics/gdifncs_8t5z.htm
225 UNIMPLEMENTED;
226 return 0;
227 }
228
229 /*
230 * @unimplemented
231 */
232 LPWSTR
233 APIENTRY
234 EngGetPrinterDataFileName(IN HDEV hdev)
235 {
236 // www.osr.com/ddk/graphics/gdifncs_2giv.htm
237 UNIMPLEMENTED;
238 return NULL;
239 }
240
241 /*
242 * @unimplemented
243 */
244 BOOL
245 APIENTRY
246 EngGetType1FontList(
247 IN HDEV hdev,
248 OUT TYPE1_FONT *pType1Buffer,
249 IN ULONG cjType1Buffer,
250 OUT PULONG pulLocalFonts,
251 OUT PULONG pulRemoteFonts,
252 OUT LARGE_INTEGER *pLastModified)
253 {
254 // www.osr.com/ddk/graphics/gdifncs_6e5j.htm
255 UNIMPLEMENTED;
256 return FALSE;
257 }
258
259 /*
260 * @unimplemented
261 */
262 BOOL
263 APIENTRY
264 EngMarkBandingSurface(IN HSURF hsurf)
265 {
266 // www.osr.com/ddk/graphics/gdifncs_2jon.htm
267 UNIMPLEMENTED;
268 return FALSE;
269 }
270
271 INT
272 APIENTRY
273 EngMultiByteToWideChar(
274 IN UINT CodePage,
275 OUT LPWSTR WideCharString,
276 IN INT BytesInWideCharString,
277 IN LPSTR MultiByteString,
278 IN INT BytesInMultiByteString)
279 {
280 // www.osr.com/ddk/graphics/gdifncs_32cn.htm
281 UNIMPLEMENTED;
282 return 0;
283 }
284
285 VOID
286 APIENTRY
287 EngQueryLocalTime(
288 _Out_ PENG_TIME_FIELDS ptf)
289 {
290 LARGE_INTEGER liSystemTime, liLocalTime;
291 NT_ASSERT(ptf != NULL);
292
293 /* Query the system time */
294 KeQuerySystemTime(&liSystemTime);
295
296 /* Convert it to local time */
297 ExSystemTimeToLocalTime(&liSystemTime, &liLocalTime);
298
299 /* Convert the local time into time fields
300 (note that ENG_TIME_FIELDS is identical to TIME_FIELDS) */
301 RtlTimeToTimeFields(&liLocalTime, (PTIME_FIELDS)ptf);
302 }
303
304 ULONG
305 APIENTRY
306 EngQueryPalette(
307 IN HPALETTE hPal,
308 OUT ULONG *piMode,
309 IN ULONG cColors,
310 OUT ULONG *pulColors)
311 {
312 // www.osr.com/ddk/graphics/gdifncs_21t3.htm
313 UNIMPLEMENTED;
314 return 0;
315 }
316
317 DWORD
318 APIENTRY
319 EngSetPrinterData(
320 IN HANDLE hPrinter,
321 IN LPWSTR pType,
322 IN DWORD dwType,
323 IN LPBYTE lpbPrinterData,
324 IN DWORD cjPrinterData)
325 {
326 // www.osr.com/ddk/graphics/gdifncs_8drb.htm
327 UNIMPLEMENTED;
328 return 0;
329 }
330
331 BOOL
332 APIENTRY
333 EngStrokeAndFillPath(
334 IN SURFOBJ *pso,
335 IN PATHOBJ *ppo,
336 IN CLIPOBJ *pco,
337 IN XFORMOBJ *pxo,
338 IN BRUSHOBJ *pboStroke,
339 IN LINEATTRS *plineattrs,
340 IN BRUSHOBJ *pboFill,
341 IN POINTL *pptlBrushOrg,
342 IN MIX mixFill,
343 IN FLONG flOptions)
344 {
345 // www.osr.com/ddk/graphics/gdifncs_2xwn.htm
346 UNIMPLEMENTED;
347 return FALSE;
348 }
349
350 BOOL
351 APIENTRY
352 EngStrokePath(
353 IN SURFOBJ *pso,
354 IN PATHOBJ *ppo,
355 IN CLIPOBJ *pco,
356 IN XFORMOBJ *pxo,
357 IN BRUSHOBJ *pbo,
358 IN POINTL *pptlBrushOrg,
359 IN LINEATTRS *plineattrs,
360 IN MIX mix)
361 {
362 // www.osr.com/ddk/graphics/gdifncs_4yaw.htm
363 UNIMPLEMENTED;
364 return FALSE;
365 }
366
367 INT
368 APIENTRY
369 EngWideCharToMultiByte(
370 IN UINT CodePage,
371 IN LPWSTR WideCharString,
372 IN INT BytesInWideCharString,
373 OUT LPSTR MultiByteString,
374 IN INT BytesInMultiByteString)
375 {
376 // www.osr.com/ddk/graphics/gdifncs_35wn.htm
377 UNIMPLEMENTED;
378 return 0;
379 }
380
381 BOOL
382 APIENTRY
383 EngWritePrinter(
384 IN HANDLE hPrinter,
385 IN LPVOID pBuf,
386 IN DWORD cbBuf,
387 OUT LPDWORD pcWritten)
388 {
389 // www.osr.com/ddk/graphics/gdifncs_9v6v.htm
390 UNIMPLEMENTED;
391 return FALSE;
392 }
393
394 /*
395 * @unimplemented
396 */
397 ULONG
398 APIENTRY
399 FONTOBJ_cGetAllGlyphHandles(
400 IN FONTOBJ *FontObj,
401 IN HGLYPH *Glyphs)
402 {
403 UNIMPLEMENTED;
404 return 0;
405 }
406
407 /*
408 * @unimplemented
409 */
410 ULONG
411 APIENTRY
412 FONTOBJ_cGetGlyphs(
413 IN FONTOBJ *FontObj,
414 IN ULONG Mode,
415 IN ULONG NumGlyphs,
416 IN HGLYPH *GlyphHandles,
417 IN PVOID *OutGlyphs)
418 {
419 UNIMPLEMENTED;
420 return 0;
421 }
422
423 /*
424 * @unimplemented
425 */
426 IFIMETRICS*
427 APIENTRY
428 FONTOBJ_pifi(IN FONTOBJ *FontObj)
429 {
430 UNIMPLEMENTED;
431 return NULL;
432 }
433
434 /*
435 * @unimplemented
436 */
437 _Ret_opt_bytecount_(*pcjFile)
438 ENGAPI
439 PVOID
440 APIENTRY
441 FONTOBJ_pvTrueTypeFontFile(
442 _In_ FONTOBJ *pfo,
443 _Out_ ULONG *pcjFile)
444 {
445 UNIMPLEMENTED;
446 return NULL;
447 }
448
449 /*
450 * @unimplemented
451 */
452 XFORMOBJ*
453 APIENTRY
454 FONTOBJ_pxoGetXform(IN FONTOBJ *FontObj)
455 {
456 UNIMPLEMENTED;
457 return NULL;
458 }
459
460 /*
461 * @unimplemented
462 */
463 VOID
464 APIENTRY
465 FONTOBJ_vGetInfo(
466 IN FONTOBJ *FontObj,
467 IN ULONG InfoSize,
468 OUT PFONTINFO FontInfo)
469 {
470 UNIMPLEMENTED;
471 }
472
473 LONG
474 APIENTRY
475 HT_ComputeRGBGammaTable(
476 IN USHORT GammaTableEntries,
477 IN USHORT GammaTableType,
478 IN USHORT RedGamma,
479 IN USHORT GreenGamma,
480 IN USHORT BlueGamma,
481 OUT LPBYTE pGammaTable)
482 {
483 // www.osr.com/ddk/graphics/gdifncs_9dpj.htm
484 UNIMPLEMENTED;
485 return 0;
486 }
487
488 LONG
489 APIENTRY
490 HT_Get8BPPFormatPalette(
491 OUT LPPALETTEENTRY pPaletteEntry,
492 IN USHORT RedGamma,
493 IN USHORT GreenGamma,
494 IN USHORT BlueGamma)
495 {
496 // www.osr.com/ddk/graphics/gdifncs_8kvb.htm
497 UNIMPLEMENTED;
498 return 0;
499 }
500
501 BOOL
502 APIENTRY
503 PATHOBJ_bCloseFigure(IN PATHOBJ *ppo)
504 {
505 // www.osr.com/ddk/graphics/gdifncs_5mhz.htm
506 UNIMPLEMENTED;
507 return FALSE;
508 }
509
510 BOOL
511 APIENTRY
512 PATHOBJ_bEnum(
513 IN PATHOBJ *ppo,
514 OUT PATHDATA *ppd)
515 {
516 // www.osr.com/ddk/graphics/gdifncs_98o7.htm
517 UNIMPLEMENTED;
518 return FALSE;
519 }
520
521 BOOL
522 APIENTRY
523 PATHOBJ_bEnumClipLines(
524 IN PATHOBJ *ppo,
525 IN ULONG cb,
526 OUT CLIPLINE *pcl)
527 {
528 // www.osr.com/ddk/graphics/gdifncs_4147.htm
529 UNIMPLEMENTED;
530 return FALSE;
531 }
532
533 BOOL
534 APIENTRY
535 PATHOBJ_bMoveTo(
536 IN PATHOBJ *ppo,
537 IN POINTFIX ptfx)
538 {
539 // www.osr.com/ddk/graphics/gdifncs_70vb.htm
540 UNIMPLEMENTED;
541 return FALSE;
542 }
543
544 BOOL
545 APIENTRY
546 PATHOBJ_bPolyBezierTo(
547 IN PATHOBJ *ppo,
548 IN POINTFIX *pptfx,
549 IN ULONG cptfx)
550 {
551 // www.osr.com/ddk/graphics/gdifncs_2c9z.htm
552 UNIMPLEMENTED;
553 return FALSE;
554 }
555
556 BOOL
557 APIENTRY
558 PATHOBJ_bPolyLineTo(
559 IN PATHOBJ *ppo,
560 IN POINTFIX *pptfx,
561 IN ULONG cptfx)
562 {
563 // www.osr.com/ddk/graphics/gdifncs_0x47.htm
564 UNIMPLEMENTED;
565 return FALSE;
566 }
567
568 VOID
569 APIENTRY
570 PATHOBJ_vEnumStart(IN PATHOBJ *ppo)
571 {
572 // www.osr.com/ddk/graphics/gdifncs_74br.htm
573 UNIMPLEMENTED;
574 }
575
576 VOID
577 APIENTRY
578 PATHOBJ_vEnumStartClipLines(
579 IN PATHOBJ *ppo,
580 IN CLIPOBJ *pco,
581 IN SURFOBJ *pso,
582 IN LINEATTRS *pla)
583 {
584 // www.osr.com/ddk/graphics/gdifncs_5grr.htm
585 UNIMPLEMENTED;
586 }
587
588 VOID
589 APIENTRY
590 PATHOBJ_vGetBounds(
591 IN PATHOBJ *ppo,
592 OUT PRECTFX prectfx)
593 {
594 // www.osr.com/ddk/graphics/gdifncs_8qp3.htm
595 UNIMPLEMENTED;
596 }
597
598 /*
599 * @unimplemented
600 */
601 ULONG
602 APIENTRY
603 EngDitherColor(
604 IN HDEV hdev,
605 IN ULONG iMode,
606 IN ULONG rgb,
607 OUT ULONG *pul)
608 {
609 *pul = 0;
610 return DCR_SOLID;
611 }
612
613 /*
614 * @unimplemented
615 */
616 HANDLE
617 APIENTRY
618 BRUSHOBJ_hGetColorTransform(
619 IN BRUSHOBJ *Brush)
620 {
621 UNIMPLEMENTED;
622 return NULL;
623 }
624
625 /*
626 * @unimplemented
627 */
628 BOOL
629 APIENTRY
630 EngDeleteFile(
631 IN LPWSTR FileName)
632 {
633 UNIMPLEMENTED;
634 return FALSE;
635 }
636
637 /*
638 * @unimplemented
639 */
640 BOOL
641 APIENTRY
642 EngGetPrinterDriver(
643 IN HANDLE Printer,
644 IN LPWSTR Environment,
645 IN DWORD Level,
646 OUT BYTE *DrvInfo,
647 IN DWORD Buf,
648 OUT DWORD *Needed)
649 {
650 UNIMPLEMENTED;
651 return FALSE;
652 }
653
654 /*
655 * @unimplemented
656 */
657 ULONG
658 APIENTRY
659 EngHangNotification(
660 IN HDEV Dev,
661 IN PVOID Reserved)
662 {
663 UNIMPLEMENTED;
664 return EHN_ERROR;
665 }
666
667 /*
668 * @unimplemented
669 */
670 BOOL
671 APIENTRY
672 EngLpkInstalled(VOID)
673 {
674 UNIMPLEMENTED;
675 return FALSE;
676 }
677
678 /*
679 * @unimplemented
680 */
681 BOOL
682 APIENTRY
683 EngPlgBlt(
684 IN SURFOBJ *Dest,
685 IN SURFOBJ *Source,
686 IN SURFOBJ *Mask,
687 IN CLIPOBJ *Clip,
688 IN XLATEOBJ *Xlate,
689 IN COLORADJUSTMENT *ColorAdjustment,
690 IN POINTL *BrusOrigin,
691 IN POINTFIX *DestPoints,
692 IN RECTL *SourceRect,
693 IN POINTL *MaskPoint,
694 IN ULONG Mode)
695 {
696 UNIMPLEMENTED;
697 return FALSE;
698 }
699
700 /*
701 * @unimplemented
702 */
703 BOOL
704 APIENTRY
705 EngQueryDeviceAttribute(
706 IN HDEV Device,
707 IN ENG_DEVICE_ATTRIBUTE Attribute,
708 IN VOID *In,
709 IN ULONG InSize,
710 OUT VOID *Out,
711 OUT ULONG OutSize)
712 {
713 UNIMPLEMENTED;
714 return FALSE;
715 }
716
717 /*
718 * @unimplemented
719 */
720 LARGE_INTEGER
721 APIENTRY
722 EngQueryFileTimeStamp(IN LPWSTR FileName)
723 {
724 LARGE_INTEGER FileTime;
725 FileTime.QuadPart = 0;
726 UNIMPLEMENTED;
727 return FileTime;
728 }
729
730 /*
731 * @unimplemented
732 */
733 FD_GLYPHSET *
734 APIENTRY
735 FONTOBJ_pfdg(
736 IN FONTOBJ *FontObj)
737 {
738 UNIMPLEMENTED;
739 return NULL;
740 }
741
742 /*
743 * @unimplemented
744 */
745 _Ret_opt_bytecount_(*pcjTable)
746 ENGAPI
747 PBYTE
748 APIENTRY
749 FONTOBJ_pjOpenTypeTablePointer(
750 _In_ FONTOBJ *pfo,
751 _In_ ULONG ulTag,
752 _Out_ ULONG *pcjTable)
753 {
754 UNIMPLEMENTED;
755 return NULL;
756 }
757
758 /*
759 * @unimplemented
760 */
761 PFD_GLYPHATTR
762 APIENTRY
763 FONTOBJ_pQueryGlyphAttrs(
764 IN FONTOBJ *FontObj,
765 IN ULONG Mode)
766 {
767 UNIMPLEMENTED;
768 return NULL;
769 }
770
771 /*
772 * @unimplemented
773 */
774 LPWSTR
775 APIENTRY
776 FONTOBJ_pwszFontFilePaths(
777 IN FONTOBJ *FontObj,
778 OUT ULONG *PathLength)
779 {
780 UNIMPLEMENTED;
781 return NULL;
782 }
783
784 /*
785 * @unimplemented
786 */
787 LONG
788 APIENTRY
789 HT_Get8BPPMaskPalette(
790 IN OUT LPPALETTEENTRY PaletteEntry,
791 IN BOOL Use8BPPMaskPal,
792 IN BYTE CMYMask,
793 IN USHORT RedGamma,
794 IN USHORT GreenGamma,
795 IN USHORT BlueGamma)
796 {
797 UNIMPLEMENTED;
798 return 0;
799 }
800
801 /*
802 * @unimplemented
803 */
804 BOOL
805 APIENTRY
806 NtGdiAnyLinkedFonts(VOID)
807 {
808 UNIMPLEMENTED;
809 return FALSE;
810 }
811
812 /*
813 * @unimplemented
814 */
815 BOOL
816 APIENTRY
817 NtGdiEnableEudc(BOOL enable)
818 {
819 UNIMPLEMENTED;
820 return FALSE;
821 }
822
823 /*
824 * @unimplemented
825 */
826 BOOL
827 APIENTRY
828 NtGdiAddRemoteFontToDC(
829 IN HDC hdc,
830 IN PVOID pvBuffer,
831 IN ULONG cjBuffer,
832 IN OPTIONAL PUNIVERSAL_FONT_ID pufi)
833 {
834 UNIMPLEMENTED;
835 return 0;
836 }
837
838 /*
839 * @unimplemented
840 */
841 HANDLE
842 APIENTRY
843 NtGdiAddFontMemResourceEx(
844 IN PVOID pvBuffer,
845 IN DWORD cjBuffer,
846 IN DESIGNVECTOR *pdv,
847 IN ULONG cjDV,
848 OUT DWORD *pNumFonts)
849 {
850 UNIMPLEMENTED;
851 return NULL;
852 }
853
854 /*
855 * @unimplemented
856 */
857 BOOL
858 APIENTRY
859 NtGdiRemoveMergeFont(
860 IN HDC hdc,
861 IN UNIVERSAL_FONT_ID *pufi)
862 {
863 UNIMPLEMENTED;
864 return FALSE;
865 }
866
867 /*
868 * @unimplemented
869 */
870 BOOL
871 APIENTRY
872 NtGdiAddRemoteMMInstanceToDC(
873 IN HDC hdc,
874 IN DOWNLOADDESIGNVECTOR *pddv,
875 IN ULONG cjDDV)
876 {
877 UNIMPLEMENTED;
878 return FALSE;
879 }
880
881 /*
882 * @unimplemented
883 */
884 BOOL
885 APIENTRY
886 NtGdiFontIsLinked(IN HDC hdc)
887 {
888 UNIMPLEMENTED;
889 return FALSE;
890 }
891
892 /*
893 * @unimplemented
894 */
895 BOOL
896 APIENTRY
897 NtGdiCheckBitmapBits(
898 IN HDC hdc,
899 IN HANDLE hColorTransform,
900 IN PVOID pvBits,
901 IN ULONG bmFormat,
902 IN DWORD dwWidth,
903 IN DWORD dwHeight,
904 IN DWORD dwStride,
905 OUT PBYTE paResults)
906 {
907 UNIMPLEMENTED;
908 return FALSE;
909 }
910
911 /*
912 * @unimplemented
913 */
914 HBITMAP
915 APIENTRY
916 NtGdiClearBitmapAttributes(
917 IN HBITMAP hbm,
918 IN DWORD dwFlags)
919 {
920 UNIMPLEMENTED;
921 return NULL;
922 }
923
924 /*
925 * @unimplemented
926 */
927 BOOL
928 APIENTRY
929 NtGdiGetUFI(
930 IN HDC hdc,
931 OUT PUNIVERSAL_FONT_ID pufi,
932 OUT OPTIONAL DESIGNVECTOR *pdv,
933 OUT ULONG *pcjDV,
934 OUT ULONG *pulBaseCheckSum,
935 OUT FLONG *pfl)
936 {
937 UNIMPLEMENTED;
938 return FALSE;
939 }
940
941
942 /*
943 * @unimplemented
944 */
945 ULONG
946 APIENTRY
947 NtGdiColorCorrectPalette(
948 IN HDC hdc,
949 IN HPALETTE hpal,
950 IN ULONG FirstEntry,
951 IN ULONG NumberOfEntries,
952 IN OUT PALETTEENTRY *ppalEntry,
953 IN ULONG Command)
954 {
955 UNIMPLEMENTED;
956 return 0;
957 }
958
959 /*
960 * @unimplemented
961 */
962 HANDLE
963 APIENTRY
964 NtGdiCreateColorTransform(
965 IN HDC hdc,
966 IN LPLOGCOLORSPACEW pLogColorSpaceW,
967 IN OPTIONAL PVOID pvSrcProfile,
968 IN ULONG cjSrcProfile,
969 IN OPTIONAL PVOID pvDestProfile,
970 IN ULONG cjDestProfile,
971 IN OPTIONAL PVOID pvTargetProfile,
972 IN ULONG cjTargetProfile)
973 {
974 UNIMPLEMENTED;
975 return NULL;
976 }
977
978 /*
979 * @unimplemented
980 */
981 BOOL
982 APIENTRY
983 NtGdiComputeXformCoefficients(IN HDC hdc)
984 {
985 UNIMPLEMENTED;
986 return FALSE;
987 }
988
989 /*
990 * @unimplemented
991 */
992 BOOL
993 APIENTRY
994 NtGdiConsoleTextOut(
995 IN HDC hdc,
996 IN POLYTEXTW *lpto,
997 IN UINT nStrings,
998 IN RECTL *prclBounds)
999 {
1000 UNIMPLEMENTED;
1001 return FALSE;
1002 }
1003
1004 /*
1005 * @unimplemented
1006 */
1007 BOOL
1008 APIENTRY
1009 NtGdiDeleteColorTransform(
1010 IN HDC hdc,
1011 IN HANDLE hColorTransform)
1012 {
1013 UNIMPLEMENTED;
1014 return FALSE;
1015 }
1016
1017 /*
1018 * @unimplemented
1019 */
1020 ULONG
1021 APIENTRY
1022 NtGdiGetPerBandInfo(
1023 IN HDC hdc,
1024 IN OUT PERBANDINFO *ppbi)
1025 {
1026 UNIMPLEMENTED;
1027 return 0;
1028 }
1029
1030 /*
1031 * @unimplemented
1032 */
1033 BOOL
1034 APIENTRY
1035 NtGdiDoBanding(
1036 IN HDC hdc,
1037 IN BOOL bStart,
1038 OUT POINTL *pptl,
1039 OUT PSIZE pSize)
1040 {
1041 UNIMPLEMENTED;
1042 return FALSE;
1043 }
1044
1045 /*
1046 * @unimplemented
1047 */
1048 BOOL
1049 APIENTRY
1050 NtGdiEnumFontChunk(
1051 IN HDC hdc,
1052 IN ULONG_PTR idEnum,
1053 IN ULONG cjEfdw,
1054 OUT ULONG *pcjEfdw,
1055 OUT PENUMFONTDATAW pefdw)
1056 {
1057 UNIMPLEMENTED;
1058 return FALSE;
1059 }
1060
1061 /*
1062 * @unimplemented
1063 */
1064 BOOL
1065 APIENTRY
1066 NtGdiEnumFontClose(
1067 IN ULONG_PTR idEnum)
1068 {
1069 UNIMPLEMENTED;
1070 return FALSE;
1071 }
1072
1073 /*
1074 * @unimplemented
1075 */
1076 ULONG_PTR
1077 APIENTRY
1078 NtGdiEnumFontOpen(
1079 IN HDC hdc,
1080 IN ULONG iEnumType,
1081 IN FLONG flWin31Compat,
1082 IN ULONG cwchMax,
1083 IN OPTIONAL LPWSTR pwszFaceName,
1084 IN ULONG lfCharSet,
1085 OUT ULONG *pulCount)
1086 {
1087 UNIMPLEMENTED;
1088 return 0;
1089 }
1090
1091 /*
1092 * @unimplemented
1093 */
1094 BOOL
1095 APIENTRY
1096 NtGdiEudcLoadUnloadLink(
1097 IN OPTIONAL LPCWSTR pBaseFaceName,
1098 IN UINT cwcBaseFaceName,
1099 IN LPCWSTR pEudcFontPath,
1100 IN UINT cwcEudcFontPath,
1101 IN INT iPriority,
1102 IN INT iFontLinkType,
1103 IN BOOL bLoadLin)
1104 {
1105 UNIMPLEMENTED;
1106 return FALSE;
1107 }
1108
1109 /*
1110 * @unimplemented
1111 */
1112 BOOL
1113 APIENTRY
1114 NtGdiForceUFIMapping(
1115 IN HDC hdc,
1116 IN PUNIVERSAL_FONT_ID pufi)
1117 {
1118 UNIMPLEMENTED;
1119 return FALSE;
1120 }
1121
1122 /*
1123 * @unimplemented
1124 */
1125 NTSTATUS
1126 APIENTRY
1127 NtGdiFullscreenControl(
1128 IN FULLSCREENCONTROL FullscreenCommand,
1129 IN PVOID FullscreenInput,
1130 IN DWORD FullscreenInputLength,
1131 OUT PVOID FullscreenOutput,
1132 IN OUT PULONG FullscreenOutputLength)
1133 {
1134 UNIMPLEMENTED;
1135 return FALSE;
1136 }
1137
1138 /*
1139 * @unimplemented
1140 */
1141 BOOL
1142 APIENTRY
1143 NtGdiGetCharWidthInfo(
1144 IN HDC hdc,
1145 OUT PCHWIDTHINFO pChWidthInfo)
1146 {
1147 UNIMPLEMENTED;
1148 return FALSE;
1149 }
1150
1151 /*
1152 * @unimplemented
1153 */
1154 ULONG_PTR
1155 APIENTRY
1156 NtGdiGetColorSpaceforBitmap(
1157 IN HBITMAP hsurf)
1158 {
1159 UNIMPLEMENTED;
1160 return 0;
1161 }
1162
1163 /*
1164 * @unimplemented
1165 */
1166 BOOL
1167 APIENTRY
1168 NtGdiGetETM(
1169 IN HDC hdc,
1170 OUT EXTTEXTMETRIC *petm)
1171 {
1172 UNIMPLEMENTED;
1173 return FALSE;
1174 }
1175
1176 /*
1177 * @unimplemented
1178 */
1179 ULONG
1180 APIENTRY
1181 NtGdiGetEudcTimeStampEx(
1182 IN OPTIONAL LPWSTR lpBaseFaceName,
1183 IN ULONG cwcBaseFaceName,
1184 IN BOOL bSystemTimeStamp)
1185 {
1186 UNIMPLEMENTED;
1187 return 0;
1188 }
1189
1190 /*
1191 * @unimplemented
1192 */
1193 BOOL
1194 APIENTRY
1195 NtGdiInitSpool(VOID)
1196 {
1197 UNIMPLEMENTED;
1198 return FALSE;
1199 }
1200
1201 /*
1202 * @unimplemented
1203 */
1204 INT
1205 APIENTRY
1206 NtGdiQueryFonts(
1207 OUT PUNIVERSAL_FONT_ID pufiFontList,
1208 IN ULONG nBufferSize,
1209 OUT PLARGE_INTEGER pTimeStamp)
1210 {
1211 UNIMPLEMENTED;
1212 return 0;
1213 }
1214
1215 /*
1216 * @unimplemented
1217 */
1218 INT
1219 APIENTRY
1220 NtGdiGetSpoolMessage(
1221 DWORD u1,
1222 DWORD u2,
1223 DWORD u3,
1224 DWORD u4)
1225 {
1226 /* FIXME: The prototypes */
1227 UNIMPLEMENTED;
1228 return 0;
1229 }
1230
1231 /*
1232 * @unimplemented
1233 */
1234 DWORD
1235 APIENTRY
1236 NtGdiGetGlyphIndicesWInternal(
1237 IN HDC hdc,
1238 IN OPTIONAL LPWSTR pwc,
1239 IN INT cwc,
1240 OUT OPTIONAL LPWORD pgi,
1241 IN DWORD iMode,
1242 IN BOOL bSubset)
1243 {
1244 UNIMPLEMENTED;
1245 return 0;
1246 }
1247
1248 /*
1249 * @unimplemented
1250 */
1251 INT
1252 APIENTRY
1253 NtGdiGetLinkedUFIs(
1254 IN HDC hdc,
1255 OUT OPTIONAL PUNIVERSAL_FONT_ID pufiLinkedUFIs,
1256 IN INT BufferSize)
1257 {
1258 UNIMPLEMENTED;
1259 return 0;
1260 }
1261
1262 /*
1263 * @unimplemented
1264 */
1265 BOOL
1266 APIENTRY
1267 NtGdiGetMonitorID(
1268 IN HDC hdc,
1269 IN DWORD dwSize,
1270 OUT LPWSTR pszMonitorID)
1271 {
1272 UNIMPLEMENTED;
1273 return FALSE;
1274 }
1275
1276 /*
1277 * @unimplemented
1278 */
1279 BOOL
1280 APIENTRY
1281 NtGdiDrawStream(
1282 IN HDC hdcDst,
1283 IN ULONG cjIn,
1284 IN VOID *pvIn)
1285 {
1286 UNIMPLEMENTED;
1287 return FALSE;
1288 }
1289
1290 /*
1291 * @unimplemented
1292 */
1293 BOOL
1294 APIENTRY
1295 NtGdiUpdateTransform(IN HDC hdc)
1296 {
1297 UNIMPLEMENTED;
1298 return FALSE;
1299 }
1300
1301 /*
1302 * @unimplemented
1303 */
1304 ULONG
1305 APIENTRY
1306 NtGdiQueryFontAssocInfo(
1307 IN HDC hdc)
1308 {
1309 UNIMPLEMENTED;
1310 return 0;
1311 }
1312
1313 /*
1314 * @unimplemented
1315 */
1316 UINT
1317 APIENTRY
1318 NtGdiGetStringBitmapW(
1319 IN HDC hdc,
1320 IN LPWSTR pwsz,
1321 IN UINT cwc,
1322 OUT BYTE *lpSB,
1323 IN UINT cj)
1324 {
1325 UNIMPLEMENTED;
1326 return 0;
1327 }
1328
1329 /*
1330 * @unimplemented
1331 */
1332 BOOL
1333 APIENTRY
1334 NtGdiRemoveFontMemResourceEx(
1335 IN HANDLE hMMFont)
1336 {
1337 UNIMPLEMENTED;
1338 return FALSE;
1339 }
1340
1341 /*
1342 * @unimplemented
1343 */
1344 BOOL
1345 APIENTRY
1346 NtGdiRemoveFontResourceW(
1347 IN WCHAR *pwszFiles,
1348 IN ULONG cwc,
1349 IN ULONG cFiles,
1350 IN ULONG fl,
1351 IN DWORD dwPidTid,
1352 IN OPTIONAL DESIGNVECTOR *pdv)
1353 {
1354 UNIMPLEMENTED;
1355 return FALSE;
1356 }
1357
1358 /*
1359 * @unimplemented
1360 */
1361 BOOL
1362 APIENTRY
1363 NtGdiPolyTextOutW(
1364 IN HDC hdc,
1365 IN POLYTEXTW *pptw,
1366 IN UINT cStr,
1367 IN DWORD dwCodePage)
1368 {
1369 UNIMPLEMENTED;
1370 return FALSE;
1371 }
1372
1373 /*
1374 * @unimplemented
1375 */
1376 NTSTATUS
1377 APIENTRY
1378 NtGdiGetStats(
1379 IN HANDLE hProcess,
1380 IN INT iIndex,
1381 IN INT iPidType,
1382 OUT PVOID pResults,
1383 IN UINT cjResultSize)
1384 {
1385 UNIMPLEMENTED;
1386 return STATUS_NOT_IMPLEMENTED;
1387 }
1388
1389 /*
1390 * @unimplemented
1391 */
1392 INT
1393 APIENTRY
1394 NtGdiSetupPublicCFONT(
1395 IN HDC hdc,
1396 IN OPTIONAL HFONT hf,
1397 IN ULONG ulAve)
1398 {
1399 UNIMPLEMENTED;
1400 return 0;
1401 }
1402
1403 /*
1404 * @unimplemented
1405 */
1406 BOOL
1407 APIENTRY
1408 NtGdiGetEmbUFI(
1409 IN HDC hdc,
1410 OUT PUNIVERSAL_FONT_ID pufi,
1411 OUT OPTIONAL DESIGNVECTOR *pdv,
1412 OUT ULONG *pcjDV,
1413 OUT ULONG *pulBaseCheckSum,
1414 OUT FLONG *pfl,
1415 OUT KERNEL_PVOID *embFontID)
1416 {
1417 UNIMPLEMENTED;
1418 return FALSE;
1419 }
1420
1421 /*
1422 * @unimplemented
1423 */
1424 BOOL
1425 APIENTRY
1426 NtGdiGetUFIPathname(
1427 IN PUNIVERSAL_FONT_ID pufi,
1428 OUT OPTIONAL ULONG* pcwc,
1429 OUT OPTIONAL LPWSTR pwszPathname,
1430 OUT OPTIONAL ULONG* pcNumFiles,
1431 IN FLONG fl,
1432 OUT OPTIONAL BOOL *pbMemFont,
1433 OUT OPTIONAL ULONG *pcjView,
1434 OUT OPTIONAL PVOID pvView,
1435 OUT OPTIONAL BOOL *pbTTC,
1436 OUT OPTIONAL ULONG *piTTC)
1437 {
1438 UNIMPLEMENTED;
1439 return FALSE;
1440 }
1441
1442 /*
1443 * @unimplemented
1444 */
1445 ULONG
1446 APIENTRY
1447 NtGdiGetEmbedFonts(
1448 VOID)
1449 {
1450 UNIMPLEMENTED;
1451 return 0;
1452 }
1453
1454 /*
1455 * @unimplemented
1456 */
1457 BOOL
1458 APIENTRY
1459 NtGdiChangeGhostFont(
1460 IN KERNEL_PVOID *pfontID,
1461 IN BOOL bLoad)
1462 {
1463 UNIMPLEMENTED;
1464 return FALSE;
1465 }
1466
1467 /*
1468 * @unimplemented
1469 */
1470 BOOL
1471 APIENTRY
1472 NtGdiAddEmbFontToDC(
1473 IN HDC hdc,
1474 IN VOID **pFontID)
1475 {
1476 UNIMPLEMENTED;
1477 return FALSE;
1478 }
1479
1480 /*
1481 * @unimplemented
1482 */
1483 BOOL
1484 APIENTRY
1485 NtGdiGetWidthTable(
1486 IN HDC hdc,
1487 IN ULONG cSpecial,
1488 IN WCHAR *pwc,
1489 IN ULONG cwc,
1490 OUT USHORT *psWidth,
1491 OUT OPTIONAL WIDTHDATA *pwd,
1492 OUT FLONG *pflInfo)
1493 {
1494 UNIMPLEMENTED;
1495 return FALSE;
1496 }
1497
1498 /*
1499 * @unimplemented
1500 */
1501 BOOL
1502 APIENTRY
1503 NtGdiIcmBrushInfo(
1504 IN HDC hdc,
1505 IN HBRUSH hbrush,
1506 IN OUT PBITMAPINFO pbmiDIB,
1507 IN OUT PVOID pvBits,
1508 IN OUT ULONG *pulBits,
1509 OUT OPTIONAL DWORD *piUsage,
1510 OUT OPTIONAL BOOL *pbAlreadyTran,
1511 IN ULONG Command)
1512 {
1513 UNIMPLEMENTED;
1514 return FALSE;
1515 }
1516
1517 /*
1518 * @unimplemented
1519 */
1520 ULONG
1521 APIENTRY
1522 NtGdiMakeFontDir(
1523 IN FLONG flEmbed,
1524 OUT PBYTE pjFontDir,
1525 IN unsigned cjFontDir,
1526 IN LPWSTR pwszPathname,
1527 IN unsigned cjPathname)
1528 {
1529 UNIMPLEMENTED;
1530 return 0;
1531 }
1532
1533 /*
1534 * @unimplemented
1535 */
1536 BOOL
1537 APIENTRY
1538 NtGdiMonoBitmap(
1539 IN HBITMAP hbm)
1540 {
1541 UNIMPLEMENTED;
1542 return FALSE;
1543 }
1544
1545 /*
1546 * @unimplemented
1547 */
1548 HBITMAP
1549 APIENTRY
1550 NtGdiSetBitmapAttributes(
1551 IN HBITMAP hbm,
1552 IN DWORD dwFlags)
1553 {
1554 UNIMPLEMENTED;
1555 return NULL;
1556 }
1557
1558 /*
1559 * @unimplemented
1560 */
1561 ULONG
1562 APIENTRY
1563 NtGdiSetFontEnumeration(
1564 IN ULONG ulType)
1565 {
1566 UNIMPLEMENTED;
1567 return 0;
1568 }
1569
1570 /*
1571 * @unimplemented
1572 */
1573 BOOL
1574 APIENTRY
1575 NtGdiSetFontXform(
1576 IN HDC hdc,
1577 IN DWORD dwxScale,
1578 IN DWORD dwyScale)
1579 {
1580 UNIMPLEMENTED;
1581 return FALSE;
1582 }
1583
1584 /*
1585 * @unimplemented
1586 */
1587 BOOL
1588 APIENTRY
1589 NtGdiSetLinkedUFIs(
1590 IN HDC hdc,
1591 IN PUNIVERSAL_FONT_ID pufiLinks,
1592 IN ULONG uNumUFIs)
1593 {
1594 UNIMPLEMENTED;
1595 return FALSE;
1596 }
1597
1598 /*
1599 * @unimplemented
1600 */
1601 BOOL
1602 APIENTRY
1603 NtGdiSetMagicColors(
1604 IN HDC hdc,
1605 IN PALETTEENTRY peMagic,
1606 IN ULONG Index)
1607 {
1608 UNIMPLEMENTED;
1609 return FALSE;
1610 }
1611
1612 /*
1613 * @unimplemented
1614 */
1615 BOOL
1616 APIENTRY
1617 NtGdiUnloadPrinterDriver(
1618 IN LPWSTR pDriverName,
1619 IN ULONG cbDriverName)
1620 {
1621 UNIMPLEMENTED;
1622 return FALSE;
1623 }
1624
1625 /*
1626 * @implemented
1627 */
1628 BOOL
1629 APIENTRY
1630 NtGdiUnmapMemFont(
1631 IN PVOID pvView)
1632 {
1633 return TRUE;
1634 }
1635
1636 BOOL
1637 APIENTRY
1638 EngControlSprites(
1639 IN WNDOBJ *pwo,
1640 IN FLONG fl)
1641 {
1642 UNIMPLEMENTED;
1643 return FALSE;
1644 }
1645
1646 _Must_inspect_result_
1647 _Ret_opt_bytecap_(cjSize)
1648 ENGAPI
1649 PVOID
1650 APIENTRY
1651 EngFntCacheAlloc(
1652 _In_ ULONG ulFastCheckSum,
1653 _In_ ULONG cjSize)
1654 {
1655 UNIMPLEMENTED;
1656 return NULL;
1657 }
1658
1659 VOID
1660 APIENTRY
1661 EngFntCacheFault(
1662 IN ULONG ulFastCheckSum,
1663 IN ULONG iFaultMode)
1664 {
1665 UNIMPLEMENTED;
1666 }
1667
1668 PVOID
1669 APIENTRY
1670 EngFntCacheLookUp(
1671 IN ULONG FastCheckSum,
1672 OUT PULONG pulSize)
1673 {
1674 UNIMPLEMENTED;
1675 return NULL;
1676 }
1677
1678 BOOLEAN
1679 APIENTRY
1680 EngNineGrid(
1681 IN SURFOBJ* pDestSurfaceObj,
1682 IN SURFOBJ* pSourceSurfaceObj,
1683 IN CLIPOBJ* pClipObj,
1684 IN XLATEOBJ* pXlateObj,
1685 IN RECTL* prclSource,
1686 IN RECTL* prclDest,
1687 PVOID pvUnknown1,
1688 PVOID pvUnknown2,
1689 DWORD dwReserved)
1690 {
1691 UNIMPLEMENTED;
1692 return FALSE;
1693 }
1694
1695 /* EOF */