ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mbctype.h
Go to the documentation of this file.
00001 
00006 #ifndef _INC_MBCTYPE
00007 #define _INC_MBCTYPE
00008 
00009 #include <crtdefs.h>
00010 #include <ctype.h>
00011 
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015 
00016   /* CRT stuff */
00017 #if 1
00018 #if defined (_DLL) && defined (_M_IX86)
00019   /* Retained for compatibility with VC++ 5.0 and earlier versions */
00020   _CRTIMP unsigned char * __cdecl __p__mbctype(void);
00021   _CRTIMP unsigned char * __cdecl __p__mbcasemap(void);
00022 #endif  /* defined (_DLL) && defined (_M_IX86) */
00023 #endif
00024 #ifndef _mbctype
00025 #ifdef _MSVCRT_
00026   extern unsigned char _mbctype[257];
00027 #else
00028 #define _mbctype    (*_imp___mbctype)
00029   extern unsigned char **_imp___mbctype;
00030 #endif
00031 #endif
00032 #ifndef _mbcasemap
00033 #ifdef _MSVCRT_
00034   extern unsigned char *_mbcasemap;
00035 #else
00036 #define _mbcasemap  (*_imp___mbcasemap)
00037   extern unsigned char **_imp___mbcasemap;
00038 #endif
00039 #endif
00040 
00041   /* CRT stuff */
00042 #if 1
00043   extern pthreadmbcinfo __ptmbcinfo;
00044   extern int __globallocalestatus;
00045   extern int __locale_changed;
00046   extern struct threadmbcinfostruct __initialmbcinfo;
00047   pthreadmbcinfo __cdecl __updatetmbcinfo(void);
00048 #endif
00049 
00050 #define _MS 0x01
00051 #define _MP 0x02
00052 #define _M1 0x04
00053 #define _M2 0x08
00054 
00055 #define _SBUP 0x10
00056 #define _SBLOW 0x20
00057 
00058 #define _MBC_SINGLE 0
00059 #define _MBC_LEAD 1
00060 #define _MBC_TRAIL 2
00061 #define _MBC_ILLEGAL (-1)
00062 
00063 #define _KANJI_CP 932
00064 
00065 #define _MB_CP_SBCS 0
00066 #define _MB_CP_OEM -2
00067 #define _MB_CP_ANSI -3
00068 #define _MB_CP_LOCALE -4
00069 
00070 #ifndef _MBCTYPE_DEFINED
00071 #define _MBCTYPE_DEFINED
00072 
00073   _CRTIMP int __cdecl _setmbcp(int _CodePage);
00074   _CRTIMP int __cdecl _getmbcp(void);
00075   _CRTIMP int __cdecl _ismbbkalnum(unsigned int _C);
00076   _CRTIMP int __cdecl _ismbbkalnum_l(unsigned int _C,_locale_t _Locale);
00077   _CRTIMP int __cdecl _ismbbkana(unsigned int _C);
00078   _CRTIMP int __cdecl _ismbbkana_l(unsigned int _C,_locale_t _Locale);
00079   _CRTIMP int __cdecl _ismbbkpunct(unsigned int _C);
00080   _CRTIMP int __cdecl _ismbbkpunct_l(unsigned int _C,_locale_t _Locale);
00081   _CRTIMP int __cdecl _ismbbkprint(unsigned int _C);
00082   _CRTIMP int __cdecl _ismbbkprint_l(unsigned int _C,_locale_t _Locale);
00083   _CRTIMP int __cdecl _ismbbalpha(unsigned int _C);
00084   _CRTIMP int __cdecl _ismbbalpha_l(unsigned int _C,_locale_t _Locale);
00085   _CRTIMP int __cdecl _ismbbpunct(unsigned int _C);
00086   _CRTIMP int __cdecl _ismbbpunct_l(unsigned int _C,_locale_t _Locale);
00087   _CRTIMP int __cdecl _ismbbalnum(unsigned int _C);
00088   _CRTIMP int __cdecl _ismbbalnum_l(unsigned int _C,_locale_t _Locale);
00089   _CRTIMP int __cdecl _ismbbprint(unsigned int _C);
00090   _CRTIMP int __cdecl _ismbbprint_l(unsigned int _C,_locale_t _Locale);
00091   _CRTIMP int __cdecl _ismbbgraph(unsigned int _C);
00092   _CRTIMP int __cdecl _ismbbgraph_l(unsigned int _C,_locale_t _Locale);
00093 #ifndef _MBLEADTRAIL_DEFINED
00094 #define _MBLEADTRAIL_DEFINED
00095   _CRTIMP int __cdecl _ismbblead(unsigned int _C);
00096   _CRTIMP int __cdecl _ismbblead_l(unsigned int _C,_locale_t _Locale);
00097   _CRTIMP int __cdecl _ismbbtrail(unsigned int _C);
00098   _CRTIMP int __cdecl _ismbbtrail_l(unsigned int _C,_locale_t _Locale);
00099   _CRTIMP int __cdecl _ismbslead(const unsigned char *_Str,const unsigned char *_Pos);
00100   _CRTIMP int __cdecl _ismbslead_l(const unsigned char *_Str,const unsigned char *_Pos,_locale_t _Locale);
00101   _CRTIMP int __cdecl _ismbstrail(const unsigned char *_Str,const unsigned char *_Pos);
00102   _CRTIMP int __cdecl _ismbstrail_l(const unsigned char *_Str,const unsigned char *_Pos,_locale_t _Locale);
00103 #endif
00104 #endif
00105 
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109 #endif

Generated on Fri May 25 2012 04:28:24 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.