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