The GetSystemDefaultLCID function retrieves the system default locale identifier.
LCID GetSystemDefaultLCID(VOID)
This function has no parameters.
The return value is the system default locale identifier.
For more information about locale identifiers, see Locale Identifiers.