Display the config file location in the incorrect config file error
[wine.git] / include / richedit.h
blob33eb38beaab8a2675e83c3aae9fb75a88f57347e
1 #ifndef __WINE_RICHEDIT_H
2 #define __WINE_RICHEDIT_H
4 #include "windef.h"
5 #include "pshpack4.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 #ifndef _RICHEDIT_VER
12 #define _RICHEDIT_VER 0x0210
13 #endif /* _RICHEDIT_VER */
15 #define cchTextLimitDefault 0x7fff
17 #define RICHEDIT_CLASS20A "RichEdit20A"
18 #define RICHEDIT_CLASS20W L"RichEdit20W"
19 #define RICHEDIT_CLASS10A "RICHEDIT"
21 #if (_RICHEDIT_VER >= 0x0200 )
22 #define RICHEDIT_CLASS WINELIB_NAME_AW(RICHEDIT_CLASS20)
23 #else
24 #define RICHEDIT_CLASS RICHEDIT_CLASS10A
25 #endif
27 #define EM_CANPASTE (WM_USER + 50)
28 #define EM_DISPLAYBAND (WM_USER + 51)
29 #define EM_EXGETSEL (WM_USER + 52)
30 #define EM_EXLIMITTEXT (WM_USER + 53)
31 #define EM_EXLINEFROMCHAR (WM_USER + 54)
32 #define EM_EXSETSEL (WM_USER + 55)
33 #define EM_FINDTEXT (WM_USER + 56)
34 #define EM_FORMATRANGE (WM_USER + 57)
35 #define EM_GETCHARFORMAT (WM_USER + 58)
36 #define EM_GETEVENTMASK (WM_USER + 59)
37 #define EM_GETOLEINTERFACE (WM_USER + 60)
38 #define EM_GETPARAFORMAT (WM_USER + 61)
39 #define EM_GETSELTEXT (WM_USER + 62)
40 #define EM_HIDESELECTION (WM_USER + 63)
41 #define EM_PASTESPECIAL (WM_USER + 64)
42 #define EM_REQUESTRESIZE (WM_USER + 65)
43 #define EM_SELECTIONTYPE (WM_USER + 66)
44 #define EM_SETBKGNDCOLOR (WM_USER + 67)
45 #define EM_SETCHARFORMAT (WM_USER + 68)
46 #define EM_SETEVENTMASK (WM_USER + 69)
47 #define EM_SETOLECALLBACK (WM_USER + 70)
48 #define EM_SETPARAFORMAT (WM_USER + 71)
49 #define EM_SETTARGETDEVICE (WM_USER + 72)
50 #define EM_STREAMIN (WM_USER + 73)
51 #define EM_STREAMOUT (WM_USER + 74)
52 #define EM_GETTEXTRANGE (WM_USER + 75)
53 #define EM_FINDWORDBREAK (WM_USER + 76)
54 #define EM_SETOPTIONS (WM_USER + 77)
55 #define EM_GETOPTIONS (WM_USER + 78)
56 #define EM_FINDTEXTEX (WM_USER + 79)
57 #define EM_GETWORDBREAKPROCEX (WM_USER + 80)
58 #define EM_SETWORDBREAKPROCEX (WM_USER + 81)
60 typedef DWORD CALLBACK(* EDITSTREAMCALLBACK)( DWORD, LPBYTE, LONG, LONG * );
62 typedef struct _charrange
64 LONG cpMin;
65 LONG cpMax;
66 } CHARRANGE;
68 typedef struct
70 DWORD dwCookie;
71 DWORD dwError;
72 EDITSTREAMCALLBACK pfnCallback;
73 } EDITSTREAM;
75 #define SF_TEXT 0x0001
76 #define SF_RTF 0x0002
77 #define SF_RTFNOOBJS 0x0003
78 #define SF_TEXTIZED 0x0004
82 #ifdef __cplusplus
84 #endif
86 #include "poppack.h"
88 #endif /* __WINE_RICHEDIT_H */