"Fossies" - the Fresh Open Source Software Archive

Member "src/Common/Language.h" (10 Oct 2018, 1184 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Language.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.22_Source_vs_1.23_Source.

    1 /*
    2  Derived from source code of TrueCrypt 7.1a, which is
    3  Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
    4  by the TrueCrypt License 3.0.
    5 
    6  Modifications and additions to the original source code (contained in this file)
    7  and all other portions of this file are Copyright (c) 2013-2017 IDRIX
    8  and are governed by the Apache License 2.0 the full text of which is
    9  contained in the file License.txt included in VeraCrypt binary and source
   10  code distribution packages.
   11 */
   12 
   13 #pragma once
   14 
   15 #include <windows.h>
   16 
   17 #ifdef __cplusplus
   18 extern "C" {
   19 #endif
   20 
   21 #define UNKNOWN_STRING_ID L"[?]"
   22 
   23 extern BOOL LocalizationActive;
   24 extern int LocalizationSerialNo;
   25 extern wchar_t UnknownString[1024];
   26 
   27 typedef struct
   28 {
   29     wchar_t *FaceName;
   30     int Size;
   31 } Font;
   32 
   33 BOOL CALLBACK LanguageDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
   34 wchar_t *GetString (const char *stringId);
   35 Font *GetFont (char *fontType);
   36 BOOL LoadLanguageFile ();
   37 BOOL LoadLanguageFromResource (int resourceid, BOOL bSetPreferredLanguage, BOOL bForceSilent);
   38 char *GetPreferredLangId ();
   39 void SetPreferredLangId (char *langId);
   40 char *GetActiveLangPackVersion ();
   41 
   42 #ifdef __cplusplus
   43 }
   44 #endif