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.

45 lines
1.6 KiB

  1. #include "lsc.h"
  2. #include "lsqsubl.h"
  3. #include "lssubl.h"
  4. #include "lsqcore.h"
  5. // %%Function: LsQueryCpPpointSubline
  6. // %%Contact: victork
  7. //
  8. LSERR WINAPI LsQueryCpPpointSubline(
  9. PLSSUBL plssubl, /* IN: pointer to subline info */
  10. LSCP cpQuery, /* IN: cpQuery */
  11. DWORD cDepthQueryMax, /* IN: allocated size of results array */
  12. PLSQSUBINFO plsqsubinfoResults, /* OUT: array[cDepthFormatMax] of query results */
  13. DWORD* pcActualDepth, /* OUT: size of results array (filled) */
  14. PLSTEXTCELL plstextcellInfo) /* OUT: Text cell info */
  15. {
  16. if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
  17. Assert(!plssubl->fDupInvalid);
  18. return QuerySublineCpPpointCore(plssubl, cpQuery, cDepthQueryMax,
  19. plsqsubinfoResults, pcActualDepth, plstextcellInfo);
  20. }
  21. // %%Function: LsQueryPointPcpSubline
  22. // %%Contact: victork
  23. //
  24. LSERR WINAPI LsQueryPointPcpSubline(
  25. PLSSUBL plssubl, /* IN: pointer to subline info */
  26. PCPOINTUV ppointuvIn, /* IN: query point (uQuery,vQuery) (line text flow) */
  27. DWORD cDepthQueryMax, /* IN: allocated size of results array */
  28. PLSQSUBINFO plsqsubinfoResults, /* OUT: array[cDepthFormatMax] of query results */
  29. DWORD* pcActualDepth, /* OUT: size of results array (filled) */
  30. PLSTEXTCELL plstextcellInfo) /* OUT: Text cell info */
  31. {
  32. if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
  33. Assert(!plssubl->fDupInvalid);
  34. return QuerySublinePointPcpCore(plssubl, ppointuvIn, cDepthQueryMax,
  35. plsqsubinfoResults, pcActualDepth, plstextcellInfo);
  36. }