msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COUNTRYCODE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSNLS
 
typedef struct _COUNTRYCODE {    /* ctryc */
    USHORT country;
    USHORT codepage;
} COUNTRYCODE;
 
The COUNTRYCODE structure contains the country code and code-page
identifier.
 
Field     Description
────────────────────────────────────────────────────────────────────────────
 
country   Specifies the country code. It can be one of the following
          values:
 
          Country code  Country
          ──────────────────────────────────────────────────────────────────
          001           United States
          002           Canada (French)
          003           Latin America
          031           Netherlands
          032           Belgium
          033           France
          034           Spain
          039           Italy
          041           Switzerland (French)
          041           Switzerland (German)
          044           United Kingdom
          045           Denmark
          046           Sweden
          047           Norway
          049           Germany
          061           Australia
          351           Portugal
          358           Finland
 
          If this field is zero, the function uses the current country
          code.
 
codepage  Specifies the code-page identifier. It can be one of the following
          values:
 
          Number  Code page
          ──────────────────────────────────────────────────────────────────
          437     United States
 
          850     Multilingual
 
          860     Portuguese
 
          863     French-Canadian
 
          865     Nordic
 
          If this field is zero, the function uses the current code-page
          identifier.
 
See Also
 
DosCaseMap, DosGetCollate, DosGetCtryInfo, DosGetDBCSEv