mCtrl  0.9.7
_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 #include <wtypes.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
46 #define MCTRL_API __stdcall
47 
48 
49 #ifdef UNICODE
50 
51  #define MCTRL_NAME_AW(name) name##W
52 #else
53  #define MCTRL_NAME_AW(name) name##A
54 #endif
55 
56 
57 #ifdef __cplusplus
58 } /* extern "C" */
59 #endif
60 
61 #endif /* MCTRL_DEFS_H */