Export (0) Print
Expand All

SUBLANGID macro

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

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnt.h (include Windows.h)

See also

National Language Support
National Language Support Macros
EnumSystemLocales
LANGIDFROMLCID
MAKELANGID
PRIMARYLANGID

 

 

Community Additions

ADD
Show:
© 2014 Microsoft