WindowsXP-SP1/windows/richedit/lsinc/lsstinfo.h
2020-09-30 16:53:49 +02:00

31 lines
816 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 */