mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Implement PIM caching, both for system encryption and for normal volumes. Add options to activate it in the Preferences and System Settings.
This commit is contained in:
@@ -6622,6 +6622,7 @@ int MountVolume (HWND hwndDlg,
|
||||
int pim,
|
||||
BOOL truecryptMode,
|
||||
BOOL cachePassword,
|
||||
BOOL cachePim,
|
||||
BOOL sharedAccess,
|
||||
const MountOptions* const mountOptions,
|
||||
BOOL quiet,
|
||||
@@ -6670,6 +6671,7 @@ int MountVolume (HWND hwndDlg,
|
||||
retry:
|
||||
mount.nDosDriveNo = driveNo;
|
||||
mount.bCache = cachePassword;
|
||||
mount.bCachePim = cachePim;
|
||||
|
||||
mount.bPartitionInInactiveSysEncScope = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user