ZRCola::LangConvert() function added

This commit is contained in:
2016-04-29 12:35:59 +02:00
parent 38bf070a4a
commit 4a27d62b4e
3 changed files with 67 additions and 2 deletions

View File

@@ -20,6 +20,9 @@
#pragma once
#include <vector>
#ifdef _WIN32
#include <Windows.h>
#endif
///
@@ -64,6 +67,17 @@ namespace ZRCola {
typedef char langid_t[4];
#ifdef _WIN32
///
/// Converts language from Windows to ZRCola notation.
///
/// \param[in] lang_win Windows language ID
/// \param[in,out] lang ZRCola language ID
///
void ZRCOLA_API LangConvert(_In_ LANGID lang_win, _Inout_ langid_t &lang);
#endif
///
/// Memory index
///