8 #ifndef __WINE_WINE_UNICODE_H 9 #define __WINE_WINE_UNICODE_H 19 #ifndef WINE_UNICODE_API 20 #define WINE_UNICODE_API 23 #ifndef WINE_UNICODE_INLINE 24 #define WINE_UNICODE_INLINE static inline 27 #define memicmpW(s1,s2,n) _wcsnicmp((s1),(s2),(n)) 28 #define strlenW(s) wcslen((s)) 29 #define strcpyW(d,s) wcscpy((d),(s)) 30 #define strcatW(d,s) wcscat((d),(s)) 31 #define strcspnW(d,s) wcscspn((d),(s)) 32 #define strstrW(d,s) wcsstr((d),(s)) 33 #define strtolW(s,e,b) wcstol((s),(e),(b)) 34 #define strchrW(s,c) wcschr((s),(c)) 35 #define strrchrW(s,c) wcsrchr((s),(c)) 36 #define strncmpW(s1,s2,n) wcsncmp((s1),(s2),(n)) 37 #define strncpyW(s1,s2,n) wcsncpy((s1),(s2),(n)) 38 #define strcmpW(s1,s2) wcscmp((s1),(s2)) 39 #define strcmpiW(s1,s2) _wcsicmp((s1),(s2)) 40 #define strncmpiW(s1,s2,n) _wcsnicmp((s1),(s2),(n)) 41 #define strtoulW(s1,s2,b) wcstoul((s1),(s2),(b)) 42 #define strspnW(str, accept) wcsspn((str),(accept)) 43 #define strpbrkW(str, accept) wcspbrk((str),(accept)) 44 #define tolowerW(n) towlower((n)) 45 #define toupperW(n) towupper((n)) 46 #define islowerW(n) iswlower((n)) 47 #define isupperW(n) iswupper((n)) 48 #define isalphaW(n) iswalpha((n)) 49 #define isalnumW(n) iswalnum((n)) 50 #define isdigitW(n) iswdigit((n)) 51 #define isxdigitW(n) iswxdigit((n)) 52 #define isspaceW(n) iswspace((n)) 53 #define iscntrlW(n) iswcntrl((n)) 54 #define atoiW(s) _wtoi((s)) 55 #define atolW(s) _wtol((s)) 56 #define strlwrW(s) _wcslwr((s)) 57 #define struprW(s) _wcsupr((s)) 58 #define sprintfW swprintf 59 #define vsprintfW vswprintf 60 #define snprintfW _snwprintf 61 #define vsnprintfW _vsnwprintf 62 #define isprintW iswprint
const unsigned short wine_wctype_table[]
WINE_UNICODE_INLINE unsigned short get_char_typeW(WCHAR ch)
WINE_UNICODE_INLINE WCHAR * memrchrW(const WCHAR *ptr, WCHAR ch, size_t n)
WINE_UNICODE_INLINE WCHAR * memchrW(const WCHAR *ptr, WCHAR ch, size_t n)