Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.2 KiB

  1. #ifndef LSTXTCMP_DEFINED
  2. #define LSTXTCMP_DEFINED
  3. #include "lsidefs.h"
  4. #include "pilsobj.h"
  5. #include "lsgrchnk.h"
  6. #include "lstflow.h"
  7. #include "mwcls.h"
  8. LSERR FetchCompressInfo(const LSGRCHNK* plsgrchnk, BOOL fFirstOnLine, LSTFLOW lstflow,
  9. long itxtobjFirst, long iwchFirst, long itxtobjLast, long iwchLim,
  10. long durCompressMaxStop, long* pdurCompressTotal);
  11. void GetCompLastCharInfo(PILSOBJ pilsobj, long iwchLast, MWCLS* pmwcls,
  12. long* pdurCompRight, long* pdurCompLeft);
  13. void CompressLastCharRight(PILSOBJ pilsobj, long iwchLast, long durToAdjustRight);
  14. LSERR ApplyCompress(const LSGRCHNK* plsgrchnk, LSTFLOW lstflow,
  15. long itxtobjFirst, long iwchFirst, long itxtobjLast, long iwchLim, long durToCompress);
  16. LSERR ApplyExpand(const LSGRCHNK* plsgrchnk, LSTFLOW lstflow, BOOL fScaled,
  17. long itxtobjFirst, long iwchFirst, long itxtobjLast, long iwchLim,
  18. DWORD cNonTextObjects, long durToExpand, long* pdurExtNonText, BOOL* pfFinalAdjustNeeded);
  19. void ApplyDistribution(const LSGRCHNK* plsgrchnk, DWORD cNonText,
  20. long durToDistribute, long* pdurNonTextObjects);
  21. #endif /* !LSTXTCMP_DEFINED */