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.

42 lines
1.8 KiB

  1. #ifndef LSCRLINE_DEFINED
  2. #define LSCRLINE_DEFINED
  3. #include "lsdefs.h"
  4. #include "plsline.h"
  5. #include "breakrec.h"
  6. #include "lslinfo.h"
  7. LSERR WINAPI LsCreateLine(PLSC, /* IN: ptr to line services context */
  8. LSCP, /* IN: cpFirst */
  9. long, /* IN: duaColumn */
  10. const BREAKREC*, /* IN: input array of break records */
  11. DWORD, /* IN: number of records in input array */
  12. DWORD, /* IN: size of the output array */
  13. BREAKREC*, /* OUT: output array of break records */
  14. DWORD*, /* OUT:actual number of records in array*/
  15. LSLINFO*, /* OUT: visible line info */
  16. PLSLINE*); /* OUT: ptr to line opaque to client */
  17. LSERR WINAPI LsModifyLineHeight(PLSC, /* IN: ptr to line services context */
  18. PLSLINE, /* IN: ptr to line -- opaque to client */
  19. long, /* IN: dvpAbove */
  20. long, /* IN: dvpAscent */
  21. long, /* IN: dvpDescent */
  22. long); /* IN: dvpBelow */
  23. LSERR WINAPI LsDestroyLine(PLSC, /* IN: ptr to line services context */
  24. PLSLINE); /* IN: ptr to line -- opaque to client */
  25. LSERR WINAPI LsGetLineDur(PLSC, /* IN: ptr to line services context */
  26. PLSLINE, /* IN: ptr to line -- opaque to client */
  27. long*, /* OUT: dur of line incl. trailing area */
  28. long*); /* OUT: dur of line excl. trailing area */
  29. LSERR WINAPI LsGetMinDurBreaks(PLSC, /* IN: ptr to line services context */
  30. PLSLINE, /* IN: ptr to line -- opaque to client */
  31. long*, /* OUT: min dur between breaks including
  32. trailing area */
  33. long*); /* OUT: min dur between breaks excluding
  34. trailing area */
  35. #endif /* !LSCRLINE_DEFINED */