Changeset 1439 for trunk/dll/mle.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/mle.c

    r1438 r1439  
    2323  10 Dec 08 SHL Integrate exception handler support
    2424  08 Mar 09 GKY Additional strings move to PCSZs in init.c
     25  12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory
    2526
    2627***********************************************************************/
     
    181182    len++;
    182183    rc = xDosAllocMem((PVOID) & temp, 4096,
    183                       PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     184                      PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    184185    if (rc || !temp)
    185186      Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__,
     
    264265    return FALSE;
    265266  rc = xDosAllocMem((PVOID) & temp, 32768L,
    266                     PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     267                    PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    267268  if (rc || !temp) {
    268269    Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__,
     
    536537    if (len) {
    537538      rc = xDosAllocMem((PVOID) & hexbuff, 50001,
    538                         PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     539                        PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    539540      if (rc || !hexbuff) {
    540541        Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__,
     
    665666    if (len && len != -1) {
    666667      rc = xDosAllocMem((PVOID) & buffer,
    667                         50000L, PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     668                        50000L, PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    668669      if (rc || !buffer) {
    669670        Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__,
     
    917918
    918919  rc = xDosAllocMem((PVOID) & buffer, 4096L,
    919                     PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     920                    PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__);
    920921  if (rc || !buffer) {
    921922    Dos_Error(MB_CANCEL, rc, h, pszSrcFile, __LINE__,
Note: See TracChangeset for help on using the changeset viewer.