Changeset 1628 for trunk/dll/systemf.c


Ignore:
Timestamp:
Aug 27, 2011, 9:35:39 PM (14 years ago)
Author:
Gregg Young
Message:

Hard coded the flags for the xDosAlloc* wrappers and added a description for each of them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1627 r1628  
    770770    hwnd = HWND_DESKTOP;
    771771
    772   if (xDosAllocMemLow((PVOID)&pszPgm,
    773                        MaxComLineStrg,
    774                        PAG_COMMIT | PAG_READ | PAG_WRITE,
    775                        pszSrcFile,__LINE__))
     772  if (xDosAllocMemLow((PVOID)&pszPgm, MaxComLineStrg, pszSrcFile,__LINE__))
    776773    return -1; //already complained
    777774  *szSavedir = 0;
     
    815812      temp = *p;
    816813      if (temp) {
    817         if (xDosAllocMemLow((PVOID)&pszArgs, MaxComLineStrg * 2,
    818                              PAG_COMMIT | PAG_READ | PAG_WRITE,
    819                             pszSrcFile, __LINE__)) {
     814        if (xDosAllocMemLow((PVOID)&pszArgs, MaxComLineStrg * 2, pszSrcFile, __LINE__)) {
    820815          DosFreeMem(pszPgm);
    821816          return -1;   //already complained
     
    958953      if (~type & FULLSCREEN)
    959954        type |= WINDOWED;
    960       if (xDosAllocMemLow((PVOID) &pszArgs, MaxComLineStrg * 2,
    961                            PAG_COMMIT | PAG_READ | PAG_WRITE,
    962                            pszSrcFile, __LINE__)) {
     955      if (xDosAllocMemLow((PVOID) &pszArgs, MaxComLineStrg * 2, pszSrcFile, __LINE__)) {
    963956        DosFreeMem(pszPgm);
    964957        return -1;   //already complained
Note: See TracChangeset for help on using the changeset viewer.