Changeset 1439 for trunk/dll/valid.c


Ignore:
Timestamp:
Jul 12, 2009, 11:57:04 PM (16 years ago)
Author:
Gregg Young
Message:

Changes to allow high mem loading of dll; Refactor .LONGNAME and .SUBJECT EA fetch to FetchCommonEAs. Add szFSType to FillInRecordFromFSA use to bypass EA scan and size formatting for tree container; Fix labels/FS type to work on scan on NOPRESCAN Drives; Fixed dbl directory names on restore of dir cnrs; (Tickets 47, 339, 363, 368, 369, 370)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r1438 r1439  
    3535                When these high codes were it text files they showed as hex in new view.
    3636  08 Mar 09 GKY Additional strings move to PCSZs
     37  12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory
    3738
    3839***********************************************************************/
     
    297298# define BUFFER_BYTES 8192
    298299  rc = xDosAllocMem(&pvBuffer, BUFFER_BYTES,
    299                     PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     300                    PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    300301  if (rc) {
    301302    Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     
    601602    p = strrchr(filename, '.');
    602603    if (p)
    603       ret = DosQueryAppType(filename, &apptype);
     604      ret = xDosQueryAppType(filename, &apptype);
    604605    else {
    605606
     
    608609      strcpy(fname, filename);
    609610      strcat(fname, ".");
    610       ret = DosQueryAppType(fname, &apptype);
     611      ret = xDosQueryAppType(fname, &apptype);
    611612    }
    612613    if (apptype & (FAPPTYP_DLL |
Note: See TracChangeset for help on using the changeset viewer.