Ignore:
Timestamp:
Jan 22, 2000, 7:21:03 PM (26 years ago)
Author:
bird
Message:

Temporary backup checkin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/ldr/myldrRead.cpp

    r1678 r2501  
    1 /* $Id: myldrRead.cpp,v 1.5 1999-11-10 01:45:36 bird Exp $
     1/* $Id: myldrRead.cpp,v 1.6 2000-01-22 18:21:02 bird Exp $
    22 *
    3  * myldrRead - _ldrRead.
     3 * myldrRead - ldrRead.
    44 *
    55 * Copyright (c) 1998-1999 knut st. osmundsen
     
    5050    {
    5151        PMODULE pMod;
    52         kprintf(("_ldrRead+: hF=%+04x off=%+08x pB=%+08x fl=%+08x cb=%+04x pMTE=%+08x\n",hFile,ulOffset,pBuffer,ulFlags,ulBytesToRead,pMTE));
     52        kprintf(("ldrRead+: hF=%+04x off=%+08x pB=%+08x fl=%+08x cb=%+04x pMTE=%+08x\n",hFile,ulOffset,pBuffer,ulFlags,ulBytesToRead,pMTE));
    5353
    5454        pMod = getModuleBySFN(hFile);
     
    5757            /* I would love to have a pointer to the MTE */
    5858            if (pMod->pMTE == NULL && pMTE != NULL)
    59                 pMod->pMTE == pMTE;
     59                pMod->pMTE = pMTE;
    6060
    6161            /* debug */
    6262            if (ulFlags != 0)
    63                 kprintf(("_ldrRead: Warning ulFlags = 0x%x (!= 0)\n", ulFlags));
     63                kprintf(("ldrRead: Warning ulFlags = 0x%x (!= 0)\n", ulFlags));
    6464
    6565            if ((pMod->fFlags & MOD_TYPE_MASK) == MOD_TYPE_PE2LX)
     
    6767            else
    6868            {
    69                 kprintf(("_ldrRead: Invalid module type, %#x\n", pMod->fFlags & MOD_TYPE_MASK));
     69                kprintf(("ldrRead: Invalid module type, %#x\n", pMod->fFlags & MOD_TYPE_MASK));
    7070                rc = ERROR_READ_FAULT;
    7171            }
     
    7373        }
    7474        else
    75             kprintf(("_ldrRead:  DON'T PANIC! - but I can't get Node ptr! - This is really an IPE!\n"));
     75            kprintf(("ldrRead:  DON'T PANIC! - but I can't get Node ptr! - This is really an IPE!\n"));
    7676    }
    7777
    78     rc = _ldrRead(hFile, ulOffset, pBuffer, ulFlags, ulBytesToRead, pMTE);
     78    rc = ldrRead(hFile, ulOffset, pBuffer, ulFlags, ulBytesToRead, pMTE);
    7979
    8080    #if 0
    81     kprintf(("_ldrRead:  hF=%+04x off=%+08x pB=%+08x fl=%+08x cb=%+04x pMTE=%+08x rc=%d\n",
     81    kprintf(("ldrRead:  hF=%+04x off=%+08x pB=%+08x fl=%+08x cb=%+04x pMTE=%+08x rc=%d\n",
    8282             hFile,ulOffset,pBuffer,ulFlags,ulBytesToRead,pMTE,rc));
    8383    #endif
Note: See TracChangeset for help on using the changeset viewer.