Ignore:
Timestamp:
Aug 22, 2000, 12:59:40 AM (25 years ago)
Author:
bird
Message:

Temporary checkin (backup).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Grace/src/win32k/ldr/myldrClose.cpp

    r3834 r4065  
    1 /* $Id: myldrClose.cpp,v 1.5.4.1 2000-07-16 22:43:35 bird Exp $
     1/* $Id: myldrClose.cpp,v 1.5.4.2 2000-08-21 22:59:39 bird Exp $
    22 *
    33 * myldrClose - ldrClose
     
    3131#include "ldrCalls.h"
    3232#include "ModuleBase.h"
     33#include "Pe2Lx.h"
    3334
    3435
     
    6364        #pragma info(restore)
    6465    }
     66    /*
     67     * Invalidate the odin32path if kernel32 is closed.
     68     *  (Might possible not be needed as Pe2Lx does invalides
     69     *   the odin32path on object destruction.)
     70     */
     71    else if (Pe2Lx::getKernel32SFN() == hFile)
     72        Pe2Lx::invalidateOdin32Path();
    6573
     74    /*
     75     * Finally call the real close function.
     76     */
    6677    return ldrClose(hFile);
    6778}
Note: See TracChangeset for help on using the changeset viewer.