246 references to LsErr
PresentationCore (246)
Core\CSharp\MS\Internal\TextFormatting\FullTextBreakpoint.cs (4)
103
LsErr
lserr = context.CreateBreaks(
118
if(lserr !=
LsErr
.None)
287
LsErr
lserr = UnsafeNativeMethods.LoRelievePenaltyResource(_ploline.Value);
288
if (lserr !=
LsErr
.None)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (16)
268
LsErr
lserr = context.CreateLine(
281
if (lserr ==
LsErr
.TooLongParagraph)
311
if (lserr !=
LsErr
.TooLongParagraph || cpLimit == 1)
334
if(lserr !=
LsErr
.None)
631
LsErr
lserr =
LsErr
.None;
664
if(lserr !=
LsErr
.None)
2184
LsErr
lserr =
LsErr
.None;
2204
if (lserr !=
LsErr
.None)
2511
LsErr
lserr =
LsErr
.None;
2529
if(lserr !=
LsErr
.None)
2570
LsErr
lserr =
LsErr
.None;
2592
if(lserr !=
LsErr
.None)
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (50)
44
internal delegate
LsErr
FetchPap(
50
internal delegate
LsErr
FetchLineProps(
61
internal unsafe delegate
LsErr
FetchRunRedefined(
76
internal delegate
LsErr
GetRunTextMetrics (
88
internal unsafe delegate
LsErr
GetRunCharWidths(
101
internal delegate
LsErr
GetDurMaxExpandRagged(
112
internal unsafe delegate
LsErr
DrawTextRun(
127
internal delegate
LsErr
FInterruptShaping(
136
internal delegate
LsErr
GetRunUnderlineInfo(
144
internal delegate
LsErr
GetRunStrikethroughInfo(
152
internal delegate
LsErr
Hyphenate(
164
internal delegate
LsErr
GetNextHyphenOpp(
173
internal delegate
LsErr
GetPrevHyphenOpp(
182
internal delegate
LsErr
GetAutoNumberInfo(
195
internal delegate
LsErr
DrawUnderline(
207
internal delegate
LsErr
DrawStrikethrough(
223
internal unsafe delegate
LsErr
GetGlyphsRedefined(
245
internal unsafe delegate
LsErr
GetGlyphPositions(
267
internal unsafe delegate
LsErr
DrawGlyphs(
293
internal unsafe delegate
LsErr
EnumText(
321
internal unsafe delegate
LsErr
EnumTab(
339
internal unsafe delegate
LsErr
GetCharCompressionInfoFullMixed(
355
internal unsafe delegate
LsErr
GetCharExpansionInfoFullMixed(
371
internal unsafe delegate
LsErr
GetGlyphCompressionInfoFullMixed(
387
internal unsafe delegate
LsErr
GetGlyphExpansionInfoFullMixed(
410
internal unsafe delegate
LsErr
GetObjectHandlerInfo(
416
internal delegate
LsErr
InlineFormat(
429
internal delegate
LsErr
InlineDraw(
1702
internal static extern
LsErr
LoCreateContext(
1713
internal static extern
LsErr
LoDestroyContext(
1722
internal static extern
LsErr
LoCreateLine(
1740
internal static extern
LsErr
LoDisposeLine(
1751
internal static extern
LsErr
LoAcquireBreakRecord(
1761
internal static extern
LsErr
LoDisposeBreakRecord(
1772
internal static extern
LsErr
LoCloneBreakRecord(
1782
internal static extern
LsErr
LoRelievePenaltyResource(
1791
internal static extern
LsErr
LoSetBreaking(
1801
internal static extern
LsErr
LoSetDoc(
1813
internal static unsafe extern
LsErr
LoSetTabs(
1825
internal static extern
LsErr
LoDisplayLine(
1837
internal static extern
LsErr
LoEnumLine(
1849
internal static extern
LsErr
LoQueryLineCpPpoint(
1863
internal static extern
LsErr
LoQueryLinePointPcp(
1877
internal static extern
LsErr
LoCreateBreaks(
1892
internal static extern
LsErr
LoCreateParaBreakingSession(
1907
internal static extern
LsErr
LoDisposeParaBreakingSession(
1918
internal unsafe static extern
LsErr
LocbkGetObjectHandlerInfo(
1951
internal static extern
LsErr
LoAcquirePenaltyModule(
1961
internal static extern
LsErr
LoDisposePenaltyModule(
1970
internal static extern
LsErr
LoGetPenaltyModuleInternalHandle(
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (152)
109
internal unsafe
LsErr
FetchRunRedefined(
124
LsErr
lserr =
LsErr
.None;
176
return
LsErr
.None;
270
lserr =
LsErr
.ClientAbort;
275
lserr =
LsErr
.ClientAbort;
326
internal
LsErr
FetchPap(
332
LsErr
lserr =
LsErr
.None;
404
lserr =
LsErr
.ClientAbort;
409
lserr =
LsErr
.ClientAbort;
418
internal
LsErr
FetchLineProps(
425
LsErr
lserr =
LsErr
.None;
452
lserr =
LsErr
.ClientAbort;
457
lserr =
LsErr
.ClientAbort;
467
internal
LsErr
GetRunTextMetrics(
475
LsErr
lserr =
LsErr
.None;
502
lserr =
LsErr
.ClientAbort;
507
lserr =
LsErr
.ClientAbort;
519
internal unsafe
LsErr
GetRunCharWidths(
532
LsErr
lserr =
LsErr
.None;
601
lserr =
LsErr
.ClientAbort;
606
lserr =
LsErr
.ClientAbort;
615
internal
LsErr
GetDurMaxExpandRagged(
622
LsErr
lserr =
LsErr
.None;
636
lserr =
LsErr
.ClientAbort;
641
lserr =
LsErr
.ClientAbort;
651
internal
LsErr
GetAutoNumberInfo(
664
LsErr
lserr =
LsErr
.None;
716
lserr =
LsErr
.ClientAbort;
721
lserr =
LsErr
.ClientAbort;
730
internal
LsErr
GetRunUnderlineInfo(
738
LsErr
lserr =
LsErr
.None;
784
lserr =
LsErr
.ClientAbort;
789
lserr =
LsErr
.ClientAbort;
798
internal
LsErr
GetRunStrikethroughInfo(
806
LsErr
lserr =
LsErr
.None;
841
lserr =
LsErr
.ClientAbort;
846
lserr =
LsErr
.ClientAbort;
876
internal
LsErr
Hyphenate(
888
LsErr
lserr =
LsErr
.None;
905
lserr =
LsErr
.ClientAbort;
910
lserr =
LsErr
.ClientAbort;
920
internal
LsErr
GetNextHyphenOpp(
929
LsErr
lserr =
LsErr
.None;
946
lserr =
LsErr
.ClientAbort;
951
lserr =
LsErr
.ClientAbort;
961
internal
LsErr
GetPrevHyphenOpp(
970
LsErr
lserr =
LsErr
.None;
992
lserr =
LsErr
.ClientAbort;
997
lserr =
LsErr
.ClientAbort;
1008
internal
LsErr
DrawStrikethrough(
1020
LsErr
lserr =
LsErr
.None;
1027
return
LsErr
.None;
1062
lserr =
LsErr
.ClientAbort;
1067
lserr =
LsErr
.ClientAbort;
1078
internal
LsErr
DrawUnderline(
1090
LsErr
lserr =
LsErr
.None;
1097
return
LsErr
.None;
1120
lserr =
LsErr
.ClientAbort;
1125
lserr =
LsErr
.ClientAbort;
1533
internal unsafe
LsErr
DrawTextRun(
1548
LsErr
lserr =
LsErr
.None;
1594
lserr =
LsErr
.ClientAbort;
1599
lserr =
LsErr
.ClientAbort;
1609
internal
LsErr
FInterruptShaping(
1617
LsErr
lserr =
LsErr
.None;
1627
return
LsErr
.None;
1648
lserr =
LsErr
.ClientAbort;
1653
lserr =
LsErr
.ClientAbort;
1708
internal unsafe
LsErr
GetGlyphsRedefined(
1728
LsErr
lserr =
LsErr
.None;
1787
lserr =
LsErr
.ClientAbort;
1792
lserr =
LsErr
.ClientAbort;
1803
internal unsafe
LsErr
GetGlyphPositions(
1821
LsErr
lserr =
LsErr
.None;
1873
lserr =
LsErr
.ClientAbort;
1878
lserr =
LsErr
.ClientAbort;
1915
internal unsafe
LsErr
DrawGlyphs(
1937
LsErr
lserr =
LsErr
.None;
1988
lserr =
LsErr
.ClientAbort;
1993
lserr =
LsErr
.ClientAbort;
2009
internal unsafe
LsErr
GetCharCompressionInfoFullMixed(
2021
LsErr
lserr =
LsErr
.None;
2043
lserr =
LsErr
.ClientAbort;
2048
lserr =
LsErr
.ClientAbort;
2064
internal unsafe
LsErr
GetCharExpansionInfoFullMixed(
2076
LsErr
lserr =
LsErr
.None;
2098
lserr =
LsErr
.ClientAbort;
2103
lserr =
LsErr
.ClientAbort;
2116
private unsafe
LsErr
AdjustChars(
2163
return
LsErr
.None;
2177
internal unsafe
LsErr
GetGlyphCompressionInfoFullMixed(
2189
LsErr
lserr =
LsErr
.None;
2211
lserr =
LsErr
.ClientAbort;
2216
lserr =
LsErr
.ClientAbort;
2231
private unsafe
LsErr
CompressGlyphs(
2298
return
LsErr
.None;
2311
internal unsafe
LsErr
GetGlyphExpansionInfoFullMixed(
2325
LsErr
lserr =
LsErr
.None;
2352
lserr =
LsErr
.ClientAbort;
2357
lserr =
LsErr
.ClientAbort;
2371
private unsafe
LsErr
ExpandGlyphs(
2451
return
LsErr
.None;
2467
internal unsafe
LsErr
GetObjectHandlerInfo(
2473
LsErr
lserr =
LsErr
.None;
2506
lserr =
LsErr
.ClientAbort;
2511
lserr =
LsErr
.ClientAbort;
2520
internal
LsErr
InlineFormat(
2533
LsErr
lserr =
LsErr
.None;
2580
lserr =
LsErr
.ClientAbort;
2585
lserr =
LsErr
.ClientAbort;
2616
internal
LsErr
InlineDraw(
2624
LsErr
lserr =
LsErr
.None;
2748
lserr =
LsErr
.ClientAbort;
2753
lserr =
LsErr
.ClientAbort;
2776
internal unsafe
LsErr
EnumText(
2805
return
LsErr
.None;
2808
LsErr
lserr =
LsErr
.None;
2882
lserr =
LsErr
.ClientAbort;
2887
lserr =
LsErr
.ClientAbort;
2899
internal unsafe
LsErr
EnumTab(
2916
return
LsErr
.None;
2919
LsErr
lserr =
LsErr
.None;
2969
lserr =
LsErr
.ClientAbort;
2974
lserr =
LsErr
.ClientAbort;
Core\CSharp\MS\Internal\TextFormatting\TextMetrics.cs (2)
317
LsErr
lserr = UnsafeNativeMethods.LoAcquireBreakRecord(ploline, out pbreakrec);
319
if (lserr !=
LsErr
.None)
Core\CSharp\MS\Internal\TextFormatting\TextPenaltyModule.cs (4)
55
LsErr
lserr = UnsafeNativeMethods.LoAcquirePenaltyModule(ploc.Value, out ploPenaltyModule);
56
if (lserr !=
LsErr
.None)
118
LsErr
lserr = UnsafeNativeMethods.LoGetPenaltyModuleInternalHandle(_ploPenaltyModule.Value, out penaltyModuleInternalHandle);
120
if (lserr !=
LsErr
.None)
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (14)
83
LsErr
lserr =
LsErr
.None;
160
if (lserr !=
LsErr
.None)
322
LsErr
lserr = UnsafeNativeMethods.LoSetBreaking(_ploc.Value, (int) breaking);
324
if (lserr !=
LsErr
.None)
345
internal
LsErr
CreateLine(
380
internal
LsErr
CreateBreaks(
409
internal
LsErr
CreateParaBreakingSession(
442
LsErr
lserr = UnsafeNativeMethods.LoSetDoc(
449
if(lserr !=
LsErr
.None)
469
LsErr
lserr = UnsafeNativeMethods.LoSetTabs(
476
if(lserr !=
LsErr
.None)
483
static internal void ThrowExceptionFromLsError(string message,
LsErr
lserr)
485
if (lserr ==
LsErr
.OutOfMemory)
Core\CSharp\System\Windows\Media\TextFormatting\TextLineBreak.cs (2)
99
LsErr
lserr = UnsafeNativeMethods.LoCloneBreakRecord(_breakRecord.Value, out pbreakrec);
101
if (lserr !=
LsErr
.None)
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (2)
81
LsErr
lserr = context.CreateParaBreakingSession(
97
if(lserr !=
LsErr
.None)