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