mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Windows/Linux: Implement exFAT support.
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
#define TIMER_INTERVAL_RANDVIEW 50
|
||||
|
||||
// see definition of enum EV_FileSystem
|
||||
const wchar_t * szFileSystemStr[3] = {L"RAW",L"FAT",L"NTFS"};
|
||||
const wchar_t * szFileSystemStr[4] = {L"RAW",L"FAT",L"NTFS",L"EXFAT"};
|
||||
|
||||
// prototypes for internal functions
|
||||
BOOL CALLBACK ExpandVolSizeDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
@@ -628,6 +628,11 @@ void ExpandVolumeWizard (HWND hwndDlg, wchar_t *lpszVolume)
|
||||
lpszTitle, YES_NO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDNO)
|
||||
goto ret;
|
||||
break;
|
||||
case EV_FS_TYPE_EXFAT:
|
||||
if (MessageBoxW (hwndDlg,L"Warning: The VeraCrypt volume contains an exFAT file system!\n\nOnly the VeraCrypt volume itself will be expanded, but not the file system.\n\nDo you want to continue?",
|
||||
lpszTitle, YES_NO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDNO)
|
||||
goto ret;
|
||||
break;
|
||||
default:
|
||||
if (MessageBoxW (hwndDlg,L"Warning: The VeraCrypt volume contains an unknown or no file system!\n\nOnly the VeraCrypt volume itself will be expanded, the file system remains unchanged.\n\nDo you want to continue?",
|
||||
lpszTitle, YES_NO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDNO)
|
||||
|
||||
Binary file not shown.
@@ -25,9 +25,10 @@ enum EV_FileSystem
|
||||
EV_FS_TYPE_RAW = 0,
|
||||
EV_FS_TYPE_FAT = 1,
|
||||
EV_FS_TYPE_NTFS = 2,
|
||||
EV_FS_TYPE_EXFAT = 3,
|
||||
};
|
||||
|
||||
extern const wchar_t * szFileSystemStr[3];
|
||||
extern const wchar_t * szFileSystemStr[4];
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user