VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Format.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-29 00:45:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-29 00:59:54 +0200
commit14fa3de4b67fbb23766810fe6ae4067eada6fcb4 (patch)
tree5e5491bea3652cedb53639015a8762815ec9d801 /src/Common/Format.h
parent7ee5c671e9573d90b89aedc11a289ae752700fd7 (diff)
downloadVeraCrypt-14fa3de4b67fbb23766810fe6ae4067eada6fcb4.tar.gz
VeraCrypt-14fa3de4b67fbb23766810fe6ae4067eada6fcb4.zip
Windows: Fallback to Windows native formatting tool if we fail to format a volume as NTFS/exFAT/ReFS using FormatEx function from fmifs.dll
Diffstat (limited to 'src/Common/Format.h')
-rw-r--r--src/Common/Format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Format.h b/src/Common/Format.h
index 4ce1b8c7..139607e5 100644
--- a/src/Common/Format.h
+++ b/src/Common/Format.h
@@ -76,6 +76,7 @@ extern int FormatWriteBufferSize;
int TCFormatVolume (volatile FORMAT_VOL_PARAMETERS *volParams);
BOOL FormatNtfs (int driveNo, int clusterSize);
BOOL FormatFs (int driveNo, int clusterSize, int fsType);
+BOOL ExternalFormatFs (int driveNo, int clusterSize, int fsType);
uint64 GetVolumeDataAreaSize (BOOL hiddenVolume, uint64 volumeSize);
int FormatNoFs (HWND hwndDlg, unsigned __int64 startSector, __int64 num_sectors, void *dev, PCRYPTO_INFO cryptoInfo, BOOL quickFormat);
BOOL WriteSector ( void *dev , char *sector , char *write_buf , int *write_buf_cnt , __int64 *nSecNo , PCRYPTO_INFO cryptoInfo );