Ignore:
Timestamp:
Sep 22, 2000, 11:22:43 AM (25 years ago)
Author:
bird
Message:

Corrected problem with kernel build 14053. (new parameter to ldrOpenPath)
Added symbols for 14053 and 8266.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/pe2lx/pe2lx.cpp

    r4302 r4307  
    1 /* $Id: pe2lx.cpp,v 1.20 2000-09-22 03:47:37 bird Exp $
     1/* $Id: pe2lx.cpp,v 1.21 2000-09-22 09:22:41 bird Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    13411341 *      endif
    13421342 */
    1343 ULONG  Pe2Lx::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful) /* (ldrOpenPath) */
     1343ULONG  Pe2Lx::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath) /* (ldrOpenPath) */
    13441344{
    13451345    #ifdef RING0
     
    13491349     * Initiate the Odin32 Path static variable and call worker.
    13501350     */
    1351     return openPath2(pachFilename, cchFilename, pLdrLv, pful, initOdin32Path());
     1351    return openPath2(pachFilename, cchFilename, pLdrLv, pful, lLibPath, initOdin32Path());
    13521352
    13531353    #else
     
    13561356    NOREF(pLdrLv);
    13571357    NOREF(pful);
     1358    NOREF(lLibPath);
    13581359    return ERROR_NOT_SUPPORTED;
    13591360    #endif
     
    13861387 *               treat it as an ULONG.)
    13871388 */
    1388 ULONG  Pe2Lx::openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, BOOL fOdin32PathValid)
     1389ULONG  Pe2Lx::openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath, BOOL fOdin32PathValid)
    13891390{
    13901391    #ifdef RING0
     
    15941595     */
    15951596    rfree(pVars);
    1596     return ldrOpenPath(pachFilename, (USHORT)cchFilename, pLdrLv, pful);
     1597    return ldrOpenPath(pachFilename, (USHORT)cchFilename, pLdrLv, pful, lLibPath);
    15971598
    15981599    #else
     
    16011602    NOREF(pLdrLv);
    16021603    NOREF(pful);
     1604    NOREF(lLibPath);
    16031605    NOREF(fOdin32PathValid);
    16041606    return ERROR_NOT_SUPPORTED;
     
    47854787    options.fNoLoader = TRUE;
    47864788    lv.lv_class = CLASS_GLOBAL;
    4787     rc = openPath2("KERNEL32", 8, (ldrlv_t*)SSToDS(&lv), (PULONG)SSToDS(&ful), FALSE);
     4789    rc = openPath2("KERNEL32", 8, (ldrlv_t*)SSToDS(&lv), (PULONG)SSToDS(&ful), 3, FALSE);
    47884790    options.fNoLoader = ul;
    47894791    if (rc == NO_ERROR)
Note: See TracChangeset for help on using the changeset viewer.