d3dx9_36: Detect and display message for all not yet supported file formats.
[wine/multimedia.git] / include / msvcrt / mbstring.h
bloba4d0746bcafc614264c4b7f6f1a85ee8377878b0
1 /*
2 * Multibyte string definitions
4 * Copyright 2001 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_MBSTRING_H
21 #define __WINE_MBSTRING_H
23 #include <crtdefs.h>
25 #include <pshpack8.h>
27 #ifndef _NLSCMP_DEFINED
28 #define _NLSCMPERROR ((unsigned int)0x7fffffff)
29 #define _NLSCMP_DEFINED
30 #endif
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
36 int __cdecl _ismbcalnum(unsigned int);
37 int __cdecl _ismbcalpha(unsigned int);
38 int __cdecl _ismbcdigit(unsigned int);
39 int __cdecl _ismbcgraph(unsigned int);
40 int __cdecl _ismbchira(unsigned int);
41 int __cdecl _ismbckata(unsigned int);
42 int __cdecl _ismbcl0(unsigned int);
43 int __cdecl _ismbcl1(unsigned int);
44 int __cdecl _ismbcl2(unsigned int);
45 int __cdecl _ismbclegal(unsigned int);
46 int __cdecl _ismbclower(unsigned int);
47 int __cdecl _ismbcprint(unsigned int);
48 int __cdecl _ismbcpunct(unsigned int);
49 int __cdecl _ismbcspace(unsigned int);
50 int __cdecl _ismbcsymbol(unsigned int);
51 int __cdecl _ismbcupper(unsigned int);
52 unsigned int __cdecl _mbbtombc(unsigned int);
53 int __cdecl _mbbtype(unsigned char,int);
54 #define _mbccmp(_cpc1,_cpc2) _mbsncmp((_cpc1),(_cpc2),1)
55 void __cdecl _mbccpy(unsigned char*,const unsigned char*);
56 unsigned int __cdecl _mbcjistojms(unsigned int);
57 unsigned int __cdecl _mbcjmstojis(unsigned int);
58 size_t __cdecl _mbclen(const unsigned char*);
59 unsigned int __cdecl _mbctohira(unsigned int);
60 unsigned int __cdecl _mbctokata(unsigned int);
61 unsigned int __cdecl _mbctolower(unsigned int);
62 unsigned int __cdecl _mbctombb(unsigned int);
63 unsigned int __cdecl _mbctoupper(unsigned int);
64 int __cdecl _mbsbtype(const unsigned char*,size_t);
65 unsigned char* __cdecl _mbscat(unsigned char*,const unsigned char*);
66 unsigned char* __cdecl _mbschr(const unsigned char*,unsigned int);
67 int __cdecl _mbscmp(const unsigned char*,const unsigned char*);
68 int __cdecl _mbscoll(const unsigned char*,const unsigned char*);
69 unsigned char* __cdecl _mbscpy(unsigned char*,const unsigned char*);
70 size_t __cdecl _mbscspn(const unsigned char*,const unsigned char*);
71 unsigned char* __cdecl _mbsdec(const unsigned char*,const unsigned char*);
72 unsigned char* __cdecl _mbsdup(const unsigned char*);
73 int __cdecl _mbsicmp(const unsigned char*,const unsigned char*);
74 int __cdecl _mbsicoll(const unsigned char*,const unsigned char*);
75 unsigned char* __cdecl _mbsinc(const unsigned char*);
76 size_t __cdecl _mbslen(const unsigned char*);
77 unsigned char* __cdecl _mbslwr(unsigned char*);
78 unsigned char* __cdecl _mbsnbcat(unsigned char*,const unsigned char*,size_t);
79 errno_t __cdecl _mbsnbcat_s(unsigned char*,size_t,const unsigned char*,size_t);
80 int __cdecl _mbsnbcmp(const unsigned char*,const unsigned char*,size_t);
81 int __cdecl _mbsnbcoll(const unsigned char*,const unsigned char*,size_t);
82 size_t __cdecl _mbsnbcnt(const unsigned char*,size_t);
83 unsigned char* __cdecl _mbsnbcpy(unsigned char*,const unsigned char*,size_t);
84 int __cdecl _mbsnbicmp(const unsigned char*,const unsigned char*,size_t);
85 int __cdecl _mbsnbicoll(const unsigned char*,const unsigned char*,size_t);
86 unsigned char* __cdecl _mbsnbset(unsigned char*,unsigned int,size_t);
87 unsigned char* __cdecl _mbsncat(unsigned char*,const unsigned char*, size_t);
88 size_t __cdecl _mbsnccnt(const unsigned char*,size_t);
89 int __cdecl _mbsncmp(const unsigned char*,const unsigned char*,size_t);
90 int __cdecl _mbsncoll(const unsigned char*,const unsigned char*,size_t);
91 unsigned char* __cdecl _mbsncpy(unsigned char*,const unsigned char*,size_t);
92 unsigned int __cdecl _mbsnextc (const unsigned char*);
93 int __cdecl _mbsnicmp(const unsigned char*,const unsigned char*,size_t);
94 int __cdecl _mbsnicoll(const unsigned char*,const unsigned char*,size_t);
95 unsigned char* __cdecl _mbsninc(const unsigned char*,size_t);
96 unsigned char* __cdecl _mbsnset(unsigned char*,unsigned int,size_t);
97 unsigned char* __cdecl _mbspbrk(const unsigned char*,const unsigned char*);
98 unsigned char* __cdecl _mbsrchr(const unsigned char*,unsigned int);
99 unsigned char* __cdecl _mbsrev(unsigned char*);
100 unsigned char* __cdecl _mbsset(unsigned char*,unsigned int);
101 size_t __cdecl _mbsspn(const unsigned char*,const unsigned char*);
102 unsigned char* __cdecl _mbsspnp(const unsigned char*,const unsigned char*);
103 unsigned char* __cdecl _mbsstr(const unsigned char*,const unsigned char*);
104 unsigned char* __cdecl _mbstok(unsigned char*,const unsigned char*);
105 unsigned char* __cdecl _mbsupr(unsigned char*);
107 #ifndef _MBLEADTRAIL_DEFINED
108 #define _MBLEADTRAIL_DEFINED
109 int __cdecl _ismbblead(unsigned int);
110 int __cdecl _ismbbtrail(unsigned int);
111 int __cdecl _ismbslead(const unsigned char*,const unsigned char*);
112 int __cdecl _ismbstrail(const unsigned char*,const unsigned char*);
113 #endif /* _MBLEADTRAIL_DEFINED */
115 #ifdef __cplusplus
117 #endif
119 #include <poppack.h>
121 #endif /* __WINE_MBSTRING_H */