xref: /reactos/win32ss/gdi/eng/string.c (revision 69931a4a)
1 
2 #include <win32k.h>
3 
4 #define NDEBUG
5 #include <debug.h>
6 
7 
8 BOOL
9 APIENTRY
10 STROBJ_bEnum(
11     IN STROBJ *pstro,
12     OUT ULONG *pc,
13     OUT PGLYPHPOS *ppgpos)
14 {
15     // www.osr.com/ddk/graphics/gdifncs_65uv.htm
16     UNIMPLEMENTED;
17     return FALSE;
18 }
19 
20 DWORD
21 APIENTRY
22 STROBJ_dwGetCodePage(
23     IN STROBJ *pstro)
24 {
25     // www.osr.com/ddk/graphics/gdifncs_9jmv.htm
26     PSTRGDI pStrGdi = (PSTRGDI) pstro;
27     return pStrGdi->dwCodePage;
28 }
29 
30 VOID
31 APIENTRY
32 STROBJ_vEnumStart(
33     IN STROBJ *pstro)
34 {
35     // www.osr.com/ddk/graphics/gdifncs_32uf.htm
36     UNIMPLEMENTED;
37 }
38 
39 /*
40  * @unimplemented
41  */
42 BOOL
43 APIENTRY
44 STROBJ_bEnumPositionsOnly(
45     IN STROBJ *StringObj,
46     OUT ULONG *Count,
47     OUT PGLYPHPOS *Pos)
48 {
49     UNIMPLEMENTED;
50     return (BOOL) DDI_ERROR;
51 }
52 
53 /*
54  * @unimplemented
55  */
56 BOOL
57 APIENTRY
58 STROBJ_bGetAdvanceWidths(
59     IN STROBJ *StringObj,
60     IN ULONG First,
61     IN ULONG Count,
62     OUT POINTQF *Widths)
63 {
64     UNIMPLEMENTED;
65     return FALSE;
66 }
67 
68 /*
69  * @implemented
70  */
71 FIX
72 APIENTRY
73 STROBJ_fxBreakExtra(
74     IN STROBJ *StringObj)
75 {
76     PSTRGDI pStrGdi = (PSTRGDI) StringObj;
77     if (pStrGdi->StrObj.flAccel & SO_BREAK_EXTRA) return pStrGdi->fxBreakExtra;
78     return (FIX) 0;
79 }
80 
81 /*
82  * @implemented
83  */
84 FIX
85 APIENTRY
86 STROBJ_fxCharacterExtra(
87     IN STROBJ *StringObj)
88 {
89     PSTRGDI pStrGdi = (PSTRGDI) StringObj;
90     if (pStrGdi->StrObj.flAccel & SO_CHARACTER_EXTRA) return pStrGdi->fxExtra;
91     return (FIX)0;
92 }
93 
94 /* EOF */
95