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.

64 lines
2.0 KiB

  1. #ifndef SUBLUTIL_DEFINED
  2. #define SUBLUTIL_DEFINED
  3. #include "lsdefs.h"
  4. #include "plssubl.h"
  5. #include "plsrun.h"
  6. #include "pobjdim.h"
  7. #include "plsiocon.h"
  8. #include "lscbk.h"
  9. #include "pqheap.h"
  10. /* ROUTINES ------------------------------------------------------------------------------*/
  11. LSERR DestroySublineCore(PLSSUBL plssubl,LSCBK* plscbk, POLS pols,
  12. PLSIOBJCONTEXT plsiobjcontext, BOOL fDontReleaseRuns);
  13. LSERR GetObjDimSublineCore(
  14. PLSSUBL plssubl, /* IN: subline */
  15. POBJDIM pobjdim); /* OUT: dimension of subline */
  16. LSERR GetDupSublineCore(
  17. PLSSUBL plssubl, /* IN: Subline Context */
  18. long* pdup); /* OUT: dup of subline */
  19. LSERR GetSpecialEffectsSublineCore(
  20. PLSSUBL plssubl, /* IN: subline */
  21. PLSIOBJCONTEXT plsiobjcontext, /* objects methods */
  22. UINT* pEffectsFlags); /* OUT: special effects */
  23. BOOL FAreTabsPensInSubline(
  24. PLSSUBL plssubl); /* IN: subline */
  25. LSERR GetPlsrunFromSublineCore(
  26. PLSSUBL plssubl, /* IN: subline */
  27. DWORD crgPlsrun, /* IN: size of array */
  28. PLSRUN* rgPlsrun); /* OUT: array of plsruns */
  29. LSERR GetNumberDnodesCore(
  30. PLSSUBL plssubl, /* IN: subline */
  31. DWORD* cDnodes); /* OUT: numberof dnodes in subline */
  32. LSERR GetVisibleDcpInSublineCore(
  33. PLSSUBL plssubl, /* IN: subline */
  34. LSDCP* pndcp); /* OUT:amount of visible characters in subline */
  35. LSERR FIsSublineEmpty(
  36. PLSSUBL plssubl, /* IN: subline */
  37. BOOL* pfEmpty); /* OUT:is this subline empty */
  38. LSERR GetDurTrailInSubline(
  39. PLSSUBL, /* IN: Subline Context */
  40. long*); /* OUT: width of trailing area
  41. in subline */
  42. LSERR GetDurTrailWithPensInSubline(
  43. PLSSUBL, /* IN: Subline Context */
  44. long*); /* OUT: width of trailing area
  45. in subline */
  46. #endif /* SUBLUTIL_DEFINED */