Use the standard DllMain entry point.

This commit is contained in:
Alexandre Julliard 2003-10-10 04:30:54 +00:00
parent 313661d1b0
commit 1c73771f30
3 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,6 @@ MODULE = user32.dll
IMPORTS = gdi32 advapi32 kernel32 ntdll
ALTNAMES = user.exe ddeml.dll display.drv keyboard.drv mouse.drv
EXTRALIBS = $(LIBUNICODE)
DLLMAIN = UserClientDllInitialize@12
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o

View File

@ -599,7 +599,7 @@
@ stdcall UnregisterHotKey(long long)
@ stub UpdatePerUserSystemParameters
@ stdcall UpdateWindow(long)
@ stdcall UserClientDllInitialize(long long ptr)
@ stdcall UserClientDllInitialize(long long ptr) DllMain
# @ stub UserIsSystemResumeAutomatic
# @ stub UserSetDeviceHoldState
@ stub UserHandleGrantAccess

View File

@ -291,9 +291,9 @@ static void thread_detach(void)
/***********************************************************************
* UserClientDllInitialize (USER32.@)
*
* USER dll initialisation routine
* USER dll initialisation routine (exported as UserClientDllInitialize for compatibility).
*/
BOOL WINAPI UserClientDllInitialize( HINSTANCE inst, DWORD reason, LPVOID reserved )
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
BOOL ret = TRUE;
switch(reason)