MCPcopy Create free account
hub / github.com/WinMerge/winmerge / GetLocaleString

Function GetLocaleString

Src/ConfigLog.cpp:197–203  ·  view source on GitHub ↗

* @brief String wrapper around API call GetLocaleInfo */

Source from the content-addressed store, hash-verified

195 * @brief String wrapper around API call GetLocaleInfo
196 */
197static String GetLocaleString(LCID locid, LCTYPE lctype)
198{
199 tchar_t buffer[512];
200 if (!GetLocaleInfo(locid, lctype, buffer, sizeof(buffer)/sizeof(buffer[0])))
201 buffer[0] = 0;
202 return buffer;
203}
204
205/**
206 * @brief Write string item

Callers 1

WriteLocaleSettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected