Ignore:
Timestamp:
Oct 24, 1999, 1:02:17 AM (26 years ago)
Author:
sandervl
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1390 r1423  
    1 /* $Id: windlllx.cpp,v 1.3 1999-10-21 12:18:47 sandervl Exp $ */
     1/* $Id: windlllx.cpp,v 1.4 1999-10-23 23:02:17 sandervl Exp $ */
    22
    33/*
     
    3535//Create LX Dll object and send process attach message
    3636//System dlls set EntryPoint to 0
     37//Returns: Odin32 module handle
    3738//******************************************************************************
    38 BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint,
    39                             PVOID pResData)
     39DWORD WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint,
     40                             PVOID pResData)
    4041{
    4142 Win32LxDll *windll;
     
    5354   }
    5455   windll->AddRef();
    55    return windll->attachProcess();
     56   if(windll->attachProcess() == 0)
     57        return 0;
     58
     59   return windll->getInstanceHandle();
    5660}
    5761//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.