windows-nt/Source/XPSP1/NT/windows/richedit/lsinc/lsstinfo.h
2020-09-26 16:20:57 +08:00

31 lines
786 B
C

#ifndef LSSTINFO_DEFINED
#define LSSTINFO_DEFINED
#include "lsdefs.h"
#include "plsstinf.h"
/*
* all strikethrough offsets are relative to the baseline and positive upwards (filled page direction),
* so normally dvpLowerStrikethroughOffset > 0 and if cNumberOfLines == 2
* dvpLowerStrikethroughOffset < dvpUpperStrikethroughOffset
*/
struct lsstinfo
{
UINT kstbase; /* base kind of strikethrough */
DWORD cNumberOfLines; /* number of lines: possible values 1,2*/
long dvpLowerStrikethroughOffset ; /* if NumberOfLines != 2 only data for
lower line should be filled in */
long dvpLowerStrikethroughSize;
long dvpUpperStrikethroughOffset;
long dvpUpperStrikethroughSize;
};
typedef struct lsstinfo LSSTINFO;
#endif /* !LSSTINFO_DEFINED */