Ignore:
Timestamp:
Mar 13, 2001, 7:47:25 PM (24 years ago)
Author:
sandervl
Message:

initterm update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dllentry/dllentry.cpp

    r5135 r5309  
    1 /* $Id: dllentry.cpp,v 1.5 2001-02-14 15:14:42 sandervl Exp $ */
     1/* $Id: dllentry.cpp,v 1.6 2001-03-13 18:47:12 sandervl Exp $ */
    22
    33/*
     
    4747//******************************************************************************
    4848//******************************************************************************
    49 BOOL WINAPI LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
     49BOOL WINAPI OdinLibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
    5050{
    5151   switch (fdwReason)
     
    7878/* calling this function.                                                   */
    7979/****************************************************************************/
    80 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long ulFlag)
     80ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
    8181{
    8282   /*-------------------------------------------------------------------------*/
     
    9191         ctordtorInit();
    9292         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    93          dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
     93         dllHandle = RegisterLxDll(hModule, OdinLibMain, (PVOID)&_Resource_PEResTab);
    9494         if (dllHandle == 0)
    9595            return 0UL;
Note: See TracChangeset for help on using the changeset viewer.