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