MAKELCID

  DWORD MAKELCID(wLanguageID, wCountryCode)    

The MAKELCID macro creates a locale ID from a language ID and a country code.

Parameters

wLanguageID

Specifies the language ID. This value is a combination of a primary language ID and a sublanguage ID and is usually created by the MAKELANGID macro.

wCountryCode

Specifies the country code. This may be one of the following values:

CTRY_DEFAULT CTRY_AUSTRALIA
CTRY_AUSTRIA CTRY_BELGIUM
CTRY_BRAZIL CTRY_CANADA
CTRY_DENMARK CTRY_FINLAND
CTRY_FRANCE CTRY_GERMANY
CTRY_ICELAND CTRY_IRELAND
CTRY_ITALY CTRY_JAPAN
CTRY_MEXICO CTRY_NETHERLANDS
CTRY_NEW_ZEALAND CTRY_NORWAY
CTRY_PORTUGAL CTRY_PRCHINA
CTRY_SOUTH_KOREA CTRY_SPAIN
CTRY_SWEDEN CTRY_SWITZERLAND
CTRY_TAIWAN CTRY_UNITED_KINGDOM
CTRY_UNITED_STATES  

Return Value

The return value is a locale ID.

Comments

The MAKELCID macro is defined as:

#define MAKELCID(l, c) ((DWORD)(((WORD)(l)) | (((DWORD)((WORD)(c))) << 16)))