87 (*format)->attr =
attr;
88 (*format)->lang =
lang;
92 (*format)->character_ranges =
NULL;
93 (*format)->range_count = 0;
94 (*format)->generic_typographic =
FALSE;
96 (*format)->tabcount = 0;
97 (*format)->firsttab = 0.0;
98 (*format)->tabs =
NULL;
147 if(language) *language =
format->digitlang;
148 if(substitute) *substitute =
format->digitsub;
213 if(!
format || !firsttab || !tabs)
220 *firsttab =
format->firsttab;
231 *trimming =
format->trimming;
253 TRACE(
"(%p, %x, %i)\n",
format, language, substitute);
258 format->digitlang = language;
259 format->digitsub = substitute;
269 if(!
format || hkpx < 0 || hkpx > 2)
300 new_ranges = heap_alloc_zero(rangeCount *
sizeof(
CharacterRange));
305 format->character_ranges = new_ranges;
307 format->range_count = rangeCount;
323 if(
format->tabcount == 0){
336 format->firsttab = firsttab;
352 format->trimming = trimming;
380 (*newFormat)->tabs = heap_alloc_zero(
sizeof(
REAL) *
format->tabcount);
381 if(!(*newFormat)->tabs){
388 (*newFormat)->tabs =
NULL;
390 if(
format->range_count > 0){
392 if(!(*newFormat)->character_ranges){
397 memcpy((*newFormat)->character_ranges,
format->character_ranges,
401 (*newFormat)->character_ranges =
NULL;
static BOOL heap_free(void *mem)
static void * heap_realloc(void *mem, size_t len)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
int align(int length, int align)
@ StringTrimmingCharacter
@ StringDigitSubstituteUser
@ StringFormatFlagsLineLimit
@ StringFormatFlagsNoClip
@ StringFormatFlagsNoFitBlackBox
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define memcpy(s1, s2, n)
static const WCHAR lang[]