Author: ion
Date: Thu Jul 21 02:51:50 2011
New Revision: 52751
URL:
http://svn.reactos.org/svn/reactos?rev=52751&view=rev
Log:
[PSDK]: Add missing RESETDEV define to winbase.
[WINE]: Wrap Wine's get_char_typeW to iswctype in unicode.h, which will allow better
sharing of synched code.
Modified:
trunk/reactos/include/psdk/winbase.h
trunk/reactos/include/reactos/wine/unicode.h
Modified: trunk/reactos/include/psdk/winbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winbase.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winbase.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winbase.h [iso-8859-1] Thu Jul 21 02:51:50 2011
@@ -222,6 +222,7 @@
#define SETRTS 3
#define SETXOFF 1
#define SETXON 2
+#define RESETDEV 7
#define SETBREAK 8
#define CLRBREAK 9
#define STILL_ACTIVE 0x103
Modified: trunk/reactos/include/reactos/wine/unicode.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/unico…
==============================================================================
--- trunk/reactos/include/reactos/wine/unicode.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/unicode.h [iso-8859-1] Thu Jul 21 02:51:50 2011
@@ -60,6 +60,7 @@
#define snprintfW _snwprintf
#define vsnprintfW _vsnwprintf
#define isprintW iswprint
+#define get_char_typeW(x) iswctype((x) >> 8, (x) & 0xFF)
static __inline WCHAR *memchrW( const WCHAR *ptr, WCHAR ch, size_t n )
{