_get_current_locale
div
eof
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

_get_current_locale 

Gets a locale object representing the current locale.


_locale_t _get_current_locale(void);

A locale object representing the current locale.

The _get_current_locale function gets the currently set locale for the thread and returns a locale object representing that locale.

The previous name of this function, __get_current_locale (with two leading underscores) has been deprecated.

Routine Required header Compatibility

_get_current_locale

<locale.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For more compatibility information, see Compatibility in the Introduction.

Show:
© 2016 Microsoft