#include <stdlib.h> instead of the non-standard <malloc.h>.
[wine] / include / richole.h
1 /*
2  * Copyright (C) 2002 Andriy Palamarchuk
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __WINE_RICHOLE_H
20 #define __WINE_RICHOLE_H
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /* REOBJECT structure flags */
27 #define REO_GETOBJ_NO_INTERFACES        0x00000000
28 #define REO_GETOBJ_POLEOBJ              0x00000001
29 #define REO_GETOBJ_PSTG                 0x00000002
30 #define REO_GETOBJ_POLESITE             0x00000004
31 #define REO_GETOBJ_ALL_INTERFACES       0x00000007
32 #define REO_CP_SELECTION                0xFFFFFFFF
33 #define REO_IOB_SELECTION               0xFFFFFFFF
34 #define REO_IOB_USE_CP                  0xFFFFFFFE
35 #define REO_NULL                        0x00000000
36 #define REO_READWRITEMASK               0x0000003F
37 #define REO_DONTNEEDPALETTE             0x00000020
38 #define REO_BLANK                       0x00000010
39 #define REO_DYNAMICSIZE                 0x00000008
40 #define REO_INVERTEDSELECT              0x00000004
41 #define REO_BELOWBASELINE               0x00000002
42 #define REO_RESIZABLE                   0x00000001
43 #define REO_LINK                        0x80000000
44 #define REO_STATIC                      0x40000000
45 #define REO_SELECTED                    0x08000000
46 #define REO_OPEN                        0x04000000
47 #define REO_INPLACEACTIVE               0x02000000
48 #define REO_HILITED                     0x01000000
49 #define REO_LINKAVAILABLE               0x00800000
50 #define REO_GETMETAFILE                 0x00400000
51
52 /* clipboard operation flags */
53 #define RECO_PASTE            0x00000000
54 #define RECO_DROP             0x00000001
55 #define RECO_COPY             0x00000002
56 #define RECO_CUT              0x00000003
57 #define RECO_DRAG             0x00000004
58
59 #ifdef __cplusplus
60 }
61 #endif
62
63 #endif /* __WINE_RICHOLE_H */