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