246 references to LsErr
PresentationCore (246)
MS\Internal\TextFormatting\FullTextBreakpoint.cs (4)
73
LsErr
lserr = context.CreateBreaks(
88
if(lserr !=
LsErr
.None)
237
LsErr
lserr = UnsafeNativeMethods.LoRelievePenaltyResource(_ploline);
238
if (lserr !=
LsErr
.None)
MS\Internal\TextFormatting\FullTextLine.cs (16)
230
LsErr
lserr = context.CreateLine(
243
if (lserr ==
LsErr
.TooLongParagraph)
273
if (lserr !=
LsErr
.TooLongParagraph || cpLimit == 1)
296
if(lserr !=
LsErr
.None)
583
LsErr
lserr =
LsErr
.None;
616
if(lserr !=
LsErr
.None)
2127
LsErr
lserr =
LsErr
.None;
2147
if (lserr !=
LsErr
.None)
2442
LsErr
lserr =
LsErr
.None;
2460
if(lserr !=
LsErr
.None)
2495
LsErr
lserr =
LsErr
.None;
2517
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)
71
internal unsafe
LsErr
FetchRunRedefined(
86
LsErr
lserr =
LsErr
.None;
138
return
LsErr
.None;
232
lserr =
LsErr
.ClientAbort;
237
lserr =
LsErr
.ClientAbort;
279
internal
LsErr
FetchPap(
285
LsErr
lserr =
LsErr
.None;
357
lserr =
LsErr
.ClientAbort;
362
lserr =
LsErr
.ClientAbort;
367
internal
LsErr
FetchLineProps(
374
LsErr
lserr =
LsErr
.None;
401
lserr =
LsErr
.ClientAbort;
406
lserr =
LsErr
.ClientAbort;
412
internal
LsErr
GetRunTextMetrics(
420
LsErr
lserr =
LsErr
.None;
447
lserr =
LsErr
.ClientAbort;
452
lserr =
LsErr
.ClientAbort;
459
internal unsafe
LsErr
GetRunCharWidths(
472
LsErr
lserr =
LsErr
.None;
541
lserr =
LsErr
.ClientAbort;
546
lserr =
LsErr
.ClientAbort;
551
internal
LsErr
GetDurMaxExpandRagged(
558
LsErr
lserr =
LsErr
.None;
572
lserr =
LsErr
.ClientAbort;
577
lserr =
LsErr
.ClientAbort;
583
internal
LsErr
GetAutoNumberInfo(
596
LsErr
lserr =
LsErr
.None;
648
lserr =
LsErr
.ClientAbort;
653
lserr =
LsErr
.ClientAbort;
658
internal
LsErr
GetRunUnderlineInfo(
666
LsErr
lserr =
LsErr
.None;
712
lserr =
LsErr
.ClientAbort;
717
lserr =
LsErr
.ClientAbort;
722
internal
LsErr
GetRunStrikethroughInfo(
730
LsErr
lserr =
LsErr
.None;
765
lserr =
LsErr
.ClientAbort;
770
lserr =
LsErr
.ClientAbort;
796
internal
LsErr
Hyphenate(
808
LsErr
lserr =
LsErr
.None;
825
lserr =
LsErr
.ClientAbort;
830
lserr =
LsErr
.ClientAbort;
836
internal
LsErr
GetNextHyphenOpp(
845
LsErr
lserr =
LsErr
.None;
862
lserr =
LsErr
.ClientAbort;
867
lserr =
LsErr
.ClientAbort;
873
internal
LsErr
GetPrevHyphenOpp(
882
LsErr
lserr =
LsErr
.None;
904
lserr =
LsErr
.ClientAbort;
909
lserr =
LsErr
.ClientAbort;
915
internal
LsErr
DrawStrikethrough(
927
LsErr
lserr =
LsErr
.None;
934
return
LsErr
.None;
969
lserr =
LsErr
.ClientAbort;
974
lserr =
LsErr
.ClientAbort;
980
internal
LsErr
DrawUnderline(
992
LsErr
lserr =
LsErr
.None;
999
return
LsErr
.None;
1022
lserr =
LsErr
.ClientAbort;
1027
lserr =
LsErr
.ClientAbort;
1418
internal unsafe
LsErr
DrawTextRun(
1433
LsErr
lserr =
LsErr
.None;
1479
lserr =
LsErr
.ClientAbort;
1484
lserr =
LsErr
.ClientAbort;
1490
internal
LsErr
FInterruptShaping(
1498
LsErr
lserr =
LsErr
.None;
1508
return
LsErr
.None;
1529
lserr =
LsErr
.ClientAbort;
1534
lserr =
LsErr
.ClientAbort;
1585
internal unsafe
LsErr
GetGlyphsRedefined(
1605
LsErr
lserr =
LsErr
.None;
1664
lserr =
LsErr
.ClientAbort;
1669
lserr =
LsErr
.ClientAbort;
1676
internal unsafe
LsErr
GetGlyphPositions(
1694
LsErr
lserr =
LsErr
.None;
1746
lserr =
LsErr
.ClientAbort;
1751
lserr =
LsErr
.ClientAbort;
1779
internal unsafe
LsErr
DrawGlyphs(
1801
LsErr
lserr =
LsErr
.None;
1852
lserr =
LsErr
.ClientAbort;
1857
lserr =
LsErr
.ClientAbort;
1868
internal unsafe
LsErr
GetCharCompressionInfoFullMixed(
1880
LsErr
lserr =
LsErr
.None;
1902
lserr =
LsErr
.ClientAbort;
1907
lserr =
LsErr
.ClientAbort;
1918
internal unsafe
LsErr
GetCharExpansionInfoFullMixed(
1930
LsErr
lserr =
LsErr
.None;
1952
lserr =
LsErr
.ClientAbort;
1957
lserr =
LsErr
.ClientAbort;
1966
private unsafe
LsErr
AdjustChars(
2013
return
LsErr
.None;
2022
internal unsafe
LsErr
GetGlyphCompressionInfoFullMixed(
2034
LsErr
lserr =
LsErr
.None;
2056
lserr =
LsErr
.ClientAbort;
2061
lserr =
LsErr
.ClientAbort;
2072
private unsafe
LsErr
CompressGlyphs(
2139
return
LsErr
.None;
2147
internal unsafe
LsErr
GetGlyphExpansionInfoFullMixed(
2161
LsErr
lserr =
LsErr
.None;
2188
lserr =
LsErr
.ClientAbort;
2193
lserr =
LsErr
.ClientAbort;
2203
private unsafe
LsErr
ExpandGlyphs(
2283
return
LsErr
.None;
2291
internal unsafe
LsErr
GetObjectHandlerInfo(
2297
LsErr
lserr =
LsErr
.None;
2330
lserr =
LsErr
.ClientAbort;
2335
lserr =
LsErr
.ClientAbort;
2340
internal
LsErr
InlineFormat(
2353
LsErr
lserr =
LsErr
.None;
2400
lserr =
LsErr
.ClientAbort;
2405
lserr =
LsErr
.ClientAbort;
2432
internal
LsErr
InlineDraw(
2440
LsErr
lserr =
LsErr
.None;
2564
lserr =
LsErr
.ClientAbort;
2569
lserr =
LsErr
.ClientAbort;
2587
internal unsafe
LsErr
EnumText(
2616
return
LsErr
.None;
2619
LsErr
lserr =
LsErr
.None;
2693
lserr =
LsErr
.ClientAbort;
2698
lserr =
LsErr
.ClientAbort;
2705
internal unsafe
LsErr
EnumTab(
2722
return
LsErr
.None;
2725
LsErr
lserr =
LsErr
.None;
2775
lserr =
LsErr
.ClientAbort;
2780
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)