qcap: Fix frame interval calculation.
[wine.git] / include / msvcrt / mbctype.h
bloba7a85135133e04a7ae3c9a7b42f7b4d3bf1ba0b0
1 /*
2 * Multibyte char 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_MBCTYPE_H
21 #define __WINE_MBCTYPE_H
23 #include <corecrt.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 #ifdef __i386__
30 _ACRTIMP unsigned char* __cdecl __p__mbctype(void);
31 #define _mbctype (__p__mbctype())
32 #else
33 extern unsigned char MSVCRT_mbctype[];
34 #endif
36 #define _MS 0x01
37 #define _MP 0x02
38 #define _M1 0x04
39 #define _M2 0x08
41 #define _SBUP 0x10
42 #define _SBLOW 0x20
44 #define _MBC_SINGLE 0
45 #define _MBC_LEAD 1
46 #define _MBC_TRAIL 2
47 #define _MBC_ILLEGAL -1
49 #define _KANJI_CP 932
51 #define _MB_CP_SBCS 0
52 #define _MB_CP_OEM -2
53 #define _MB_CP_ANSI -3
54 #define _MB_CP_LOCALE -4
56 _ACRTIMP int __cdecl _getmbcp(void);
57 _ACRTIMP int __cdecl _ismbbalnum(unsigned int);
58 _ACRTIMP int __cdecl _ismbbalpha(unsigned int);
59 _ACRTIMP int __cdecl _ismbbgraph(unsigned int);
60 _ACRTIMP int __cdecl _ismbbkalnum(unsigned int);
61 _ACRTIMP int __cdecl _ismbbkana(unsigned int);
62 _ACRTIMP int __cdecl _ismbbkprint(unsigned int);
63 _ACRTIMP int __cdecl _ismbbkpunct(unsigned int);
64 _ACRTIMP int __cdecl _ismbbprint(unsigned int);
65 _ACRTIMP int __cdecl _ismbbpunct(unsigned int);
66 _ACRTIMP int __cdecl _setmbcp(int);
68 #ifndef _MBLEADTRAIL_DEFINED
69 #define _MBLEADTRAIL_DEFINED
70 _ACRTIMP int __cdecl _ismbblead(unsigned int);
71 _ACRTIMP int __cdecl _ismbblead_l(unsigned int,_locale_t);
72 _ACRTIMP int __cdecl _ismbbtrail(unsigned int);
73 _ACRTIMP int __cdecl _ismbslead(const unsigned char*,const unsigned char*);
74 _ACRTIMP int __cdecl _ismbstrail(const unsigned char*,const unsigned char*);
75 #endif /* _MBLEADTRAIL_DEFINED */
77 #ifdef __cplusplus
79 #endif
81 #endif /* __WINE_MBCTYPE_H */