Example #1
0
File: Pts.cs Project: JianwenSun/cc
 internal static unsafe extern int FsUpdateBottomlessSubpage(
     IntPtr pfsContext,                  // IN:  ptr to FS context
     IntPtr pfsSubpage,                  // IN:  ptr to the subpage
     IntPtr nmSeg,                       // IN:  name of the segment to start from
     int fSuppressTopSpace,              // IN:  suppress top space?
     uint fswdir,                        // IN:  fswdir
     int lWidth,                         // IN:  width of subpage
     int urMargin,                       // IN:  ur of margin
     int durMargin,                      // IN:  dur of margin
     int vrMargin,                       // IN:  vr of margin
     int cColumns,                       // IN:  number of columns
     FSCOLUMNINFO* rgColumnInfo,         // IN:  array of column info
     int cSegmentAreas,                  // IN:  number of segment-defined colspan areas
     IntPtr* rgnSegmentForArea,          // IN:  array of segment names for colspan areas
     int* rgSpanForSegmentArea,          // IN:  array of columns spanned for segment-defined areas
     int cHeightAreas,                   // IN:  number of height-defined colspan areas
     int* rgHeightForArea,               // IN:  array of heights for height-defined colspan areas
     int* rgSpanForHeightArea,           // IN:  array of columns spanned for height-defined areas
     int fINterrruptible,                // IN:  can be interrupted?
     out FSFMTRBL pfsfmtr,               // OUT: why formatting was stopped
     out int pdvrUsed,                   // OUT: dvrUsed
     out FSBBOX pfsBBox,                 // OUT: subpage bbox
     out IntPtr pfsMcsClient,            // OUT: margin collapsing state at the bottom
     out int pTopSpace,                  // OUT: top space due to collapsed margins
     out int fPageBecomesUninterruptible);// OUT: interruption is prohibited from now on
Example #2
0
File: Pts.cs Project: JianwenSun/cc
        internal static extern unsafe int FsCreateSubpageFinite(
            IntPtr pfsContext,                  // IN:  ptr to FS context
            IntPtr pBRSubPageStart,             // IN: ptr to brk record of subpage
            int fFromPreviousPage,              // IN:  break record was created on previous page
            IntPtr nSeg,                        // IN:  name of the segment to start from-if pointer to break rec is NULL
            IntPtr pFtnRej,                     // IN:  pftnrej
            int fEmptyOk,                       // IN:  fEmptyOK
            int fSuppressTopSpace,              // IN:  fSuppressTopSpace
            uint fswdir,                        // IN:  fswdir
            int lWidth,                         // IN:  width of subpage
            int lHeight,                        // IN:  height of subpage
            ref FSRECT rcMargin,                // IN:  rectangle within subpage margins
            int cColumns,                       // IN:  number of columns
            FSCOLUMNINFO* rgColumnInfo,         // IN:  array of column info
            int fApplyColumnBalancing,          // IN:  apply column balancing?
            int cSegmentAreas,                  // IN:  number of segment-defined colspan areas
            IntPtr* rgnSegmentForArea,          // IN:  array of segment names for colspan areas
            int* rgSpanForSegmentArea,          // IN:  array of columns spanned for segment-defined areas
            int cHeightAreas,                   // IN:  number of height-defined colspan areas
            int* rgHeightForArea,               // IN:  array of heights for height-defined colspan areas
            int* rgSpanForHeightArea,           // IN:  array of columns spanned for height-defined areas
            int fAllowOverhangBottom,           // IN:  allow overhang over bottom margin?
            FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,

            out FSFMTR fsfmtr,                  // OUT: why formatting was stopped
            out IntPtr pSubPage,                // OUT: ptr to the subpage
            out IntPtr pBRSubPageOut,           // OUT: break record of the subpage
            out int dvrUsed,                    // OUT: dvrUsed
            out FSBBOX fsBBox,                  // OUT: subpage bbox
            out IntPtr pfsMcsClient,            // OUT: margin collapsing state at the bottom
            out int topSpace);                  // OUT: top space due to collapsed margins