1 write to Context
PresentationFramework (1)
MS\Internal\PtsHost\PtsCache.cs (1)
201_contextPool[index].PtsHost.Context = CreatePTSContext(index, textFormattingMode);
38 references to Context
PresentationFramework (38)
MS\Internal\PtsHost\PtsCache.cs (6)
318Invariant.Assert(_contextPool[index].PtsHost.Context == ptsContext.Context, "PTS Context mismatch."); 331Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 332PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context)); 380if (_contextPool[index].PtsHost.Context == ptsContext.Context) 406Invariant.Assert(_contextPool[index].PtsHost.Context != IntPtr.Zero, "PTS Context handle is not valid."); 407PTS.Validate(PTS.DestroyDocContext(_contextPool[index].PtsHost.Context));
MS\Internal\PtsHost\PtsContext.cs (5)
89PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, (IntPtr)_pageBreakRecords[index])); 107PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, (IntPtr)_pages[index])); 384get { return _ptsHost.Context; } 494PTS.Validate(PTS.FsDestroyPage(_ptsHost.Context, ptsPage)); 528PTS.Validate(PTS.FsDestroyPageBreakRecord(_ptsHost.Context, br));
MS\Internal\PtsHost\PtsHost.cs (27)
2425return PTS.FsClearUpdateInfoInSubpage(Context, pfsFloaterContent); 2461return PTS.FsCompareSubpages(Context, pfsFloaterContentOld, pfsFloaterContentNew, out fscmpr); 2480return PTS.FsDestroySubpage(Context, pfsFloaterContent); 2497return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkFloaterContent, out pfsbrkFloaterContentDup); 2513return PTS.FsDestroySubpageBreakRecord(Context, pfsbrkFloaterContent); 2544return PTS.FsGetSubpageColumnBalancingInfo(Context, pfsFloaterContent, 2561return PTS.FsGetNumberSubpageFootnotes(Context, pfsFloaterContent, out cftn); 2877PTS.Validate(PTS.FsSynchronizeBottomlessSubtrack(Context, pfspara, pfsgeom, fswdir, dvrShift), PtsContext); 2901return PTS.FsCompareSubtrack(Context, pfsparaOld, pfsparaNew, fswdir, out fscmpr, out dvrShifted); 2907return PTS.FsClearUpdateInfoInSubtrack(Context, pfspara); 2913return PTS.FsDestroySubtrack(Context, pfspara); 2921return PTS.FsDuplicateSubtrackBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup); 2928return PTS.FsDestroySubtrackBreakRecord(Context, pfsobjbrk); 2938return PTS.FsGetSubtrackColumnBalancingInfo(Context, pfspara, fswdir, 2946return PTS.FsGetNumberSubtrackFootnotes(Context, pfspara, out nftn); 2975return PTS.FsTransferDisplayInfoSubtrack(Context, pfsparaOld, pfsparaNew); 3200return PTS.FsCompareSubpages(Context, pfsparaOld, pfsparaNew, out fscmpr); 3205return PTS.FsClearUpdateInfoInSubpage(Context, pfspara); 3211return PTS.FsDestroySubpage(Context, pfspara); 3219return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkrecparaOrig, out pfsbrkrecparaDup); 3226return PTS.FsDestroySubpageBreakRecord(Context, pfsobjbrk); 3236return PTS.FsGetSubpageColumnBalancingInfo(Context, pfspara, out fswdir, 3244return PTS.FsGetNumberSubpageFootnotes(Context, pfspara, out nftn); 3255return PTS.FsGetSubpageFootnoteInfo(Context, pfspara, nftn, iftnFirst, out fswdir, pfsftninf, out iftnLim); 3274return PTS.FsTransferDisplayInfoSubpage(Context, pfsparaOld, pfsparaNew); 4085return PTS.FsDuplicateSubpageBreakRecord(Context, pfsbrkcell, out ppfsbrkcellDup); 4092return PTS.FsDestroySubpageBreakRecord(Context, pfsbrkcell);