10#define BUFFER_SIZE 512
15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer,
BUFFER_SIZE);
16 if (bufferSize == 0) {
21 LCID lcid = LocaleNameToLCID(pStr,
nullptr);
30 wprintf(
L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer);
BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam)
int main(int argc, wchar_t *argv[])
WINBASEAPI _Check_return_ _Post_equals_last_error_ DWORD WINAPI GetLastError(VOID)