Data Structures |
| struct | cp_extra_info_t |
| struct | locale_search_t |
| struct | map_lcid2str |
| struct | map_cntr |
Defines |
| #define | _SETLOCALE_LOCK 19 |
| #define | MSVCRT_LC_ALL 0 |
| #define | MSVCRT_LC_COLLATE 1 |
| #define | MSVCRT_LC_CTYPE 2 |
| #define | MSVCRT_LC_MONETARY 3 |
| #define | MSVCRT_LC_NUMERIC 4 |
| #define | MSVCRT_LC_TIME 5 |
| #define | MSVCRT_LC_MIN MSVCRT_LC_ALL |
| #define | MSVCRT_LC_MAX MSVCRT_LC_TIME |
| #define | MAX_ELEM_LEN 64 /* Max length of country/language/CP string */ |
| #define | LOCK_LOCALE _mlock(_SETLOCALE_LOCK); |
| #define | UNLOCK_LOCALE _munlock(_SETLOCALE_LOCK); |
| #define | MSVCRT_LEADBYTE 0x8000 |
| #define | _C_ _CONTROL |
| #define | _S_ _SPACE |
| #define | _P_ _PUNCT |
| #define | _D_ _DIGIT |
| #define | _H_ _HEX |
| #define | _U_ _UPPER |
| #define | _L_ _LOWER |
| #define | FOUND_LANGUAGE 0x4 |
| #define | FOUND_COUNTRY 0x2 |
| #define | FOUND_CODEPAGE 0x1 |
| #define | CONTINUE_LOOKING TRUE |
| #define | STOP_LOOKING FALSE |
Functions |
| int | parse_locale (const char *locale, char *lang, char *country, char *code_page) |
| static void | remap_synonym (char *name) |
| static int | compare_info (LCID lcid, DWORD flags, char *buff, const char *cmp) |
| static BOOL CALLBACK | find_best_locale_proc (HMODULE hModule, LPCSTR type, LPCSTR name, WORD LangID, LONG_PTR lParam) |
| static LCID | MSVCRT_locale_to_LCID (locale_search_t *locale) |
| static void | msvcrt_set_ctype (unsigned int codepage, LCID lcid) |
| char * | setlocale (int category, const char *locale) |
| wchar_t * | _wsetlocale (int category, const wchar_t *locale) |
| struct lconv * | localeconv (void) |
| int CDECL | _setmbcp (int cp) |
| HANDLE *CDECL | ___lc_handle_func (void) |
| int CDECL | ___lc_codepage_func (void) |
| void * | _Gettnames (void) |
| void | __lconv_init (void) |
| const char * | _Strftime (char *out, unsigned int len, const char *fmt, const void *tm, void *foo) |
| const char * | _Getdays (void) |
| const char * | _Getmonths (void) |
| int | __crtLCMapStringA (LCID lcid, DWORD mapflags, const char *src, int srclen, char *dst, int dstlen, unsigned int codepage, int xflag) |
| int | __crtLCMapStringW (LCID lcid, DWORD mapflags, LPCWSTR src, int srclen, LPWSTR dst, int dstlen, unsigned int codepage, int xflag) |
| int CDECL | _getmbcp (void) |
| unsigned int *CDECL | ___unguarded_readlc_active_add_func (void) |
| unsigned int CDECL | ___setlc_active_func (void) |
| BOOL CDECL | __crtGetStringTypeW (DWORD unk, DWORD type, wchar_t *buffer, int len, WORD *out) |
Variables |
| unsigned char | _mbctype [257] = { 0 } |
| int | g_mbcp_is_multibyte = 0 |
| static struct cp_extra_info_t | g_cpextrainfo [] |
| char | MSVCRT_current_lc_all [MAX_LOCALE_LENGTH] = { 0 } |
| LCID | MSVCRT_current_lc_all_lcid = 0 |
| int | MSVCRT___lc_codepage = 0 |
| int | MSVCRT___lc_collate_cp = 0 |
| HANDLE | MSVCRT___lc_handle [MSVCRT_LC_MAX-MSVCRT_LC_MIN+1] = { 0 } |
| int | __mb_cur_max = 1 |
| unsigned int | __setlc_active |
| unsigned int | __unguarded_readlc_active |
| int | _current_category |
| const char * | _current_locale |
| WORD | MSVCRT__ctype [257] |
| WORD | MSVCRT_current_ctype [257] |
| WORD * | MSVCRT__pctype = MSVCRT_current_ctype + 1 |
| static const char *const | _country_synonyms [] |
| struct map_lcid2str | languages [] |
| struct map_cntr | abrev [] |
| struct lconv | _lconv |