mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
save modlue handle
svn path=/trunk/; revision=9890
This commit is contained in:
@@ -37,6 +37,7 @@ DWORD
|
||||
extern BOOL bIsFileApiAnsi;
|
||||
extern HANDLE hProcessHeap;
|
||||
extern HANDLE hBaseDir;
|
||||
extern HMODULE hCurrentModule;
|
||||
|
||||
extern CRITICAL_SECTION DllLock;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: dllmain.c,v 1.34 2004/02/22 17:30:32 chorns Exp $
|
||||
/* $Id: dllmain.c,v 1.35 2004/06/26 20:07:40 gdalsnes Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -23,6 +23,7 @@ extern UNICODE_STRING SystemDirectory;
|
||||
extern UNICODE_STRING WindowsDirectory;
|
||||
|
||||
HANDLE hProcessHeap = NULL;
|
||||
HMODULE hCurrentModule = NULL;
|
||||
HANDLE hBaseDir = NULL;
|
||||
|
||||
static BOOL DllInitialized = FALSE;
|
||||
@@ -117,6 +118,7 @@ DllMain(HANDLE hDll,
|
||||
}
|
||||
|
||||
hProcessHeap = RtlGetProcessHeap();
|
||||
hCurrentModule = hDll;
|
||||
|
||||
/*
|
||||
* Initialize WindowsDirectory and SystemDirectory
|
||||
|
||||
Reference in New Issue
Block a user