Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extracts a primary language identifier from a language identifier.
Syntax
WORD PRIMARYLANGID(
WORD lgid
);
Parameters
lgid
Language identifier. This value is a combination of a primary language identifier and a sublanguage identifier and is usually created by using the MAKELANGID macro.
Return value
Type: WORD
Returns the primary language identifier. It can be one of the predefined primary language identifiers or a user-defined primary language identifier. For more information, see MAKELANGID.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winnt.h (include Windows.h) |