"Fossies" - the Fresh Open Source Software Archive

Member "src/Format/FormatCom.h" (10 Oct 2018, 1427 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 "FormatCom.h" see the Fossies "Dox" file reference documentation.

    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 #ifndef TC_HEADER_FORMAT_COM
   14 #define TC_HEADER_FORMAT_COM
   15 
   16 #include <windows.h>
   17 
   18 #ifdef __cplusplus
   19 
   20 #include "FormatCom_h.h"
   21 ITrueCryptFormatCom *GetElevatedInstance (HWND parent);
   22 
   23 extern "C" {
   24 #endif
   25 
   26 BOOL ComServerFormat ();
   27 int UacFormatNtfs (HWND hWnd, int driveNo, int clusterSize);
   28 int UacFormatFs (HWND hWnd, int driveNo, int clusterSize, int fsType);
   29 int UacAnalyzeHiddenVolumeHost (HWND hwndDlg, int *driveNo, __int64 hiddenVolHostSize, int *realClusterSize, __int64 *nbrFreeClusters);
   30 int UacFormatVolume (char *cvolumePath , BOOL bDevice , unsigned __int64 size , unsigned __int64 hiddenVolHostSize , Password *password , int cipher , int pkcs5 , BOOL quickFormat, BOOL sparseFileSwitch, int fileSystem , int clusterSize, HWND hwndDlg , BOOL hiddenVol , int *realClusterSize);
   31 BOOL UacUpdateProgressBar (__int64 nSecNo, BOOL *bVolTransformThreadCancel);
   32 
   33 #ifdef __cplusplus
   34 }
   35 #endif
   36 
   37 #endif // TC_HEADER_FORMAT_COM