BYTE SUBLANGID(wLanguageID) |
The SUBLANGID macro extracts a sublanguage ID from a language ID.
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.
The return value will be one of the following sublanguage IDs:
SUBLANG_DEFAULT | |
SUBLANG_NEUTRAL | |
SUBLANG_CHINESE_SIMPLIFIED | |
SUBLANG_CHINESE_TRADITIONAL | |
SUBLANG_DUTCH | |
SUBLANG_DUTCH_BELGIAN | |
SUBLANG_ENGLISH_US | |
SUBLANG_ENGLISH_UK | |
SUBLANG_ENGLISH_AUS | |
SUBLANG_ENGLISH_CAN | |
SUBLANG_FRENCH | |
SUBLANG_FRENCH_BELGIAN | |
SUBLANG_FRENCH_CANADIAN | |
SUBLANG_FRENCH_SWISS | |
SUBLANG_GERMAN | |
SUBLANG_GERMAN_SWISS | |
SUBLANG_ITALIAN | |
SUBLANG_ITALIAN_SWISS | |
SUBLANG_NORWEGIAN_BOKMAL | |
SUBLANG_NORWEGIAN_NYNORSK | |
SUBLANG_PORTUGUESE | |
SUBLANG_PORTUGUESE_BRAZILIAN | |
SUBLANG_SERBO_CROATIAN_CYRILLIC | |
SUBLANG_SERBO_CROATIAN_LATIN | |
SUBLANG_SPANISH | |
SUBLANG_SPANISH_MEXICAN | |
SUBLANG_SPANISH_MODERN |
The SUBLANGID macro is defined as:
#define SUBLANGID(lgid) ((USHORT)(lgid) >> 10)