af062818b47340eef15700d2f0211576ba3506eevboxsync * Unicode definitions
af062818b47340eef15700d2f0211576ba3506eevboxsync * Derived from the mingw header written by Colin Peters.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Modified for Wine use by Jon Griffiths and Francois Gouget.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This file is in the public domain.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * other than GPL or LGPL is available it will apply instead, Sun elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsync# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
af062818b47340eef15700d2f0211576ba3506eevboxsync# define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _TM_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _FILE_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WFINDDATA_T_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _STAT_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* ASCII char classification table - binary compatible */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _ALPHA (0x0100|_UPPER|_LOWER) /* (C1_ALPHA|_UPPER|_LOWER) */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WCTYPE_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WDIRECT_DEFINED */
040b4a09341f574825386333398110f4db3e1e51vboxsync__msvcrt_long __cdecl _wfindfirst(const wchar_t*,struct _wfinddata_t*);
040b4a09341f574825386333398110f4db3e1e51vboxsync__msvcrt_long __cdecl _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*);
040b4a09341f574825386333398110f4db3e1e51vboxsyncint __cdecl _wfindnext(__msvcrt_long,struct _wfinddata_t*);
040b4a09341f574825386333398110f4db3e1e51vboxsyncint __cdecl _wfindnexti64(__msvcrt_long, struct _wfinddatai64_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wrename(const wchar_t*,const wchar_t*);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WIO_DEFINED */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WLOCALE_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecl(const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecle(const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexeclp(const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexeclpe(const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecv(const wchar_t*,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecve(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecvp(const wchar_t*,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wexecvpe(const wchar_t*,const wchar_t* const *,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnl(int,const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnle(int,const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnlp(int,const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnlpe(int,const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnv(int,const wchar_t*,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnve(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnvp(int,const wchar_t*,const wchar_t* const *);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wspawnvpe(int,const wchar_t*,const wchar_t* const *,const wchar_t* const *);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WPROCESS_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wstati64(const wchar_t*,struct _stati64*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wstat64(const wchar_t*,struct _stat64*);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WSTAT_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _snwprintf(wchar_t*,size_t,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _vscwprintf(const wchar_t*,__ms_va_list);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _vsnwprintf(wchar_t*,size_t,const wchar_t*,__ms_va_list);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncFILE* __cdecl _wfopen(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncFILE* __cdecl _wfreopen(const wchar_t*,const wchar_t*,FILE*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncFILE* __cdecl _wfsopen(const wchar_t*,const wchar_t*,int);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncFILE* __cdecl _wpopen(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl _wtempnam(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl swscanf(const wchar_t*,const wchar_t*,...);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl vfwprintf(FILE*,const wchar_t*,__ms_va_list);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl vswprintf(wchar_t*,const wchar_t*,__ms_va_list);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WSTDIO_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl _ui64tow(unsigned __int64,wchar_t*,int);
040b4a09341f574825386333398110f4db3e1e51vboxsyncwchar_t* __cdecl _ultow(__msvcrt_ulong,wchar_t*,int);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl _wfullpath(wchar_t*,const wchar_t*,size_t);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncvoid __cdecl _wmakepath(wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncvoid __cdecl _wsearchenv(const wchar_t*,const wchar_t*,wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncvoid __cdecl _wsplitpath(const wchar_t*,wchar_t*,wchar_t*,wchar_t*,wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl mbstowcs(wchar_t*,const char*,size_t);
040b4a09341f574825386333398110f4db3e1e51vboxsync__msvcrt_long __cdecl wcstol(const wchar_t*,wchar_t**,int);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcstombs(char*,const wchar_t*,size_t);
040b4a09341f574825386333398110f4db3e1e51vboxsync__msvcrt_ulong __cdecl wcstoul(const wchar_t*,wchar_t**,int);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WSTDLIB_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wcsicmp(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wcsicoll(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl _wcsnicmp(const wchar_t*,const wchar_t*,size_t);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcscspn(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncint __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcsspn(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncwchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WSTRING_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcsftime(wchar_t*,size_t,const wchar_t*,const struct tm*);
040b4a09341f574825386333398110f4db3e1e51vboxsyncstatic inline wchar_t* _wctime(const time_t *t) { return _wctime64(t); }
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _WTIME_DEFINED */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl mbrlen(const char *,size_t,mbstate_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl mbrtowc(wchar_t*,const char*,size_t,mbstate_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl mbsrtowcs(wchar_t*,const char**,size_t,mbstate_t*);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncsize_t __cdecl wcsrtombs(char*,const wchar_t**,size_t,mbstate_t*);
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_WCHAR_H */