Changeset 552 for trunk/dll/datamin.c


Ignore:
Timestamp:
Mar 1, 2007, 7:24:47 AM (18 years ago)
Author:
Gregg Young
Message:

font cleanup; new image and archiver masks; messages moved to string file; new drive flags including David's icons mostly working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/datamin.c

    r551 r552  
    1616  06 Jun 05 SHL Drop unused code
    1717  22 Jul 06 SHL Check more run time errors
    18   02 Jan 07 GKY Changed drive information string formating to accomodate 5 char FS names
     18  02 Jan 07 GKY Changed drive information string formating to accomodate 6 char FS names
     19  07 Jan 07 GKY Move error strings etc. to string file
    1920
    2021***********************************************************************/
     
    7879          rc = DosPostEventSem(G_hevDataMin);
    7980          if (rc) {
    80             Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Post Semaphore failed" // GetPString(IDS_POSTSEMFAILED)
    81               );
     81              Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     82                        GetPString(IDS_POSTSEMFAILED));
    8283          }
    8384        }
     
    267268
    268269      if (!fDataInclRemote)
    269         drivestyle |= DRIVE_REMOTE;
     270        drivestyle |= DRIVE_REMOTE || DRIVE_VIRTUAL;
    270271      if (fDataShowDrives) {
    271272        DosError(FERR_DISABLEHARDERR);
     
    448449        rc = DosPostEventSem(G_hevDataMin);
    449450        if (rc) {
    450           Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Post Semaphore failed"   // GetPString(IDS_POSTSEMFAILED)
    451             );
     451            Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     452                      GetPString(IDS_POSTSEMFAILED));
    452453        }
    453454      }
     
    944945    rc = DosCreateEventSem(NULL, (PHEV) & G_hevDataMin, 0L, FALSE);
    945946    if (rc) {
    946       Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Create Semaphore failed"     // GetPString(IDS_CREATESEMFAILED)
    947         );
     947        Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     948                  GetPString(IDS_CREATESEMFAILED));
    948949      busy = FALSE;
    949950    }
     
    10141015      rc = DosWaitEventSem(G_hevDataMin, 20000L);
    10151016      if (rc && rc != ERROR_TIMEOUT) {
    1016         Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Wait Semaphore failed"     // GetPString(IDS_POSTSEMFAILED)
    1017           );
     1017          Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     1018                    GetPString(IDS_POSTSEMFAILED));
    10181019      }
    10191020
    10201021      rc = DosResetEventSem(G_hevDataMin, &clPosted);
    10211022      if (rc && rc != ERROR_ALREADY_RESET) {
    1022         Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Reset Semaphore failed"    // GetPString(IDS_POSTSEMFAILED)
    1023           );
     1023          Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     1024                    GetPString(IDS_POSTSEMFAILED));
    10241025      }
    10251026    }
Note: See TracChangeset for help on using the changeset viewer.