VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format/Tcformat.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-22 17:52:28 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-08-24 00:49:51 +0200
commit9376bc8f5147c892769bddfc738563b9790d4f07 (patch)
treefdb75e5e959cfdf02337d8e5bef5c99c857028c4 /src/Format/Tcformat.h
parent351daf13001dfdd4427fb5ce4ff41d98e4f7b45f (diff)
downloadVeraCrypt-9376bc8f5147c892769bddfc738563b9790d4f07.tar.gz
VeraCrypt-9376bc8f5147c892769bddfc738563b9790d4f07.zip
Windows: Add check on size of file container to ensure it's smaller than available free space on disk when this is required.
Diffstat (limited to 'src/Format/Tcformat.h')
-rw-r--r--src/Format/Tcformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Format/Tcformat.h b/src/Format/Tcformat.h
index 183f17f6..caaf2c28 100644
--- a/src/Format/Tcformat.h
+++ b/src/Format/Tcformat.h
@@ -42,7 +42,7 @@ static void LoadPage ( HWND hwndDlg , int nPageNo );
__int64 PrintFreeSpace ( HWND hwndTextBox , wchar_t *lpszDrive , PLARGE_INTEGER lDiskFree );
void DisplaySizingErrorText ( HWND hwndTextBox );
void EnableDisableFileNext ( HWND hComboBox , HWND hMainButton );
-BOOL QueryFreeSpace ( HWND hwndDlg , HWND hwndTextBox , BOOL display );
+BOOL QueryFreeSpace (HWND hwndDlg, HWND hwndTextBox, BOOL display, LONGLONG *pFreeSpaceValue, BOOL* pbIsSparseFilesSupported);
static BOOL FinalPreTransformPrompts (void);
void UpdateLastDialogId (void);
void HandleOldAssignedDriveLetter (void);