Author: akhaldi Date: Tue Aug 10 10:25:10 2010 New Revision: 48509
URL: http://svn.reactos.org/svn/reactos?rev=48509&view=rev Log: [PSDK] - Add WINELIB_NAME_AW and DECL_WINELIB_TYPE_AW to the wine specific imm.h.
Modified: trunk/reactos/include/reactos/wine/ddk/imm.h
Modified: trunk/reactos/include/reactos/wine/ddk/imm.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/ddk/im... ============================================================================== --- trunk/reactos/include/reactos/wine/ddk/imm.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/wine/ddk/imm.h [iso-8859-1] Tue Aug 10 10:25:10 2010 @@ -3,6 +3,25 @@ #define _WINE_IMM_H_
#include <psdk/wingdi.h> + +#ifdef WINE_NO_UNICODE_MACROS +# define WINELIB_NAME_AW(func) \ + func##_must_be_suffixed_with_W_or_A_in_this_context \ + func##_must_be_suffixed_with_W_or_A_in_this_context +#else /* WINE_NO_UNICODE_MACROS */ +# ifdef UNICODE +# define WINELIB_NAME_AW(func) func##W +# else +# define WINELIB_NAME_AW(func) func##A +# endif +#endif /* WINE_NO_UNICODE_MACROS */ + +#ifdef WINE_NO_UNICODE_MACROS +# define DECL_WINELIB_TYPE_AW(type) /* nothing */ +#else +# define DECL_WINELIB_TYPE_AW(type) typedef WINELIB_NAME_AW(type) type; +#endif + #include <psdk/imm.h>
typedef struct _tagINPUTCONTEXT {