Edit

Share via


SUBLANGID macro (winnt.h)

Extracts a sublanguage identifier from a language identifier.

Syntax

WORD SUBLANGID(
    WORD lgid
);

Parameters

lgid

Language identifier. You can supply predefined values for this parameter, or create an identifier using the MAKELANGID macro.

Return value

Type: WORD

Returns a sublanguage identifier. This can be a predefined sublanguage identifier or a user-defined sublanguage identifier.

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)

See also

EnumSystemLocales

LANGIDFROMLCID

MAKELANGID

National Language Support

National Language Support Macros

PRIMARYLANGID