We can now use the standard DllMain as entry point.

This commit is contained in:
Alexandre Julliard 2003-10-10 00:50:56 +00:00
parent 21066d0d44
commit 7196724ad0
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ MODULE = kernel32.dll
IMPORTS = ntdll
ALTNAMES = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
EXTRALIBS = $(LIBUNICODE)
DLLMAIN = MAIN_KernelInit
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o

View File

@ -201,7 +201,7 @@ static BOOL process_attach(void)
/***********************************************************************
* KERNEL initialisation routine
*/
BOOL WINAPI MAIN_KernelInit( HINSTANCE hinst, DWORD reason, LPVOID reserved )
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
switch(reason)
{