Changeset 1354 for trunk/dll/notebook.c


Ignore:
Timestamp:
Dec 25, 2008, 11:43:34 PM (17 years ago)
Author:
Gregg Young
Message:

Added driveflags to over ride write verify for USB removable drives that fail when it is on (Ticket 323); A flag to prevent directory name from being broadcast to drives in the tree cnr prior to a recursive scan of the drive (causes dbl directory names Ticket 321) Add option for multithreaded recursive scan of user selected drives at startup (Ticket 322).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1306 r1354  
    8282#include "wrappers.h"                   // xmalloc
    8383#include "fortify.h"
     84#include "info.h"                       // driveflags
    8485
    8586static VOID SaveLastPageIndex(HWND hwnd);
     
    133134BOOL fRealIdle;
    134135BOOL fRemoteBug;
     136BOOL fRScanLocal;
     137BOOL fRScanRemote;
     138BOOL fRScanVirtual;
     139BOOL fRScanSlow;
     140BOOL fRScanNoWrite;
    135141BOOL fSaveState;
    136142BOOL fSeparateParms;
     
    469475    WinCheckButton(hwnd, CFGS_FORCEUPPER, fForceUpper);
    470476    WinCheckButton(hwnd, CFGS_NOREMOVABLESCAN, fNoRemovableScan);
     477    WinCheckButton(hwnd, CFGS_RSCANLOCAL, fRScanLocal);
     478    WinCheckButton(hwnd, CFGS_RSCANREMOTE, fRScanRemote);
     479    WinCheckButton(hwnd, CFGS_RSCANVIRTUAL, fRScanVirtual);
     480    WinCheckButton(hwnd, CFGS_RSCANSLOW, fRScanSlow);
     481    WinCheckButton(hwnd, CFGS_RSCANNOWRITE, fRScanNoWrite);
    471482    WinCheckButton(hwnd, CFGS_REMOTEBUG, fRemoteBug);
    472483    WinSendDlgItemMsg(hwnd, CFGS_FILESTOGET, SPBM_SETCURRENTVALUE,
     
    527538    fRemoteBug = WinQueryButtonCheckstate(hwnd, CFGS_REMOTEBUG);
    528539    PrfWriteProfileData(fmprof, appname, "RemoteBug", &fRemoteBug,
     540                        sizeof(BOOL));
     541    fRScanLocal = WinQueryButtonCheckstate(hwnd, CFGS_RSCANLOCAL);
     542    PrfWriteProfileData(fmprof, appname, "RScanLocal", &fRScanLocal,
     543                        sizeof(BOOL));
     544    fRScanRemote = WinQueryButtonCheckstate(hwnd, CFGS_RSCANREMOTE);
     545    PrfWriteProfileData(fmprof, appname, "RScanRemote", &fRScanRemote,
     546                        sizeof(BOOL));
     547    fRScanVirtual = WinQueryButtonCheckstate(hwnd, CFGS_RSCANVIRTUAL);
     548    PrfWriteProfileData(fmprof, appname, "RScanVirtual", &fRScanVirtual,
     549                        sizeof(BOOL));
     550    fRScanSlow = WinQueryButtonCheckstate(hwnd, CFGS_RSCANSLOW);
     551    PrfWriteProfileData(fmprof, appname, "RScanSlow", &fRScanSlow,
     552                        sizeof(BOOL));
     553    fRScanNoWrite = WinQueryButtonCheckstate(hwnd, CFGS_RSCANNOWRITE);
     554    PrfWriteProfileData(fmprof, appname, "RScanNoWrite", &fRScanNoWrite,
    529555                        sizeof(BOOL));
    530556    fNoRemovableScan = WinQueryButtonCheckstate(hwnd, CFGS_NOREMOVABLESCAN);
     
    32733299      fFolderAfterExtract = FALSE;
    32743300      fVerify = TRUE;
     3301      DosSetVerify(TRUE);
    32753302      fNoSearch = TRUE;
    3276       DosSetVerify(TRUE);
    32773303      fForceUpper = FALSE;
    32783304      fForceLower = TRUE;
Note: See TracChangeset for help on using the changeset viewer.