246 references to LsErr
PresentationCore (246)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (4)
73
LsErr
lserr = context.CreateBreaks(
88
if(lserr !=
LsErr
.None)
239
LsErr
lserr = UnsafeNativeMethods.LoRelievePenaltyResource(_ploline);
240
if (lserr !=
LsErr
.None)
MS\Internal\TextFormatting\FullTextLine.cs (16)
232
LsErr
lserr = context.CreateLine(
245
if (lserr ==
LsErr
.TooLongParagraph)
275
if (lserr !=
LsErr
.TooLongParagraph || cpLimit == 1)
298
if(lserr !=
LsErr
.None)
585
LsErr
lserr =
LsErr
.None;
618
if(lserr !=
LsErr
.None)
2129
LsErr
lserr =
LsErr
.None;
2149
if (lserr !=
LsErr
.None)
2444
LsErr
lserr =
LsErr
.None;
2462
if(lserr !=
LsErr
.None)
2497
LsErr
lserr =
LsErr
.None;
2519
if(lserr !=
LsErr
.None)
MS\Internal\TextFormatting\LineServices.cs (50)
37
internal delegate
LsErr
FetchPap(
43
internal delegate
LsErr
FetchLineProps(
50
internal unsafe delegate
LsErr
FetchRunRedefined(
65
internal delegate
LsErr
GetRunTextMetrics (
73
internal unsafe delegate
LsErr
GetRunCharWidths(
86
internal delegate
LsErr
GetDurMaxExpandRagged(
93
internal unsafe delegate
LsErr
DrawTextRun(
108
internal delegate
LsErr
FInterruptShaping(
117
internal delegate
LsErr
GetRunUnderlineInfo(
125
internal delegate
LsErr
GetRunStrikethroughInfo(
133
internal delegate
LsErr
Hyphenate(
145
internal delegate
LsErr
GetNextHyphenOpp(
154
internal delegate
LsErr
GetPrevHyphenOpp(
163
internal delegate
LsErr
GetAutoNumberInfo(
176
internal delegate
LsErr
DrawUnderline(
188
internal delegate
LsErr
DrawStrikethrough(
200
internal unsafe delegate
LsErr
GetGlyphsRedefined(
218
internal unsafe delegate
LsErr
GetGlyphPositions(
236
internal unsafe delegate
LsErr
DrawGlyphs(
258
internal unsafe delegate
LsErr
EnumText(
282
internal unsafe delegate
LsErr
EnumTab(
296
internal unsafe delegate
LsErr
GetCharCompressionInfoFullMixed(
308
internal unsafe delegate
LsErr
GetCharExpansionInfoFullMixed(
320
internal unsafe delegate
LsErr
GetGlyphCompressionInfoFullMixed(
332
internal unsafe delegate
LsErr
GetGlyphExpansionInfoFullMixed(
351
internal unsafe delegate
LsErr
GetObjectHandlerInfo(
357
internal delegate
LsErr
InlineFormat(
370
internal delegate
LsErr
InlineDraw(
1409
internal static extern
LsErr
LoCreateContext(
1416
internal static extern
LsErr
LoDestroyContext(
1421
internal static extern
LsErr
LoCreateLine(
1435
internal static extern
LsErr
LoDisposeLine(
1442
internal static extern
LsErr
LoAcquireBreakRecord(
1448
internal static extern
LsErr
LoDisposeBreakRecord(
1455
internal static extern
LsErr
LoCloneBreakRecord(
1461
internal static extern
LsErr
LoRelievePenaltyResource(
1466
internal static extern
LsErr
LoSetBreaking(
1472
internal static extern
LsErr
LoSetDoc(
1480
internal static unsafe extern
LsErr
LoSetTabs(
1488
internal static extern
LsErr
LoDisplayLine(
1496
internal static extern
LsErr
LoEnumLine(
1504
internal static extern
LsErr
LoQueryLineCpPpoint(
1514
internal static extern
LsErr
LoQueryLinePointPcp(
1524
internal static extern
LsErr
LoCreateBreaks(
1535
internal static extern
LsErr
LoCreateParaBreakingSession(
1546
internal static extern
LsErr
LoDisposeParaBreakingSession(
1553
internal unsafe static extern
LsErr
LocbkGetObjectHandlerInfo(
1571
internal static extern
LsErr
LoAcquirePenaltyModule(
1577
internal static extern
LsErr
LoDisposePenaltyModule(
1582
internal static extern
LsErr
LoGetPenaltyModuleInternalHandle(
MS\Internal\TextFormatting\LineServicesCallbacks.cs (152)
60
internal unsafe
LsErr
FetchRunRedefined(
75
LsErr
lserr =
LsErr
.None;
127
return
LsErr
.None;
221
lserr =
LsErr
.ClientAbort;
226
lserr =
LsErr
.ClientAbort;
268
internal
LsErr
FetchPap(
274
LsErr
lserr =
LsErr
.None;
346
lserr =
LsErr
.ClientAbort;
351
lserr =
LsErr
.ClientAbort;
356
internal
LsErr
FetchLineProps(
363
LsErr
lserr =
LsErr
.None;
390
lserr =
LsErr
.ClientAbort;
395
lserr =
LsErr
.ClientAbort;
401
internal
LsErr
GetRunTextMetrics(
409
LsErr
lserr =
LsErr
.None;
436
lserr =
LsErr
.ClientAbort;
441
lserr =
LsErr
.ClientAbort;
448
internal unsafe
LsErr
GetRunCharWidths(
461
LsErr
lserr =
LsErr
.None;
530
lserr =
LsErr
.ClientAbort;
535
lserr =
LsErr
.ClientAbort;
540
internal
LsErr
GetDurMaxExpandRagged(
547
LsErr
lserr =
LsErr
.None;
561
lserr =
LsErr
.ClientAbort;
566
lserr =
LsErr
.ClientAbort;
572
internal
LsErr
GetAutoNumberInfo(
585
LsErr
lserr =
LsErr
.None;
639
lserr =
LsErr
.ClientAbort;
644
lserr =
LsErr
.ClientAbort;
649
internal
LsErr
GetRunUnderlineInfo(
657
LsErr
lserr =
LsErr
.None;
703
lserr =
LsErr
.ClientAbort;
708
lserr =
LsErr
.ClientAbort;
713
internal
LsErr
GetRunStrikethroughInfo(
721
LsErr
lserr =
LsErr
.None;
756
lserr =
LsErr
.ClientAbort;
761
lserr =
LsErr
.ClientAbort;
787
internal
LsErr
Hyphenate(
799
LsErr
lserr =
LsErr
.None;
816
lserr =
LsErr
.ClientAbort;
821
lserr =
LsErr
.ClientAbort;
827
internal
LsErr
GetNextHyphenOpp(
836
LsErr
lserr =
LsErr
.None;
853
lserr =
LsErr
.ClientAbort;
858
lserr =
LsErr
.ClientAbort;
864
internal
LsErr
GetPrevHyphenOpp(
873
LsErr
lserr =
LsErr
.None;
895
lserr =
LsErr
.ClientAbort;
900
lserr =
LsErr
.ClientAbort;
906
internal
LsErr
DrawStrikethrough(
918
LsErr
lserr =
LsErr
.None;
925
return
LsErr
.None;
960
lserr =
LsErr
.ClientAbort;
965
lserr =
LsErr
.ClientAbort;
971
internal
LsErr
DrawUnderline(
983
LsErr
lserr =
LsErr
.None;
990
return
LsErr
.None;
1013
lserr =
LsErr
.ClientAbort;
1018
lserr =
LsErr
.ClientAbort;
1409
internal unsafe
LsErr
DrawTextRun(
1424
LsErr
lserr =
LsErr
.None;
1470
lserr =
LsErr
.ClientAbort;
1475
lserr =
LsErr
.ClientAbort;
1481
internal
LsErr
FInterruptShaping(
1489
LsErr
lserr =
LsErr
.None;
1499
return
LsErr
.None;
1520
lserr =
LsErr
.ClientAbort;
1525
lserr =
LsErr
.ClientAbort;
1576
internal unsafe
LsErr
GetGlyphsRedefined(
1596
LsErr
lserr =
LsErr
.None;
1655
lserr =
LsErr
.ClientAbort;
1660
lserr =
LsErr
.ClientAbort;
1667
internal unsafe
LsErr
GetGlyphPositions(
1685
LsErr
lserr =
LsErr
.None;
1737
lserr =
LsErr
.ClientAbort;
1742
lserr =
LsErr
.ClientAbort;
1770
internal unsafe
LsErr
DrawGlyphs(
1792
LsErr
lserr =
LsErr
.None;
1843
lserr =
LsErr
.ClientAbort;
1848
lserr =
LsErr
.ClientAbort;
1859
internal unsafe
LsErr
GetCharCompressionInfoFullMixed(
1871
LsErr
lserr =
LsErr
.None;
1893
lserr =
LsErr
.ClientAbort;
1898
lserr =
LsErr
.ClientAbort;
1909
internal unsafe
LsErr
GetCharExpansionInfoFullMixed(
1921
LsErr
lserr =
LsErr
.None;
1943
lserr =
LsErr
.ClientAbort;
1948
lserr =
LsErr
.ClientAbort;
1957
private unsafe
LsErr
AdjustChars(
2004
return
LsErr
.None;
2013
internal unsafe
LsErr
GetGlyphCompressionInfoFullMixed(
2025
LsErr
lserr =
LsErr
.None;
2047
lserr =
LsErr
.ClientAbort;
2052
lserr =
LsErr
.ClientAbort;
2063
private unsafe
LsErr
CompressGlyphs(
2130
return
LsErr
.None;
2138
internal unsafe
LsErr
GetGlyphExpansionInfoFullMixed(
2152
LsErr
lserr =
LsErr
.None;
2179
lserr =
LsErr
.ClientAbort;
2184
lserr =
LsErr
.ClientAbort;
2194
private unsafe
LsErr
ExpandGlyphs(
2274
return
LsErr
.None;
2282
internal unsafe
LsErr
GetObjectHandlerInfo(
2288
LsErr
lserr =
LsErr
.None;
2323
lserr =
LsErr
.ClientAbort;
2328
lserr =
LsErr
.ClientAbort;
2333
internal
LsErr
InlineFormat(
2346
LsErr
lserr =
LsErr
.None;
2395
lserr =
LsErr
.ClientAbort;
2400
lserr =
LsErr
.ClientAbort;
2427
internal
LsErr
InlineDraw(
2435
LsErr
lserr =
LsErr
.None;
2559
lserr =
LsErr
.ClientAbort;
2564
lserr =
LsErr
.ClientAbort;
2582
internal unsafe
LsErr
EnumText(
2611
return
LsErr
.None;
2614
LsErr
lserr =
LsErr
.None;
2688
lserr =
LsErr
.ClientAbort;
2693
lserr =
LsErr
.ClientAbort;
2700
internal unsafe
LsErr
EnumTab(
2717
return
LsErr
.None;
2720
LsErr
lserr =
LsErr
.None;
2770
lserr =
LsErr
.ClientAbort;
2775
lserr =
LsErr
.ClientAbort;
MS\Internal\TextFormatting\TextMetrics.cs (2)
292
LsErr
lserr = UnsafeNativeMethods.LoAcquireBreakRecord(ploline, out pbreakrec);
294
if (lserr !=
LsErr
.None)
MS\Internal\TextFormatting\TextPenaltyModule.cs (4)
27
LsErr
lserr = UnsafeNativeMethods.LoAcquirePenaltyModule(ploc, out ploPenaltyModule);
28
if (lserr !=
LsErr
.None)
81
LsErr
lserr = UnsafeNativeMethods.LoGetPenaltyModuleInternalHandle(_ploPenaltyModule, out penaltyModuleInternalHandle);
83
if (lserr !=
LsErr
.None)
System\Windows\Media\textformatting\TextFormatterContext.cs (14)
43
LsErr
lserr =
LsErr
.None;
120
if (lserr !=
LsErr
.None)
258
LsErr
lserr = UnsafeNativeMethods.LoSetBreaking(_ploc, (int) breaking);
260
if (lserr !=
LsErr
.None)
275
internal
LsErr
CreateLine(
304
internal
LsErr
CreateBreaks(
327
internal
LsErr
CreateParaBreakingSession(
355
LsErr
lserr = UnsafeNativeMethods.LoSetDoc(
362
if(lserr !=
LsErr
.None)
375
LsErr
lserr = UnsafeNativeMethods.LoSetTabs(
382
if(lserr !=
LsErr
.None)
389
static internal void ThrowExceptionFromLsError(string message,
LsErr
lserr)
391
if (lserr ==
LsErr
.OutOfMemory)
System\Windows\Media\textformatting\TextLineBreak.cs (2)
74
LsErr
lserr = UnsafeNativeMethods.LoCloneBreakRecord(_breakRecord, out pbreakrec);
76
if (lserr !=
LsErr
.None)
System\Windows\Media\textformatting\TextParagraphCache.cs (2)
55
LsErr
lserr = context.CreateParaBreakingSession(
71
if(lserr !=
LsErr
.None)