1 write to Context
PresentationFramework (1)
MS\Internal\PtsHost\PtsCache.cs (1)
199_contextPool[index].PtsHost.Context = CreatePTSContext(index, textFormattingMode);
38 references to Context
PresentationFramework (38)
MS\Internal\PtsHost\PtsCache.cs (6)
317Invariant.Assert(_contextPool[index].PtsHost.Context == ptsContext.Context, "PTS Context mismatch."); 330Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 331PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 379if (_contextPool[index].PtsHost.Context == ptsContext.Context) 405Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 406PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context));
MS\Internal\PtsHost\PtsContext.cs (5)
86PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index])); 104PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index])); 381get { return _ptsHost.Context; } 491PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, ptsPage)); 525PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, br));
MS\Internal\PtsHost\PtsHost.cs (27)
2403return PTS.FsClearUpdateInfoInSubpage(Context, pfsFloaterContent); 2439return PTS.FsCompareSubpages(Context, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr); 2458return PTS.FsDestroySubpage(Context, pfsFloaterContent); 2475return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkFloaterContent, out pfsbrkFloaterContentDup); 2491return PTS.FsDestroySubpageBreakRecord(Context, pfsbrkFloaterContent); 2522return PTS.FsGetSubpageColumnBalancingInfo(Context, pfsFloaterContent, 2539return PTS.FsGetNumberSubpageFootnotes(Context, pfsFloaterContent, out cftn); 2855PTS.Validate(PTS.FsSynchronizeBottomlessSubtrack(Context, pfspara, pfsgeom, fswdir, dvrShift), PtsContext); 2879return PTS.FsCompareSubtrack(Context, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted); 2885return PTS.FsClearUpdateInfoInSubtrack(Context, pfspara); 2891return PTS.FsDestroySubtrack(Context, pfspara); 2899return PTS.FsDuplicateSubtrackBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup); 2906return PTS.FsDestroySubtrackBreakRecord(Context, pfsobjbrk); 2916return PTS.FsGetSubtrackColumnBalancingInfo(Context, pfspara, fswdir, 2924return PTS.FsGetNumberSubtrackFootnotes(Context, pfspara, out nftn); 2953return PTS.FsTransferDisplayInfoSubtrack(Context, pfsparaOld, pfsparaNew); 3178return PTS.FsCompareSubpages(Context, pfsparaOld, pfsparaNew, out fscmpr); 3183return PTS.FsClearUpdateInfoInSubpage(Context, pfspara); 3189return PTS.FsDestroySubpage(Context, pfspara); 3197return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup); 3204return PTS.FsDestroySubpageBreakRecord(Context, pfsobjbrk); 3214return PTS.FsGetSubpageColumnBalancingInfo(Context, pfspara, out fswdir, 3222return PTS.FsGetNumberSubpageFootnotes(Context, pfspara, out nftn); 3233return PTS.FsGetSubpageFootnoteInfo(Context, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim); 3252return PTS.FsTransferDisplayInfoSubpage(Context, pfsparaOld, pfsparaNew); 4063return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkcell, out ppfsbrkcellDup); 4070return PTS.FsDestroySubpageBreakRecord(Context, pfsbrkcell);