Changeset 1438 for trunk/dll/valid.c


Ignore:
Timestamp:
Jun 28, 2009, 10:47:00 PM (16 years ago)
Author:
Gregg Young
Message:

Improved drivebar changes; Added AddBackslashToPath() to remove repeatative code. replaced "
" with PCSZ variable; ANY_OBJ added the DosAlloc... (experimental)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r1402 r1438  
    5757#include "strips.h"                     // bstrip
    5858#include "init.h"                       // GetTidForWindow
     59#include "wrappers.h"                    // xDosAllocMem
    5960
    6061
     
    295296
    296297# define BUFFER_BYTES 8192
    297   rc = DosAllocMem(&pvBuffer, BUFFER_BYTES,
    298                 PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
     298  rc = xDosAllocMem(&pvBuffer, BUFFER_BYTES,
     299                    PAG_COMMIT | OBJ_TILE | PAG_READ | PAG_WRITE);
    299300  if (rc) {
    300301    Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
Note: See TracChangeset for help on using the changeset viewer.