GetUserDefaultLCID

The GetUserDefaultLCID function retrieves the user-default locale identifier.

LCID GetUserDefaultLCID(VOID)

Parameters

This function has no parameters.

Return Values

The return value is the user-default locale identifier.

Remarks

For more information about locale identifiers, see Locales.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winnls.h.
  Import Library: Use kernel32.lib.

See Also

National Language Support Overview, National Language Support Functions, GetLocaleInfo, GetSystemDefaultLCID, MAKELCID