Jump to content

COUNTRYINFO: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== COUNTRYINFO ==
Country information.
Country information.



Revision as of 14:01, 24 May 2017

Country information.

Type

ULONG   country
ULONG   codepage
ULONG   fsDateFmt
CHAR    szCurrency[5]
CHAR    szThousandsSeparator[2]
CHAR    szDecimal[2]
CHAR    szDateSeparator[2]
CHAR    szTimeSeparator[2]
UCHAR   fsCurrencyFmt
UCHAR   cDecimalPlace
UCHAR   fsTimeFmt
USHORT  abReserved[2]
CHAR    szDataSeparator[2]
USHORT  abReserved2[5]

C Declaration Method

typedef struct

Fields

country
Country code.
codepage
Code page.
fsDateFmt
Date format.
Possible values are shown in the following list:
0 - mm/dd/yy
1 - dd/mm/yy
2 - yy/mm/dd
szCurrency[5]
Currency indicator, null terminated.
szThousandsSeparator[2]
Thousands separator, null terminated.
szDecimal[2]
Decimal separator, null terminated.
szDateSeparator[2]
Date separator, null terminated.
szTimeSeparator[2]
Time separator, null terminated.
fsCurrencyFmt
Bit fields for currency format.
This field contains the following bit fields:
Bit  Description
0    Placement of the currency indicator.
     0  currency indicator precedes money value
     1  currency indicator follows money value
1    Number of spaces (0 or 1) between currency indicator and money value.
2    When this bit is set, ignore the first two bits;
     the currency indicator replaces the decimal indicator.
cDecimalPlace
Binary number of decimal places used in the currency indication.
fsTimeFmt
Time format for file directory presentation.
The following values are possible:
0 - 12 hour with "am" or "pm"
1 - 24 hour
abReserved[2]
Reserved; set to 0.
szDataSeparator[2]
Data list separator, null terminated.
abReserved2[5]
Reserved; set to 0.