1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-06-17 18:16:07 -05:00

Windows: stop auto-mount scan on mount cancellation

Add a cancel callback and batch abort flag so auto-mount-all stops after dialog cancellation.

Mark MountVolume ERR_USER_ABORT with ERROR_CANCELLED so external /cancelmount also stops the scan.
This commit is contained in:
Mounir IDRASSI
2026-06-08 03:43:15 +09:00
parent 1871765a76
commit 304088f908
7 changed files with 578 additions and 124 deletions
+1
View File
@@ -733,6 +733,7 @@ namespace VeraCrypt
{
FillFavoriteVolumesMenu();
::ClearFavoriteVolumeArrivalMountSuppressions ();
FavoritesOnArrivalMountRequired.clear();
for (const FavoriteVolume& favorite: FavoriteVolumes)