Changeset 1365 for trunk/dll/init.c


Ignore:
Timestamp:
Jan 1, 2009, 8:00:28 PM (17 years ago)
Author:
Gregg Young
Message:

Add option to rescan drive tree on media eject Ticket 48; Remove error message when priovious notebook page isn't defined (fixes issue with new installs) Ticket 329

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1363 r1365  
    10371037  }
    10381038
    1039   /* a couple of default window procs so we don't have to look them up later */
     1039  // a couple of default window procs so we don't have to look them up later
    10401040  if (WinQueryClassInfo(hab, WC_CONTAINER, &clinfo))
    10411041    PFNWPCnr = clinfo.pfnWindowProc;
     
    12391239    ULONG ulAppType;
    12401240
    1241     FullPath = searchapath("PATH", "LVMGUI.CMD");
    1242     if (*FullPath)
    1243       fLVMGui = TRUE;
     1241      FullPath = searchapath("PATH", "LVMGUI.CMD");
     1242      if (*FullPath)
     1243        fLVMGui = TRUE;
    12441244    if (!DosQueryAppType("DFSOS2.EXE", &ulAppType))
    12451245      fDFSee = TRUE;
    1246     if (!DosQueryAppType("MINILVM.EXE", &ulAppType))
    1247       fMiniLVM = TRUE;
    1248     if (!DosQueryAppType("FDISK.EXE", &ulAppType))
    1249       fFDisk = TRUE;
    1250     if (!DosQueryAppType("LVM.EXE", &ulAppType))
    1251       fLVM = TRUE;
     1246      if (!DosQueryAppType("MINILVM.EXE", &ulAppType))
     1247        fMiniLVM = TRUE;
     1248      if (!DosQueryAppType("FDISK.EXE", &ulAppType))
     1249        fFDisk = TRUE;
     1250      if (!DosQueryAppType("LVM.EXE", &ulAppType))
     1251        fLVM = TRUE;
    12521252  }
    12531253
     
    15791579  PrfQueryProfileData(fmprof, appname, "RScanNoWrite", &fRScanNoWrite, &size);
    15801580  size = sizeof(BOOL);
     1581  PrfQueryProfileData(fmprof, appname, "EjectRemovableScan", &fEjectRemovableScan, &size);
     1582  size = sizeof(BOOL);
     1583  PrfQueryProfileData(fmprof, appname, "EjectCDScan", &fEjectCDScan, &size);
     1584  size = sizeof(BOOL);
     1585  PrfQueryProfileData(fmprof, appname, "EjectFlpyScan", &fEjectFlpyScan, &size);
     1586  size = sizeof(BOOL);
    15811587  PrfQueryProfileData(fmprof, appname, "Drag&DropDlg", &fDragndropDlg, &size);
    15821588  size = sizeof(BOOL);
Note: See TracChangeset for help on using the changeset viewer.