Ignore:
Timestamp:
Aug 11, 2000, 4:26:59 AM (25 years ago)
Author:
bird
Message:

Made it compile by disabling some unfinished code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/pe2lx/pe2lx.cpp

    r3834 r3988  
    1 /* $Id: pe2lx.cpp,v 1.18.4.1 2000-07-16 22:43:41 bird Exp $
     1/* $Id: pe2lx.cpp,v 1.18.4.2 2000-08-11 02:26:59 bird Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    12831283/**
    12841284 * openPath - opens file eventually searching loader specific paths.
    1285  * This method is only called for DLLs. DosLoadModule and Imports.
    1286  *
    1287  * This base implementation simply calls ldrOpenPath.
     1285 * This method is only called for DLLs. (DosLoadModule and Imports.)
     1286 *
    12881287 *
    12891288 * @returns   OS2 return code.
     
    13071306ULONG  Pe2Lx::openPath(PCHAR pachModname, USHORT cchModname, ldrlv_t *pLdrLv, PULONG pfl) /* (ldrOpenPath) */
    13081307{
    1309     #ifdef RING0
     1308    #if 0 //def RING0
    13101309
    13111310    /* These defines sets the order the paths and pathlists are examined. */
     
    13221321    #define FINDDLL_LAST            FINDDLL_ENDLIBPATH
    13231322
    1324     struct
     1323    struct _LocalVars
    13251324    {
    13261325        char    sz[CCHMAXPATH];
     
    13351334    pLdrLv->lv_sfn = 0xffff;
    13361335    initOdin32Path();
    1337     pVar = rmalloc(sizeof(*pVars));
    1338     if (pVar == NULL)
     1336    pVars = (struct _LocalVars*)rmalloc(sizeof(struct _LocalVars));
     1337    if (pVars == NULL)
    13391338        return ERROR_NOT_ENOUGH_MEMORY;
    13401339
     
    13471346     * Loop thru the paths and pathlists searching them for the filename.
    13481347     */
    1349     for (iPath = FINDDLL_FIRST; iPath <= FINDDLL_LAST; iPath++)
     1348    for (int iPath = FINDDLL_FIRST; iPath <= FINDDLL_LAST; iPath++)
    13501349    {
    13511350        APIRET          rc;             /* Returncode from OS/2 APIs. */
Note: See TracChangeset for help on using the changeset viewer.