Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/***
*nlsdata2.c - globals for international library - locale handles and code page * * Copyright (c) 1991-2001, Microsoft Corporation. All rights reserved. * *Purpose: * This module defines the locale handles and code page. The handles are * required by almost all locale dependent functions. This module is * separated from nlsdatax.c for granularity. * *Revision History: * 12-01-91 ETC Created. * 09-15-93 CFW Use ANSI conformant "__" names. * 04-12-94 GJF Made definitions of __lc_handle and __lc_codepage * conditional on ndef DLL_FOR_WIN32S * 01-12-98 GJF Added __lc_collate_cp. * 26-01-00 GB Added __lc_clike. * *******************************************************************************/
#include <locale.h>
#include <setlocal.h>
/*
* Locale handles. */ LCID __lc_handle[LC_MAX-LC_MIN+1] = { _CLOCALEHANDLE, _CLOCALEHANDLE, _CLOCALEHANDLE, _CLOCALEHANDLE, _CLOCALEHANDLE, _CLOCALEHANDLE };
/*
* Code page. */ UINT __lc_codepage = _CLOCALECP; /* CP_ACP */
/*
* Code page for LC_COLLATE */ UINT __lc_collate_cp = _CLOCALECP;
/* if this locale has first 127 character set same as CLOCALE.
*/ int __lc_clike = 1;
|