Ignore:
Timestamp:
Sep 18, 1999, 7:47:10 PM (26 years ago)
Author:
sandervl
Message:

Changes for LX image resource support

File:
1 edited

Legend:

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

    r956 r978  
    1 /* $Id: windlllx.cpp,v 1.1 1999-09-15 23:39:07 sandervl Exp $ */
     1/* $Id: windlllx.cpp,v 1.2 1999-09-18 17:47:10 sandervl Exp $ */
    22
    33/*
     
    3636//System dlls set EntryPoint to 0
    3737//******************************************************************************
    38 BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, PVOID unused)
     38BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint,
     39                            PVOID pResData)
    3940{
    4041 Win32LxDll *windll;
     
    4647        return FALSE;
    4748   }
    48    windll = new Win32LxDll(hInstance, EntryPoint);
     49   windll = new Win32LxDll(hInstance, EntryPoint, pResData);
    4950   if(windll == NULL) {
    5051        dprintf(("RegisterLxDll: windll == NULL!!!"));
     
    5859BOOL WIN32API UnregisterLxDll(HINSTANCE hInstance)
    5960{
     61#if 1
     62   return TRUE;
     63#else
    6064 Win32LxDll *windll;
    6165
     
    6872   delete windll;
    6973   return TRUE;
     74#endif
    7075}
    7176//******************************************************************************
    7277//******************************************************************************
    73 Win32LxDll::Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint)
     78Win32LxDll::Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, PVOID pResData)
    7479                : Win32ImageBase(hInstance),
    75                   Win32LxImage(hInstance),
     80                  Win32LxImage(hInstance, pResData),
    7681                  Win32DllBase(hInstance, EntryPoint)
    7782{
Note: See TracChangeset for help on using the changeset viewer.