explorer: Use root window if driver doesn't implement create_desktop.
[wine.git] / include / msvcrt / corecrt_wstring.h
blob4d012800f65a92138e50e41e573536c68db921c7
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _WSTRING_DEFINED
7 #define _WSTRING_DEFINED
9 #include <corecrt.h>
10 #include <corecrt_malloc.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 #ifndef _CRT_MEMORY_DEFINED
17 #define _CRT_MEMORY_DEFINED
18 _ACRTIMP void* __cdecl memchr(const void*,int,size_t);
19 _ACRTIMP int __cdecl memcmp(const void*,const void*,size_t);
20 _ACRTIMP void* __cdecl memcpy(void*,const void*,size_t);
21 _ACRTIMP errno_t __cdecl memcpy_s(void*,size_t,const void*,size_t);
22 _ACRTIMP void* __cdecl memset(void*,int,size_t);
23 _ACRTIMP void* __cdecl _memccpy(void*,const void*,int,size_t);
24 _ACRTIMP int __cdecl _memicmp(const void*,const void*,size_t);
25 _ACRTIMP int __cdecl _memicmp_l(const void*,const void*,size_t,_locale_t);
27 static inline int memicmp(const void* s1, const void* s2, size_t len) { return _memicmp(s1, s2, len); }
28 static inline void* memccpy(void *s1, const void *s2, int c, size_t n) { return _memccpy(s1, s2, c, n); }
29 #endif /* _CRT_MEMORY_DEFINED */
31 _ACRTIMP void* __cdecl memmove(void*,const void*,size_t);
33 _ACRTIMP wchar_t* __cdecl _wcsdup(const wchar_t*) __WINE_DEALLOC(free) __WINE_MALLOC;
34 _ACRTIMP int __cdecl _wcsicmp(const wchar_t*,const wchar_t*);
35 _ACRTIMP int __cdecl _wcsicoll(const wchar_t*,const wchar_t*);
36 _ACRTIMP int __cdecl _wcsicoll_l(const wchar_t*, const wchar_t*, _locale_t);
37 _ACRTIMP wchar_t* __cdecl _wcslwr(wchar_t*);
38 _ACRTIMP errno_t __cdecl _wcslwr_s(wchar_t*, size_t);
39 _ACRTIMP int __cdecl _wcscoll_l(const wchar_t*, const wchar_t*, _locale_t);
40 _ACRTIMP int __cdecl _wcsncoll(const wchar_t*, const wchar_t*, size_t);
41 _ACRTIMP int __cdecl _wcsncoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t);
42 _ACRTIMP int __cdecl _wcsnicmp(const wchar_t*,const wchar_t*,size_t);
43 _ACRTIMP int __cdecl _wcsnicoll(const wchar_t*,const wchar_t*,size_t);
44 _ACRTIMP int __cdecl _wcsnicoll_l(const wchar_t*, const wchar_t*, size_t, _locale_t);
45 _ACRTIMP size_t __cdecl _wcsnlen(const wchar_t*,size_t);
46 _ACRTIMP wchar_t* __cdecl _wcsnset(wchar_t*,wchar_t,size_t);
47 _ACRTIMP wchar_t* __cdecl _wcsrev(wchar_t*);
48 _ACRTIMP wchar_t* __cdecl _wcsset(wchar_t*,wchar_t);
49 _ACRTIMP wchar_t* __cdecl _wcsupr(wchar_t*);
50 _ACRTIMP errno_t __cdecl _wcsupr_s(wchar_t*, size_t);
51 _ACRTIMP size_t __cdecl _wcsxfrm_l(wchar_t*,const wchar_t*,size_t,_locale_t);
53 _ACRTIMP wchar_t* __cdecl wcscat(wchar_t*,const wchar_t*);
54 _ACRTIMP errno_t __cdecl wcscat_s(wchar_t*,size_t,const wchar_t*);
55 _ACRTIMP wchar_t* __cdecl wcschr(const wchar_t*,wchar_t);
56 _ACRTIMP int __cdecl wcscmp(const wchar_t*,const wchar_t*);
57 _ACRTIMP int __cdecl wcscoll(const wchar_t*,const wchar_t*);
58 _ACRTIMP wchar_t* __cdecl wcscpy(wchar_t*,const wchar_t*);
59 _ACRTIMP errno_t __cdecl wcscpy_s(wchar_t*,size_t,const wchar_t*);
60 _ACRTIMP size_t __cdecl wcscspn(const wchar_t*,const wchar_t*);
61 _ACRTIMP size_t __cdecl wcslen(const wchar_t*);
62 _ACRTIMP wchar_t* __cdecl wcsncat(wchar_t*,const wchar_t*,size_t);
63 _ACRTIMP errno_t __cdecl wcsncat_s(wchar_t*,size_t,const wchar_t*,size_t);
64 _ACRTIMP int __cdecl wcsncmp(const wchar_t*,const wchar_t*,size_t);
65 _ACRTIMP wchar_t* __cdecl wcsncpy(wchar_t*,const wchar_t*,size_t);
66 _ACRTIMP errno_t __cdecl wcsncpy_s(wchar_t*,size_t,const wchar_t*,size_t);
67 _ACRTIMP size_t __cdecl wcsnlen(const wchar_t*,size_t);
68 _ACRTIMP wchar_t* __cdecl wcspbrk(const wchar_t*,const wchar_t*);
69 _ACRTIMP wchar_t* __cdecl wcsrchr(const wchar_t*,wchar_t wcFor);
70 _ACRTIMP size_t __cdecl wcsspn(const wchar_t*,const wchar_t*);
71 _ACRTIMP wchar_t* __cdecl wcsstr(const wchar_t*,const wchar_t*);
72 _ACRTIMP wchar_t* __cdecl wcstok_s(wchar_t*,const wchar_t*,wchar_t**);
73 _ACRTIMP size_t __cdecl wcsxfrm(wchar_t*,const wchar_t*,size_t);
75 #ifdef _UCRT
76 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*,wchar_t**);
77 static inline wchar_t* _wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
78 # ifdef __cplusplus
79 extern "C++" inline wchar_t* wcstok(wchar_t* str, const wchar_t *delim) { return wcstok(str, delim, NULL); }
80 # elif defined(_CRT_NON_CONFORMING_WCSTOK)
81 # define wcstok _wcstok
82 # endif
83 #else /* _UCRT */
84 _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*);
85 # define _wcstok wcstok
86 #endif /* _UCRT */
88 #ifdef __cplusplus
90 #endif
92 #endif /* _WSTRING_DEFINED */