mCtrl
defs.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2011 Martin Mitas
3  *
4  * This library is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; either version 2.1 of the License, or
7  * (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
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef MCTRL_DEFS_H
20 #define MCTRL_DEFS_H
21 
22 #include <windows.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
39 #ifdef MCTRL_BUILD
40  #define MCTRL_API __declspec(dllexport) __stdcall
41 #else
42 
46  #define MCTRL_API __declspec(dllimport) __stdcall
47 #endif
48 
49 
50 #ifdef UNICODE
51 
52  #define MCTRL_NAME_AW(name) name##W
53 #else
54  #define MCTRL_NAME_AW(name) name##A
55 #endif
56 
57 
68 #define MC_CLR_NONE ((COLORREF)0xffffffffL)
69 
75 #define MC_CLR_DEFAULT ((COLORREF)0xff000000L)
76 
82 #define MC_I_GROUPIDNONE (-2)
83 
86 #ifdef __cplusplus
87 } /* extern "C" */
88 #endif
89 
90 #endif /* MCTRL_DEFS_H */