mirror of https://github.com/tongzx/nt5src
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
598 B
24 lines
598 B
#include "lsdssubl.h"
|
|
#include <limits.h>
|
|
#include "lsc.h"
|
|
#include "dispmain.h"
|
|
#include "lssubl.h"
|
|
|
|
// %%Function: LsDisplaySubline
|
|
// %%Contact: victork
|
|
//
|
|
|
|
LSERR WINAPI LsDisplaySubline(PLSSUBL plssubl, const POINT* pptorg, UINT kdispmode, const RECT *prectClip)
|
|
{
|
|
|
|
if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
|
|
|
|
if (plssubl->plsc->lsstate != LsStateDisplaying) return lserrContextInUse; /* change lserr later */
|
|
|
|
return DisplaySublineCore(plssubl, pptorg, kdispmode, prectClip,
|
|
LONG_MAX, /* upLimUnderline ignored */
|
|
0); /* dupLeftIndent */
|
|
|
|
}
|
|
|
|
|