ReactOS  0.4.14-dev-1314-gacf135d
string.c
Go to the documentation of this file.
1 
2 #include <win32k.h>
3 
4 #define NDEBUG
5 #include <debug.h>
6 
7 
8 BOOL
11  IN STROBJ *pstro,
12  OUT ULONG *pc,
13  OUT PGLYPHPOS *ppgpos)
14 {
15  // www.osr.com/ddk/graphics/gdifncs_65uv.htm
17  return FALSE;
18 }
19 
20 DWORD
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
33  IN STROBJ *pstro)
34 {
35  // www.osr.com/ddk/graphics/gdifncs_32uf.htm
37 }
38 
39 /*
40  * @unimplemented
41  */
42 BOOL
45  IN STROBJ *StringObj,
46  OUT ULONG *Count,
47  OUT PGLYPHPOS *Pos)
48 {
50  return (BOOL) DDI_ERROR;
51 }
52 
53 /*
54  * @unimplemented
55  */
56 BOOL
59  IN STROBJ *StringObj,
60  IN ULONG First,
61  IN ULONG Count,
62  OUT POINTQF *Widths)
63 {
65  return FALSE;
66 }
67 
68 /*
69  * @implemented
70  */
71 FIX
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
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 */
BOOL APIENTRY STROBJ_bEnum(IN STROBJ *pstro, OUT ULONG *pc, OUT PGLYPHPOS *ppgpos)
Definition: string.c:10
#define IN
Definition: typedefs.h:39
FIX APIENTRY STROBJ_fxBreakExtra(IN STROBJ *StringObj)
Definition: string.c:73
BOOL APIENTRY STROBJ_bEnumPositionsOnly(IN STROBJ *StringObj, OUT ULONG *Count, OUT PGLYPHPOS *Pos)
Definition: string.c:44
Definition: text.h:23
STROBJ StrObj
Definition: text.h:25
#define SO_CHARACTER_EXTRA
Definition: winddi.h:1161
ush Pos
Definition: deflate.h:92
DWORD APIENTRY STROBJ_dwGetCodePage(IN STROBJ *pstro)
Definition: string.c:22
BOOL APIENTRY STROBJ_bGetAdvanceWidths(IN STROBJ *StringObj, IN ULONG First, IN ULONG Count, OUT POINTQF *Widths)
Definition: string.c:58
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
WCHAR First[]
Definition: FormatMessage.c:11
unsigned int BOOL
Definition: ntddk_ex.h:94
FLONG flAccel
Definition: winddi.h:1166
#define DDI_ERROR
Definition: winddi.h:154
FIX APIENTRY STROBJ_fxCharacterExtra(IN STROBJ *StringObj)
Definition: string.c:86
_In_ STROBJ * pstro
Definition: winddi.h:4175
unsigned long DWORD
Definition: ntddk_ex.h:95
LONG FIX
Definition: winddi.h:126
VOID APIENTRY STROBJ_vEnumStart(IN STROBJ *pstro)
Definition: string.c:32
#define SO_BREAK_EXTRA
Definition: winddi.h:1162
FIX fxBreakExtra
Definition: text.h:37
DWORD dwCodePage
Definition: text.h:38
struct _STRGDI * PSTRGDI
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:114
FIX fxExtra
Definition: text.h:36
#define APIENTRY
Definition: api.h:79