Ignore:
Timestamp:
Mar 31, 2003, 1:54:29 PM (22 years ago)
Author:
sandervl
Message:

PF: Added vsnprintfW/snprintfW funcs for syncing with latest wine NTDLL + KDO: Made Pe2Lx dlls work again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/windllpe2lx.cpp

    r9540 r9963  
    1 /* $Id: windllpe2lx.cpp,v 1.13 2002-12-20 12:40:43 sandervl Exp $ */
     1/* $Id: windllpe2lx.cpp,v 1.14 2003-03-31 11:54:28 sandervl Exp $ */
    22
    33/*
     
    167167 * Init object.
    168168 * Must be called immedeately after objecte construction.
    169  * @returns   Success indicator. (TRUE == success)
    170  * @sketch    call init method of the parten class.
    171  *            set dllEntryPoint
    172  * @status    completely implemented.
    173  * @author    knut st. osmundsen
    174  */
    175 BOOL Win32Pe2LxDll::init()
    176 {
    177     if (Win32Pe2LxImage::init())
     169 * @returns LDRERROR_SUCCESS on success.
     170 * @returns Apporpriate LDRERROR_* on failure.
     171 * @sketch  call init method of the parten class.
     172 *          set dllEntryPoint
     173 * @status  completely implemented.
     174 * @author  knut st. osmundsen
     175 */
     176DWORD Win32Pe2LxDll::init()
     177{
     178    DWORD rc = Win32Pe2LxImage::init();
     179    if (rc == LDRERROR_SUCCESS)
    178180    {
    179181        /* set entry point. */
    180182        dllEntryPoint = (WIN32DLLENTRY)entryPoint;
    181183    }
    182     else
    183         return FALSE;
    184     return TRUE;
     184    return rc;
    185185}
    186186
Note: See TracChangeset for help on using the changeset viewer.