COUNTRYCODE

From EDM2
Jump to: navigation, search

Country code and code page.

Type

ULONG  country
ULONG  codepage

C Declaration Method

typedef struct

Fields

country
The binary value of the selected country code.
If country is set to 0, the country information of the default system country code is used.
codepage
The binary value of the selected code page identifier.
If codepage is set to 0, the country information for the current process code page of the caller is used.

Comment

The following table shows the country, country code, primary code page, and secondary code page identifier values:

Country Country Code Primary CP Secondary CP
Asian English 099 437 850
Australia 061 437 850
Belgium 032 437 850
Bulgaria 359 915 850
Canadian French 002 863 850
Catalan 034 850 437
Czechoslovakia 042 852 850
Denmark 045 865 850
Finland 358 437 850
France 033 437 850
Germany 049 437 850
Hungary 036 852 850
Iceland 354 850 861
Italy 039 437 850
Japan 081 932 437,850
Japan SAA 081 942 437,850
Korea 082 934 437,850
Korea SAA 082 944 437,850
Latin America 003 437 850
Lithuania 370 921 850
Netherlands 031 437 850
Norway 047 865 850
People's Republic of China 086 1381,1386 946
Poland 048 852 850
Portugal 351 860 850
Slovenia 386 852 850
Spain 034 437 850
Sweden 046 437 850
Switzerland 041 437 850
Taiwan 088 938 437,850
Taiwan SAA 088 948 437,850
Turkey 090 857 850
United Kingdom 044 437 850
United States 001 437 850
Yugoslavia 038 852 850

Note: Code pages 932, 934, 936, 938, 942, 944, 946, 948, 1381, and 1386 are supported only with the Asian version of the operating system on Asian hardware.