Sync with trunk (r47116), hopefully without breaking anything.
[reactos.git] / subsystems / win32 / win32k / eng / string.c
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 {
16 // www.osr.com/ddk/graphics/gdifncs_65uv.htm
17 UNIMPLEMENTED;
18 return FALSE;
19 }
20
21 DWORD
22 APIENTRY
23 STROBJ_dwGetCodePage ( 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 ( IN STROBJ *pstro )
33 {
34 // www.osr.com/ddk/graphics/gdifncs_32uf.htm
35 UNIMPLEMENTED;
36 }
37
38 /*
39 * @unimplemented
40 */
41 BOOL APIENTRY
42 STROBJ_bEnumPositionsOnly(
43 IN STROBJ *StringObj,
44 OUT ULONG *Count,
45 OUT PGLYPHPOS *Pos)
46 {
47 UNIMPLEMENTED;
48 return (BOOL) DDI_ERROR;
49 }
50
51 /*
52 * @unimplemented
53 */
54 BOOL APIENTRY
55 STROBJ_bGetAdvanceWidths(
56 IN STROBJ *StringObj,
57 IN ULONG First,
58 IN ULONG Count,
59 OUT POINTQF *Widths)
60 {
61 UNIMPLEMENTED;
62 return FALSE;
63 }
64
65 /*
66 * @implemented
67 */
68 FIX APIENTRY
69 STROBJ_fxBreakExtra(
70 IN STROBJ *StringObj)
71 {
72 PSTRGDI pStrGdi = (PSTRGDI) StringObj;
73 if (pStrGdi->StrObj.flAccel & SO_BREAK_EXTRA) return pStrGdi->fxBreakExtra;
74 return (FIX) 0;
75 }
76
77 /*
78 * @implemented
79 */
80 FIX APIENTRY
81 STROBJ_fxCharacterExtra(
82 IN STROBJ *StringObj)
83 {
84 PSTRGDI pStrGdi = (PSTRGDI) StringObj;
85 if (pStrGdi->StrObj.flAccel & SO_CHARACTER_EXTRA) return pStrGdi->fxExtra;
86 return (FIX) 0;
87 }
88
89 /* EOF */