home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
nlsdata2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
909b
|
37 lines
/***
*nlsdata2.c - globals for international library - locale handles and code page
*
* Copyright (c) 1991-1998, 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.
*
*******************************************************************************/
#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;