ReactOS  0.4.14-dev-552-g2fad488
string.c File Reference
#include <win32k.h>
#include <debug.h>
Include dependency graph for string.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOL APIENTRY STROBJ_bEnum (IN STROBJ *pstro, OUT ULONG *pc, OUT PGLYPHPOS *ppgpos)
 
DWORD APIENTRY STROBJ_dwGetCodePage (IN STROBJ *pstro)
 
VOID APIENTRY STROBJ_vEnumStart (IN STROBJ *pstro)
 
BOOL APIENTRY STROBJ_bEnumPositionsOnly (IN STROBJ *StringObj, OUT ULONG *Count, OUT PGLYPHPOS *Pos)
 
BOOL APIENTRY STROBJ_bGetAdvanceWidths (IN STROBJ *StringObj, IN ULONG First, IN ULONG Count, OUT POINTQF *Widths)
 
FIX APIENTRY STROBJ_fxBreakExtra (IN STROBJ *StringObj)
 
FIX APIENTRY STROBJ_fxCharacterExtra (IN STROBJ *StringObj)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 4 of file string.c.

Function Documentation

◆ STROBJ_bEnum()

BOOL APIENTRY STROBJ_bEnum ( IN STROBJ pstro,
OUT ULONG pc,
OUT PGLYPHPOS ppgpos 
)

Definition at line 10 of file string.c.

14 {
15  // www.osr.com/ddk/graphics/gdifncs_65uv.htm
17  return FALSE;
18 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ STROBJ_bEnumPositionsOnly()

BOOL APIENTRY STROBJ_bEnumPositionsOnly ( IN STROBJ StringObj,
OUT ULONG Count,
OUT PGLYPHPOS Pos 
)

Definition at line 44 of file string.c.

48 {
50  return (BOOL) DDI_ERROR;
51 }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define DDI_ERROR
Definition: winddi.h:154
#define UNIMPLEMENTED
Definition: debug.h:114

◆ STROBJ_bGetAdvanceWidths()

BOOL APIENTRY STROBJ_bGetAdvanceWidths ( IN STROBJ StringObj,
IN ULONG  First,
IN ULONG  Count,
OUT POINTQF Widths 
)

Definition at line 58 of file string.c.

63 {
65  return FALSE;
66 }
#define UNIMPLEMENTED
Definition: debug.h:114

◆ STROBJ_dwGetCodePage()

DWORD APIENTRY STROBJ_dwGetCodePage ( IN STROBJ pstro)

Definition at line 22 of file string.c.

24 {
25  // www.osr.com/ddk/graphics/gdifncs_9jmv.htm
26  PSTRGDI pStrGdi = (PSTRGDI) pstro;
27  return pStrGdi->dwCodePage;
28 }
Definition: text.h:23
_In_ STROBJ * pstro
Definition: winddi.h:4175
DWORD dwCodePage
Definition: text.h:38
struct _STRGDI * PSTRGDI

◆ STROBJ_fxBreakExtra()

FIX APIENTRY STROBJ_fxBreakExtra ( IN STROBJ StringObj)

Definition at line 73 of file string.c.

75 {
76  PSTRGDI pStrGdi = (PSTRGDI) StringObj;
77  if (pStrGdi->StrObj.flAccel & SO_BREAK_EXTRA) return pStrGdi->fxBreakExtra;
78  return (FIX) 0;
79 }
Definition: text.h:23
STROBJ StrObj
Definition: text.h:25
FLONG flAccel
Definition: winddi.h:1166
LONG FIX
Definition: winddi.h:126
#define SO_BREAK_EXTRA
Definition: winddi.h:1162
FIX fxBreakExtra
Definition: text.h:37
struct _STRGDI * PSTRGDI

◆ STROBJ_fxCharacterExtra()

FIX APIENTRY STROBJ_fxCharacterExtra ( IN STROBJ StringObj)

Definition at line 86 of file string.c.

88 {
89  PSTRGDI pStrGdi = (PSTRGDI) StringObj;
90  if (pStrGdi->StrObj.flAccel & SO_CHARACTER_EXTRA) return pStrGdi->fxExtra;
91  return (FIX)0;
92 }
Definition: text.h:23
STROBJ StrObj
Definition: text.h:25
#define SO_CHARACTER_EXTRA
Definition: winddi.h:1161
FLONG flAccel
Definition: winddi.h:1166
LONG FIX
Definition: winddi.h:126
struct _STRGDI * PSTRGDI
FIX fxExtra
Definition: text.h:36

◆ STROBJ_vEnumStart()

VOID APIENTRY STROBJ_vEnumStart ( IN STROBJ pstro)

Definition at line 32 of file string.c.

34 {
35  // www.osr.com/ddk/graphics/gdifncs_32uf.htm
37 }
#define UNIMPLEMENTED
Definition: debug.h:114