*** empty log message ***

svn path=/trunk/; revision=7872
This commit is contained in:
Jason Filby 2004-01-25 09:57:15 +00:00
parent 872e4089f0
commit bf5b782c83
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* $Id: utils.c,v 1.80 2004/01/25 08:32:49 navaraf Exp $ /* $Id: utils.c,v 1.81 2004/01/25 09:57:14 jfilby Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -2566,7 +2566,7 @@ LdrpAttachThread (VOID)
{ {
TRACE_LDR("%wZ - Calling entry point at %x for thread attaching\n", TRACE_LDR("%wZ - Calling entry point at %x for thread attaching\n",
&Module->BaseDllName, Module->EntryPoint); &Module->BaseDllName, Module->EntryPoint);
LdrpCallDllEntry(Module, DLL_PROCESS_ATTACH, NULL); LdrpCallDllEntry(Module, DLL_THREAD_ATTACH, NULL);
} }
Entry = Entry->Flink; Entry = Entry->Flink;
} }

View file

@ -99,14 +99,14 @@ DllMain(
PVOID reserved PVOID reserved
) )
{ {
D(MAX_TRACE, ("hinstDll (0x%X) dwReason (0x%X)\n", hinstDll, dwReason)); DbgPrint("hinstDll (0x%X) dwReason (0x%X)\n", hinstDll, dwReason);
switch (dwReason) switch (dwReason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
hProcessHeap = RtlGetProcessHeap(); hProcessHeap = RtlGetProcessHeap();
Init(); Init();
InitThread(); /* InitThread();*/
break; break;
case DLL_THREAD_ATTACH: case DLL_THREAD_ATTACH:
InitThread(); InitThread();
@ -116,7 +116,7 @@ DllMain(
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
DeleteFrameBrushes(); DeleteFrameBrushes();
CleanupThread(); /* CleanupThread();*/
Cleanup(); Cleanup();
break; break;
} }