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.

24 lines
622 B

  1. #include "lsdssubl.h"
  2. #include <limits.h>
  3. #include "lsc.h"
  4. #include "dispmain.h"
  5. #include "lssubl.h"
  6. // %%Function: LsDisplaySubline
  7. // %%Contact: victork
  8. //
  9. LSERR WINAPI LsDisplaySubline(PLSSUBL plssubl, const POINT* pptorg, UINT kdispmode, const RECT *prectClip)
  10. {
  11. if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
  12. if (plssubl->plsc->lsstate != LsStateDisplaying) return lserrContextInUse; /* change lserr later */
  13. return DisplaySublineCore(plssubl, pptorg, kdispmode, prectClip,
  14. LONG_MAX, /* upLimUnderline ignored */
  15. 0); /* dupLeftIndent */
  16. }