Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_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.

Community Additions

ADD
Show:
© 2015 Microsoft