Ignore:
Timestamp:
Sep 5, 2001, 3:19:02 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/initterm.cpp

    r5135 r6648  
     1/* $Id: initterm.cpp,v 1.10 2001-09-05 13:19:00 bird Exp $ */
    12/*
    23 * DLL entry point
     
    5960   {
    6061   case DLL_PROCESS_ATTACH:
    61         return TRUE;
     62    return TRUE;
    6263
    6364   case DLL_THREAD_ATTACH:
    6465   case DLL_THREAD_DETACH:
    65         return TRUE;
     66    return TRUE;
    6667
    6768   case DLL_PROCESS_DETACH:
    68         ctordtorTerm();
    69         ClosePrivateLogFiles();
    70         return TRUE;
     69    ctordtorTerm();
     70    ClosePrivateLogFiles();
     71    return TRUE;
    7172   }
    7273   return FALSE;
     
    9596      case 0 :
    9697      {
    97         loadNr = globLoadNr++;
     98    loadNr = globLoadNr++;
    9899
    99         DosQueryModuleName(hModule, sizeof(oleaut32Path), oleaut32Path);
    100         char *endofpath = strrchr(oleaut32Path, '\\');
    101         *(endofpath+1) = 0;
     100    DosQueryModuleName(hModule, sizeof(oleaut32Path), oleaut32Path);
     101    char *endofpath = strrchr(oleaut32Path, '\\');
     102    *(endofpath+1) = 0;
    102103
    103104         ctordtorInit();
     
    105106         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    106107
    107         dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
    108          if(dllHandle == 0) 
    109                 return 0UL;
     108    dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
     109         if(dllHandle == 0)
     110        return 0UL;
    110111
    111112#ifdef DEFAULT_LOGGING_OFF
    112         if(getenv("WIN32LOG_ENABLED")) {
     113        if(getenv("WIN32LOG_ENABLED")) {
    113114#else
    114         if(!getenv("NOWIN32LOG")) {
     115        if(!getenv("NOWIN32LOG")) {
    115116#endif
    116                 OpenPrivateLogFiles();
    117         }
     117            OpenPrivateLogFiles();
     118    }
    118119         Hash_Initialise();
    119120
     
    122123      case 1 :
    123124         if(dllHandle) {
    124                 UnregisterLxDll(dllHandle);
     125        UnregisterLxDll(dllHandle);
    125126         }
    126127         break;
Note: See TracChangeset for help on using the changeset viewer.