Country Info Block
This topic covers the ExtCountryInfoRec returned by fn 38H (AL>0). For
the structure obtained via the newer fn 6501H, see ExtCountryInfoRec.
DOS 2.x returns an abridged country info record (see below).
CountryInfoRec
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 2 wDateFormat 0=USA (m d y), 1=Europe (d m y), 2=Japan (y m d)
+2 5 szCrncySymb currency symbol (ASCIIZ▲)
+7 2 szThouSep thousands separator (ASCIIZ)
+9 2 szDecSep decimal separator (ASCIIZ)
+0bH 2 szDateSep date separator (ASCIIZ)
+0dH 2 szTimeSep time separator (ASCIIZ)
+0fH 1 bCrncyFlags currency format flags
+10H 1 bCrncyDigits decimals digits in currency
+11H 1 bTimeFormat time format
+12H 4 pfCasemap Casemap FAR call address
+16H 2 szDataSep data list separator (ASCIIZ)
+18H 10 res reserved zeros
34 length of return buffer
Notes: ■ See ExtCountryInfoRec for descriptions of these fields (the
meanings are the same, but offsets differ).
■ When running under DOS version 2.x, DOS returns a simpler data
structure:
DOS 2.x CountryInfoRec
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 2 wDateFormat 0=USA (m d y), 1=Europe (d m y), 2=Japan (y m d)
+2 5 szCrncySymb currency symbol (ASCIIZ▲)
+7 2 szThouSep thousands separator (ASCIIZ)
+9 2 szDecSep decimal separator (ASCIIZ)
+0bH 21 res reserved)
32 size of this structure
See Also: National Language Support
Data Structures
-♦-