From 14fa3de4b67fbb23766810fe6ae4067eada6fcb4 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 29 Jun 2020 00:45:24 +0200 Subject: Windows: Fallback to Windows native formatting tool if we fail to format a volume as NTFS/exFAT/ReFS using FormatEx function from fmifs.dll --- src/Common/Format.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Common/Format.h') 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 ); -- cgit v1.2.3