FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
fb_private_intl.h
Go to the documentation of this file.
1
/* Locale information not provided by DOS but that are useful too */
2
typedef
struct
_FB_LOCALE_INFOS
{
3
int
country_code
;
4
const
char
*
apszNamesMonthLong
[12];
5
const
char
*
apszNamesMonthShort
[12];
6
const
char
*
apszNamesWeekdayLong
[7];
7
const
char
*
apszNamesWeekdayShort
[7];
8
}
FB_LOCALE_INFOS
;
9
10
/* Array of locale information. The last entry contains a country_code of -1. */
11
extern
const
FB_LOCALE_INFOS
__fb_locale_infos
[];
12
extern
const
size_t
__fb_locale_info_count
;
13
14
struct
_DOS_COUNTRY_INFO_GENERAL
{
15
unsigned
char
info_id
;
16
unsigned
short
size_data
;
17
unsigned
short
country_id
;
18
unsigned
short
code_page
;
19
unsigned
short
date_format
;
20
char
curr_symbol_string
[5];
21
char
thousands_sep
[2];
22
char
decimal_sep
[2];
23
char
date_sep
[2];
24
char
time_sep
[2];
25
unsigned
char
currency_format
;
26
unsigned
char
curr_frac_digits
;
27
unsigned
char
time_format
;
28
unsigned
long
far_ptr_case_map_routine
;
29
char
data_list_sep
[2];
30
char
reserved
[10];
31
}
FBPACKED
;
32
33
typedef
struct
_DOS_COUNTRY_INFO_GENERAL
DOS_COUNTRY_INFO_GENERAL
;
34
35
int
fb_hIntlGetInfo
(
DOS_COUNTRY_INFO_GENERAL
*pInfo );
rtlib
dos
fb_private_intl.h
Generated on Thu Jan 23 2014 19:40:08 for FreeBASIC by
1.8.4