ReactOS 0.4.16-dev-835-gd769f56
mbctype.h File Reference
#include <corecrt.h>
#include <ctype.h>
Include dependency graph for mbctype.h:

Go to the source code of this file.

Macros

#define _INC_MBCTYPE
 
#define _mbctype   (__p__mbctype())
 
#define _mbcasemap   (__p__mbcasemap())
 
#define _MS   0x01
 
#define _MP   0x02
 
#define _M1   0x04
 
#define _M2   0x08
 
#define _SBUP   0x10
 
#define _SBLOW   0x20
 
#define _MBC_SINGLE   0
 
#define _MBC_LEAD   1
 
#define _MBC_TRAIL   2
 
#define _MBC_ILLEGAL   (-1)
 
#define _KANJI_CP   932
 
#define _MB_CP_SBCS   0
 
#define _MB_CP_OEM   -2
 
#define _MB_CP_ANSI   -3
 
#define _MB_CP_LOCALE   -4
 
#define _MB_CP_UTF8   65001
 

Functions

_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER _Check_return_ _ACRTIMP unsigned char *__cdecl __p__mbctype (void)
 
_Check_return_ _ACRTIMP unsigned char *__cdecl __p__mbcasemap (void)
 
_ACRTIMP int __cdecl _setmbcp (_In_ int _CodePage)
 
_ACRTIMP int __cdecl _getmbcp (void)
 

Macro Definition Documentation

◆ _INC_MBCTYPE

#define _INC_MBCTYPE

Definition at line 10 of file mbctype.h.

◆ _KANJI_CP

#define _KANJI_CP   932

Definition at line 59 of file mbctype.h.

◆ _M1

#define _M1   0x04

Definition at line 44 of file mbctype.h.

◆ _M2

#define _M2   0x08

Definition at line 45 of file mbctype.h.

◆ _MB_CP_ANSI

#define _MB_CP_ANSI   -3

Definition at line 65 of file mbctype.h.

◆ _MB_CP_LOCALE

#define _MB_CP_LOCALE   -4

Definition at line 66 of file mbctype.h.

◆ _MB_CP_OEM

#define _MB_CP_OEM   -2

Definition at line 64 of file mbctype.h.

◆ _MB_CP_SBCS

#define _MB_CP_SBCS   0

Definition at line 63 of file mbctype.h.

◆ _MB_CP_UTF8

#define _MB_CP_UTF8   65001

Definition at line 68 of file mbctype.h.

◆ _MBC_ILLEGAL

#define _MBC_ILLEGAL   (-1)

Definition at line 57 of file mbctype.h.

◆ _MBC_LEAD

#define _MBC_LEAD   1

Definition at line 55 of file mbctype.h.

◆ _MBC_SINGLE

#define _MBC_SINGLE   0

Definition at line 54 of file mbctype.h.

◆ _MBC_TRAIL

#define _MBC_TRAIL   2

Definition at line 56 of file mbctype.h.

◆ _mbcasemap

#define _mbcasemap   (__p__mbcasemap())

Definition at line 34 of file mbctype.h.

◆ _mbctype

#define _mbctype   (__p__mbctype())

Definition at line 33 of file mbctype.h.

◆ _MP

#define _MP   0x02

Definition at line 43 of file mbctype.h.

◆ _MS

#define _MS   0x01

Definition at line 42 of file mbctype.h.

◆ _SBLOW

#define _SBLOW   0x20

Definition at line 50 of file mbctype.h.

◆ _SBUP

#define _SBUP   0x10

Definition at line 49 of file mbctype.h.

Function Documentation

◆ __p__mbcasemap()

Definition at line 25 of file stubs.c.

26{
27 return _mbcasemap;
28}
unsigned char _mbcasemap[1]
Definition: stubs.c:22

Referenced by Test__mbcasemap().

◆ __p__mbctype()

Definition at line 48 of file ismblead.c.

49{
50 return get_mbcinfo()->mbctype;
51}
MSVCRT_pthreadmbcinfo get_mbcinfo(void)
Definition: locale.c:366
unsigned char mbctype[257]
Definition: msvcrt.h:143

Referenced by Test__mbctype().

◆ _getmbcp()

_ACRTIMP int __cdecl _getmbcp ( void  )

Definition at line 1474 of file locale.c.

1475{
1476 return get_mbcinfo()->mbcodepage;
1477}
MSVCRT_pthreadmbcinfo get_mbcinfo(void)
Definition: locale.c:366

◆ _setmbcp()

_ACRTIMP int __cdecl _setmbcp ( _In_ int  _CodePage)