From 909255d55f7c7e4884a33c932fb4665b5cf944e9 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 29 Sep 2019 14:44:22 +0200 Subject: Windows: Use periodic update of connected devices only if there is a Favorite that uses VolumeID. Add command option to disable the period update of devices. --- src/Common/Dlgcode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Common/Dlgcode.h') diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index 5ff97af1..3df68227 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -165,6 +165,9 @@ extern BOOL MountVolumesAsSystemFavorite; extern BOOL FavoriteMountOnArrivalInProgress; extern BOOL MultipleMountOperationInProgress; +extern volatile BOOL NeedPeriodicDeviceListUpdate; +extern BOOL DisablePeriodicDeviceListUpdate; + #ifndef SETUP extern BOOL bLanguageSetInSetup; #endif -- cgit v1.2.3